Skip to content

Commit 94a3282

Browse files
author
SDKAuto
committed
CodeGen from PR 34593 in Azure/azure-rest-api-specs
Merge cd39f7e79b8add50add0d9680f3c5b899ef2584a into 256a91b5f962a045dba1efc2a2935eea2abe704b
1 parent 945f99e commit 94a3282

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2148
-9591
lines changed

sdk/containerservice/arm-containerservice/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Release History
22

3+
## 22.0.0 (2025-05-12)
4+
5+
### Features Added
6+
7+
- Added Type Alias UndrainableNodeBehavior
8+
- Interface AgentPoolUpgradeSettings has a new optional parameter maxUnavailable
9+
- Interface AgentPoolUpgradeSettings has a new optional parameter undrainableNodeBehavior
10+
- Interface ManagedClusterAPIServerAccessProfile has a new optional parameter enableVnetIntegration
11+
- Interface ManagedClusterAPIServerAccessProfile has a new optional parameter subnetId
12+
- Added Enum KnownUndrainableNodeBehavior
13+
- Enum KnownOssku has a new value Ubuntu2204
14+
15+
### Breaking Changes
16+
17+
- Interface ManagedCluster no longer has parameter enablePodSecurityPolicy
18+
19+
320
## 22.0.0-beta.2 (2025-04-25)
421
Compared with version 21.6.0
522

sdk/containerservice/arm-containerservice/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Container Service Client.
66

77
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice) |
88
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-containerservice) |
9-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview) |
9+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-containerservice) |
1010
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
1111

1212
## Getting started
@@ -63,11 +63,10 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6363
import { InteractiveBrowserCredential } from "@azure/identity";
6464
import { ContainerServiceClient } from "@azure/arm-containerservice";
6565

66-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6766
const credential = new InteractiveBrowserCredential({
6867
tenantId: "<YOUR_TENANT_ID>",
69-
clientId: "<YOUR_CLIENT_ID>",
70-
});
68+
clientId: "<YOUR_CLIENT_ID>"
69+
});
7170
const client = new ContainerServiceClient(credential, subscriptionId);
7271
```
7372

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "6a864ce544420c3c83ccaed34fe61281357a96a8",
2+
"commit": "fa2582d33fc5e32f272a6cf89ba8781f1cc29554",
33
"readme": "specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md",
4-
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\Microsoft.ContainerService\\aks\\readme.md --use=@autorest/[email protected].38 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md --use=@autorest/typescript@^6.0.12",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/[email protected].26",
7-
"use": "@autorest/[email protected].38"
8-
}
6+
"release_tool": "@azure-tools/[email protected].27",
7+
"use": "@autorest/typescript@^6.0.12"
8+
}

sdk/containerservice/arm-containerservice/api-extractor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
}
2929
}
3030
}
31-
}
31+
}

sdk/containerservice/arm-containerservice/package.json

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ContainerServiceClient.",
6-
"version": "22.0.0-beta.2",
6+
"version": "22.0.0",
77
"engines": {
88
"node": ">=18.0.0"
99
},
1010
"dependencies": {
1111
"@azure/abort-controller": "^2.1.2",
1212
"@azure/core-auth": "^1.9.0",
13-
"@azure/core-client": "^1.9.3",
13+
"@azure/core-client": "^1.9.4",
1414
"@azure/core-lro": "^2.5.4",
1515
"@azure/core-paging": "^1.6.2",
16-
"@azure/core-rest-pipeline": "^1.19.1",
16+
"@azure/core-rest-pipeline": "^1.20.0",
1717
"tslib": "^2.8.1"
1818
},
1919
"keywords": [
@@ -28,13 +28,14 @@
2828
"main": "./dist/commonjs/index.js",
2929
"module": "./dist/esm/index.js",
3030
"types": "./dist/commonjs/index.d.ts",
31+
"type": "module",
3132
"devDependencies": {
3233
"@azure-tools/test-credential": "^2.0.0",
3334
"@azure-tools/test-recorder": "^4.1.0",
3435
"@azure-tools/test-utils-vitest": "^1.0.0",
3536
"@azure/dev-tool": "^1.0.0",
3637
"@azure/identity": "^4.9.1",
37-
"@azure/logger": "^1.1.4",
38+
"@azure/logger": "^1.2.0",
3839
"@types/node": "^18.0.0",
3940
"@vitest/browser": "^3.0.9",
4041
"@vitest/coverage-istanbul": "^3.0.9",
@@ -56,20 +57,30 @@
5657
],
5758
"scripts": {
5859
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
60+
"build:browser": "echo skipped",
61+
"build:node": "echo skipped",
5962
"build:samples": "echo skipped.",
60-
"check-format": "echo skipped",
63+
"build:test": "echo skipped",
64+
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
6165
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
6266
"execute:samples": "echo skipped",
6367
"extract-api": "dev-tool run extract-api",
64-
"format": "echo skipped",
68+
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
69+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
70+
"integration-test:browser": "echo skipped",
71+
"integration-test:node": "dev-tool run test:vitest --esm",
6572
"lint": "echo skipped",
73+
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
6674
"pack": "npm pack 2>&1",
6775
"prepack": "npm run build",
68-
"test": "npm run test:node && npm run test:browser",
76+
"test": "npm run integration-test",
6977
"test:browser": "echo skipped",
7078
"test:node": "dev-tool run test:vitest",
71-
"test:node:esm": "dev-tool run test:vitest --esm",
72-
"update-snippets": "dev-tool run update-snippets"
79+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
80+
"unit-test:browser": "echo skipped",
81+
"unit-test:node": "dev-tool run test:vitest",
82+
"update-snippets": "dev-tool run update-snippets",
83+
"test:node:esm": "dev-tool run test:vitest --esm"
7384
},
7485
"sideEffects": false,
7586
"//metadata": {
@@ -81,16 +92,9 @@
8192
]
8293
},
8394
"autoPublish": true,
95+
"browser": "./dist/browser/index.js",
96+
"react-native": "./dist/react-native/index.js",
8497
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice",
85-
"//sampleConfiguration": {
86-
"productName": "",
87-
"productSlugs": [
88-
"azure"
89-
],
90-
"disableDocsMs": true,
91-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview"
92-
},
93-
"type": "module",
9498
"tshy": {
9599
"project": "./tsconfig.src.json",
96100
"exports": {
@@ -107,8 +111,6 @@
107111
],
108112
"selfLink": false
109113
},
110-
"browser": "./dist/browser/index.js",
111-
"react-native": "./dist/react-native/index.js",
112114
"exports": {
113115
"./package.json": "./package.json",
114116
".": {
@@ -130,4 +132,4 @@
130132
}
131133
}
132134
}
133-
}
135+
}

0 commit comments

Comments
 (0)