Skip to content

Commit

Permalink
containerservice-release (#21504)
Browse files Browse the repository at this point in the history
  • Loading branch information
colawwj authored Apr 28, 2022
1 parent 7e3cf42 commit 1f12acd
Show file tree
Hide file tree
Showing 297 changed files with 15,599 additions and 583 deletions.
32 changes: 22 additions & 10 deletions sdk/containerservice/arm-containerservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
# Release History

## 16.0.0 (2022-04-20)

**Features**

## 15.2.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface ManagedClusterStorageProfile
- Added Interface ManagedClusterStorageProfileDiskCSIDriver
- Added Interface ManagedClusterStorageProfileFileCSIDriver
- Added Interface ManagedClusterStorageProfileSnapshotController
- Added Type Alias TrackedResource
- Add parameters of TrackedResource to TypeAlias ManagedCluster
- Add parameters of TrackedResource to TypeAlias ManagedClusterAccessProfile
- Add parameters of TrackedResource to TypeAlias Snapshot

**Breaking Changes**

- Interface Resource no longer has parameter location
- Interface Resource no longer has parameter tags
- Delete parameters of Resource in TypeAlias ManagedCluster
- Delete parameters of Resource in TypeAlias ManagedClusterAccessProfile
- Delete parameters of Resource in TypeAlias Snapshot


## 15.2.0 (2022-03-23)

**Features**
Expand Down
8 changes: 4 additions & 4 deletions sdk/containerservice/arm-containerservice/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "82fdf284eea880a8e027c354911a814999a77178",
"commit": "8a9bd9c5b65e5c3e5a8536f3c5b2b15bf9920b5d",
"readme": "specification/containerservice/resource-manager/readme.md",
"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",
"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",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.0",
"use": "@autorest/typescript@6.0.0-beta.17"
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.6",
"use": "@autorest/typescript@6.0.0-alpha.19.20220408.1"
}
8 changes: 4 additions & 4 deletions sdk/containerservice/arm-containerservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ContainerServiceClient.",
"version": "15.2.1",
"version": "16.0.0",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.0.0",
"@azure/core-client": "^1.5.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.1.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand Down Expand Up @@ -115,4 +115,4 @@
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ export interface MaintenanceConfigurationsListByManagedClusterOptionalParams ext
export type MaintenanceConfigurationsListByManagedClusterResponse = MaintenanceConfigurationListResult;

