Skip to content

Commit 1f12acd

Browse files
authored
containerservice-release (Azure#21504)
1 parent 7e3cf42 commit 1f12acd

File tree

297 files changed

+15599
-583
lines changed

Some content is hidden

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

297 files changed

+15599
-583
lines changed

sdk/containerservice/arm-containerservice/CHANGELOG.md

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
11
# Release History
2+
3+
## 16.0.0 (2022-04-20)
4+
5+
**Features**
26

3-
## 15.2.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added Interface ManagedClusterStorageProfile
8+
- Added Interface ManagedClusterStorageProfileDiskCSIDriver
9+
- Added Interface ManagedClusterStorageProfileFileCSIDriver
10+
- Added Interface ManagedClusterStorageProfileSnapshotController
11+
- Added Type Alias TrackedResource
12+
- Add parameters of TrackedResource to TypeAlias ManagedCluster
13+
- Add parameters of TrackedResource to TypeAlias ManagedClusterAccessProfile
14+
- Add parameters of TrackedResource to TypeAlias Snapshot
15+
16+
**Breaking Changes**
17+
18+
- Interface Resource no longer has parameter location
19+
- Interface Resource no longer has parameter tags
20+
- Delete parameters of Resource in TypeAlias ManagedCluster
21+
- Delete parameters of Resource in TypeAlias ManagedClusterAccessProfile
22+
- Delete parameters of Resource in TypeAlias Snapshot
23+
24+
1325
## 15.2.0 (2022-03-23)
1426

1527
**Features**
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "82fdf284eea880a8e027c354911a814999a77178",
2+
"commit": "8a9bd9c5b65e5c3e5a8536f3c5b2b15bf9920b5d",
33
"readme": "specification/containerservice/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-beta.17 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.0",
7-
"use": "@autorest/typescript@6.0.0-beta.17"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.6",
7+
"use": "@autorest/typescript@6.0.0-alpha.19.20220408.1"
88
}

sdk/containerservice/arm-containerservice/package.json

Lines changed: 4 additions & 4 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": "15.2.1",
6+
"version": "16.0.0",
77
"engines": {
88
"node": ">=12.0.0"
99
},
1010
"dependencies": {
1111
"@azure/core-lro": "^2.2.0",
1212
"@azure/abort-controller": "^1.0.0",
1313
"@azure/core-paging": "^1.2.0",
14-
"@azure/core-client": "^1.0.0",
14+
"@azure/core-client": "^1.5.0",
1515
"@azure/core-auth": "^1.3.0",
16-
"@azure/core-rest-pipeline": "^1.1.0",
16+
"@azure/core-rest-pipeline": "^1.8.0",
1717
"tslib": "^2.2.0"
1818
},
1919
"keywords": [
@@ -115,4 +115,4 @@
115115
"disableDocsMs": true,
116116
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview"
117117
}
118-
}
118+
}

sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ export interface MaintenanceConfigurationsListByManagedClusterOptionalParams ext
10481048
export type MaintenanceConfigurationsListByManagedClusterResponse = MaintenanceConfigurationListResult;
10491049

