From cba1b32d65ce1525fae82035cad4a117431c1318 Mon Sep 17 00:00:00 2001 From: ZiWei Chen <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:07:07 +0800 Subject: [PATCH] [mgmt] containerservice release (#31783) https://github.com/Azure/sdk-release-request/issues/5658 --- common/config/rush/pnpm-lock.yaml | 5 +- .../arm-containerservice/CHANGELOG.md | 32 +++-- .../arm-containerservice/_meta.json | 8 +- .../arm-containerservice/assets.json | 2 +- .../arm-containerservice/package.json | 6 +- .../review/arm-containerservice.api.md | 43 +++++++ .../arm-containerservice/sample.env | 5 +- .../agentPoolsAbortLatestOperationSample.ts | 2 +- .../agentPoolsCreateOrUpdateSample.ts | 38 +++--- .../agentPoolsDeleteMachinesSample.ts | 2 +- .../samples-dev/agentPoolsDeleteSample.ts | 2 +- ...oolsGetAvailableAgentPoolVersionsSample.ts | 2 +- .../samples-dev/agentPoolsGetSample.ts | 2 +- .../agentPoolsGetUpgradeProfileSample.ts | 2 +- .../samples-dev/agentPoolsListSample.ts | 2 +- ...agentPoolsUpgradeNodeImageVersionSample.ts | 2 +- .../samples-dev/machinesGetSample.ts | 2 +- .../samples-dev/machinesListSample.ts | 2 +- ...nanceConfigurationsCreateOrUpdateSample.ts | 4 +- .../maintenanceConfigurationsDeleteSample.ts | 4 +- .../maintenanceConfigurationsGetSample.ts | 4 +- ...onfigurationsListByManagedClusterSample.ts | 4 +- ...nagedClustersAbortLatestOperationSample.ts | 2 +- .../managedClustersCreateOrUpdateSample.ts | 54 ++++---- .../managedClustersDeleteSample.ts | 2 +- .../managedClustersGetAccessProfileSample.ts | 2 +- .../managedClustersGetCommandResultSample.ts | 4 +- ...gedClustersGetMeshRevisionProfileSample.ts | 2 +- ...agedClustersGetMeshUpgradeProfileSample.ts | 2 +- .../samples-dev/managedClustersGetSample.ts | 2 +- .../managedClustersGetUpgradeProfileSample.ts | 2 +- ...anagedClustersListByResourceGroupSample.ts | 2 +- ...ustersListClusterAdminCredentialsSample.ts | 2 +- ...tClusterMonitoringUserCredentialsSample.ts | 2 +- ...lustersListClusterUserCredentialsSample.ts | 2 +- ...gedClustersListKubernetesVersionsSample.ts | 2 +- ...dClustersListMeshRevisionProfilesSample.ts | 2 +- ...edClustersListMeshUpgradeProfilesSample.ts | 2 +- ...boundNetworkDependenciesEndpointsSample.ts | 2 +- .../samples-dev/managedClustersListSample.ts | 2 +- .../managedClustersResetAadProfileSample.ts | 2 +- ...stersResetServicePrincipalProfileSample.ts | 2 +- ...ClustersRotateClusterCertificatesSample.ts | 2 +- ...rsRotateServiceAccountSigningKeysSample.ts | 2 +- .../managedClustersRunCommandSample.ts | 2 +- .../samples-dev/managedClustersStartSample.ts | 2 +- .../samples-dev/managedClustersStopSample.ts | 2 +- .../managedClustersUpdateTagsSample.ts | 2 +- .../samples-dev/operationsListSample.ts | 2 +- .../privateEndpointConnectionsDeleteSample.ts | 2 +- .../privateEndpointConnectionsGetSample.ts | 2 +- .../privateEndpointConnectionsListSample.ts | 2 +- .../privateEndpointConnectionsUpdateSample.ts | 2 +- .../privateLinkResourcesListSample.ts | 2 +- .../resolvePrivateLinkServiceIdPostSample.ts | 2 +- .../snapshotsCreateOrUpdateSample.ts | 2 +- .../samples-dev/snapshotsDeleteSample.ts | 2 +- .../samples-dev/snapshotsGetSample.ts | 2 +- .../snapshotsListByResourceGroupSample.ts | 2 +- .../samples-dev/snapshotsListSample.ts | 2 +- .../samples-dev/snapshotsUpdateTagsSample.ts | 2 +- ...dAccessRoleBindingsCreateOrUpdateSample.ts | 2 +- .../trustedAccessRoleBindingsDeleteSample.ts | 2 +- .../trustedAccessRoleBindingsGetSample.ts | 2 +- .../trustedAccessRoleBindingsListSample.ts | 2 +- .../trustedAccessRolesListSample.ts | 2 +- .../samples/v21/javascript/README.md | 118 +++++++++--------- .../agentPoolsAbortLatestOperationSample.js | 2 +- .../agentPoolsCreateOrUpdateSample.js | 38 +++--- .../agentPoolsDeleteMachinesSample.js | 2 +- .../v21/javascript/agentPoolsDeleteSample.js | 2 +- ...oolsGetAvailableAgentPoolVersionsSample.js | 2 +- .../v21/javascript/agentPoolsGetSample.js | 2 +- .../agentPoolsGetUpgradeProfileSample.js | 2 +- .../v21/javascript/agentPoolsListSample.js | 2 +- ...agentPoolsUpgradeNodeImageVersionSample.js | 2 +- .../v21/javascript/machinesGetSample.js | 2 +- .../v21/javascript/machinesListSample.js | 2 +- ...nanceConfigurationsCreateOrUpdateSample.js | 4 +- .../maintenanceConfigurationsDeleteSample.js | 4 +- .../maintenanceConfigurationsGetSample.js | 4 +- ...onfigurationsListByManagedClusterSample.js | 4 +- ...nagedClustersAbortLatestOperationSample.js | 2 +- .../managedClustersCreateOrUpdateSample.js | 54 ++++---- .../javascript/managedClustersDeleteSample.js | 2 +- .../managedClustersGetAccessProfileSample.js | 2 +- .../managedClustersGetCommandResultSample.js | 4 +- ...gedClustersGetMeshRevisionProfileSample.js | 2 +- ...agedClustersGetMeshUpgradeProfileSample.js | 2 +- .../javascript/managedClustersGetSample.js | 2 +- .../managedClustersGetUpgradeProfileSample.js | 2 +- ...anagedClustersListByResourceGroupSample.js | 2 +- ...ustersListClusterAdminCredentialsSample.js | 2 +- ...tClusterMonitoringUserCredentialsSample.js | 2 +- ...lustersListClusterUserCredentialsSample.js | 2 +- ...gedClustersListKubernetesVersionsSample.js | 2 +- ...dClustersListMeshRevisionProfilesSample.js | 2 +- ...edClustersListMeshUpgradeProfilesSample.js | 2 +- ...boundNetworkDependenciesEndpointsSample.js | 2 +- .../javascript/managedClustersListSample.js | 2 +- .../managedClustersResetAadProfileSample.js | 2 +- ...stersResetServicePrincipalProfileSample.js | 2 +- ...ClustersRotateClusterCertificatesSample.js | 2 +- ...rsRotateServiceAccountSigningKeysSample.js | 2 +- .../managedClustersRunCommandSample.js | 2 +- .../javascript/managedClustersStartSample.js | 2 +- .../javascript/managedClustersStopSample.js | 2 +- .../managedClustersUpdateTagsSample.js | 2 +- .../v21/javascript/operationsListSample.js | 2 +- .../privateEndpointConnectionsDeleteSample.js | 2 +- .../privateEndpointConnectionsGetSample.js | 2 +- .../privateEndpointConnectionsListSample.js | 2 +- .../privateEndpointConnectionsUpdateSample.js | 2 +- .../privateLinkResourcesListSample.js | 2 +- .../resolvePrivateLinkServiceIdPostSample.js | 2 +- .../samples/v21/javascript/sample.env | 5 +- .../snapshotsCreateOrUpdateSample.js | 2 +- .../v21/javascript/snapshotsDeleteSample.js | 2 +- .../v21/javascript/snapshotsGetSample.js | 2 +- .../snapshotsListByResourceGroupSample.js | 2 +- .../v21/javascript/snapshotsListSample.js | 2 +- .../javascript/snapshotsUpdateTagsSample.js | 2 +- ...dAccessRoleBindingsCreateOrUpdateSample.js | 2 +- .../trustedAccessRoleBindingsDeleteSample.js | 2 +- .../trustedAccessRoleBindingsGetSample.js | 2 +- .../trustedAccessRoleBindingsListSample.js | 2 +- .../trustedAccessRolesListSample.js | 2 +- .../samples/v21/typescript/README.md | 118 +++++++++--------- .../samples/v21/typescript/sample.env | 5 +- .../agentPoolsAbortLatestOperationSample.ts | 2 +- .../src/agentPoolsCreateOrUpdateSample.ts | 38 +++--- .../src/agentPoolsDeleteMachinesSample.ts | 2 +- .../typescript/src/agentPoolsDeleteSample.ts | 2 +- ...oolsGetAvailableAgentPoolVersionsSample.ts | 2 +- .../v21/typescript/src/agentPoolsGetSample.ts | 2 +- .../src/agentPoolsGetUpgradeProfileSample.ts | 2 +- .../typescript/src/agentPoolsListSample.ts | 2 +- ...agentPoolsUpgradeNodeImageVersionSample.ts | 2 +- .../v21/typescript/src/machinesGetSample.ts | 2 +- .../v21/typescript/src/machinesListSample.ts | 2 +- ...nanceConfigurationsCreateOrUpdateSample.ts | 4 +- .../maintenanceConfigurationsDeleteSample.ts | 4 +- .../src/maintenanceConfigurationsGetSample.ts | 4 +- ...onfigurationsListByManagedClusterSample.ts | 4 +- ...nagedClustersAbortLatestOperationSample.ts | 2 +- .../managedClustersCreateOrUpdateSample.ts | 54 ++++---- .../src/managedClustersDeleteSample.ts | 2 +- .../managedClustersGetAccessProfileSample.ts | 2 +- .../managedClustersGetCommandResultSample.ts | 4 +- ...gedClustersGetMeshRevisionProfileSample.ts | 2 +- ...agedClustersGetMeshUpgradeProfileSample.ts | 2 +- .../src/managedClustersGetSample.ts | 2 +- .../managedClustersGetUpgradeProfileSample.ts | 2 +- ...anagedClustersListByResourceGroupSample.ts | 2 +- ...ustersListClusterAdminCredentialsSample.ts | 2 +- ...tClusterMonitoringUserCredentialsSample.ts | 2 +- ...lustersListClusterUserCredentialsSample.ts | 2 +- ...gedClustersListKubernetesVersionsSample.ts | 2 +- ...dClustersListMeshRevisionProfilesSample.ts | 2 +- ...edClustersListMeshUpgradeProfilesSample.ts | 2 +- ...boundNetworkDependenciesEndpointsSample.ts | 2 +- .../src/managedClustersListSample.ts | 2 +- .../managedClustersResetAadProfileSample.ts | 2 +- ...stersResetServicePrincipalProfileSample.ts | 2 +- ...ClustersRotateClusterCertificatesSample.ts | 2 +- ...rsRotateServiceAccountSigningKeysSample.ts | 2 +- .../src/managedClustersRunCommandSample.ts | 2 +- .../src/managedClustersStartSample.ts | 2 +- .../src/managedClustersStopSample.ts | 2 +- .../src/managedClustersUpdateTagsSample.ts | 2 +- .../typescript/src/operationsListSample.ts | 2 +- .../privateEndpointConnectionsDeleteSample.ts | 2 +- .../privateEndpointConnectionsGetSample.ts | 2 +- .../privateEndpointConnectionsListSample.ts | 2 +- .../privateEndpointConnectionsUpdateSample.ts | 2 +- .../src/privateLinkResourcesListSample.ts | 2 +- .../resolvePrivateLinkServiceIdPostSample.ts | 2 +- .../src/snapshotsCreateOrUpdateSample.ts | 2 +- .../typescript/src/snapshotsDeleteSample.ts | 2 +- .../v21/typescript/src/snapshotsGetSample.ts | 2 +- .../src/snapshotsListByResourceGroupSample.ts | 2 +- .../v21/typescript/src/snapshotsListSample.ts | 2 +- .../src/snapshotsUpdateTagsSample.ts | 2 +- ...dAccessRoleBindingsCreateOrUpdateSample.ts | 2 +- .../trustedAccessRoleBindingsDeleteSample.ts | 2 +- .../src/trustedAccessRoleBindingsGetSample.ts | 2 +- .../trustedAccessRoleBindingsListSample.ts | 2 +- .../src/trustedAccessRolesListSample.ts | 2 +- .../src/containerServiceClient.ts | 4 +- .../arm-containerservice/src/models/index.ts | 81 +++++++++++- .../src/models/mappers.ts | 111 +++++++++++++++- .../src/models/parameters.ts | 22 +++- .../src/operations/agentPools.ts | 9 +- .../src/operations/managedClusters.ts | 15 ++- .../arm-containerservice/tsconfig.json | 4 +- 195 files changed, 758 insertions(+), 483 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 45e12b4dbe03..520cf7292b6f 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -13603,23 +13603,26 @@ packages: dev: false file:projects/arm-containerservice-1.tgz: - resolution: {integrity: sha512-utGcUU8MbJLw0BBSCqXOAcfogm+NlZkn+iV2CzTCLnifBSaydocD7nnCyjChZMhHXIUs4vIp0cEHAM2dVA+vyw==, tarball: file:projects/arm-containerservice-1.tgz} + resolution: {integrity: sha512-ydpilnTOvg+oXwo+mhmH0sgy18nc7f1Lc3bIERPjMXBquOusiTJ3RQzPdEMRlDMs4tHOX5kxLaQuMc6MTY3KyA==, tarball: file:projects/arm-containerservice-1.tgz} name: '@rush-temp/arm-containerservice-1' version: 0.0.0 dependencies: '@azure-tools/test-credential': 1.3.1 '@azure-tools/test-recorder': 3.5.2 '@azure/core-lro': 2.7.2 + '@microsoft/api-extractor': 7.47.11(@types/node@18.19.64) '@types/chai': 4.3.20 '@types/mocha': 10.0.9 '@types/node': 18.19.64 chai: 4.3.10 + cross-env: 7.0.3 dotenv: 16.4.5 mocha: 10.8.2 ts-node: 10.9.2(@types/node@18.19.64)(typescript@5.6.3) tslib: 2.8.1 tsx: 4.19.2 typescript: 5.6.3 + uglify-js: 3.19.3 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' diff --git a/sdk/containerservice/arm-containerservice/CHANGELOG.md b/sdk/containerservice/arm-containerservice/CHANGELOG.md index 5936598e966b..0feccbfafc53 100644 --- a/sdk/containerservice/arm-containerservice/CHANGELOG.md +++ b/sdk/containerservice/arm-containerservice/CHANGELOG.md @@ -1,15 +1,29 @@ # Release History - -## 21.2.1 (Unreleased) - + +## 21.3.0 (2024-11-15) + ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes - + - Added Interface AdvancedNetworking + - Added Interface AdvancedNetworkingObservability + - Added Interface AdvancedNetworkingSecurity + - Added Interface ManagedClusterNodeResourceGroupProfile + - Added Type Alias RestrictionLevel + - Interface AgentPool has a new optional parameter eTag + - Interface AgentPoolsCreateOrUpdateOptionalParams has a new optional parameter ifMatch + - Interface AgentPoolsCreateOrUpdateOptionalParams has a new optional parameter ifNoneMatch + - Interface AgentPoolsDeleteOptionalParams has a new optional parameter ifMatch + - Interface ContainerServiceNetworkProfile has a new optional parameter advancedNetworking + - Interface ManagedCluster has a new optional parameter eTag + - Interface ManagedCluster has a new optional parameter nodeResourceGroupProfile + - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter eTag + - Interface ManagedClustersCreateOrUpdateOptionalParams has a new optional parameter ifMatch + - Interface ManagedClustersCreateOrUpdateOptionalParams has a new optional parameter ifNoneMatch + - Interface ManagedClustersDeleteOptionalParams has a new optional parameter ifMatch + - Interface ManagedClustersUpdateTagsOptionalParams has a new optional parameter ifMatch + - Added Enum KnownRestrictionLevel + + ## 21.2.0 (2024-10-15) ### Features Added diff --git a/sdk/containerservice/arm-containerservice/_meta.json b/sdk/containerservice/arm-containerservice/_meta.json index f98c5410861c..d964aa73bc82 100644 --- a/sdk/containerservice/arm-containerservice/_meta.json +++ b/sdk/containerservice/arm-containerservice/_meta.json @@ -1,8 +1,8 @@ { - "commit": "f0573da04ed934620c566b96e04ddd80d46d2742", + "commit": "ff7b8e12e78b352561e2e470dd045be310a313fa", "readme": "specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md", - "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/typescript@6.0.27 --generate-sample=true", + "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/typescript@6.0.28 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.7.13", - "use": "@autorest/typescript@6.0.27" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.15", + "use": "@autorest/typescript@6.0.28" } \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/assets.json b/sdk/containerservice/arm-containerservice/assets.json index 2b0850467726..18e1bc159b10 100644 --- a/sdk/containerservice/arm-containerservice/assets.json +++ b/sdk/containerservice/arm-containerservice/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "js", "TagPrefix": "js/containerservice/arm-containerservice", - "Tag": "js/containerservice/arm-containerservice_ac83844a87" + "Tag": "js/containerservice/arm-containerservice_1cb77746c8" } diff --git a/sdk/containerservice/arm-containerservice/package.json b/sdk/containerservice/arm-containerservice/package.json index 40b42c9abff4..e31e21999bc3 100644 --- a/sdk/containerservice/arm-containerservice/package.json +++ b/sdk/containerservice/arm-containerservice/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ContainerServiceClient.", - "version": "21.2.1", + "version": "21.3.0", "engines": { "node": ">=18.0.0" }, @@ -28,6 +28,7 @@ "module": "./dist-esm/src/index.js", "types": "./types/arm-containerservice.d.ts", "devDependencies": { + "@microsoft/api-extractor": "^7.31.1", "typescript": "~5.6.2", "dotenv": "^16.0.0", "@azure/dev-tool": "^1.0.0", @@ -89,7 +90,8 @@ "unit-test:browser": "echo skipped", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", - "integration-test:browser": "echo skipped" + "integration-test:browser": "echo skipped", + "update-snippets": "echo skipped" }, "sideEffects": false, "//metadata": { diff --git a/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md b/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md index f06b1b333492..1e371223706d 100644 --- a/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md +++ b/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md @@ -16,6 +16,23 @@ export interface AbsoluteMonthlySchedule { intervalMonths: number; } +// @public +export interface AdvancedNetworking { + enabled?: boolean; + observability?: AdvancedNetworkingObservability; + security?: AdvancedNetworkingSecurity; +} + +// @public +export interface AdvancedNetworkingObservability { + enabled?: boolean; +} + +// @public +export interface AdvancedNetworkingSecurity { + enabled?: boolean; +} + // @public export interface AgentPool extends SubResource { availabilityZones?: string[]; @@ -28,6 +45,7 @@ export interface AgentPool extends SubResource { enableFips?: boolean; enableNodePublicIP?: boolean; enableUltraSSD?: boolean; + readonly eTag?: string; gpuInstanceProfile?: GPUInstanceProfile; hostGroupID?: string; kubeletConfig?: KubeletConfig; @@ -140,6 +158,8 @@ export type AgentPoolsAbortLatestOperationResponse = AgentPoolsAbortLatestOperat // @public export interface AgentPoolsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; + ifNoneMatch?: string; resumeFrom?: string; updateIntervalInMs?: number; } @@ -168,6 +188,7 @@ export type AgentPoolsDeleteMachinesResponse = AgentPoolsDeleteMachinesHeaders; // @public export interface AgentPoolsDeleteOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; ignorePodDisruptionBudget?: boolean; resumeFrom?: string; updateIntervalInMs?: number; @@ -349,6 +370,7 @@ export interface ContainerServiceLinuxProfile { // @public export interface ContainerServiceNetworkProfile { + advancedNetworking?: AdvancedNetworking; dnsServiceIP?: string; ipFamilies?: IpFamily[]; loadBalancerProfile?: ManagedClusterLoadBalancerProfile; @@ -744,6 +766,12 @@ export enum KnownPublicNetworkAccess { Enabled = "Enabled" } +// @public +export enum KnownRestrictionLevel { + ReadOnly = "ReadOnly", + Unrestricted = "Unrestricted" +} + // @public export enum KnownScaleDownMode { Deallocate = "Deallocate", @@ -1016,6 +1044,7 @@ export interface ManagedCluster extends TrackedResource { dnsPrefix?: string; enablePodSecurityPolicy?: boolean; enableRbac?: boolean; + readonly eTag?: string; extendedLocation?: ExtendedLocation; readonly fqdn?: string; fqdnSubdomain?: string; @@ -1031,6 +1060,7 @@ export interface ManagedCluster extends TrackedResource { metricsProfile?: ManagedClusterMetricsProfile; networkProfile?: ContainerServiceNetworkProfile; nodeResourceGroup?: string; + nodeResourceGroupProfile?: ManagedClusterNodeResourceGroupProfile; oidcIssuerProfile?: ManagedClusterOidcIssuerProfile; podIdentityProfile?: ManagedClusterPodIdentityProfile; readonly powerState?: PowerState; @@ -1096,6 +1126,7 @@ export interface ManagedClusterAgentPoolProfileProperties { enableFips?: boolean; enableNodePublicIP?: boolean; enableUltraSSD?: boolean; + readonly eTag?: string; gpuInstanceProfile?: GPUInstanceProfile; hostGroupID?: string; kubeletConfig?: KubeletConfig; @@ -1258,6 +1289,11 @@ export interface ManagedClusterNATGatewayProfile { managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfile; } +// @public +export interface ManagedClusterNodeResourceGroupProfile { + restrictionLevel?: RestrictionLevel; +} + // @public export interface ManagedClusterOidcIssuerProfile { enabled?: boolean; @@ -1408,6 +1444,8 @@ export type ManagedClustersAbortLatestOperationResponse = ManagedClustersAbortLa // @public export interface ManagedClustersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; + ifNoneMatch?: string; resumeFrom?: string; updateIntervalInMs?: number; } @@ -1422,6 +1460,7 @@ export interface ManagedClustersDeleteHeaders { // @public export interface ManagedClustersDeleteOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; resumeFrom?: string; updateIntervalInMs?: number; } @@ -1749,6 +1788,7 @@ export interface ManagedClusterStorageProfileSnapshotController { // @public export interface ManagedClustersUpdateTagsOptionalParams extends coreClient.OperationOptions { + ifMatch?: string; resumeFrom?: string; updateIntervalInMs?: number; } @@ -2053,6 +2093,9 @@ export interface ResourceReference { id?: string; } +// @public +export type RestrictionLevel = string; + // @public export interface RunCommandRequest { clusterToken?: string; diff --git a/sdk/containerservice/arm-containerservice/sample.env b/sdk/containerservice/arm-containerservice/sample.env index 672847a3fea0..508439fc7d62 100644 --- a/sdk/containerservice/arm-containerservice/sample.env +++ b/sdk/containerservice/arm-containerservice/sample.env @@ -1,4 +1 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file +# Feel free to add your own environment variables. \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsAbortLatestOperationSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsAbortLatestOperationSample.ts index 11ec557eae87..be23fd85b9d7 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsAbortLatestOperationSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsAbortLatestOperationSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. * * @summary Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsAbortOperation.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsAbortOperation.json */ async function abortOperationOnAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsCreateOrUpdateSample.ts index b9a51ec3b5ca..c6426680bfb6 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Snapshot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Snapshot.json */ async function createAgentPoolUsingAnAgentPoolSnapshot() { const subscriptionId = @@ -54,7 +54,7 @@ async function createAgentPoolUsingAnAgentPoolSnapshot() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_CRG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_CRG.json */ async function createAgentPoolWithCapacityReservationGroup() { const subscriptionId = @@ -87,7 +87,7 @@ async function createAgentPoolWithCapacityReservationGroup() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_DedicatedHostGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_DedicatedHostGroup.json */ async function createAgentPoolWithDedicatedHostGroup() { const subscriptionId = @@ -120,7 +120,7 @@ async function createAgentPoolWithDedicatedHostGroup() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json */ async function createAgentPoolWithEncryptionAtHostEnabled() { const subscriptionId = @@ -152,7 +152,7 @@ async function createAgentPoolWithEncryptionAtHostEnabled() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Ephemeral.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Ephemeral.json */ async function createAgentPoolWithEphemeralOSDisk() { const subscriptionId = @@ -185,7 +185,7 @@ async function createAgentPoolWithEphemeralOSDisk() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_EnableFIPS.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_EnableFIPS.json */ async function createAgentPoolWithFipsEnabledOS() { const subscriptionId = @@ -217,7 +217,7 @@ async function createAgentPoolWithFipsEnabledOS() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_GPUMIG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_GPUMIG.json */ async function createAgentPoolWithGpumig() { const subscriptionId = @@ -270,7 +270,7 @@ async function createAgentPoolWithGpumig() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_WasmWasi.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_WasmWasi.json */ async function createAgentPoolWithKrustletAndTheWasiRuntime() { const subscriptionId = @@ -304,7 +304,7 @@ async function createAgentPoolWithKrustletAndTheWasiRuntime() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_CustomNodeConfig.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_CustomNodeConfig.json */ async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() { const subscriptionId = @@ -356,7 +356,7 @@ async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_OSSKU.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_OSSKU.json */ async function createAgentPoolWithOssku() { const subscriptionId = @@ -409,7 +409,7 @@ async function createAgentPoolWithOssku() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_PPG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_PPG.json */ async function createAgentPoolWithPpg() { const subscriptionId = @@ -442,7 +442,7 @@ async function createAgentPoolWithPpg() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_EnableUltraSSD.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_EnableUltraSSD.json */ async function createAgentPoolWithUltraSsdEnabled() { const subscriptionId = @@ -474,7 +474,7 @@ async function createAgentPoolWithUltraSsdEnabled() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_WindowsOSSKU.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_WindowsOSSKU.json */ async function createAgentPoolWithWindowsOssku() { const subscriptionId = @@ -506,7 +506,7 @@ async function createAgentPoolWithWindowsOssku() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Spot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Spot.json */ async function createSpotAgentPool() { const subscriptionId = @@ -542,7 +542,7 @@ async function createSpotAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_WindowsDisableOutboundNAT.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_WindowsDisableOutboundNAT.json */ async function createWindowsAgentPoolWithDisablingOutboundNat() { const subscriptionId = @@ -575,7 +575,7 @@ async function createWindowsAgentPoolWithDisablingOutboundNat() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Update.json */ async function createOrUpdateAgentPool() { const subscriptionId = @@ -612,7 +612,7 @@ async function createOrUpdateAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPools_Start.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPools_Start.json */ async function startAgentPool() { const subscriptionId = @@ -638,7 +638,7 @@ async function startAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPools_Stop.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPools_Stop.json */ async function stopAgentPool() { const subscriptionId = @@ -664,7 +664,7 @@ async function stopAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPools_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPools_Update.json */ async function updateAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteMachinesSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteMachinesSample.ts index 38a8ee6df373..b2d93cfb8a6a 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteMachinesSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteMachinesSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Deletes specific machines in an agent pool. * * @summary Deletes specific machines in an agent pool. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsDeleteMachines.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsDeleteMachines.json */ async function deleteSpecificMachinesInAnAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteSample.ts index b7ab02352229..b1ac4b193263 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsDelete.json */ async function deleteAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetAvailableAgentPoolVersionsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetAvailableAgentPoolVersionsSample.ts index 4f7596647752..67e35d440225 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetAvailableAgentPoolVersionsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetAvailableAgentPoolVersionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json */ async function getAvailableVersionsForAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetSample.ts index 2c507c9b7726..41ed5b93b708 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGet.json */ async function getAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetUpgradeProfileSample.ts index d0b6a59f55b5..a3ca34b8fc1a 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetUpgradeProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetUpgradeProfileSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsGetUpgradeProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGetUpgradeProfile.json */ async function getUpgradeProfileForAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsListSample.ts index 9937f972007c..d616aea11cc6 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsList.json */ async function listAgentPoolsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsUpgradeNodeImageVersionSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsUpgradeNodeImageVersionSample.ts index 96d24fb24cda..bd366cc4ac67 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsUpgradeNodeImageVersionSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsUpgradeNodeImageVersionSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsUpgradeNodeImageVersion.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsUpgradeNodeImageVersion.json */ async function upgradeAgentPoolNodeImageVersion() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/machinesGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/machinesGetSample.ts index 16a27ac521af..77792a4b0d26 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/machinesGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/machinesGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Get a specific machine in the specified agent pool. * * @summary Get a specific machine in the specified agent pool. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MachineGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MachineGet.json */ async function getAMachineInAnAgentPoolsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/machinesListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/machinesListSample.ts index 32ec62e4f4f1..f9aa0939a787 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/machinesListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/machinesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of machines in the specified agent pool. * * @summary Gets a list of machines in the specified agent pool. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MachineList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MachineList.json */ async function listMachinesInAnAgentpoolByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.ts index 275bdd7a5718..150041bf1f0f 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates or updates a maintenance configuration in the specified managed cluster. * * @summary Creates or updates a maintenance configuration in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsCreate_Update.json */ async function createOrUpdateMaintenanceConfiguration() { const subscriptionId = @@ -55,7 +55,7 @@ async function createOrUpdateMaintenanceConfiguration() { * This sample demonstrates how to Creates or updates a maintenance configuration in the specified managed cluster. * * @summary Creates or updates a maintenance configuration in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsCreate_Update_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsCreate_Update_MaintenanceWindow.json */ async function createOrUpdateMaintenanceConfigurationWithMaintenanceWindow() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsDeleteSample.ts index 6a8bb3a58a48..af8a77316e8a 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes a maintenance configuration. * * @summary Deletes a maintenance configuration. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsDelete.json */ async function deleteMaintenanceConfiguration() { const subscriptionId = @@ -42,7 +42,7 @@ async function deleteMaintenanceConfiguration() { * This sample demonstrates how to Deletes a maintenance configuration. * * @summary Deletes a maintenance configuration. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsDelete_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsDelete_MaintenanceWindow.json */ async function deleteMaintenanceConfigurationForNodeOSUpgrade() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsGetSample.ts index f4d01765ade9..9b35a32eb289 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the specified maintenance configuration of a managed cluster. * * @summary Gets the specified maintenance configuration of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsGet.json */ async function getMaintenanceConfiguration() { const subscriptionId = @@ -42,7 +42,7 @@ async function getMaintenanceConfiguration() { * This sample demonstrates how to Gets the specified maintenance configuration of a managed cluster. * * @summary Gets the specified maintenance configuration of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsGet_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsGet_MaintenanceWindow.json */ async function getMaintenanceConfigurationConfiguredWithMaintenanceWindow() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsListByManagedClusterSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsListByManagedClusterSample.ts index 7c63dd5dd30d..f1615ce26e31 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsListByManagedClusterSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsListByManagedClusterSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of maintenance configurations in the specified managed cluster. * * @summary Gets a list of maintenance configurations in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsList.json */ async function listMaintenanceConfigurationsByManagedCluster() { const subscriptionId = @@ -43,7 +43,7 @@ async function listMaintenanceConfigurationsByManagedCluster() { * This sample demonstrates how to Gets a list of maintenance configurations in the specified managed cluster. * * @summary Gets a list of maintenance configurations in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsList_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsList_MaintenanceWindow.json */ async function listMaintenanceConfigurationsConfiguredWithMaintenanceWindowByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersAbortLatestOperationSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersAbortLatestOperationSample.ts index f1944da30d2e..53c09beb2301 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersAbortLatestOperationSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersAbortLatestOperationSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. * * @summary Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersAbortOperation.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersAbortOperation.json */ async function abortOperationOnManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersCreateOrUpdateSample.ts index da798cef5b72..f201dce40cc3 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_Snapshot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_Snapshot.json */ async function createManagedClusterUsingAnAgentPoolSnapshot() { const subscriptionId = @@ -87,7 +87,7 @@ async function createManagedClusterUsingAnAgentPoolSnapshot() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_ManagedNATGateway.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_ManagedNATGateway.json */ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { const subscriptionId = @@ -148,7 +148,7 @@ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_AzureKeyvaultSecretsProvider.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_AzureKeyvaultSecretsProvider.json */ async function createManagedClusterWithAzureKeyVaultSecretsProviderAddon() { const subscriptionId = @@ -214,7 +214,7 @@ async function createManagedClusterWithAzureKeyVaultSecretsProviderAddon() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_CRG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_CRG.json */ async function createManagedClusterWithCapacityReservationGroup() { const subscriptionId = @@ -277,7 +277,7 @@ async function createManagedClusterWithCapacityReservationGroup() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_DedicatedHostGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_DedicatedHostGroup.json */ async function createManagedClusterWithDedicatedHostGroup() { const subscriptionId = @@ -339,7 +339,7 @@ async function createManagedClusterWithDedicatedHostGroup() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json */ async function createManagedClusterWithEncryptionAtHostEnabled() { const subscriptionId = @@ -401,7 +401,7 @@ async function createManagedClusterWithEncryptionAtHostEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_EnabledFIPS.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_EnabledFIPS.json */ async function createManagedClusterWithFipsEnabledOS() { const subscriptionId = @@ -463,7 +463,7 @@ async function createManagedClusterWithFipsEnabledOS() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_GPUMIG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_GPUMIG.json */ async function createManagedClusterWithGpumig() { const subscriptionId = @@ -531,7 +531,7 @@ async function createManagedClusterWithGpumig() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_HTTPProxy.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_HTTPProxy.json */ async function createManagedClusterWithHttpProxyConfigured() { const subscriptionId = @@ -598,7 +598,7 @@ async function createManagedClusterWithHttpProxyConfigured() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_Premium.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_Premium.json */ async function createManagedClusterWithLongTermSupport() { const subscriptionId = @@ -660,7 +660,7 @@ async function createManagedClusterWithLongTermSupport() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json */ async function createManagedClusterWithNodePublicIPPrefix() { const subscriptionId = @@ -723,7 +723,7 @@ async function createManagedClusterWithNodePublicIPPrefix() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_OSSKU.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_OSSKU.json */ async function createManagedClusterWithOssku() { const subscriptionId = @@ -791,7 +791,7 @@ async function createManagedClusterWithOssku() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PPG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PPG.json */ async function createManagedClusterWithPpg() { const subscriptionId = @@ -854,7 +854,7 @@ async function createManagedClusterWithPpg() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PodIdentity.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PodIdentity.json */ async function createManagedClusterWithPodIdentityEnabled() { const subscriptionId = @@ -916,7 +916,7 @@ async function createManagedClusterWithPodIdentityEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_DisableRunCommand.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_DisableRunCommand.json */ async function createManagedClusterWithRunCommandDisabled() { const subscriptionId = @@ -977,7 +977,7 @@ async function createManagedClusterWithRunCommandDisabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_SecurityProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_SecurityProfile.json */ async function createManagedClusterWithSecurityProfileConfigured() { const subscriptionId = @@ -1035,7 +1035,7 @@ async function createManagedClusterWithSecurityProfileConfigured() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_EnableUltraSSD.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_EnableUltraSSD.json */ async function createManagedClusterWithUltraSsdEnabled() { const subscriptionId = @@ -1097,7 +1097,7 @@ async function createManagedClusterWithUltraSsdEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_IngressProfile_WebAppRouting.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_IngressProfile_WebAppRouting.json */ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { const subscriptionId = @@ -1155,7 +1155,7 @@ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json */ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { const subscriptionId = @@ -1215,7 +1215,7 @@ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json */ async function createManagedPrivateClusterWithPublicFqdnSpecified() { const subscriptionId = @@ -1279,7 +1279,7 @@ async function createManagedPrivateClusterWithPublicFqdnSpecified() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json */ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { const subscriptionId = @@ -1344,7 +1344,7 @@ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json */ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { const subscriptionId = @@ -1407,7 +1407,7 @@ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_Update.json */ async function createOrUpdateManagedCluster() { const subscriptionId = @@ -1491,7 +1491,7 @@ async function createOrUpdateManagedCluster() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_AzureServiceMesh.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_AzureServiceMesh.json */ async function createOrUpdateManagedClusterWithAzureServiceMesh() { const subscriptionId = @@ -1576,7 +1576,7 @@ async function createOrUpdateManagedClusterWithAzureServiceMesh() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UpdateWithAHUB.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UpdateWithAHUB.json */ async function createOrUpdateManagedClusterWithEnableAhub() { const subscriptionId = @@ -1646,7 +1646,7 @@ async function createOrUpdateManagedClusterWithEnableAhub() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json */ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { const subscriptionId = @@ -1716,7 +1716,7 @@ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_DualStackNetworking.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_DualStackNetworking.json */ async function createOrUpdateManagedClusterWithDualStackNetworking() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersDeleteSample.ts index 5e92fead65dc..b6dffd8e0f59 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes a managed cluster. * * @summary Deletes a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersDelete.json */ async function deleteManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetAccessProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetAccessProfileSample.ts index 2e730b9bad35..0638030dc50e 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetAccessProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetAccessProfileSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . * * @summary **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGetAccessProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGetAccessProfile.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetCommandResultSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetCommandResultSample.ts index 6d0ae74f1ef2..70b1e54c3ec2 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetCommandResultSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetCommandResultSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. * * @summary Gets the results of a command which has been run on the Managed Cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandResultFailed.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandResultFailed.json */ async function commandFailedResult() { const subscriptionId = @@ -42,7 +42,7 @@ async function commandFailedResult() { * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. * * @summary Gets the results of a command which has been run on the Managed Cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandResultSucceed.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandResultSucceed.json */ async function commandSucceedResult() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetMeshRevisionProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetMeshRevisionProfileSample.ts index b9c70d028e90..2213aa12f0a7 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetMeshRevisionProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetMeshRevisionProfileSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades * * @summary Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet_MeshRevisionProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet_MeshRevisionProfile.json */ async function getAMeshRevisionProfileForAMeshMode() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetMeshUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetMeshUpgradeProfileSample.ts index a8b1948453a1..d3bafe13663a 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetMeshUpgradeProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetMeshUpgradeProfileSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets available upgrades for a service mesh in a cluster. * * @summary Gets available upgrades for a service mesh in a cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet_MeshUpgradeProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet_MeshUpgradeProfile.json */ async function getsVersionCompatibilityAndUpgradeProfileForAServiceMeshInACluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetSample.ts index ce025fb26c73..05b55dccceba 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a managed cluster. * * @summary Gets a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetUpgradeProfileSample.ts index 9f1b3dfc700c..bdf6e77a29ed 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetUpgradeProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetUpgradeProfileSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the upgrade profile of a managed cluster. * * @summary Gets the upgrade profile of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGetUpgradeProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGetUpgradeProfile.json */ async function getUpgradeProfileForManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListByResourceGroupSample.ts index ff8c391e73be..1336e0c609d6 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListByResourceGroupSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListByResourceGroupSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists managed clusters in the specified subscription and resource group. * * @summary Lists managed clusters in the specified subscription and resource group. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListByResourceGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListByResourceGroup.json */ async function getManagedClustersByResourceGroup() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterAdminCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterAdminCredentialsSample.ts index 80dea3975b61..6f98741b979d 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterAdminCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterAdminCredentialsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the admin credentials of a managed cluster. * * @summary Lists the admin credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterAdminCredentials.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterAdminCredentials.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterMonitoringUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterMonitoringUserCredentialsSample.ts index c38c724d3ba2..630e4e20c446 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterMonitoringUserCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterMonitoringUserCredentialsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the cluster monitoring user credentials of a managed cluster. * * @summary Lists the cluster monitoring user credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterUserCredentialsSample.ts index f968adce703c..28058dc75583 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterUserCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterUserCredentialsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the user credentials of a managed cluster. * * @summary Lists the user credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterUserCredentials.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterUserCredentials.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListKubernetesVersionsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListKubernetesVersionsSample.ts index d1bc519504ed..b15a4fca38e9 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListKubernetesVersionsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListKubernetesVersionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version * * @summary Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/KubernetesVersions_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/KubernetesVersions_List.json */ async function listKubernetesVersions() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListMeshRevisionProfilesSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListMeshRevisionProfilesSample.ts index 35551f85cc36..ecf4b84dc852 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListMeshRevisionProfilesSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListMeshRevisionProfilesSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades * * @summary Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList_MeshRevisionProfiles.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList_MeshRevisionProfiles.json */ async function listMeshRevisionProfilesInALocation() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListMeshUpgradeProfilesSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListMeshUpgradeProfilesSample.ts index 6643c8eb30ab..59e3b05196cd 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListMeshUpgradeProfilesSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListMeshUpgradeProfilesSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists available upgrades for all service meshes in a specific cluster. * * @summary Lists available upgrades for all service meshes in a specific cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList_MeshUpgradeProfiles.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList_MeshUpgradeProfiles.json */ async function listsVersionCompatibilityAndUpgradeProfileForAllServiceMeshesInACluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts index d8d25244d810..c9f0a943f62f 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. * * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/OutboundNetworkDependenciesEndpointsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/OutboundNetworkDependenciesEndpointsList.json */ async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListSample.ts index ca982dd21be7..551476d56bfd 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of managed clusters in the specified subscription. * * @summary Gets a list of managed clusters in the specified subscription. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList.json */ async function listManagedClusters() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetAadProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetAadProfileSample.ts index 189b14744403..ee60914e670b 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetAadProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetAadProfileSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. * * @summary **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersResetAADProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersResetAADProfile.json */ async function resetAadProfile() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetServicePrincipalProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetServicePrincipalProfileSample.ts index 4ec7f5f16d69..d349987804d7 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetServicePrincipalProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetServicePrincipalProfileSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to This action cannot be performed on a cluster that is not using a service principal * * @summary This action cannot be performed on a cluster that is not using a service principal - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersResetServicePrincipalProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersResetServicePrincipalProfile.json */ async function resetServicePrincipalProfile() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateClusterCertificatesSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateClusterCertificatesSample.ts index 9d59b2f3ddf2..253c3a401dfd 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateClusterCertificatesSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateClusterCertificatesSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. * * @summary See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersRotateClusterCertificates.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersRotateClusterCertificates.json */ async function rotateClusterCertificates() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts index 3bb99470a351..71e21f39af7d 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Rotates the service account signing keys of a managed cluster. * * @summary Rotates the service account signing keys of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json */ async function rotateClusterServiceAccountSigningKeys() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRunCommandSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRunCommandSample.ts index 6b91b9bdad02..b485beec4e64 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRunCommandSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRunCommandSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). * * @summary AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandRequest.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandRequest.json */ async function submitNewCommand() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStartSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStartSample.ts index f014f36f7fc9..f2b7d731b209 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStartSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStartSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. * * @summary See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersStart.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersStart.json */ async function startManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStopSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStopSample.ts index 55144ae1bb00..babfe05af301 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStopSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStopSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. * * @summary This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersStop.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersStop.json */ async function stopManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersUpdateTagsSample.ts index 3ec15b9e96f8..028b331d3c31 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersUpdateTagsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersUpdateTagsSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Updates tags on a managed cluster. * * @summary Updates tags on a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersUpdateTags.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersUpdateTags.json */ async function updateManagedClusterTags() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/operationsListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/operationsListSample.ts index 7e1fc5593a9e..3b0b1ba4f6ec 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/operationsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/operationsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of operations. * * @summary Gets a list of operations. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/Operation_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/Operation_List.json */ async function listAvailableOperationsForTheContainerServiceResourceProvider() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsDeleteSample.ts index 0ef87f742fcb..c8f7cdc7c83e 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes a private endpoint connection. * * @summary Deletes a private endpoint connection. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsDelete.json */ async function deletePrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsGetSample.ts index cf55806a76e9..00899f089e4c 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsGet.json */ async function getPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsListSample.ts index 7a7071b4c485..69e929501b13 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsList.json */ async function listPrivateEndpointConnectionsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsUpdateSample.ts index cfec91b849b0..a4ee8474fd06 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Updates a private endpoint connection. * * @summary Updates a private endpoint connection. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsUpdate.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsUpdate.json */ async function updatePrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/privateLinkResourcesListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/privateLinkResourcesListSample.ts index 0f5ce2e249dc..1745cf4d561a 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/privateLinkResourcesListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/privateLinkResourcesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateLinkResourcesList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateLinkResourcesList.json */ async function listPrivateLinkResourcesByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/resolvePrivateLinkServiceIdPostSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/resolvePrivateLinkServiceIdPostSample.ts index a16e53eef968..c4b21d57a932 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/resolvePrivateLinkServiceIdPostSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/resolvePrivateLinkServiceIdPostSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Gets the private link service ID for the specified managed cluster. * * @summary Gets the private link service ID for the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ResolvePrivateLinkServiceId.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ResolvePrivateLinkServiceId.json */ async function resolveThePrivateLinkServiceIdForManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsCreateOrUpdateSample.ts index f5cf0f876a23..cfd79e400923 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Creates or updates a snapshot. * * @summary Creates or updates a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsCreate.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsCreate.json */ async function createOrUpdateSnapshot() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsDeleteSample.ts index 3a90b7231233..f39263f6377f 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes a snapshot. * * @summary Deletes a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsDelete.json */ async function deleteSnapshot() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsGetSample.ts index 41d9f5bbc688..85e8f4c6fe4d 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a snapshot. * * @summary Gets a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsGet.json */ async function getSnapshot() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListByResourceGroupSample.ts index 5a7f37013bb4..583a5b9d1ac4 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListByResourceGroupSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListByResourceGroupSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists snapshots in the specified subscription and resource group. * * @summary Lists snapshots in the specified subscription and resource group. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsListByResourceGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsListByResourceGroup.json */ async function listSnapshotsByResourceGroup() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListSample.ts index 52241a218cc2..3fb5ceab6801 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of snapshots in the specified subscription. * * @summary Gets a list of snapshots in the specified subscription. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsList.json */ async function listSnapshots() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsUpdateTagsSample.ts index fc696a355666..4d2f734e2f32 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsUpdateTagsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsUpdateTagsSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Updates tags on a snapshot. * * @summary Updates tags on a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsUpdateTags.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsUpdateTags.json */ async function updateSnapshotTags() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsCreateOrUpdateSample.ts index c515bb2db10f..026f11ce7040 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update a trusted access role binding * * @summary Create or update a trusted access role binding - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json */ async function createOrUpdateATrustedAccessRoleBinding() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsDeleteSample.ts index f79a3e04cb75..5b8cba149f0e 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Delete a trusted access role binding. * * @summary Delete a trusted access role binding. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_Delete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_Delete.json */ async function deleteATrustedAccessRoleBinding() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsGetSample.ts index 87ff561ef611..d5b9e3a4fc6e 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Get a trusted access role binding. * * @summary Get a trusted access role binding. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_Get.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_Get.json */ async function getATrustedAccessRoleBinding() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsListSample.ts index 519905e062c1..5115805c6534 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRoleBindingsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to List trusted access role bindings. * * @summary List trusted access role bindings. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_List.json */ async function listTrustedAccessRoleBindings() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRolesListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRolesListSample.ts index cd9729883713..a78d08fe54ea 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRolesListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/trustedAccessRolesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to List supported trusted access roles. * * @summary List supported trusted access roles. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoles_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoles_List.json */ async function listTrustedAccessRoles() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/README.md b/sdk/containerservice/arm-containerservice/samples/v21/javascript/README.md index 599ff8543ea8..01d669c0d36b 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/README.md +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/README.md @@ -4,65 +4,65 @@ These sample programs show how to use the JavaScript client libraries for in som | **File Name** | **Description** | | --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [agentPoolsAbortLatestOperationSample.js][agentpoolsabortlatestoperationsample] | Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsAbortOperation.json | -| [agentPoolsCreateOrUpdateSample.js][agentpoolscreateorupdatesample] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsCreate_Snapshot.json | -| [agentPoolsDeleteMachinesSample.js][agentpoolsdeletemachinessample] | Deletes specific machines in an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsDeleteMachines.json | -| [agentPoolsDeleteSample.js][agentpoolsdeletesample] | Deletes an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsDelete.json | -| [agentPoolsGetAvailableAgentPoolVersionsSample.js][agentpoolsgetavailableagentpoolversionssample] | 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/aks/stable/2024-08-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json | -| [agentPoolsGetSample.js][agentpoolsgetsample] | Gets the specified managed cluster agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsGet.json | -| [agentPoolsGetUpgradeProfileSample.js][agentpoolsgetupgradeprofilesample] | Gets the upgrade profile for an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsGetUpgradeProfile.json | -| [agentPoolsListSample.js][agentpoolslistsample] | Gets a list of agent pools in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsList.json | -| [agentPoolsUpgradeNodeImageVersionSample.js][agentpoolsupgradenodeimageversionsample] | 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/aks/stable/2024-08-01/examples/AgentPoolsUpgradeNodeImageVersion.json | -| [machinesGetSample.js][machinesgetsample] | Get a specific machine in the specified agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MachineGet.json | -| [machinesListSample.js][machineslistsample] | Gets a list of machines in the specified agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MachineList.json | -| [maintenanceConfigurationsCreateOrUpdateSample.js][maintenanceconfigurationscreateorupdatesample] | Creates or updates a maintenance configuration in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsCreate_Update.json | -| [maintenanceConfigurationsDeleteSample.js][maintenanceconfigurationsdeletesample] | Deletes a maintenance configuration. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsDelete.json | -| [maintenanceConfigurationsGetSample.js][maintenanceconfigurationsgetsample] | Gets the specified maintenance configuration of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsGet.json | -| [maintenanceConfigurationsListByManagedClusterSample.js][maintenanceconfigurationslistbymanagedclustersample] | Gets a list of maintenance configurations in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsList.json | -| [managedClustersAbortLatestOperationSample.js][managedclustersabortlatestoperationsample] | Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersAbortOperation.json | -| [managedClustersCreateOrUpdateSample.js][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_Snapshot.json | -| [managedClustersDeleteSample.js][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersDelete.json | -| [managedClustersGetAccessProfileSample.js][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGetAccessProfile.json | -| [managedClustersGetCommandResultSample.js][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandResultFailed.json | -| [managedClustersGetMeshRevisionProfileSample.js][managedclustersgetmeshrevisionprofilesample] | Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet_MeshRevisionProfile.json | -| [managedClustersGetMeshUpgradeProfileSample.js][managedclustersgetmeshupgradeprofilesample] | Gets available upgrades for a service mesh in a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet_MeshUpgradeProfile.json | -| [managedClustersGetSample.js][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet.json | -| [managedClustersGetUpgradeProfileSample.js][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGetUpgradeProfile.json | -| [managedClustersListByResourceGroupSample.js][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListByResourceGroup.json | -| [managedClustersListClusterAdminCredentialsSample.js][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterAdminCredentials.json | -| [managedClustersListClusterMonitoringUserCredentialsSample.js][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json | -| [managedClustersListClusterUserCredentialsSample.js][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterUserCredentials.json | -| [managedClustersListKubernetesVersionsSample.js][managedclusterslistkubernetesversionssample] | Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/KubernetesVersions_List.json | -| [managedClustersListMeshRevisionProfilesSample.js][managedclusterslistmeshrevisionprofilessample] | Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList_MeshRevisionProfiles.json | -| [managedClustersListMeshUpgradeProfilesSample.js][managedclusterslistmeshupgradeprofilessample] | Lists available upgrades for all service meshes in a specific cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList_MeshUpgradeProfiles.json | -| [managedClustersListOutboundNetworkDependenciesEndpointsSample.js][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/OutboundNetworkDependenciesEndpointsList.json | -| [managedClustersListSample.js][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList.json | -| [managedClustersResetAadProfileSample.js][managedclustersresetaadprofilesample] | **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersResetAADProfile.json | -| [managedClustersResetServicePrincipalProfileSample.js][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersResetServicePrincipalProfile.json | -| [managedClustersRotateClusterCertificatesSample.js][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersRotateClusterCertificates.json | -| [managedClustersRotateServiceAccountSigningKeysSample.js][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json | -| [managedClustersRunCommandSample.js][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandRequest.json | -| [managedClustersStartSample.js][managedclustersstartsample] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersStart.json | -| [managedClustersStopSample.js][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersStop.json | -| [managedClustersUpdateTagsSample.js][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersUpdateTags.json | -| [operationsListSample.js][operationslistsample] | Gets a list of operations. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/Operation_List.json | -| [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Deletes a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsDelete.json | -| [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsGet.json | -| [privateEndpointConnectionsListSample.js][privateendpointconnectionslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsList.json | -| [privateEndpointConnectionsUpdateSample.js][privateendpointconnectionsupdatesample] | Updates a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsUpdate.json | -| [privateLinkResourcesListSample.js][privatelinkresourceslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateLinkResourcesList.json | -| [resolvePrivateLinkServiceIdPostSample.js][resolveprivatelinkserviceidpostsample] | Gets the private link service ID for the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ResolvePrivateLinkServiceId.json | -| [snapshotsCreateOrUpdateSample.js][snapshotscreateorupdatesample] | Creates or updates a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsCreate.json | -| [snapshotsDeleteSample.js][snapshotsdeletesample] | Deletes a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsDelete.json | -| [snapshotsGetSample.js][snapshotsgetsample] | Gets a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsGet.json | -| [snapshotsListByResourceGroupSample.js][snapshotslistbyresourcegroupsample] | Lists snapshots in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsListByResourceGroup.json | -| [snapshotsListSample.js][snapshotslistsample] | Gets a list of snapshots in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsList.json | -| [snapshotsUpdateTagsSample.js][snapshotsupdatetagssample] | Updates tags on a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsUpdateTags.json | -| [trustedAccessRoleBindingsCreateOrUpdateSample.js][trustedaccessrolebindingscreateorupdatesample] | Create or update a trusted access role binding x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json | -| [trustedAccessRoleBindingsDeleteSample.js][trustedaccessrolebindingsdeletesample] | Delete a trusted access role binding. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_Delete.json | -| [trustedAccessRoleBindingsGetSample.js][trustedaccessrolebindingsgetsample] | Get a trusted access role binding. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_Get.json | -| [trustedAccessRoleBindingsListSample.js][trustedaccessrolebindingslistsample] | List trusted access role bindings. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_List.json | -| [trustedAccessRolesListSample.js][trustedaccessroleslistsample] | List supported trusted access roles. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoles_List.json | +| [agentPoolsAbortLatestOperationSample.js][agentpoolsabortlatestoperationsample] | Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsAbortOperation.json | +| [agentPoolsCreateOrUpdateSample.js][agentpoolscreateorupdatesample] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Snapshot.json | +| [agentPoolsDeleteMachinesSample.js][agentpoolsdeletemachinessample] | Deletes specific machines in an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsDeleteMachines.json | +| [agentPoolsDeleteSample.js][agentpoolsdeletesample] | Deletes an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsDelete.json | +| [agentPoolsGetAvailableAgentPoolVersionsSample.js][agentpoolsgetavailableagentpoolversionssample] | 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/aks/stable/2024-09-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json | +| [agentPoolsGetSample.js][agentpoolsgetsample] | Gets the specified managed cluster agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGet.json | +| [agentPoolsGetUpgradeProfileSample.js][agentpoolsgetupgradeprofilesample] | Gets the upgrade profile for an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGetUpgradeProfile.json | +| [agentPoolsListSample.js][agentpoolslistsample] | Gets a list of agent pools in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsList.json | +| [agentPoolsUpgradeNodeImageVersionSample.js][agentpoolsupgradenodeimageversionsample] | 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/aks/stable/2024-09-01/examples/AgentPoolsUpgradeNodeImageVersion.json | +| [machinesGetSample.js][machinesgetsample] | Get a specific machine in the specified agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MachineGet.json | +| [machinesListSample.js][machineslistsample] | Gets a list of machines in the specified agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MachineList.json | +| [maintenanceConfigurationsCreateOrUpdateSample.js][maintenanceconfigurationscreateorupdatesample] | Creates or updates a maintenance configuration in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsCreate_Update.json | +| [maintenanceConfigurationsDeleteSample.js][maintenanceconfigurationsdeletesample] | Deletes a maintenance configuration. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsDelete.json | +| [maintenanceConfigurationsGetSample.js][maintenanceconfigurationsgetsample] | Gets the specified maintenance configuration of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsGet.json | +| [maintenanceConfigurationsListByManagedClusterSample.js][maintenanceconfigurationslistbymanagedclustersample] | Gets a list of maintenance configurations in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsList.json | +| [managedClustersAbortLatestOperationSample.js][managedclustersabortlatestoperationsample] | Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersAbortOperation.json | +| [managedClustersCreateOrUpdateSample.js][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_Snapshot.json | +| [managedClustersDeleteSample.js][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersDelete.json | +| [managedClustersGetAccessProfileSample.js][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGetAccessProfile.json | +| [managedClustersGetCommandResultSample.js][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandResultFailed.json | +| [managedClustersGetMeshRevisionProfileSample.js][managedclustersgetmeshrevisionprofilesample] | Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet_MeshRevisionProfile.json | +| [managedClustersGetMeshUpgradeProfileSample.js][managedclustersgetmeshupgradeprofilesample] | Gets available upgrades for a service mesh in a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet_MeshUpgradeProfile.json | +| [managedClustersGetSample.js][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet.json | +| [managedClustersGetUpgradeProfileSample.js][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGetUpgradeProfile.json | +| [managedClustersListByResourceGroupSample.js][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListByResourceGroup.json | +| [managedClustersListClusterAdminCredentialsSample.js][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterAdminCredentials.json | +| [managedClustersListClusterMonitoringUserCredentialsSample.js][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json | +| [managedClustersListClusterUserCredentialsSample.js][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterUserCredentials.json | +| [managedClustersListKubernetesVersionsSample.js][managedclusterslistkubernetesversionssample] | Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/KubernetesVersions_List.json | +| [managedClustersListMeshRevisionProfilesSample.js][managedclusterslistmeshrevisionprofilessample] | Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList_MeshRevisionProfiles.json | +| [managedClustersListMeshUpgradeProfilesSample.js][managedclusterslistmeshupgradeprofilessample] | Lists available upgrades for all service meshes in a specific cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList_MeshUpgradeProfiles.json | +| [managedClustersListOutboundNetworkDependenciesEndpointsSample.js][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/OutboundNetworkDependenciesEndpointsList.json | +| [managedClustersListSample.js][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList.json | +| [managedClustersResetAadProfileSample.js][managedclustersresetaadprofilesample] | **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersResetAADProfile.json | +| [managedClustersResetServicePrincipalProfileSample.js][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersResetServicePrincipalProfile.json | +| [managedClustersRotateClusterCertificatesSample.js][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersRotateClusterCertificates.json | +| [managedClustersRotateServiceAccountSigningKeysSample.js][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json | +| [managedClustersRunCommandSample.js][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandRequest.json | +| [managedClustersStartSample.js][managedclustersstartsample] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersStart.json | +| [managedClustersStopSample.js][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersStop.json | +| [managedClustersUpdateTagsSample.js][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersUpdateTags.json | +| [operationsListSample.js][operationslistsample] | Gets a list of operations. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/Operation_List.json | +| [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Deletes a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsDelete.json | +| [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsGet.json | +| [privateEndpointConnectionsListSample.js][privateendpointconnectionslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsList.json | +| [privateEndpointConnectionsUpdateSample.js][privateendpointconnectionsupdatesample] | Updates a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsUpdate.json | +| [privateLinkResourcesListSample.js][privatelinkresourceslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateLinkResourcesList.json | +| [resolvePrivateLinkServiceIdPostSample.js][resolveprivatelinkserviceidpostsample] | Gets the private link service ID for the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ResolvePrivateLinkServiceId.json | +| [snapshotsCreateOrUpdateSample.js][snapshotscreateorupdatesample] | Creates or updates a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsCreate.json | +| [snapshotsDeleteSample.js][snapshotsdeletesample] | Deletes a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsDelete.json | +| [snapshotsGetSample.js][snapshotsgetsample] | Gets a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsGet.json | +| [snapshotsListByResourceGroupSample.js][snapshotslistbyresourcegroupsample] | Lists snapshots in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsListByResourceGroup.json | +| [snapshotsListSample.js][snapshotslistsample] | Gets a list of snapshots in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsList.json | +| [snapshotsUpdateTagsSample.js][snapshotsupdatetagssample] | Updates tags on a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsUpdateTags.json | +| [trustedAccessRoleBindingsCreateOrUpdateSample.js][trustedaccessrolebindingscreateorupdatesample] | Create or update a trusted access role binding x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json | +| [trustedAccessRoleBindingsDeleteSample.js][trustedaccessrolebindingsdeletesample] | Delete a trusted access role binding. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_Delete.json | +| [trustedAccessRoleBindingsGetSample.js][trustedaccessrolebindingsgetsample] | Get a trusted access role binding. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_Get.json | +| [trustedAccessRoleBindingsListSample.js][trustedaccessrolebindingslistsample] | List trusted access role bindings. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_List.json | +| [trustedAccessRolesListSample.js][trustedaccessroleslistsample] | List supported trusted access roles. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoles_List.json | ## Prerequisites diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsAbortLatestOperationSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsAbortLatestOperationSample.js index 231fe807522b..c2b693f36bf6 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsAbortLatestOperationSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsAbortLatestOperationSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. * * @summary Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsAbortOperation.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsAbortOperation.json */ async function abortOperationOnAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsCreateOrUpdateSample.js index 4263bdb2ed2e..70e2b0f7d524 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsCreateOrUpdateSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsCreateOrUpdateSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Snapshot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Snapshot.json */ async function createAgentPoolUsingAnAgentPoolSnapshot() { const subscriptionId = @@ -50,7 +50,7 @@ async function createAgentPoolUsingAnAgentPoolSnapshot() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_CRG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_CRG.json */ async function createAgentPoolWithCapacityReservationGroup() { const subscriptionId = @@ -81,7 +81,7 @@ async function createAgentPoolWithCapacityReservationGroup() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_DedicatedHostGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_DedicatedHostGroup.json */ async function createAgentPoolWithDedicatedHostGroup() { const subscriptionId = @@ -112,7 +112,7 @@ async function createAgentPoolWithDedicatedHostGroup() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json */ async function createAgentPoolWithEncryptionAtHostEnabled() { const subscriptionId = @@ -142,7 +142,7 @@ async function createAgentPoolWithEncryptionAtHostEnabled() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Ephemeral.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Ephemeral.json */ async function createAgentPoolWithEphemeralOSDisk() { const subscriptionId = @@ -173,7 +173,7 @@ async function createAgentPoolWithEphemeralOSDisk() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_EnableFIPS.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_EnableFIPS.json */ async function createAgentPoolWithFipsEnabledOS() { const subscriptionId = @@ -203,7 +203,7 @@ async function createAgentPoolWithFipsEnabledOS() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_GPUMIG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_GPUMIG.json */ async function createAgentPoolWithGpumig() { const subscriptionId = @@ -254,7 +254,7 @@ async function createAgentPoolWithGpumig() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_WasmWasi.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_WasmWasi.json */ async function createAgentPoolWithKrustletAndTheWasiRuntime() { const subscriptionId = @@ -286,7 +286,7 @@ async function createAgentPoolWithKrustletAndTheWasiRuntime() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_CustomNodeConfig.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_CustomNodeConfig.json */ async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() { const subscriptionId = @@ -336,7 +336,7 @@ async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_OSSKU.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_OSSKU.json */ async function createAgentPoolWithOssku() { const subscriptionId = @@ -387,7 +387,7 @@ async function createAgentPoolWithOssku() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_PPG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_PPG.json */ async function createAgentPoolWithPpg() { const subscriptionId = @@ -418,7 +418,7 @@ async function createAgentPoolWithPpg() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_EnableUltraSSD.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_EnableUltraSSD.json */ async function createAgentPoolWithUltraSsdEnabled() { const subscriptionId = @@ -448,7 +448,7 @@ async function createAgentPoolWithUltraSsdEnabled() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_WindowsOSSKU.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_WindowsOSSKU.json */ async function createAgentPoolWithWindowsOssku() { const subscriptionId = @@ -478,7 +478,7 @@ async function createAgentPoolWithWindowsOssku() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Spot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Spot.json */ async function createSpotAgentPool() { const subscriptionId = @@ -512,7 +512,7 @@ async function createSpotAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_WindowsDisableOutboundNAT.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_WindowsDisableOutboundNAT.json */ async function createWindowsAgentPoolWithDisablingOutboundNat() { const subscriptionId = @@ -543,7 +543,7 @@ async function createWindowsAgentPoolWithDisablingOutboundNat() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Update.json */ async function createOrUpdateAgentPool() { const subscriptionId = @@ -578,7 +578,7 @@ async function createOrUpdateAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPools_Start.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPools_Start.json */ async function startAgentPool() { const subscriptionId = @@ -602,7 +602,7 @@ async function startAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPools_Stop.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPools_Stop.json */ async function stopAgentPool() { const subscriptionId = @@ -626,7 +626,7 @@ async function stopAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPools_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPools_Update.json */ async function updateAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsDeleteMachinesSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsDeleteMachinesSample.js index b6da8c8d731b..c0838c9c1b51 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsDeleteMachinesSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsDeleteMachinesSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes specific machines in an agent pool. * * @summary Deletes specific machines in an agent pool. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsDeleteMachines.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsDeleteMachines.json */ async function deleteSpecificMachinesInAnAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsDeleteSample.js index 94dc46eae9c2..09c74baa6e81 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsDeleteSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsDeleteSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsDelete.json */ async function deleteAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetAvailableAgentPoolVersionsSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetAvailableAgentPoolVersionsSample.js index 9b40436ed0ec..c527e97b2319 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetAvailableAgentPoolVersionsSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetAvailableAgentPoolVersionsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json */ async function getAvailableVersionsForAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetSample.js index c53a9cea72ed..51455349bb15 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGet.json */ async function getAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetUpgradeProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetUpgradeProfileSample.js index eae3d291c4b2..398640a56b57 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetUpgradeProfileSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsGetUpgradeProfileSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsGetUpgradeProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGetUpgradeProfile.json */ async function getUpgradeProfileForAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsListSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsListSample.js index 78eb31751460..249c39367f96 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsListSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsList.json */ async function listAgentPoolsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsUpgradeNodeImageVersionSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsUpgradeNodeImageVersionSample.js index db473b1ec517..0a0cbbc87899 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsUpgradeNodeImageVersionSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/agentPoolsUpgradeNodeImageVersionSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsUpgradeNodeImageVersion.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsUpgradeNodeImageVersion.json */ async function upgradeAgentPoolNodeImageVersion() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/machinesGetSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/machinesGetSample.js index 8bf72f78bd0e..f1987c1f726a 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/machinesGetSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/machinesGetSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Get a specific machine in the specified agent pool. * * @summary Get a specific machine in the specified agent pool. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MachineGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MachineGet.json */ async function getAMachineInAnAgentPoolsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/machinesListSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/machinesListSample.js index ee068a86a99b..2185d5581334 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/machinesListSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/machinesListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets a list of machines in the specified agent pool. * * @summary Gets a list of machines in the specified agent pool. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MachineList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MachineList.json */ async function listMachinesInAnAgentpoolByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsCreateOrUpdateSample.js index 5ca665ae3343..edbad47bd13b 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsCreateOrUpdateSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsCreateOrUpdateSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Creates or updates a maintenance configuration in the specified managed cluster. * * @summary Creates or updates a maintenance configuration in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsCreate_Update.json */ async function createOrUpdateMaintenanceConfiguration() { const subscriptionId = @@ -48,7 +48,7 @@ async function createOrUpdateMaintenanceConfiguration() { * This sample demonstrates how to Creates or updates a maintenance configuration in the specified managed cluster. * * @summary Creates or updates a maintenance configuration in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsCreate_Update_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsCreate_Update_MaintenanceWindow.json */ async function createOrUpdateMaintenanceConfigurationWithMaintenanceWindow() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsDeleteSample.js index 4d9d525644b8..4b7ff86f1f1b 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsDeleteSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsDeleteSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes a maintenance configuration. * * @summary Deletes a maintenance configuration. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsDelete.json */ async function deleteMaintenanceConfiguration() { const subscriptionId = @@ -38,7 +38,7 @@ async function deleteMaintenanceConfiguration() { * This sample demonstrates how to Deletes a maintenance configuration. * * @summary Deletes a maintenance configuration. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsDelete_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsDelete_MaintenanceWindow.json */ async function deleteMaintenanceConfigurationForNodeOSUpgrade() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsGetSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsGetSample.js index 256049e35106..b054acd165e9 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsGetSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsGetSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the specified maintenance configuration of a managed cluster. * * @summary Gets the specified maintenance configuration of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsGet.json */ async function getMaintenanceConfiguration() { const subscriptionId = @@ -38,7 +38,7 @@ async function getMaintenanceConfiguration() { * This sample demonstrates how to Gets the specified maintenance configuration of a managed cluster. * * @summary Gets the specified maintenance configuration of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsGet_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsGet_MaintenanceWindow.json */ async function getMaintenanceConfigurationConfiguredWithMaintenanceWindow() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsListByManagedClusterSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsListByManagedClusterSample.js index 29b88ba92ed5..6dadc9e26344 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsListByManagedClusterSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/maintenanceConfigurationsListByManagedClusterSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets a list of maintenance configurations in the specified managed cluster. * * @summary Gets a list of maintenance configurations in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsList.json */ async function listMaintenanceConfigurationsByManagedCluster() { const subscriptionId = @@ -39,7 +39,7 @@ async function listMaintenanceConfigurationsByManagedCluster() { * This sample demonstrates how to Gets a list of maintenance configurations in the specified managed cluster. * * @summary Gets a list of maintenance configurations in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsList_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsList_MaintenanceWindow.json */ async function listMaintenanceConfigurationsConfiguredWithMaintenanceWindowByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersAbortLatestOperationSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersAbortLatestOperationSample.js index 582d0968c365..85d19a00305a 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersAbortLatestOperationSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersAbortLatestOperationSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. * * @summary Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersAbortOperation.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersAbortOperation.json */ async function abortOperationOnManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersCreateOrUpdateSample.js index 0abdbaded664..97396d17ad16 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersCreateOrUpdateSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersCreateOrUpdateSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_Snapshot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_Snapshot.json */ async function createManagedClusterUsingAnAgentPoolSnapshot() { const subscriptionId = @@ -80,7 +80,7 @@ async function createManagedClusterUsingAnAgentPoolSnapshot() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_ManagedNATGateway.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_ManagedNATGateway.json */ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { const subscriptionId = @@ -139,7 +139,7 @@ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_AzureKeyvaultSecretsProvider.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_AzureKeyvaultSecretsProvider.json */ async function createManagedClusterWithAzureKeyVaultSecretsProviderAddon() { const subscriptionId = @@ -203,7 +203,7 @@ async function createManagedClusterWithAzureKeyVaultSecretsProviderAddon() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_CRG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_CRG.json */ async function createManagedClusterWithCapacityReservationGroup() { const subscriptionId = @@ -264,7 +264,7 @@ async function createManagedClusterWithCapacityReservationGroup() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_DedicatedHostGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_DedicatedHostGroup.json */ async function createManagedClusterWithDedicatedHostGroup() { const subscriptionId = @@ -324,7 +324,7 @@ async function createManagedClusterWithDedicatedHostGroup() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json */ async function createManagedClusterWithEncryptionAtHostEnabled() { const subscriptionId = @@ -384,7 +384,7 @@ async function createManagedClusterWithEncryptionAtHostEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_EnabledFIPS.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_EnabledFIPS.json */ async function createManagedClusterWithFipsEnabledOS() { const subscriptionId = @@ -444,7 +444,7 @@ async function createManagedClusterWithFipsEnabledOS() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_GPUMIG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_GPUMIG.json */ async function createManagedClusterWithGpumig() { const subscriptionId = @@ -510,7 +510,7 @@ async function createManagedClusterWithGpumig() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_HTTPProxy.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_HTTPProxy.json */ async function createManagedClusterWithHttpProxyConfigured() { const subscriptionId = @@ -575,7 +575,7 @@ async function createManagedClusterWithHttpProxyConfigured() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_Premium.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_Premium.json */ async function createManagedClusterWithLongTermSupport() { const subscriptionId = @@ -635,7 +635,7 @@ async function createManagedClusterWithLongTermSupport() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json */ async function createManagedClusterWithNodePublicIPPrefix() { const subscriptionId = @@ -696,7 +696,7 @@ async function createManagedClusterWithNodePublicIPPrefix() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_OSSKU.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_OSSKU.json */ async function createManagedClusterWithOssku() { const subscriptionId = @@ -762,7 +762,7 @@ async function createManagedClusterWithOssku() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PPG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PPG.json */ async function createManagedClusterWithPpg() { const subscriptionId = @@ -823,7 +823,7 @@ async function createManagedClusterWithPpg() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PodIdentity.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PodIdentity.json */ async function createManagedClusterWithPodIdentityEnabled() { const subscriptionId = @@ -883,7 +883,7 @@ async function createManagedClusterWithPodIdentityEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_DisableRunCommand.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_DisableRunCommand.json */ async function createManagedClusterWithRunCommandDisabled() { const subscriptionId = @@ -942,7 +942,7 @@ async function createManagedClusterWithRunCommandDisabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_SecurityProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_SecurityProfile.json */ async function createManagedClusterWithSecurityProfileConfigured() { const subscriptionId = @@ -998,7 +998,7 @@ async function createManagedClusterWithSecurityProfileConfigured() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_EnableUltraSSD.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_EnableUltraSSD.json */ async function createManagedClusterWithUltraSsdEnabled() { const subscriptionId = @@ -1058,7 +1058,7 @@ async function createManagedClusterWithUltraSsdEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_IngressProfile_WebAppRouting.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_IngressProfile_WebAppRouting.json */ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { const subscriptionId = @@ -1114,7 +1114,7 @@ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json */ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { const subscriptionId = @@ -1172,7 +1172,7 @@ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json */ async function createManagedPrivateClusterWithPublicFqdnSpecified() { const subscriptionId = @@ -1234,7 +1234,7 @@ async function createManagedPrivateClusterWithPublicFqdnSpecified() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json */ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { const subscriptionId = @@ -1297,7 +1297,7 @@ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json */ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { const subscriptionId = @@ -1358,7 +1358,7 @@ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_Update.json */ async function createOrUpdateManagedCluster() { const subscriptionId = @@ -1440,7 +1440,7 @@ async function createOrUpdateManagedCluster() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_AzureServiceMesh.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_AzureServiceMesh.json */ async function createOrUpdateManagedClusterWithAzureServiceMesh() { const subscriptionId = @@ -1523,7 +1523,7 @@ async function createOrUpdateManagedClusterWithAzureServiceMesh() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UpdateWithAHUB.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UpdateWithAHUB.json */ async function createOrUpdateManagedClusterWithEnableAhub() { const subscriptionId = @@ -1591,7 +1591,7 @@ async function createOrUpdateManagedClusterWithEnableAhub() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json */ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { const subscriptionId = @@ -1659,7 +1659,7 @@ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_DualStackNetworking.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_DualStackNetworking.json */ async function createOrUpdateManagedClusterWithDualStackNetworking() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersDeleteSample.js index ea3978f52132..b881813c73e4 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersDeleteSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersDeleteSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes a managed cluster. * * @summary Deletes a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersDelete.json */ async function deleteManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetAccessProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetAccessProfileSample.js index 53114a508e62..70f404170317 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetAccessProfileSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetAccessProfileSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . * * @summary **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGetAccessProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGetAccessProfile.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetCommandResultSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetCommandResultSample.js index 6731bda7691e..7bfd720ae8cf 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetCommandResultSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetCommandResultSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. * * @summary Gets the results of a command which has been run on the Managed Cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandResultFailed.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandResultFailed.json */ async function commandFailedResult() { const subscriptionId = @@ -38,7 +38,7 @@ async function commandFailedResult() { * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. * * @summary Gets the results of a command which has been run on the Managed Cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandResultSucceed.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandResultSucceed.json */ async function commandSucceedResult() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetMeshRevisionProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetMeshRevisionProfileSample.js index 40db2c3a5a8e..d7ca253b16d6 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetMeshRevisionProfileSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetMeshRevisionProfileSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades * * @summary Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet_MeshRevisionProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet_MeshRevisionProfile.json */ async function getAMeshRevisionProfileForAMeshMode() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetMeshUpgradeProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetMeshUpgradeProfileSample.js index 5777491a4ef8..e2975bb660cd 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetMeshUpgradeProfileSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetMeshUpgradeProfileSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets available upgrades for a service mesh in a cluster. * * @summary Gets available upgrades for a service mesh in a cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet_MeshUpgradeProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet_MeshUpgradeProfile.json */ async function getsVersionCompatibilityAndUpgradeProfileForAServiceMeshInACluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetSample.js index 1e069b758bfb..cfe9d58e55d0 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets a managed cluster. * * @summary Gets a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetUpgradeProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetUpgradeProfileSample.js index 0ee28a9d38e0..37fa5c2e3246 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetUpgradeProfileSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersGetUpgradeProfileSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the upgrade profile of a managed cluster. * * @summary Gets the upgrade profile of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGetUpgradeProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGetUpgradeProfile.json */ async function getUpgradeProfileForManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListByResourceGroupSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListByResourceGroupSample.js index 89186a964d7f..70955f6b4ea8 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListByResourceGroupSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListByResourceGroupSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists managed clusters in the specified subscription and resource group. * * @summary Lists managed clusters in the specified subscription and resource group. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListByResourceGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListByResourceGroup.json */ async function getManagedClustersByResourceGroup() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterAdminCredentialsSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterAdminCredentialsSample.js index dafe84f9ae58..e1612cb820bd 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterAdminCredentialsSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterAdminCredentialsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists the admin credentials of a managed cluster. * * @summary Lists the admin credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterAdminCredentials.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterAdminCredentials.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js index 3b269fa7cf59..adf13affdbaf 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists the cluster monitoring user credentials of a managed cluster. * * @summary Lists the cluster monitoring user credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterUserCredentialsSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterUserCredentialsSample.js index a2dedbe8d7f1..66cfe34f9763 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterUserCredentialsSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListClusterUserCredentialsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists the user credentials of a managed cluster. * * @summary Lists the user credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterUserCredentials.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterUserCredentials.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListKubernetesVersionsSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListKubernetesVersionsSample.js index f77a077a2391..bbad890b0c0f 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListKubernetesVersionsSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListKubernetesVersionsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version * * @summary Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/KubernetesVersions_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/KubernetesVersions_List.json */ async function listKubernetesVersions() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListMeshRevisionProfilesSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListMeshRevisionProfilesSample.js index bb035fc3f6f1..bc4629ebd12c 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListMeshRevisionProfilesSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListMeshRevisionProfilesSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades * * @summary Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList_MeshRevisionProfiles.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList_MeshRevisionProfiles.json */ async function listMeshRevisionProfilesInALocation() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListMeshUpgradeProfilesSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListMeshUpgradeProfilesSample.js index 19304149734e..477798f0cc2f 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListMeshUpgradeProfilesSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListMeshUpgradeProfilesSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists available upgrades for all service meshes in a specific cluster. * * @summary Lists available upgrades for all service meshes in a specific cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList_MeshUpgradeProfiles.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList_MeshUpgradeProfiles.json */ async function listsVersionCompatibilityAndUpgradeProfileForAllServiceMeshesInACluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js index 6c50dada8da6..395a209ec7b1 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. * * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/OutboundNetworkDependenciesEndpointsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/OutboundNetworkDependenciesEndpointsList.json */ async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListSample.js index 5a06acf21876..636ece85a286 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets a list of managed clusters in the specified subscription. * * @summary Gets a list of managed clusters in the specified subscription. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList.json */ async function listManagedClusters() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersResetAadProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersResetAadProfileSample.js index 503f0775d131..f2bc073283d7 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersResetAadProfileSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersResetAadProfileSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. * * @summary **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersResetAADProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersResetAADProfile.json */ async function resetAadProfile() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersResetServicePrincipalProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersResetServicePrincipalProfileSample.js index fcf6b58c7e13..66e7387fb426 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersResetServicePrincipalProfileSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersResetServicePrincipalProfileSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to This action cannot be performed on a cluster that is not using a service principal * * @summary This action cannot be performed on a cluster that is not using a service principal - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersResetServicePrincipalProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersResetServicePrincipalProfile.json */ async function resetServicePrincipalProfile() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRotateClusterCertificatesSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRotateClusterCertificatesSample.js index 22e964b8c5e1..141c3c6b0b96 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRotateClusterCertificatesSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRotateClusterCertificatesSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. * * @summary See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersRotateClusterCertificates.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersRotateClusterCertificates.json */ async function rotateClusterCertificates() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRotateServiceAccountSigningKeysSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRotateServiceAccountSigningKeysSample.js index b5158e2eef19..08f5f5f0bf70 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRotateServiceAccountSigningKeysSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRotateServiceAccountSigningKeysSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Rotates the service account signing keys of a managed cluster. * * @summary Rotates the service account signing keys of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json */ async function rotateClusterServiceAccountSigningKeys() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRunCommandSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRunCommandSample.js index fed96e658926..2b0bd2616c08 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRunCommandSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersRunCommandSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). * * @summary AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandRequest.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandRequest.json */ async function submitNewCommand() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersStartSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersStartSample.js index 6829eaa8a29d..8992fe9b345e 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersStartSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersStartSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. * * @summary See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersStart.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersStart.json */ async function startManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersStopSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersStopSample.js index 4c07379d20f1..f7ecc1d6d33b 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersStopSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersStopSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. * * @summary This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersStop.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersStop.json */ async function stopManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersUpdateTagsSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersUpdateTagsSample.js index 9e362bd495a4..2595485e6b5b 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersUpdateTagsSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/managedClustersUpdateTagsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Updates tags on a managed cluster. * * @summary Updates tags on a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersUpdateTags.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersUpdateTags.json */ async function updateManagedClusterTags() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/operationsListSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/operationsListSample.js index b12bb7798590..d798e53b8a5c 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/operationsListSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/operationsListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets a list of operations. * * @summary Gets a list of operations. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/Operation_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/Operation_List.json */ async function listAvailableOperationsForTheContainerServiceResourceProvider() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsDeleteSample.js index 4e5d3c0421c5..bd437b133b9c 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsDeleteSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsDeleteSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes a private endpoint connection. * * @summary Deletes a private endpoint connection. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsDelete.json */ async function deletePrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsGetSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsGetSample.js index 266678e10ca0..1ccafe103835 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsGetSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsGetSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsGet.json */ async function getPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsListSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsListSample.js index 640e49b5a7a3..3a236f658c12 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsListSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsList.json */ async function listPrivateEndpointConnectionsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsUpdateSample.js index 43dc603f74db..ae3f9cdfd1f3 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsUpdateSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateEndpointConnectionsUpdateSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Updates a private endpoint connection. * * @summary Updates a private endpoint connection. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsUpdate.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsUpdate.json */ async function updatePrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateLinkResourcesListSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateLinkResourcesListSample.js index 25fc0b564ca2..ed2193e67f94 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateLinkResourcesListSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/privateLinkResourcesListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateLinkResourcesList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateLinkResourcesList.json */ async function listPrivateLinkResourcesByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/resolvePrivateLinkServiceIdPostSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/resolvePrivateLinkServiceIdPostSample.js index 19f690ce7de8..e5835664fa56 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/resolvePrivateLinkServiceIdPostSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/resolvePrivateLinkServiceIdPostSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets the private link service ID for the specified managed cluster. * * @summary Gets the private link service ID for the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ResolvePrivateLinkServiceId.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ResolvePrivateLinkServiceId.json */ async function resolveThePrivateLinkServiceIdForManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/sample.env b/sdk/containerservice/arm-containerservice/samples/v21/javascript/sample.env index 672847a3fea0..508439fc7d62 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/sample.env +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/sample.env @@ -1,4 +1 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file +# Feel free to add your own environment variables. \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsCreateOrUpdateSample.js index 780c4b744ea7..a9f69f1ca109 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsCreateOrUpdateSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsCreateOrUpdateSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Creates or updates a snapshot. * * @summary Creates or updates a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsCreate.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsCreate.json */ async function createOrUpdateSnapshot() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsDeleteSample.js index 4a55d2c71899..c6022c96b8f3 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsDeleteSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsDeleteSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Deletes a snapshot. * * @summary Deletes a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsDelete.json */ async function deleteSnapshot() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsGetSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsGetSample.js index a479ef599e1a..b316dfcc1857 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsGetSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsGetSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets a snapshot. * * @summary Gets a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsGet.json */ async function getSnapshot() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsListByResourceGroupSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsListByResourceGroupSample.js index 316fd37b91f5..3b8586afd47c 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsListByResourceGroupSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsListByResourceGroupSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Lists snapshots in the specified subscription and resource group. * * @summary Lists snapshots in the specified subscription and resource group. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsListByResourceGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsListByResourceGroup.json */ async function listSnapshotsByResourceGroup() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsListSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsListSample.js index c2f3da6affd1..76c98358287e 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsListSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Gets a list of snapshots in the specified subscription. * * @summary Gets a list of snapshots in the specified subscription. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsList.json */ async function listSnapshots() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsUpdateTagsSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsUpdateTagsSample.js index 30f5f6ab05c6..fef44d7bf1bd 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsUpdateTagsSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/snapshotsUpdateTagsSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Updates tags on a snapshot. * * @summary Updates tags on a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsUpdateTags.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsUpdateTags.json */ async function updateSnapshotTags() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsCreateOrUpdateSample.js index 0e100b9d0d4c..36469adaa304 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsCreateOrUpdateSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsCreateOrUpdateSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Create or update a trusted access role binding * * @summary Create or update a trusted access role binding - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json */ async function createOrUpdateATrustedAccessRoleBinding() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsDeleteSample.js index fbf81cc95b14..b61c4b64ef62 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsDeleteSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsDeleteSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Delete a trusted access role binding. * * @summary Delete a trusted access role binding. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_Delete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_Delete.json */ async function deleteATrustedAccessRoleBinding() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsGetSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsGetSample.js index 7c6da7ef2280..38e77459c863 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsGetSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsGetSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to Get a trusted access role binding. * * @summary Get a trusted access role binding. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_Get.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_Get.json */ async function getATrustedAccessRoleBinding() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsListSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsListSample.js index 23c94edd92fc..2d11e4139dea 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsListSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRoleBindingsListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to List trusted access role bindings. * * @summary List trusted access role bindings. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_List.json */ async function listTrustedAccessRoleBindings() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRolesListSample.js b/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRolesListSample.js index 8d21d04bd360..a31c410a385d 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRolesListSample.js +++ b/sdk/containerservice/arm-containerservice/samples/v21/javascript/trustedAccessRolesListSample.js @@ -16,7 +16,7 @@ require("dotenv").config(); * This sample demonstrates how to List supported trusted access roles. * * @summary List supported trusted access roles. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoles_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoles_List.json */ async function listTrustedAccessRoles() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/README.md b/sdk/containerservice/arm-containerservice/samples/v21/typescript/README.md index d2eb087e7795..3b98e786b602 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/README.md +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/README.md @@ -4,65 +4,65 @@ These sample programs show how to use the TypeScript client libraries for in som | **File Name** | **Description** | | --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [agentPoolsAbortLatestOperationSample.ts][agentpoolsabortlatestoperationsample] | Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsAbortOperation.json | -| [agentPoolsCreateOrUpdateSample.ts][agentpoolscreateorupdatesample] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsCreate_Snapshot.json | -| [agentPoolsDeleteMachinesSample.ts][agentpoolsdeletemachinessample] | Deletes specific machines in an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsDeleteMachines.json | -| [agentPoolsDeleteSample.ts][agentpoolsdeletesample] | Deletes an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsDelete.json | -| [agentPoolsGetAvailableAgentPoolVersionsSample.ts][agentpoolsgetavailableagentpoolversionssample] | 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/aks/stable/2024-08-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json | -| [agentPoolsGetSample.ts][agentpoolsgetsample] | Gets the specified managed cluster agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsGet.json | -| [agentPoolsGetUpgradeProfileSample.ts][agentpoolsgetupgradeprofilesample] | Gets the upgrade profile for an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsGetUpgradeProfile.json | -| [agentPoolsListSample.ts][agentpoolslistsample] | Gets a list of agent pools in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsList.json | -| [agentPoolsUpgradeNodeImageVersionSample.ts][agentpoolsupgradenodeimageversionsample] | 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/aks/stable/2024-08-01/examples/AgentPoolsUpgradeNodeImageVersion.json | -| [machinesGetSample.ts][machinesgetsample] | Get a specific machine in the specified agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MachineGet.json | -| [machinesListSample.ts][machineslistsample] | Gets a list of machines in the specified agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MachineList.json | -| [maintenanceConfigurationsCreateOrUpdateSample.ts][maintenanceconfigurationscreateorupdatesample] | Creates or updates a maintenance configuration in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsCreate_Update.json | -| [maintenanceConfigurationsDeleteSample.ts][maintenanceconfigurationsdeletesample] | Deletes a maintenance configuration. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsDelete.json | -| [maintenanceConfigurationsGetSample.ts][maintenanceconfigurationsgetsample] | Gets the specified maintenance configuration of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsGet.json | -| [maintenanceConfigurationsListByManagedClusterSample.ts][maintenanceconfigurationslistbymanagedclustersample] | Gets a list of maintenance configurations in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsList.json | -| [managedClustersAbortLatestOperationSample.ts][managedclustersabortlatestoperationsample] | Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersAbortOperation.json | -| [managedClustersCreateOrUpdateSample.ts][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_Snapshot.json | -| [managedClustersDeleteSample.ts][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersDelete.json | -| [managedClustersGetAccessProfileSample.ts][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGetAccessProfile.json | -| [managedClustersGetCommandResultSample.ts][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandResultFailed.json | -| [managedClustersGetMeshRevisionProfileSample.ts][managedclustersgetmeshrevisionprofilesample] | Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet_MeshRevisionProfile.json | -| [managedClustersGetMeshUpgradeProfileSample.ts][managedclustersgetmeshupgradeprofilesample] | Gets available upgrades for a service mesh in a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet_MeshUpgradeProfile.json | -| [managedClustersGetSample.ts][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet.json | -| [managedClustersGetUpgradeProfileSample.ts][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGetUpgradeProfile.json | -| [managedClustersListByResourceGroupSample.ts][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListByResourceGroup.json | -| [managedClustersListClusterAdminCredentialsSample.ts][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterAdminCredentials.json | -| [managedClustersListClusterMonitoringUserCredentialsSample.ts][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json | -| [managedClustersListClusterUserCredentialsSample.ts][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterUserCredentials.json | -| [managedClustersListKubernetesVersionsSample.ts][managedclusterslistkubernetesversionssample] | Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/KubernetesVersions_List.json | -| [managedClustersListMeshRevisionProfilesSample.ts][managedclusterslistmeshrevisionprofilessample] | Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList_MeshRevisionProfiles.json | -| [managedClustersListMeshUpgradeProfilesSample.ts][managedclusterslistmeshupgradeprofilessample] | Lists available upgrades for all service meshes in a specific cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList_MeshUpgradeProfiles.json | -| [managedClustersListOutboundNetworkDependenciesEndpointsSample.ts][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/OutboundNetworkDependenciesEndpointsList.json | -| [managedClustersListSample.ts][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList.json | -| [managedClustersResetAadProfileSample.ts][managedclustersresetaadprofilesample] | **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersResetAADProfile.json | -| [managedClustersResetServicePrincipalProfileSample.ts][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersResetServicePrincipalProfile.json | -| [managedClustersRotateClusterCertificatesSample.ts][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersRotateClusterCertificates.json | -| [managedClustersRotateServiceAccountSigningKeysSample.ts][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json | -| [managedClustersRunCommandSample.ts][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandRequest.json | -| [managedClustersStartSample.ts][managedclustersstartsample] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersStart.json | -| [managedClustersStopSample.ts][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersStop.json | -| [managedClustersUpdateTagsSample.ts][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersUpdateTags.json | -| [operationsListSample.ts][operationslistsample] | Gets a list of operations. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/Operation_List.json | -| [privateEndpointConnectionsDeleteSample.ts][privateendpointconnectionsdeletesample] | Deletes a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsDelete.json | -| [privateEndpointConnectionsGetSample.ts][privateendpointconnectionsgetsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsGet.json | -| [privateEndpointConnectionsListSample.ts][privateendpointconnectionslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsList.json | -| [privateEndpointConnectionsUpdateSample.ts][privateendpointconnectionsupdatesample] | Updates a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsUpdate.json | -| [privateLinkResourcesListSample.ts][privatelinkresourceslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateLinkResourcesList.json | -| [resolvePrivateLinkServiceIdPostSample.ts][resolveprivatelinkserviceidpostsample] | Gets the private link service ID for the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ResolvePrivateLinkServiceId.json | -| [snapshotsCreateOrUpdateSample.ts][snapshotscreateorupdatesample] | Creates or updates a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsCreate.json | -| [snapshotsDeleteSample.ts][snapshotsdeletesample] | Deletes a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsDelete.json | -| [snapshotsGetSample.ts][snapshotsgetsample] | Gets a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsGet.json | -| [snapshotsListByResourceGroupSample.ts][snapshotslistbyresourcegroupsample] | Lists snapshots in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsListByResourceGroup.json | -| [snapshotsListSample.ts][snapshotslistsample] | Gets a list of snapshots in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsList.json | -| [snapshotsUpdateTagsSample.ts][snapshotsupdatetagssample] | Updates tags on a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsUpdateTags.json | -| [trustedAccessRoleBindingsCreateOrUpdateSample.ts][trustedaccessrolebindingscreateorupdatesample] | Create or update a trusted access role binding x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json | -| [trustedAccessRoleBindingsDeleteSample.ts][trustedaccessrolebindingsdeletesample] | Delete a trusted access role binding. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_Delete.json | -| [trustedAccessRoleBindingsGetSample.ts][trustedaccessrolebindingsgetsample] | Get a trusted access role binding. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_Get.json | -| [trustedAccessRoleBindingsListSample.ts][trustedaccessrolebindingslistsample] | List trusted access role bindings. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_List.json | -| [trustedAccessRolesListSample.ts][trustedaccessroleslistsample] | List supported trusted access roles. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoles_List.json | +| [agentPoolsAbortLatestOperationSample.ts][agentpoolsabortlatestoperationsample] | Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsAbortOperation.json | +| [agentPoolsCreateOrUpdateSample.ts][agentpoolscreateorupdatesample] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Snapshot.json | +| [agentPoolsDeleteMachinesSample.ts][agentpoolsdeletemachinessample] | Deletes specific machines in an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsDeleteMachines.json | +| [agentPoolsDeleteSample.ts][agentpoolsdeletesample] | Deletes an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsDelete.json | +| [agentPoolsGetAvailableAgentPoolVersionsSample.ts][agentpoolsgetavailableagentpoolversionssample] | 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/aks/stable/2024-09-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json | +| [agentPoolsGetSample.ts][agentpoolsgetsample] | Gets the specified managed cluster agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGet.json | +| [agentPoolsGetUpgradeProfileSample.ts][agentpoolsgetupgradeprofilesample] | Gets the upgrade profile for an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGetUpgradeProfile.json | +| [agentPoolsListSample.ts][agentpoolslistsample] | Gets a list of agent pools in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsList.json | +| [agentPoolsUpgradeNodeImageVersionSample.ts][agentpoolsupgradenodeimageversionsample] | 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/aks/stable/2024-09-01/examples/AgentPoolsUpgradeNodeImageVersion.json | +| [machinesGetSample.ts][machinesgetsample] | Get a specific machine in the specified agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MachineGet.json | +| [machinesListSample.ts][machineslistsample] | Gets a list of machines in the specified agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MachineList.json | +| [maintenanceConfigurationsCreateOrUpdateSample.ts][maintenanceconfigurationscreateorupdatesample] | Creates or updates a maintenance configuration in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsCreate_Update.json | +| [maintenanceConfigurationsDeleteSample.ts][maintenanceconfigurationsdeletesample] | Deletes a maintenance configuration. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsDelete.json | +| [maintenanceConfigurationsGetSample.ts][maintenanceconfigurationsgetsample] | Gets the specified maintenance configuration of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsGet.json | +| [maintenanceConfigurationsListByManagedClusterSample.ts][maintenanceconfigurationslistbymanagedclustersample] | Gets a list of maintenance configurations in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsList.json | +| [managedClustersAbortLatestOperationSample.ts][managedclustersabortlatestoperationsample] | Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersAbortOperation.json | +| [managedClustersCreateOrUpdateSample.ts][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_Snapshot.json | +| [managedClustersDeleteSample.ts][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersDelete.json | +| [managedClustersGetAccessProfileSample.ts][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGetAccessProfile.json | +| [managedClustersGetCommandResultSample.ts][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandResultFailed.json | +| [managedClustersGetMeshRevisionProfileSample.ts][managedclustersgetmeshrevisionprofilesample] | Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet_MeshRevisionProfile.json | +| [managedClustersGetMeshUpgradeProfileSample.ts][managedclustersgetmeshupgradeprofilesample] | Gets available upgrades for a service mesh in a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet_MeshUpgradeProfile.json | +| [managedClustersGetSample.ts][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet.json | +| [managedClustersGetUpgradeProfileSample.ts][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGetUpgradeProfile.json | +| [managedClustersListByResourceGroupSample.ts][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListByResourceGroup.json | +| [managedClustersListClusterAdminCredentialsSample.ts][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterAdminCredentials.json | +| [managedClustersListClusterMonitoringUserCredentialsSample.ts][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json | +| [managedClustersListClusterUserCredentialsSample.ts][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterUserCredentials.json | +| [managedClustersListKubernetesVersionsSample.ts][managedclusterslistkubernetesversionssample] | Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/KubernetesVersions_List.json | +| [managedClustersListMeshRevisionProfilesSample.ts][managedclusterslistmeshrevisionprofilessample] | Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList_MeshRevisionProfiles.json | +| [managedClustersListMeshUpgradeProfilesSample.ts][managedclusterslistmeshupgradeprofilessample] | Lists available upgrades for all service meshes in a specific cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList_MeshUpgradeProfiles.json | +| [managedClustersListOutboundNetworkDependenciesEndpointsSample.ts][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/OutboundNetworkDependenciesEndpointsList.json | +| [managedClustersListSample.ts][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList.json | +| [managedClustersResetAadProfileSample.ts][managedclustersresetaadprofilesample] | **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersResetAADProfile.json | +| [managedClustersResetServicePrincipalProfileSample.ts][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersResetServicePrincipalProfile.json | +| [managedClustersRotateClusterCertificatesSample.ts][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersRotateClusterCertificates.json | +| [managedClustersRotateServiceAccountSigningKeysSample.ts][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json | +| [managedClustersRunCommandSample.ts][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandRequest.json | +| [managedClustersStartSample.ts][managedclustersstartsample] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersStart.json | +| [managedClustersStopSample.ts][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersStop.json | +| [managedClustersUpdateTagsSample.ts][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersUpdateTags.json | +| [operationsListSample.ts][operationslistsample] | Gets a list of operations. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/Operation_List.json | +| [privateEndpointConnectionsDeleteSample.ts][privateendpointconnectionsdeletesample] | Deletes a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsDelete.json | +| [privateEndpointConnectionsGetSample.ts][privateendpointconnectionsgetsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsGet.json | +| [privateEndpointConnectionsListSample.ts][privateendpointconnectionslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsList.json | +| [privateEndpointConnectionsUpdateSample.ts][privateendpointconnectionsupdatesample] | Updates a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsUpdate.json | +| [privateLinkResourcesListSample.ts][privatelinkresourceslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateLinkResourcesList.json | +| [resolvePrivateLinkServiceIdPostSample.ts][resolveprivatelinkserviceidpostsample] | Gets the private link service ID for the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ResolvePrivateLinkServiceId.json | +| [snapshotsCreateOrUpdateSample.ts][snapshotscreateorupdatesample] | Creates or updates a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsCreate.json | +| [snapshotsDeleteSample.ts][snapshotsdeletesample] | Deletes a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsDelete.json | +| [snapshotsGetSample.ts][snapshotsgetsample] | Gets a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsGet.json | +| [snapshotsListByResourceGroupSample.ts][snapshotslistbyresourcegroupsample] | Lists snapshots in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsListByResourceGroup.json | +| [snapshotsListSample.ts][snapshotslistsample] | Gets a list of snapshots in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsList.json | +| [snapshotsUpdateTagsSample.ts][snapshotsupdatetagssample] | Updates tags on a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsUpdateTags.json | +| [trustedAccessRoleBindingsCreateOrUpdateSample.ts][trustedaccessrolebindingscreateorupdatesample] | Create or update a trusted access role binding x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json | +| [trustedAccessRoleBindingsDeleteSample.ts][trustedaccessrolebindingsdeletesample] | Delete a trusted access role binding. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_Delete.json | +| [trustedAccessRoleBindingsGetSample.ts][trustedaccessrolebindingsgetsample] | Get a trusted access role binding. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_Get.json | +| [trustedAccessRoleBindingsListSample.ts][trustedaccessrolebindingslistsample] | List trusted access role bindings. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_List.json | +| [trustedAccessRolesListSample.ts][trustedaccessroleslistsample] | List supported trusted access roles. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoles_List.json | ## Prerequisites diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/sample.env b/sdk/containerservice/arm-containerservice/samples/v21/typescript/sample.env index 672847a3fea0..508439fc7d62 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/sample.env +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/sample.env @@ -1,4 +1 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file +# Feel free to add your own environment variables. \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsAbortLatestOperationSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsAbortLatestOperationSample.ts index 11ec557eae87..be23fd85b9d7 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsAbortLatestOperationSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsAbortLatestOperationSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. * * @summary Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsAbortOperation.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsAbortOperation.json */ async function abortOperationOnAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsCreateOrUpdateSample.ts index b9a51ec3b5ca..c6426680bfb6 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Snapshot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Snapshot.json */ async function createAgentPoolUsingAnAgentPoolSnapshot() { const subscriptionId = @@ -54,7 +54,7 @@ async function createAgentPoolUsingAnAgentPoolSnapshot() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_CRG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_CRG.json */ async function createAgentPoolWithCapacityReservationGroup() { const subscriptionId = @@ -87,7 +87,7 @@ async function createAgentPoolWithCapacityReservationGroup() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_DedicatedHostGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_DedicatedHostGroup.json */ async function createAgentPoolWithDedicatedHostGroup() { const subscriptionId = @@ -120,7 +120,7 @@ async function createAgentPoolWithDedicatedHostGroup() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json */ async function createAgentPoolWithEncryptionAtHostEnabled() { const subscriptionId = @@ -152,7 +152,7 @@ async function createAgentPoolWithEncryptionAtHostEnabled() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Ephemeral.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Ephemeral.json */ async function createAgentPoolWithEphemeralOSDisk() { const subscriptionId = @@ -185,7 +185,7 @@ async function createAgentPoolWithEphemeralOSDisk() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_EnableFIPS.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_EnableFIPS.json */ async function createAgentPoolWithFipsEnabledOS() { const subscriptionId = @@ -217,7 +217,7 @@ async function createAgentPoolWithFipsEnabledOS() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_GPUMIG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_GPUMIG.json */ async function createAgentPoolWithGpumig() { const subscriptionId = @@ -270,7 +270,7 @@ async function createAgentPoolWithGpumig() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_WasmWasi.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_WasmWasi.json */ async function createAgentPoolWithKrustletAndTheWasiRuntime() { const subscriptionId = @@ -304,7 +304,7 @@ async function createAgentPoolWithKrustletAndTheWasiRuntime() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_CustomNodeConfig.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_CustomNodeConfig.json */ async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() { const subscriptionId = @@ -356,7 +356,7 @@ async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_OSSKU.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_OSSKU.json */ async function createAgentPoolWithOssku() { const subscriptionId = @@ -409,7 +409,7 @@ async function createAgentPoolWithOssku() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_PPG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_PPG.json */ async function createAgentPoolWithPpg() { const subscriptionId = @@ -442,7 +442,7 @@ async function createAgentPoolWithPpg() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_EnableUltraSSD.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_EnableUltraSSD.json */ async function createAgentPoolWithUltraSsdEnabled() { const subscriptionId = @@ -474,7 +474,7 @@ async function createAgentPoolWithUltraSsdEnabled() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_WindowsOSSKU.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_WindowsOSSKU.json */ async function createAgentPoolWithWindowsOssku() { const subscriptionId = @@ -506,7 +506,7 @@ async function createAgentPoolWithWindowsOssku() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Spot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Spot.json */ async function createSpotAgentPool() { const subscriptionId = @@ -542,7 +542,7 @@ async function createSpotAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_WindowsDisableOutboundNAT.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_WindowsDisableOutboundNAT.json */ async function createWindowsAgentPoolWithDisablingOutboundNat() { const subscriptionId = @@ -575,7 +575,7 @@ async function createWindowsAgentPoolWithDisablingOutboundNat() { * 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/aks/stable/2024-08-01/examples/AgentPoolsCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsCreate_Update.json */ async function createOrUpdateAgentPool() { const subscriptionId = @@ -612,7 +612,7 @@ async function createOrUpdateAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPools_Start.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPools_Start.json */ async function startAgentPool() { const subscriptionId = @@ -638,7 +638,7 @@ async function startAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPools_Stop.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPools_Stop.json */ async function stopAgentPool() { const subscriptionId = @@ -664,7 +664,7 @@ async function stopAgentPool() { * 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/aks/stable/2024-08-01/examples/AgentPools_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPools_Update.json */ async function updateAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsDeleteMachinesSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsDeleteMachinesSample.ts index 38a8ee6df373..b2d93cfb8a6a 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsDeleteMachinesSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsDeleteMachinesSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Deletes specific machines in an agent pool. * * @summary Deletes specific machines in an agent pool. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsDeleteMachines.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsDeleteMachines.json */ async function deleteSpecificMachinesInAnAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsDeleteSample.ts index b7ab02352229..b1ac4b193263 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsDelete.json */ async function deleteAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetAvailableAgentPoolVersionsSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetAvailableAgentPoolVersionsSample.ts index 4f7596647752..67e35d440225 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetAvailableAgentPoolVersionsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetAvailableAgentPoolVersionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json */ async function getAvailableVersionsForAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetSample.ts index 2c507c9b7726..41ed5b93b708 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGet.json */ async function getAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetUpgradeProfileSample.ts index d0b6a59f55b5..a3ca34b8fc1a 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetUpgradeProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsGetUpgradeProfileSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsGetUpgradeProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsGetUpgradeProfile.json */ async function getUpgradeProfileForAgentPool() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsListSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsListSample.ts index 9937f972007c..d616aea11cc6 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsList.json */ async function listAgentPoolsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsUpgradeNodeImageVersionSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsUpgradeNodeImageVersionSample.ts index 96d24fb24cda..bd366cc4ac67 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsUpgradeNodeImageVersionSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/agentPoolsUpgradeNodeImageVersionSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * 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/aks/stable/2024-08-01/examples/AgentPoolsUpgradeNodeImageVersion.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsUpgradeNodeImageVersion.json */ async function upgradeAgentPoolNodeImageVersion() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/machinesGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/machinesGetSample.ts index 16a27ac521af..77792a4b0d26 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/machinesGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/machinesGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Get a specific machine in the specified agent pool. * * @summary Get a specific machine in the specified agent pool. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MachineGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MachineGet.json */ async function getAMachineInAnAgentPoolsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/machinesListSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/machinesListSample.ts index 32ec62e4f4f1..f9aa0939a787 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/machinesListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/machinesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of machines in the specified agent pool. * * @summary Gets a list of machines in the specified agent pool. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MachineList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MachineList.json */ async function listMachinesInAnAgentpoolByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsCreateOrUpdateSample.ts index 275bdd7a5718..150041bf1f0f 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates or updates a maintenance configuration in the specified managed cluster. * * @summary Creates or updates a maintenance configuration in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsCreate_Update.json */ async function createOrUpdateMaintenanceConfiguration() { const subscriptionId = @@ -55,7 +55,7 @@ async function createOrUpdateMaintenanceConfiguration() { * This sample demonstrates how to Creates or updates a maintenance configuration in the specified managed cluster. * * @summary Creates or updates a maintenance configuration in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsCreate_Update_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsCreate_Update_MaintenanceWindow.json */ async function createOrUpdateMaintenanceConfigurationWithMaintenanceWindow() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsDeleteSample.ts index 6a8bb3a58a48..af8a77316e8a 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes a maintenance configuration. * * @summary Deletes a maintenance configuration. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsDelete.json */ async function deleteMaintenanceConfiguration() { const subscriptionId = @@ -42,7 +42,7 @@ async function deleteMaintenanceConfiguration() { * This sample demonstrates how to Deletes a maintenance configuration. * * @summary Deletes a maintenance configuration. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsDelete_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsDelete_MaintenanceWindow.json */ async function deleteMaintenanceConfigurationForNodeOSUpgrade() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsGetSample.ts index f4d01765ade9..9b35a32eb289 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the specified maintenance configuration of a managed cluster. * * @summary Gets the specified maintenance configuration of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsGet.json */ async function getMaintenanceConfiguration() { const subscriptionId = @@ -42,7 +42,7 @@ async function getMaintenanceConfiguration() { * This sample demonstrates how to Gets the specified maintenance configuration of a managed cluster. * * @summary Gets the specified maintenance configuration of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsGet_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsGet_MaintenanceWindow.json */ async function getMaintenanceConfigurationConfiguredWithMaintenanceWindow() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsListByManagedClusterSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsListByManagedClusterSample.ts index 7c63dd5dd30d..f1615ce26e31 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsListByManagedClusterSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/maintenanceConfigurationsListByManagedClusterSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of maintenance configurations in the specified managed cluster. * * @summary Gets a list of maintenance configurations in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsList.json */ async function listMaintenanceConfigurationsByManagedCluster() { const subscriptionId = @@ -43,7 +43,7 @@ async function listMaintenanceConfigurationsByManagedCluster() { * This sample demonstrates how to Gets a list of maintenance configurations in the specified managed cluster. * * @summary Gets a list of maintenance configurations in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/MaintenanceConfigurationsList_MaintenanceWindow.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/MaintenanceConfigurationsList_MaintenanceWindow.json */ async function listMaintenanceConfigurationsConfiguredWithMaintenanceWindowByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersAbortLatestOperationSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersAbortLatestOperationSample.ts index f1944da30d2e..53c09beb2301 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersAbortLatestOperationSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersAbortLatestOperationSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. * * @summary Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersAbortOperation.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersAbortOperation.json */ async function abortOperationOnManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersCreateOrUpdateSample.ts index da798cef5b72..f201dce40cc3 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_Snapshot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_Snapshot.json */ async function createManagedClusterUsingAnAgentPoolSnapshot() { const subscriptionId = @@ -87,7 +87,7 @@ async function createManagedClusterUsingAnAgentPoolSnapshot() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_ManagedNATGateway.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_ManagedNATGateway.json */ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { const subscriptionId = @@ -148,7 +148,7 @@ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_AzureKeyvaultSecretsProvider.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_AzureKeyvaultSecretsProvider.json */ async function createManagedClusterWithAzureKeyVaultSecretsProviderAddon() { const subscriptionId = @@ -214,7 +214,7 @@ async function createManagedClusterWithAzureKeyVaultSecretsProviderAddon() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_CRG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_CRG.json */ async function createManagedClusterWithCapacityReservationGroup() { const subscriptionId = @@ -277,7 +277,7 @@ async function createManagedClusterWithCapacityReservationGroup() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_DedicatedHostGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_DedicatedHostGroup.json */ async function createManagedClusterWithDedicatedHostGroup() { const subscriptionId = @@ -339,7 +339,7 @@ async function createManagedClusterWithDedicatedHostGroup() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json */ async function createManagedClusterWithEncryptionAtHostEnabled() { const subscriptionId = @@ -401,7 +401,7 @@ async function createManagedClusterWithEncryptionAtHostEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_EnabledFIPS.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_EnabledFIPS.json */ async function createManagedClusterWithFipsEnabledOS() { const subscriptionId = @@ -463,7 +463,7 @@ async function createManagedClusterWithFipsEnabledOS() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_GPUMIG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_GPUMIG.json */ async function createManagedClusterWithGpumig() { const subscriptionId = @@ -531,7 +531,7 @@ async function createManagedClusterWithGpumig() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_HTTPProxy.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_HTTPProxy.json */ async function createManagedClusterWithHttpProxyConfigured() { const subscriptionId = @@ -598,7 +598,7 @@ async function createManagedClusterWithHttpProxyConfigured() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_Premium.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_Premium.json */ async function createManagedClusterWithLongTermSupport() { const subscriptionId = @@ -660,7 +660,7 @@ async function createManagedClusterWithLongTermSupport() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json */ async function createManagedClusterWithNodePublicIPPrefix() { const subscriptionId = @@ -723,7 +723,7 @@ async function createManagedClusterWithNodePublicIPPrefix() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_OSSKU.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_OSSKU.json */ async function createManagedClusterWithOssku() { const subscriptionId = @@ -791,7 +791,7 @@ async function createManagedClusterWithOssku() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PPG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PPG.json */ async function createManagedClusterWithPpg() { const subscriptionId = @@ -854,7 +854,7 @@ async function createManagedClusterWithPpg() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PodIdentity.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PodIdentity.json */ async function createManagedClusterWithPodIdentityEnabled() { const subscriptionId = @@ -916,7 +916,7 @@ async function createManagedClusterWithPodIdentityEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_DisableRunCommand.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_DisableRunCommand.json */ async function createManagedClusterWithRunCommandDisabled() { const subscriptionId = @@ -977,7 +977,7 @@ async function createManagedClusterWithRunCommandDisabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_SecurityProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_SecurityProfile.json */ async function createManagedClusterWithSecurityProfileConfigured() { const subscriptionId = @@ -1035,7 +1035,7 @@ async function createManagedClusterWithSecurityProfileConfigured() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_EnableUltraSSD.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_EnableUltraSSD.json */ async function createManagedClusterWithUltraSsdEnabled() { const subscriptionId = @@ -1097,7 +1097,7 @@ async function createManagedClusterWithUltraSsdEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_IngressProfile_WebAppRouting.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_IngressProfile_WebAppRouting.json */ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { const subscriptionId = @@ -1155,7 +1155,7 @@ async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json */ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { const subscriptionId = @@ -1215,7 +1215,7 @@ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json */ async function createManagedPrivateClusterWithPublicFqdnSpecified() { const subscriptionId = @@ -1279,7 +1279,7 @@ async function createManagedPrivateClusterWithPublicFqdnSpecified() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json */ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { const subscriptionId = @@ -1344,7 +1344,7 @@ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json */ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { const subscriptionId = @@ -1407,7 +1407,7 @@ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_Update.json */ async function createOrUpdateManagedCluster() { const subscriptionId = @@ -1491,7 +1491,7 @@ async function createOrUpdateManagedCluster() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_AzureServiceMesh.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_AzureServiceMesh.json */ async function createOrUpdateManagedClusterWithAzureServiceMesh() { const subscriptionId = @@ -1576,7 +1576,7 @@ async function createOrUpdateManagedClusterWithAzureServiceMesh() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UpdateWithAHUB.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UpdateWithAHUB.json */ async function createOrUpdateManagedClusterWithEnableAhub() { const subscriptionId = @@ -1646,7 +1646,7 @@ async function createOrUpdateManagedClusterWithEnableAhub() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json */ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { const subscriptionId = @@ -1716,7 +1716,7 @@ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersCreate_DualStackNetworking.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersCreate_DualStackNetworking.json */ async function createOrUpdateManagedClusterWithDualStackNetworking() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersDeleteSample.ts index 5e92fead65dc..b6dffd8e0f59 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes a managed cluster. * * @summary Deletes a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersDelete.json */ async function deleteManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetAccessProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetAccessProfileSample.ts index 2e730b9bad35..0638030dc50e 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetAccessProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetAccessProfileSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . * * @summary **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGetAccessProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGetAccessProfile.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetCommandResultSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetCommandResultSample.ts index 6d0ae74f1ef2..70b1e54c3ec2 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetCommandResultSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetCommandResultSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. * * @summary Gets the results of a command which has been run on the Managed Cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandResultFailed.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandResultFailed.json */ async function commandFailedResult() { const subscriptionId = @@ -42,7 +42,7 @@ async function commandFailedResult() { * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. * * @summary Gets the results of a command which has been run on the Managed Cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandResultSucceed.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandResultSucceed.json */ async function commandSucceedResult() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetMeshRevisionProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetMeshRevisionProfileSample.ts index b9c70d028e90..2213aa12f0a7 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetMeshRevisionProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetMeshRevisionProfileSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades * * @summary Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet_MeshRevisionProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet_MeshRevisionProfile.json */ async function getAMeshRevisionProfileForAMeshMode() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetMeshUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetMeshUpgradeProfileSample.ts index a8b1948453a1..d3bafe13663a 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetMeshUpgradeProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetMeshUpgradeProfileSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets available upgrades for a service mesh in a cluster. * * @summary Gets available upgrades for a service mesh in a cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet_MeshUpgradeProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet_MeshUpgradeProfile.json */ async function getsVersionCompatibilityAndUpgradeProfileForAServiceMeshInACluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetSample.ts index ce025fb26c73..05b55dccceba 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a managed cluster. * * @summary Gets a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGet.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetUpgradeProfileSample.ts index 9f1b3dfc700c..bdf6e77a29ed 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetUpgradeProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersGetUpgradeProfileSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets the upgrade profile of a managed cluster. * * @summary Gets the upgrade profile of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersGetUpgradeProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersGetUpgradeProfile.json */ async function getUpgradeProfileForManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListByResourceGroupSample.ts index ff8c391e73be..1336e0c609d6 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListByResourceGroupSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListByResourceGroupSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists managed clusters in the specified subscription and resource group. * * @summary Lists managed clusters in the specified subscription and resource group. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListByResourceGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListByResourceGroup.json */ async function getManagedClustersByResourceGroup() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterAdminCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterAdminCredentialsSample.ts index 80dea3975b61..6f98741b979d 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterAdminCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterAdminCredentialsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the admin credentials of a managed cluster. * * @summary Lists the admin credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterAdminCredentials.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterAdminCredentials.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts index c38c724d3ba2..630e4e20c446 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the cluster monitoring user credentials of a managed cluster. * * @summary Lists the cluster monitoring user credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterUserCredentialsSample.ts index f968adce703c..28058dc75583 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterUserCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListClusterUserCredentialsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists the user credentials of a managed cluster. * * @summary Lists the user credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersListClusterUserCredentials.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersListClusterUserCredentials.json */ async function getManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListKubernetesVersionsSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListKubernetesVersionsSample.ts index d1bc519504ed..b15a4fca38e9 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListKubernetesVersionsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListKubernetesVersionsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version * * @summary Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/KubernetesVersions_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/KubernetesVersions_List.json */ async function listKubernetesVersions() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListMeshRevisionProfilesSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListMeshRevisionProfilesSample.ts index 35551f85cc36..ecf4b84dc852 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListMeshRevisionProfilesSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListMeshRevisionProfilesSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades * * @summary Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList_MeshRevisionProfiles.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList_MeshRevisionProfiles.json */ async function listMeshRevisionProfilesInALocation() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListMeshUpgradeProfilesSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListMeshUpgradeProfilesSample.ts index 6643c8eb30ab..59e3b05196cd 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListMeshUpgradeProfilesSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListMeshUpgradeProfilesSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists available upgrades for all service meshes in a specific cluster. * * @summary Lists available upgrades for all service meshes in a specific cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList_MeshUpgradeProfiles.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList_MeshUpgradeProfiles.json */ async function listsVersionCompatibilityAndUpgradeProfileForAllServiceMeshesInACluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts index d8d25244d810..c9f0a943f62f 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. * * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/OutboundNetworkDependenciesEndpointsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/OutboundNetworkDependenciesEndpointsList.json */ async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListSample.ts index ca982dd21be7..551476d56bfd 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of managed clusters in the specified subscription. * * @summary Gets a list of managed clusters in the specified subscription. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersList.json */ async function listManagedClusters() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersResetAadProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersResetAadProfileSample.ts index 189b14744403..ee60914e670b 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersResetAadProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersResetAadProfileSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. * * @summary **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersResetAADProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersResetAADProfile.json */ async function resetAadProfile() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersResetServicePrincipalProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersResetServicePrincipalProfileSample.ts index 4ec7f5f16d69..d349987804d7 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersResetServicePrincipalProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersResetServicePrincipalProfileSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to This action cannot be performed on a cluster that is not using a service principal * * @summary This action cannot be performed on a cluster that is not using a service principal - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersResetServicePrincipalProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersResetServicePrincipalProfile.json */ async function resetServicePrincipalProfile() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRotateClusterCertificatesSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRotateClusterCertificatesSample.ts index 9d59b2f3ddf2..253c3a401dfd 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRotateClusterCertificatesSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRotateClusterCertificatesSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. * * @summary See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersRotateClusterCertificates.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersRotateClusterCertificates.json */ async function rotateClusterCertificates() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts index 3bb99470a351..71e21f39af7d 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Rotates the service account signing keys of a managed cluster. * * @summary Rotates the service account signing keys of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json */ async function rotateClusterServiceAccountSigningKeys() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRunCommandSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRunCommandSample.ts index 6b91b9bdad02..b485beec4e64 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRunCommandSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersRunCommandSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). * * @summary AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/RunCommandRequest.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/RunCommandRequest.json */ async function submitNewCommand() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersStartSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersStartSample.ts index f014f36f7fc9..f2b7d731b209 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersStartSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersStartSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. * * @summary See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersStart.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersStart.json */ async function startManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersStopSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersStopSample.ts index 55144ae1bb00..babfe05af301 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersStopSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersStopSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. * * @summary This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersStop.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersStop.json */ async function stopManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersUpdateTagsSample.ts index 3ec15b9e96f8..028b331d3c31 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersUpdateTagsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/managedClustersUpdateTagsSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Updates tags on a managed cluster. * * @summary Updates tags on a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ManagedClustersUpdateTags.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ManagedClustersUpdateTags.json */ async function updateManagedClusterTags() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/operationsListSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/operationsListSample.ts index 7e1fc5593a9e..3b0b1ba4f6ec 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/operationsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/operationsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of operations. * * @summary Gets a list of operations. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/Operation_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/Operation_List.json */ async function listAvailableOperationsForTheContainerServiceResourceProvider() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsDeleteSample.ts index 0ef87f742fcb..c8f7cdc7c83e 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes a private endpoint connection. * * @summary Deletes a private endpoint connection. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsDelete.json */ async function deletePrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsGetSample.ts index cf55806a76e9..00899f089e4c 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsGet.json */ async function getPrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsListSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsListSample.ts index 7a7071b4c485..69e929501b13 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsList.json */ async function listPrivateEndpointConnectionsByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsUpdateSample.ts index cfec91b849b0..a4ee8474fd06 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateEndpointConnectionsUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Updates a private endpoint connection. * * @summary Updates a private endpoint connection. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateEndpointConnectionsUpdate.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateEndpointConnectionsUpdate.json */ async function updatePrivateEndpointConnection() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateLinkResourcesListSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateLinkResourcesListSample.ts index 0f5ce2e249dc..1745cf4d561a 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateLinkResourcesListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/privateLinkResourcesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/PrivateLinkResourcesList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/PrivateLinkResourcesList.json */ async function listPrivateLinkResourcesByManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/resolvePrivateLinkServiceIdPostSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/resolvePrivateLinkServiceIdPostSample.ts index a16e53eef968..c4b21d57a932 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/resolvePrivateLinkServiceIdPostSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/resolvePrivateLinkServiceIdPostSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Gets the private link service ID for the specified managed cluster. * * @summary Gets the private link service ID for the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/ResolvePrivateLinkServiceId.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/ResolvePrivateLinkServiceId.json */ async function resolveThePrivateLinkServiceIdForManagedCluster() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsCreateOrUpdateSample.ts index f5cf0f876a23..cfd79e400923 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Creates or updates a snapshot. * * @summary Creates or updates a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsCreate.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsCreate.json */ async function createOrUpdateSnapshot() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsDeleteSample.ts index 3a90b7231233..f39263f6377f 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Deletes a snapshot. * * @summary Deletes a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsDelete.json */ async function deleteSnapshot() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsGetSample.ts index 41d9f5bbc688..85e8f4c6fe4d 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a snapshot. * * @summary Gets a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsGet.json */ async function getSnapshot() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsListByResourceGroupSample.ts index 5a7f37013bb4..583a5b9d1ac4 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsListByResourceGroupSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsListByResourceGroupSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Lists snapshots in the specified subscription and resource group. * * @summary Lists snapshots in the specified subscription and resource group. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsListByResourceGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsListByResourceGroup.json */ async function listSnapshotsByResourceGroup() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsListSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsListSample.ts index 52241a218cc2..3fb5ceab6801 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Gets a list of snapshots in the specified subscription. * * @summary Gets a list of snapshots in the specified subscription. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsList.json */ async function listSnapshots() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsUpdateTagsSample.ts index fc696a355666..4d2f734e2f32 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsUpdateTagsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/snapshotsUpdateTagsSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Updates tags on a snapshot. * * @summary Updates tags on a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/SnapshotsUpdateTags.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/SnapshotsUpdateTags.json */ async function updateSnapshotTags() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsCreateOrUpdateSample.ts index c515bb2db10f..026f11ce7040 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsCreateOrUpdateSample.ts @@ -21,7 +21,7 @@ dotenv.config(); * This sample demonstrates how to Create or update a trusted access role binding * * @summary Create or update a trusted access role binding - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json */ async function createOrUpdateATrustedAccessRoleBinding() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsDeleteSample.ts index f79a3e04cb75..5b8cba149f0e 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsDeleteSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Delete a trusted access role binding. * * @summary Delete a trusted access role binding. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_Delete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_Delete.json */ async function deleteATrustedAccessRoleBinding() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsGetSample.ts index 87ff561ef611..d5b9e3a4fc6e 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsGetSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to Get a trusted access role binding. * * @summary Get a trusted access role binding. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_Get.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_Get.json */ async function getATrustedAccessRoleBinding() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsListSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsListSample.ts index 519905e062c1..5115805c6534 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRoleBindingsListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to List trusted access role bindings. * * @summary List trusted access role bindings. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoleBindings_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoleBindings_List.json */ async function listTrustedAccessRoleBindings() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRolesListSample.ts b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRolesListSample.ts index cd9729883713..a78d08fe54ea 100644 --- a/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRolesListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples/v21/typescript/src/trustedAccessRolesListSample.ts @@ -18,7 +18,7 @@ dotenv.config(); * This sample demonstrates how to List supported trusted access roles. * * @summary List supported trusted access roles. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/TrustedAccessRoles_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/TrustedAccessRoles_List.json */ async function listTrustedAccessRoles() { const subscriptionId = diff --git a/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts index 97396138dd05..1489cf09fc65 100644 --- a/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts +++ b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts @@ -74,7 +74,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { credential: credentials, }; - const packageDetails = `azsdk-js-arm-containerservice/21.2.1`; + const packageDetails = `azsdk-js-arm-containerservice/21.3.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -128,7 +128,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2024-08-01"; + this.apiVersion = options.apiVersion || "2024-09-01"; this.operations = new OperationsImpl(this); this.managedClusters = new ManagedClustersImpl(this); this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this); diff --git a/sdk/containerservice/arm-containerservice/src/models/index.ts b/sdk/containerservice/arm-containerservice/src/models/index.ts index 64d2a8a4e0fe..bbc83c760aa1 100644 --- a/sdk/containerservice/arm-containerservice/src/models/index.ts +++ b/sdk/containerservice/arm-containerservice/src/models/index.ts @@ -182,6 +182,11 @@ export interface PowerState { /** Properties for the container service agent pool profile. */ export interface ManagedClusterAgentPoolProfileProperties { + /** + * Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly eTag?: string; /** Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ count?: number; /** VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions */ @@ -589,6 +594,12 @@ export interface ManagedClusterOidcIssuerProfile { enabled?: boolean; } +/** Node resource group lockdown profile for a managed cluster. */ +export interface ManagedClusterNodeResourceGroupProfile { + /** The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted' */ + restrictionLevel?: RestrictionLevel; +} + /** Profile of network configuration. */ export interface ContainerServiceNetworkProfile { /** Network plugin used for building the Kubernetes network. */ @@ -601,6 +612,8 @@ export interface ContainerServiceNetworkProfile { networkMode?: NetworkMode; /** Network dataplane used in the Kubernetes cluster. */ networkDataplane?: NetworkDataplane; + /** Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking. */ + advancedNetworking?: AdvancedNetworking; /** A CIDR notation IP range from which to assign pod IPs when kubenet is used. */ podCidr?: string; /** A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges. */ @@ -623,6 +636,28 @@ export interface ContainerServiceNetworkProfile { ipFamilies?: IpFamily[]; } +/** Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking. */ +export interface AdvancedNetworking { + /** Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false. */ + enabled?: boolean; + /** Observability profile to enable advanced network metrics and flow logs with historical contexts. */ + observability?: AdvancedNetworkingObservability; + /** Security profile to enable security features on cilium based cluster. */ + security?: AdvancedNetworkingSecurity; +} + +/** Observability profile to enable advanced network metrics and flow logs with historical contexts. */ +export interface AdvancedNetworkingObservability { + /** Indicates the enablement of Advanced Networking observability functionalities on clusters. */ + enabled?: boolean; +} + +/** Security profile to enable security features on cilium based cluster. */ +export interface AdvancedNetworkingSecurity { + /** This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false. */ + enabled?: boolean; +} + /** Profile of the managed cluster load balancer. */ export interface ManagedClusterLoadBalancerProfile { /** Desired managed outbound IPs for the cluster load balancer. */ @@ -1761,6 +1796,11 @@ export interface MaintenanceConfiguration extends SubResource { /** Agent Pool. */ export interface AgentPool extends SubResource { + /** + * Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly eTag?: string; /** Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ count?: number; /** VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions */ @@ -1876,6 +1916,11 @@ export interface MeshUpgradeProfileProperties extends MeshRevision {} /** Managed cluster. */ export interface ManagedCluster extends TrackedResource { + /** + * Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly eTag?: string; /** The managed cluster SKU. */ sku?: ManagedClusterSKU; /** The extended location of the Virtual Machine. */ @@ -1939,6 +1984,8 @@ export interface ManagedCluster extends TrackedResource { oidcIssuerProfile?: ManagedClusterOidcIssuerProfile; /** The name of the resource group containing agent pool nodes. */ nodeResourceGroup?: string; + /** Profile of the node resource group configuration. */ + nodeResourceGroupProfile?: ManagedClusterNodeResourceGroupProfile; /** Whether to enable Kubernetes Role-Based Access Control. */ enableRbac?: boolean; /** The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'. */ @@ -1959,7 +2006,7 @@ export interface ManagedCluster extends TrackedResource { apiServerAccessProfile?: ManagedClusterAPIServerAccessProfile; /** This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' */ diskEncryptionSetID?: string; - /** Identities associated with the cluster. */ + /** The user identity associated with the managed cluster. This identity will be used by the kubelet. Only one user assigned identity is allowed. The only accepted key is "kubeletidentity", with value of "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}". */ identityProfile?: { [propertyName: string]: UserAssignedIdentity }; /** Private link resources associated with the cluster. */ privateLinkResources?: PrivateLinkResource[]; @@ -2508,6 +2555,24 @@ export enum KnownManagedClusterPodIdentityProvisioningState { */ export type ManagedClusterPodIdentityProvisioningState = string; +/** Known values of {@link RestrictionLevel} that the service accepts. */ +export enum KnownRestrictionLevel { + /** All RBAC permissions are allowed on the managed node resource group */ + Unrestricted = "Unrestricted", + /** Only *\/read RBAC permissions allowed on the managed node resource group */ + ReadOnly = "ReadOnly", +} + +/** + * Defines values for RestrictionLevel. \ + * {@link KnownRestrictionLevel} can be used interchangeably with RestrictionLevel, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Unrestricted**: All RBAC permissions are allowed on the managed node resource group \ + * **ReadOnly**: Only *\/read RBAC permissions allowed on the managed node resource group + */ +export type RestrictionLevel = string; + /** Known values of {@link NetworkPlugin} that the service accepts. */ export enum KnownNetworkPlugin { /** Use the Azure CNI network plugin. See [Azure CNI (advanced) networking](https:\//docs.microsoft.com\/azure\/aks\/concepts-network#azure-cni-advanced-networking) for more information. */ @@ -3117,6 +3182,10 @@ export type ManagedClustersGetResponse = ManagedCluster; /** Optional parameters. */ export interface ManagedClustersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + /** The request should only proceed if an entity matches this string. */ + ifMatch?: string; + /** The request should only proceed if no entity matches this string. */ + ifNoneMatch?: string; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -3129,6 +3198,8 @@ export type ManagedClustersCreateOrUpdateResponse = ManagedCluster; /** Optional parameters. */ export interface ManagedClustersUpdateTagsOptionalParams extends coreClient.OperationOptions { + /** The request should only proceed if an entity matches this string. */ + ifMatch?: string; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -3141,6 +3212,8 @@ export type ManagedClustersUpdateTagsResponse = ManagedCluster; /** Optional parameters. */ export interface ManagedClustersDeleteOptionalParams extends coreClient.OperationOptions { + /** The request should only proceed if an entity matches this string. */ + ifMatch?: string; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -3392,6 +3465,10 @@ export type AgentPoolsGetResponse = AgentPool; /** Optional parameters. */ export interface AgentPoolsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + /** The request should only proceed if an entity matches this string. */ + ifMatch?: string; + /** The request should only proceed if no entity matches this string. */ + ifNoneMatch?: string; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -3404,6 +3481,8 @@ export type AgentPoolsCreateOrUpdateResponse = AgentPool; /** Optional parameters. */ export interface AgentPoolsDeleteOptionalParams extends coreClient.OperationOptions { + /** The request should only proceed if an entity matches this string. */ + ifMatch?: string; /** ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget */ ignorePodDisruptionBudget?: boolean; /** Delay to wait until next poll, in milliseconds. */ diff --git a/sdk/containerservice/arm-containerservice/src/models/mappers.ts b/sdk/containerservice/arm-containerservice/src/models/mappers.ts index 39a460480ff8..339230230c18 100644 --- a/sdk/containerservice/arm-containerservice/src/models/mappers.ts +++ b/sdk/containerservice/arm-containerservice/src/models/mappers.ts @@ -439,6 +439,13 @@ export const ManagedClusterAgentPoolProfileProperties: coreClient.CompositeMappe name: "Composite", className: "ManagedClusterAgentPoolProfileProperties", modelProperties: { + eTag: { + serializedName: "eTag", + readOnly: true, + type: { + name: "String", + }, + }, count: { serializedName: "count", type: { @@ -1670,13 +1677,28 @@ export const ManagedClusterOidcIssuerProfile: coreClient.CompositeMapper = { }, }; +export const ManagedClusterNodeResourceGroupProfile: coreClient.CompositeMapper = + { + type: { + name: "Composite", + className: "ManagedClusterNodeResourceGroupProfile", + modelProperties: { + restrictionLevel: { + serializedName: "restrictionLevel", + type: { + name: "String", + }, + }, + }, + }, + }; + export const ContainerServiceNetworkProfile: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerServiceNetworkProfile", modelProperties: { networkPlugin: { - defaultValue: "kubenet", serializedName: "networkPlugin", type: { name: "String", @@ -1706,6 +1728,13 @@ export const ContainerServiceNetworkProfile: coreClient.CompositeMapper = { name: "String", }, }, + advancedNetworking: { + serializedName: "advancedNetworking", + type: { + name: "Composite", + className: "AdvancedNetworking", + }, + }, podCidr: { defaultValue: "10.244.0.0/16", constraints: { @@ -1806,6 +1835,65 @@ export const ContainerServiceNetworkProfile: coreClient.CompositeMapper = { }, }; +export const AdvancedNetworking: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AdvancedNetworking", + modelProperties: { + enabled: { + serializedName: "enabled", + type: { + name: "Boolean", + }, + }, + observability: { + serializedName: "observability", + type: { + name: "Composite", + className: "AdvancedNetworkingObservability", + }, + }, + security: { + serializedName: "security", + type: { + name: "Composite", + className: "AdvancedNetworkingSecurity", + }, + }, + }, + }, +}; + +export const AdvancedNetworkingObservability: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AdvancedNetworkingObservability", + modelProperties: { + enabled: { + serializedName: "enabled", + type: { + name: "Boolean", + }, + }, + }, + }, +}; + +export const AdvancedNetworkingSecurity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AdvancedNetworkingSecurity", + modelProperties: { + enabled: { + serializedName: "enabled", + type: { + name: "Boolean", + }, + }, + }, + }, +}; + export const ManagedClusterLoadBalancerProfile: coreClient.CompositeMapper = { type: { name: "Composite", @@ -4873,6 +4961,13 @@ export const AgentPool: coreClient.CompositeMapper = { className: "AgentPool", modelProperties: { ...SubResource.type.modelProperties, + eTag: { + serializedName: "properties.eTag", + readOnly: true, + type: { + name: "String", + }, + }, count: { serializedName: "properties.count", type: { @@ -5211,6 +5306,13 @@ export const ManagedCluster: coreClient.CompositeMapper = { className: "ManagedCluster", modelProperties: { ...TrackedResource.type.modelProperties, + eTag: { + serializedName: "eTag", + readOnly: true, + type: { + name: "String", + }, + }, sku: { serializedName: "sku", type: { @@ -5364,6 +5466,13 @@ export const ManagedCluster: coreClient.CompositeMapper = { name: "String", }, }, + nodeResourceGroupProfile: { + serializedName: "properties.nodeResourceGroupProfile", + type: { + name: "Composite", + className: "ManagedClusterNodeResourceGroupProfile", + }, + }, enableRbac: { serializedName: "properties.enableRBAC", type: { diff --git a/sdk/containerservice/arm-containerservice/src/models/parameters.ts b/sdk/containerservice/arm-containerservice/src/models/parameters.ts index 9b723910ef20..1032f08af791 100644 --- a/sdk/containerservice/arm-containerservice/src/models/parameters.ts +++ b/sdk/containerservice/arm-containerservice/src/models/parameters.ts @@ -53,7 +53,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2024-08-01", + defaultValue: "2024-09-01", isConstant: true, serializedName: "api-version", type: { @@ -168,6 +168,26 @@ export const parameters: OperationParameter = { mapper: ManagedClusterMapper, }; +export const ifMatch: OperationParameter = { + parameterPath: ["options", "ifMatch"], + mapper: { + serializedName: "If-Match", + type: { + name: "String", + }, + }, +}; + +export const ifNoneMatch: OperationParameter = { + parameterPath: ["options", "ifNoneMatch"], + mapper: { + serializedName: "If-None-Match", + type: { + name: "String", + }, + }, +}; + export const parameters1: OperationParameter = { parameterPath: "parameters", mapper: TagsObjectMapper, diff --git a/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts b/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts index a9e05e33d090..6947aa7345bd 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts @@ -825,7 +825,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.resourceName, Parameters.agentPoolName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [ + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch, + Parameters.ifNoneMatch, + ], mediaType: "json", serializer, }; @@ -860,7 +865,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.resourceName, Parameters.agentPoolName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.ifMatch], serializer, }; const getUpgradeProfileOperationSpec: coreClient.OperationSpec = { diff --git a/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts b/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts index f4e5d6d49165..d5ff22c4f06c 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts @@ -2048,7 +2048,12 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.resourceName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [ + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch, + Parameters.ifNoneMatch, + ], mediaType: "json", serializer, }; @@ -2080,7 +2085,11 @@ const updateTagsOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.resourceName, ], - headerParameters: [Parameters.accept, Parameters.contentType], + headerParameters: [ + Parameters.accept, + Parameters.contentType, + Parameters.ifMatch, + ], mediaType: "json", serializer, }; @@ -2111,7 +2120,7 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.resourceGroupName, Parameters.resourceName, ], - headerParameters: [Parameters.accept], + headerParameters: [Parameters.accept, Parameters.ifMatch], serializer, }; const resetServicePrincipalProfileOperationSpec: coreClient.OperationSpec = { diff --git a/sdk/containerservice/arm-containerservice/tsconfig.json b/sdk/containerservice/arm-containerservice/tsconfig.json index 5bad5556bbfd..8ed6d45d047a 100644 --- a/sdk/containerservice/arm-containerservice/tsconfig.json +++ b/sdk/containerservice/arm-containerservice/tsconfig.json @@ -23,8 +23,8 @@ } }, "include": [ - "./src/**/*.ts", - "./test/**/*.ts", + "src/**/*.ts", + "test/**/*.ts", "samples-dev/**/*.ts" ], "exclude": [