// @public
export type ManagedCluster = Resource & {
export type ManagedCluster = TrackedResource & {
sku?: ManagedClusterSKU;
extendedLocation?: ExtendedLocation;
identity?: ManagedClusterIdentity;
Expand Down Expand Up @@ -1100,7 +1100,7 @@ export interface ManagedClusterAADProfile {
}

// @public
export type ManagedClusterAccessProfile = Resource & {
export type ManagedClusterAccessProfile = TrackedResource & {
kubeConfig?: Uint8Array;
};

Expand Down Expand Up @@ -1547,6 +1547,28 @@ export interface ManagedClustersStopOptionalParams extends coreClient.OperationO
updateIntervalInMs?: number;
}

// @public
export interface ManagedClusterStorageProfile {
diskCSIDriver?: ManagedClusterStorageProfileDiskCSIDriver;
fileCSIDriver?: ManagedClusterStorageProfileFileCSIDriver;
snapshotController?: ManagedClusterStorageProfileSnapshotController;
}

// @public
export interface ManagedClusterStorageProfileDiskCSIDriver {
enabled?: boolean;
}

// @public
export interface ManagedClusterStorageProfileFileCSIDriver {
enabled?: boolean;
}

// @public
export interface ManagedClusterStorageProfileSnapshotController {
enabled?: boolean;
}

// @public
export interface ManagedClustersUpdateTagsOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down Expand Up @@ -1769,12 +1791,8 @@ export type ResolvePrivateLinkServiceIdPostResponse = PrivateLinkResource;
// @public
export interface Resource {
readonly id?: string;
location: string;
readonly name?: string;
readonly systemData?: SystemData;
tags?: {
[propertyName: string]: string;
};
readonly type?: string;
}

Expand Down Expand Up @@ -1814,7 +1832,7 @@ export type ScaleSetEvictionPolicy = string;
export type ScaleSetPriority = string;

// @public
export type Snapshot = Resource & {
export type Snapshot = TrackedResource & {
creationData?: CreationData;
snapshotType?: SnapshotType;
readonly kubernetesVersion?: string;
Expand Down Expand Up @@ -1965,6 +1983,14 @@ export interface TimeSpan {
start?: Date;
}

// @public
export type TrackedResource = Resource & {
tags?: {
[propertyName: string]: string;
};
location: string;
};

// @public
export type UpgradeChannel = string;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_Snapshot.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Snapshot.json
*/
async function createAgentPoolUsingAnAgentPoolSnapshot() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -50,7 +50,7 @@ createAgentPoolUsingAnAgentPoolSnapshot().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json
*/
async function createAgentPoolWithEncryptionAtHostEnabled() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -81,7 +81,7 @@ createAgentPoolWithEncryptionAtHostEnabled().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_Ephemeral.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Ephemeral.json
*/
async function createAgentPoolWithEphemeralOSDisk() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -113,7 +113,7 @@ createAgentPoolWithEphemeralOSDisk().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_EnableFIPS.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_EnableFIPS.json
*/
async function createAgentPoolWithFipsEnabledOS() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -144,7 +144,7 @@ createAgentPoolWithFipsEnabledOS().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_GPUMIG.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_GPUMIG.json
*/
async function createAgentPoolWithGpumig() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -196,7 +196,7 @@ createAgentPoolWithGpumig().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_WasmWasi.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_WasmWasi.json
*/
async function createAgentPoolWithKrustletAndTheWasiRuntime() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -229,7 +229,7 @@ createAgentPoolWithKrustletAndTheWasiRuntime().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_CustomNodeConfig.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_CustomNodeConfig.json
*/
async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -280,7 +280,7 @@ createAgentPoolWithKubeletConfigAndLinuxOSConfig().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_OSSKU.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_OSSKU.json
*/
async function createAgentPoolWithOssku() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -332,7 +332,7 @@ createAgentPoolWithOssku().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_PPG.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_PPG.json
*/
async function createAgentPoolWithPpg() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -364,7 +364,7 @@ createAgentPoolWithPpg().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_EnableUltraSSD.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_EnableUltraSSD.json
*/
async function createAgentPoolWithUltraSsdEnabled() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -395,7 +395,7 @@ createAgentPoolWithUltraSsdEnabled().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_Spot.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Spot.json
*/
async function createSpotAgentPool() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -430,7 +430,7 @@ createSpotAgentPool().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsCreate_Update.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Update.json
*/
async function createOrUpdateAgentPool() {
const subscriptionId = "subid1";
Expand Down Expand Up @@ -466,7 +466,7 @@ createOrUpdateAgentPool().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPools_Start.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPools_Start.json
*/
async function startAgentPool() {
const subscriptionId = "subid1";
Expand All @@ -491,7 +491,7 @@ startAgentPool().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPools_Stop.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPools_Stop.json
*/
async function stopAgentPool() {
const subscriptionId = "subid1";
Expand All @@ -516,7 +516,7 @@ stopAgentPool().catch(console.error);
* This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster.
*
* @summary Creates or updates an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPools_Update.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPools_Update.json
*/
async function updateAgentPool() {
const subscriptionId = "subid1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
* This sample demonstrates how to Deletes an agent pool in the specified managed cluster.
*
* @summary Deletes an agent pool in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsDelete.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsDelete.json
*/
async function deleteAgentPool() {
const subscriptionId = "subid1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
* 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.
*
* @summary See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
*/
async function getAvailableVersionsForAgentPool() {
const subscriptionId = "subid1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
* This sample demonstrates how to Gets the specified managed cluster agent pool.
*
* @summary Gets the specified managed cluster agent pool.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsGet.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsGet.json
*/
async function getAgentPool() {
const subscriptionId = "subid1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
* This sample demonstrates how to Gets the upgrade profile for an agent pool.
*
* @summary Gets the upgrade profile for an agent pool.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsGetUpgradeProfile.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsGetUpgradeProfile.json
*/
async function getUpgradeProfileForAgentPool() {
const subscriptionId = "subid1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
* This sample demonstrates how to Gets a list of agent pools in the specified managed cluster.
*
* @summary Gets a list of agent pools in the specified managed cluster.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsList.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsList.json
*/
async function listAgentPoolsByManagedCluster() {
const subscriptionId = "subid1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity";
* This sample demonstrates how to Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade
*
* @summary Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-02-01/examples/AgentPoolsUpgradeNodeImageVersion.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsUpgradeNodeImageVersion.json
*/
async function upgradeAgentPoolNodeImageVersion() {
const subscriptionId = "subid1";
Expand Down
Loading

0 comments on commit 1f12acd

Please sign in to comment.