10501050
// @public
1051-
export type ManagedCluster = Resource & {
1051+
export type ManagedCluster = TrackedResource & {
10521052
sku?: ManagedClusterSKU;
10531053
extendedLocation?: ExtendedLocation;
10541054
identity?: ManagedClusterIdentity;
@@ -1100,7 +1100,7 @@ export interface ManagedClusterAADProfile {
11001100
}
11011101

11021102
// @public
1103-
export type ManagedClusterAccessProfile = Resource & {
1103+
export type ManagedClusterAccessProfile = TrackedResource & {
11041104
kubeConfig?: Uint8Array;
11051105
};
11061106

@@ -1547,6 +1547,28 @@ export interface ManagedClustersStopOptionalParams extends coreClient.OperationO
15471547
updateIntervalInMs?: number;
15481548
}
15491549

1550+
// @public
1551+
export interface ManagedClusterStorageProfile {
1552+
diskCSIDriver?: ManagedClusterStorageProfileDiskCSIDriver;
1553+
fileCSIDriver?: ManagedClusterStorageProfileFileCSIDriver;
1554+
snapshotController?: ManagedClusterStorageProfileSnapshotController;
1555+
}
1556+
1557+
// @public
1558+
export interface ManagedClusterStorageProfileDiskCSIDriver {
1559+
enabled?: boolean;
1560+
}
1561+
1562+
// @public
1563+
export interface ManagedClusterStorageProfileFileCSIDriver {
1564+
enabled?: boolean;
1565+
}
1566+
1567+
// @public
1568+
export interface ManagedClusterStorageProfileSnapshotController {
1569+
enabled?: boolean;
1570+
}
1571+
15501572
// @public
15511573
export interface ManagedClustersUpdateTagsOptionalParams extends coreClient.OperationOptions {
15521574
resumeFrom?: string;
@@ -1769,12 +1791,8 @@ export type ResolvePrivateLinkServiceIdPostResponse = PrivateLinkResource;
17691791
// @public
17701792
export interface Resource {
17711793
readonly id?: string;
1772-
location: string;
17731794
readonly name?: string;
17741795
readonly systemData?: SystemData;
1775-
tags?: {
1776-
[propertyName: string]: string;
1777-
};
17781796
readonly type?: string;
17791797
}
17801798

@@ -1814,7 +1832,7 @@ export type ScaleSetEvictionPolicy = string;
18141832
export type ScaleSetPriority = string;
18151833

18161834
// @public
1817-
export type Snapshot = Resource & {
1835+
export type Snapshot = TrackedResource & {
18181836
creationData?: CreationData;
18191837
snapshotType?: SnapshotType;
18201838
readonly kubernetesVersion?: string;
@@ -1965,6 +1983,14 @@ export interface TimeSpan {
19651983
start?: Date;
19661984
}
19671985

1986+
// @public
1987+
export type TrackedResource = Resource & {
1988+
tags?: {
1989+
[propertyName: string]: string;
1990+
};
1991+
location: string;
1992+
};
1993+
19681994
// @public
19691995
export type UpgradeChannel = string;
19701996

sdk/containerservice/arm-containerservice/samples-dev/agentPoolsCreateOrUpdateSample.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
1515
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
1616
*
1717
* @summary Creates or updates an agent pool in the specified managed cluster.
18-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_Snapshot.json
18+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Snapshot.json
1919
*/
2020
async function createAgentPoolUsingAnAgentPoolSnapshot() {
2121
const subscriptionId = "subid1";
@@ -50,7 +50,7 @@ createAgentPoolUsingAnAgentPoolSnapshot().catch(console.error);
5050
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
5151
*
5252
* @summary Creates or updates an agent pool in the specified managed cluster.
53-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json
53+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json
5454
*/
5555
async function createAgentPoolWithEncryptionAtHostEnabled() {
5656
const subscriptionId = "subid1";
@@ -81,7 +81,7 @@ createAgentPoolWithEncryptionAtHostEnabled().catch(console.error);
8181
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
8282
*
8383
* @summary Creates or updates an agent pool in the specified managed cluster.
84-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_Ephemeral.json
84+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Ephemeral.json
8585
*/
8686
async function createAgentPoolWithEphemeralOSDisk() {
8787
const subscriptionId = "subid1";
@@ -113,7 +113,7 @@ createAgentPoolWithEphemeralOSDisk().catch(console.error);
113113
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
114114
*
115115
* @summary Creates or updates an agent pool in the specified managed cluster.
116-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_EnableFIPS.json
116+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_EnableFIPS.json
117117
*/
118118
async function createAgentPoolWithFipsEnabledOS() {
119119
const subscriptionId = "subid1";
@@ -144,7 +144,7 @@ createAgentPoolWithFipsEnabledOS().catch(console.error);
144144
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
145145
*
146146
* @summary Creates or updates an agent pool in the specified managed cluster.
147-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_GPUMIG.json
147+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_GPUMIG.json
148148
*/
149149
async function createAgentPoolWithGpumig() {
150150
const subscriptionId = "subid1";
@@ -196,7 +196,7 @@ createAgentPoolWithGpumig().catch(console.error);
196196
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
197197
*
198198
* @summary Creates or updates an agent pool in the specified managed cluster.
199-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_WasmWasi.json
199+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_WasmWasi.json
200200
*/
201201
async function createAgentPoolWithKrustletAndTheWasiRuntime() {
202202
const subscriptionId = "subid1";
@@ -229,7 +229,7 @@ createAgentPoolWithKrustletAndTheWasiRuntime().catch(console.error);
229229
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
230230
*
231231
* @summary Creates or updates an agent pool in the specified managed cluster.
232-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_CustomNodeConfig.json
232+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_CustomNodeConfig.json
233233
*/
234234
async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() {
235235
const subscriptionId = "subid1";
@@ -280,7 +280,7 @@ createAgentPoolWithKubeletConfigAndLinuxOSConfig().catch(console.error);
280280
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
281281
*
282282
* @summary Creates or updates an agent pool in the specified managed cluster.
283-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_OSSKU.json
283+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_OSSKU.json
284284
*/
285285
async function createAgentPoolWithOssku() {
286286
const subscriptionId = "subid1";
@@ -332,7 +332,7 @@ createAgentPoolWithOssku().catch(console.error);
332332
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
333333
*
334334
* @summary Creates or updates an agent pool in the specified managed cluster.
335-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_PPG.json
335+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_PPG.json
336336
*/
337337
async function createAgentPoolWithPpg() {
338338
const subscriptionId = "subid1";
@@ -364,7 +364,7 @@ createAgentPoolWithPpg().catch(console.error);
364364
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
365365
*
366366
* @summary Creates or updates an agent pool in the specified managed cluster.
367-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_EnableUltraSSD.json
367+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_EnableUltraSSD.json
368368
*/
369369
async function createAgentPoolWithUltraSsdEnabled() {
370370
const subscriptionId = "subid1";
@@ -395,7 +395,7 @@ createAgentPoolWithUltraSsdEnabled().catch(console.error);
395395
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
396396
*
397397
* @summary Creates or updates an agent pool in the specified managed cluster.
398-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_Spot.json
398+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Spot.json
399399
*/
400400
async function createSpotAgentPool() {
401401
const subscriptionId = "subid1";
@@ -430,7 +430,7 @@ createSpotAgentPool().catch(console.error);
430430
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
431431
*
432432
* @summary Creates or updates an agent pool in the specified managed cluster.
433-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_Update.json
433+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Update.json
434434
*/
435435
async function createOrUpdateAgentPool() {
436436
const subscriptionId = "subid1";
@@ -466,7 +466,7 @@ createOrUpdateAgentPool().catch(console.error);
466466
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
467467
*
468468
* @summary Creates or updates an agent pool in the specified managed cluster.
469-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPools_Start.json
469+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPools_Start.json
470470
*/
471471
async function startAgentPool() {
472472
const subscriptionId = "subid1";
@@ -491,7 +491,7 @@ startAgentPool().catch(console.error);
491491
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
492492
*
493493
* @summary Creates or updates an agent pool in the specified managed cluster.
494-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPools_Stop.json
494+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPools_Stop.json
495495
*/
496496
async function stopAgentPool() {
497497
const subscriptionId = "subid1";
@@ -516,7 +516,7 @@ stopAgentPool().catch(console.error);
516516
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
517517
*
518518
* @summary Creates or updates an agent pool in the specified managed cluster.
519-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPools_Update.json
519+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPools_Update.json
520520
*/
521521
async function updateAgentPool() {
522522
const subscriptionId = "subid1";

sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteSample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
1515
* This sample demonstrates how to Deletes an agent pool in the specified managed cluster.
1616
*
1717
* @summary Deletes an agent pool in the specified managed cluster.
18-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsDelete.json
18+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsDelete.json
1919
*/
2020
async function deleteAgentPool() {
2121
const subscriptionId = "subid1";

sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetAvailableAgentPoolVersionsSample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
1515
* This sample demonstrates how to See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle.
1616
*
1717
* @summary See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle.
18-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
18+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
1919
*/
2020
async function getAvailableVersionsForAgentPool() {
2121
const subscriptionId = "subid1";

sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetSample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
1515
* This sample demonstrates how to Gets the specified managed cluster agent pool.
1616
*
1717
* @summary Gets the specified managed cluster agent pool.
18-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsGet.json
18+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsGet.json
1919
*/
2020
async function getAgentPool() {
2121
const subscriptionId = "subid1";

sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetUpgradeProfileSample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
1515
* This sample demonstrates how to Gets the upgrade profile for an agent pool.
1616
*
1717
* @summary Gets the upgrade profile for an agent pool.
18-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsGetUpgradeProfile.json
18+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsGetUpgradeProfile.json
1919
*/
2020
async function getUpgradeProfileForAgentPool() {
2121
const subscriptionId = "subid1";

sdk/containerservice/arm-containerservice/samples-dev/agentPoolsListSample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
1515
* This sample demonstrates how to Gets a list of agent pools in the specified managed cluster.
1616
*
1717
* @summary Gets a list of agent pools in the specified managed cluster.
18-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsList.json
18+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsList.json
1919
*/
2020
async function listAgentPoolsByManagedCluster() {
2121
const subscriptionId = "subid1";

0 commit comments

Comments
 (0)