diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index f213ae22b8be..c3076b1bd312 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -1017,7 +1017,7 @@ packages: resolution: {integrity: sha512-Q71Buur3RMcg6lCnisLL8Im562DBw+ybzgm+YQj/FbAaI8ZNu/zl/5z1fE4k3Q9LSIzYrz6HLRzlhdSBXpydlQ==} engines: {node: '>=8.0.0'} dependencies: - '@azure/core-http': 1.2.3 + '@azure/core-http': 1.2.6 '@azure/core-tracing': 1.0.0-preview.9 '@azure/logger': 1.0.3 '@azure/msal-node': 1.0.0-beta.6_debug@4.3.4 @@ -2316,7 +2316,7 @@ packages: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} dependencies: '@types/connect': 3.4.35 - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/chai-as-promised/7.1.5: @@ -2342,7 +2342,7 @@ packages: /@types/connect/3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/cookie/0.4.1: @@ -2377,7 +2377,7 @@ packages: /@types/express-serve-static-core/4.17.29: resolution: {integrity: sha512-uMd++6dMKS32EOuw1Uli3e3BPgdLIXmezcfHv7N4c1s3gkhikBplORPpMq3fuWkxncZN1reb16d5n8yhQ80x7Q==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 dev: false @@ -2394,20 +2394,20 @@ packages: /@types/fs-extra/8.1.2: resolution: {integrity: sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/glob/7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 3.0.5 - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/inquirer/8.2.1: @@ -2420,7 +2420,7 @@ packages: /@types/is-buffer/2.0.0: resolution: {integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/json-schema/7.0.11: @@ -2434,13 +2434,13 @@ packages: /@types/jsonwebtoken/8.5.8: resolution: {integrity: sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/jws/3.2.4: resolution: {integrity: sha512-aqtH4dPw1wUjFZaeMD1ak/pf8iXlu/odFe+trJrvw0g1sTh93i+SCykg0Ek8C6B7rVK3oBORbfZAsKO7P10etg==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/long/4.0.2: @@ -2476,13 +2476,13 @@ packages: /@types/mock-fs/4.13.1: resolution: {integrity: sha512-m6nFAJ3lBSnqbvDZioawRvpLXSaPyn52Srf7OfzjubYbYX8MTUdIgDxQl0wEapm4m/pNYSd9TXocpQ0TvZFlYA==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/mock-require/2.0.1: resolution: {integrity: sha512-O7U5DVGboY/Crueb5/huUCIRjKtRVRaLmRDbZJBlDQgJn966z3aiFDN+6AtYviu2ExwMkl34LjT/IiC0OPtKuQ==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/ms/0.7.31: @@ -2500,7 +2500,7 @@ packages: /@types/node-fetch/2.6.2: resolution: {integrity: sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 form-data: 3.0.1 dev: false @@ -2547,7 +2547,7 @@ packages: /@types/resolve/1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/semaphore/1.1.1: @@ -2558,7 +2558,7 @@ packages: resolution: {integrity: sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==} dependencies: '@types/mime': 1.3.2 - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/sinon/10.0.13: @@ -2580,13 +2580,13 @@ packages: /@types/stoppable/1.1.1: resolution: {integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/through/0.0.30: resolution: {integrity: sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/tough-cookie/4.0.2: @@ -2596,13 +2596,13 @@ packages: /@types/tunnel/0.0.1: resolution: {integrity: sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/tunnel/0.0.3: resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/underscore/1.11.4: @@ -2620,19 +2620,19 @@ packages: /@types/ws/7.4.7: resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/ws/8.5.3: resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/xml2js/0.4.11: resolution: {integrity: sha512-JdigeAKmCyoJUiQljjr7tQG3if9NkqGUgwEUqBvV0N7LM4HyQk7UXCnusRa1lnvXAEYJ8mw8GtZWioagNztOwA==} dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false /@types/yargs-parser/21.0.0: @@ -2649,7 +2649,7 @@ packages: resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} requiresBuild: true dependencies: - '@types/node': 12.20.55 + '@types/node': 18.6.1 dev: false optional: true @@ -3706,7 +3706,7 @@ packages: resolution: {integrity: sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==} deprecated: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) dependencies: - ms: 2.1.1 + ms: 2.1.3 dev: false /debug/3.2.7: @@ -3907,7 +3907,7 @@ packages: dependencies: semver: 7.3.7 shelljs: 0.8.5 - typescript: 4.6.4 + typescript: 4.7.4 dev: false /ecdsa-sig-formatter/1.0.11: @@ -3958,7 +3958,7 @@ packages: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.12 - '@types/node': 12.20.55 + '@types/node': 18.6.1 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -4957,7 +4957,7 @@ packages: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 3.0.4 + minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 dev: false @@ -10576,7 +10576,7 @@ packages: dev: false file:projects/arm-containerservice-1.tgz: - resolution: {integrity: sha512-QCY5oq8bjEDF2D43/7pN2p0865/lg8asI6JlDTaEVRB00wFXICQAfyFcrbBD9cp2YbymlFiw/X1HCjBclkpGkA==, tarball: file:projects/arm-containerservice-1.tgz} + resolution: {integrity: sha512-EeBPa/XCAYq4hE4quEpr04qlGMfyw+uykQDm0sMHv4UIvCTeuqQ1irsDL+JAbIYStaY1HETSIfUlirto26EGMQ==, tarball: file:projects/arm-containerservice-1.tgz} name: '@rush-temp/arm-containerservice-1' version: 0.0.0 dependencies: @@ -10595,7 +10595,7 @@ packages: rollup: 2.77.0 rollup-plugin-sourcemaps: 0.6.3_rollup@2.77.0 tslib: 2.4.0 - typescript: 4.6.4 + typescript: 4.2.4 uglify-js: 3.16.3 transitivePeerDependencies: - '@types/node' diff --git a/sdk/containerservice/arm-containerservice/CHANGELOG.md b/sdk/containerservice/arm-containerservice/CHANGELOG.md index 4e8820666ed9..56780f341777 100644 --- a/sdk/containerservice/arm-containerservice/CHANGELOG.md +++ b/sdk/containerservice/arm-containerservice/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 17.1.0-beta.1 (2022-07-25) +## 17.1.0-beta.2 (2022-07-25) **Features** @@ -11,16 +11,13 @@ - Added operation group TrustedAccessRoles - Added operation ManagedClusters.beginRotateServiceAccountSigningKeys - Added operation ManagedClusters.beginRotateServiceAccountSigningKeysAndWait - - Added Interface AzureEntityResource - Added Interface ErrorAdditionalInfo - Added Interface ErrorDetail - Added Interface ErrorResponse - - Added Interface Fleet - Added Interface FleetCredentialResult - Added Interface FleetCredentialResults - Added Interface FleetHubProfile - Added Interface FleetListResult - - Added Interface FleetMember - Added Interface FleetMembersCreateOrUpdateOptionalParams - Added Interface FleetMembersDeleteOptionalParams - Added Interface FleetMembersGetOptionalParams @@ -43,7 +40,6 @@ - Added Interface ManagedClusterPropertiesForSnapshot - Added Interface ManagedClusterSecurityProfileNodeRestriction - Added Interface ManagedClusterSecurityProfileWorkloadIdentity - - Added Interface ManagedClusterSnapshot - Added Interface ManagedClusterSnapshotListResult - Added Interface ManagedClusterSnapshotsCreateOrUpdateOptionalParams - Added Interface ManagedClusterSnapshotsDeleteOptionalParams @@ -57,9 +53,9 @@ - Added Interface ManagedClusterStorageProfileBlobCSIDriver - Added Interface ManagedClusterWorkloadAutoScalerProfile - Added Interface ManagedClusterWorkloadAutoScalerProfileKeda + - Added Interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler - Added Interface NetworkProfileForSnapshot - Added Interface TrustedAccessRole - - Added Interface TrustedAccessRoleBinding - Added Interface TrustedAccessRoleBindingListResult - Added Interface TrustedAccessRoleBindingsCreateOrUpdateOptionalParams - Added Interface TrustedAccessRoleBindingsDeleteOptionalParams @@ -70,6 +66,11 @@ - Added Interface TrustedAccessRoleRule - Added Interface TrustedAccessRolesListNextOptionalParams - Added Interface TrustedAccessRolesListOptionalParams + - Added Type Alias AgentPool + - Added Type Alias AzureEntityResource + - Added Type Alias ControlledValues + - Added Type Alias Fleet + - Added Type Alias FleetMember - Added Type Alias FleetMemberProvisioningState - Added Type Alias FleetMembersCreateOrUpdateResponse - Added Type Alias FleetMembersGetResponse @@ -84,6 +85,12 @@ - Added Type Alias FleetsListNextResponse - Added Type Alias FleetsListResponse - Added Type Alias FleetsUpdateResponse + - Added Type Alias MaintenanceConfiguration + - Added Type Alias ManagedCluster + - Added Type Alias ManagedClusterAccessProfile + - Added Type Alias ManagedClusterAddonProfileIdentity + - Added Type Alias ManagedClusterAgentPoolProfile + - Added Type Alias ManagedClusterSnapshot - Added Type Alias ManagedClusterSnapshotsCreateOrUpdateResponse - Added Type Alias ManagedClusterSnapshotsGetResponse - Added Type Alias ManagedClusterSnapshotsListByResourceGroupNextResponse @@ -92,6 +99,9 @@ - Added Type Alias ManagedClusterSnapshotsListResponse - Added Type Alias ManagedClusterSnapshotsUpdateTagsResponse - Added Type Alias NetworkPluginMode + - Added Type Alias Snapshot + - Added Type Alias TrackedResource + - Added Type Alias TrustedAccessRoleBinding - Added Type Alias TrustedAccessRoleBindingProvisioningState - Added Type Alias TrustedAccessRoleBindingsCreateOrUpdateResponse - Added Type Alias TrustedAccessRoleBindingsGetResponse @@ -99,16 +109,9 @@ - Added Type Alias TrustedAccessRoleBindingsListResponse - Added Type Alias TrustedAccessRolesListNextResponse - Added Type Alias TrustedAccessRolesListResponse - - Interface AgentPool has a new optional parameter capacityReservationGroupID - - Interface AgentPool has a new optional parameter enableCustomCATrust - - Interface AgentPool has a new optional parameter messageOfTheDay + - Added Type Alias UpdateMode - Interface AgentPoolsDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget - Interface ContainerServiceNetworkProfile has a new optional parameter networkPluginMode - - Interface ManagedCluster has a new optional parameter creationData - - Interface ManagedCluster has a new optional parameter enableNamespaceResources - - Interface ManagedCluster has a new optional parameter ingressProfile - - Interface ManagedCluster has a new optional parameter oidcIssuerProfile - - Interface ManagedCluster has a new optional parameter workloadAutoScalerProfile - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter capacityReservationGroupID - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter enableCustomCATrust - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter messageOfTheDay @@ -125,10 +128,12 @@ - Class ContainerServiceClient has a new parameter managedClusterSnapshots - Class ContainerServiceClient has a new parameter trustedAccessRoleBindings - Class ContainerServiceClient has a new parameter trustedAccessRoles + - Added Enum KnownControlledValues - Added Enum KnownFleetMemberProvisioningState - Added Enum KnownFleetProvisioningState - Added Enum KnownNetworkPluginMode - Added Enum KnownTrustedAccessRoleBindingProvisioningState + - Added Enum KnownUpdateMode - Enum KnownOssku has a new value Windows2019 - Enum KnownOssku has a new value Windows2022 - Enum KnownSnapshotType has a new value ManagedCluster diff --git a/sdk/containerservice/arm-containerservice/_meta.json b/sdk/containerservice/arm-containerservice/_meta.json index bdb55b5bb107..f02720d2f13e 100644 --- a/sdk/containerservice/arm-containerservice/_meta.json +++ b/sdk/containerservice/arm-containerservice/_meta.json @@ -1,8 +1,8 @@ { - "commit": "405811c51aa09803caedfe17fd305e110db1ca5e", + "commit": "65bf194ead57661b004eccb84e5746c49bb16592", "readme": "specification/containerservice/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --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\\readme.md --use=@autorest/typescript@6.0.0-rc.1.20220720.1 --generate-sample=true", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/containerservice/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220425.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", "release_tool": "@azure-tools/js-sdk-release-tools@2.4.0", - "use": "@autorest/typescript@6.0.0-rc.1.20220720.1" + "use": "@autorest/typescript@6.0.0-alpha.19.20220425.1" } \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/package.json b/sdk/containerservice/arm-containerservice/package.json index c07fee4200ad..4fc1c9d28df1 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": "17.1.0-beta.1", + "version": "17.1.0-beta.2", "engines": { "node": ">=12.0.0" }, @@ -36,15 +36,13 @@ "mkdirp": "^1.0.4", "rollup": "^2.66.1", "rollup-plugin-sourcemaps": "^0.6.3", - "typescript": "~4.6.0", + "typescript": "~4.2.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", "@azure/identity": "^2.0.1", "@azure-tools/test-recorder": "^2.0.0", "@azure-tools/test-credential": "^1.0.0", "mocha": "^7.1.1", - "@types/chai": "^4.2.8", - "chai": "^4.2.0", "cross-env": "^7.0.2", "@azure/dev-tool": "^1.0.0" }, @@ -98,7 +96,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", + "docs": "echo skipped" }, "sideEffects": false, "//metadata": { @@ -109,13 +108,5 @@ } ] }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview" - } + "autoPublish": true } \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md b/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md index c247d741fe8f..77c654136cda 100644 --- a/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md +++ b/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md @@ -11,56 +11,56 @@ import { PollerLike } from '@azure/core-lro'; import { PollOperationState } from '@azure/core-lro'; // @public -export interface AgentPool extends SubResource { - availabilityZones?: string[]; - capacityReservationGroupID?: string; +export type AgentPool = SubResource & { count?: number; - creationData?: CreationData; - readonly currentOrchestratorVersion?: string; - enableAutoScaling?: boolean; - enableCustomCATrust?: boolean; - enableEncryptionAtHost?: boolean; - enableFips?: boolean; - enableNodePublicIP?: boolean; - enableUltraSSD?: boolean; - gpuInstanceProfile?: GPUInstanceProfile; - hostGroupID?: string; - kubeletConfig?: KubeletConfig; + vmSize?: string; + osDiskSizeGB?: number; + osDiskType?: OSDiskType; kubeletDiskType?: KubeletDiskType; - linuxOSConfig?: LinuxOSConfig; - maxCount?: number; - maxPods?: number; + workloadRuntime?: WorkloadRuntime; messageOfTheDay?: string; + vnetSubnetID?: string; + podSubnetID?: string; + maxPods?: number; + osType?: OSType; + osSKU?: Ossku; + maxCount?: number; minCount?: number; + enableAutoScaling?: boolean; + scaleDownMode?: ScaleDownMode; + typePropertiesType?: AgentPoolType; mode?: AgentPoolMode; - readonly nodeImageVersion?: string; - nodeLabels?: { - [propertyName: string]: string; - }; - nodePublicIPPrefixID?: string; - nodeTaints?: string[]; orchestratorVersion?: string; - osDiskSizeGB?: number; - osDiskType?: OSDiskType; - osSKU?: Ossku; - osType?: OSType; - podSubnetID?: string; - powerState?: PowerState; + readonly currentOrchestratorVersion?: string; + readonly nodeImageVersion?: string; + upgradeSettings?: AgentPoolUpgradeSettings; readonly provisioningState?: string; - proximityPlacementGroupID?: string; - scaleDownMode?: ScaleDownMode; - scaleSetEvictionPolicy?: ScaleSetEvictionPolicy; + powerState?: PowerState; + availabilityZones?: string[]; + enableNodePublicIP?: boolean; + enableCustomCATrust?: boolean; + nodePublicIPPrefixID?: string; scaleSetPriority?: ScaleSetPriority; + scaleSetEvictionPolicy?: ScaleSetEvictionPolicy; spotMaxPrice?: number; tags?: { [propertyName: string]: string; }; - typePropertiesType?: AgentPoolType; - upgradeSettings?: AgentPoolUpgradeSettings; - vmSize?: string; - vnetSubnetID?: string; - workloadRuntime?: WorkloadRuntime; -} + nodeLabels?: { + [propertyName: string]: string; + }; + nodeTaints?: string[]; + proximityPlacementGroupID?: string; + kubeletConfig?: KubeletConfig; + linuxOSConfig?: LinuxOSConfig; + enableEncryptionAtHost?: boolean; + enableUltraSSD?: boolean; + enableFips?: boolean; + gpuInstanceProfile?: GPUInstanceProfile; + creationData?: CreationData; + capacityReservationGroupID?: string; + hostGroupID?: string; +}; // @public export interface AgentPoolAvailableVersions { @@ -188,9 +188,9 @@ export interface AgentPoolUpgradeSettings { } // @public -export interface AzureEntityResource extends Resource { +export type AzureEntityResource = Resource & { readonly etag?: string; -} +}; // @public export interface AzureKeyVaultKms { @@ -327,6 +327,9 @@ export interface ContainerServiceVMDiagnostics { // @public export type ContainerServiceVMSizeTypes = string; +// @public +export type ControlledValues = string; + // @public export type Count = 1 | 3 | 5; @@ -396,11 +399,11 @@ export interface ExtendedLocation { export type ExtendedLocationTypes = string; // @public -export interface Fleet extends TrackedResource { +export type Fleet = TrackedResource & { readonly etag?: string; hubProfile?: FleetHubProfile; readonly provisioningState?: FleetProvisioningState; -} +}; // @public export interface FleetCredentialResult { @@ -427,10 +430,10 @@ export interface FleetListResult { } // @public -export interface FleetMember extends AzureEntityResource { +export type FleetMember = AzureEntityResource & { clusterResourceId?: string; readonly provisioningState?: FleetMemberProvisioningState; -} +}; // @public export type FleetMemberProvisioningState = string; @@ -614,201 +617,391 @@ export enum KnownCode { // @public export enum KnownConnectionStatus { + // (undocumented) Approved = "Approved", + // (undocumented) Disconnected = "Disconnected", + // (undocumented) Pending = "Pending", + // (undocumented) Rejected = "Rejected" } // @public export enum KnownContainerServiceStorageProfileTypes { + // (undocumented) ManagedDisks = "ManagedDisks", + // (undocumented) StorageAccount = "StorageAccount" } // @public export enum KnownContainerServiceVMSizeTypes { + // (undocumented) StandardA1 = "Standard_A1", + // (undocumented) StandardA10 = "Standard_A10", + // (undocumented) StandardA11 = "Standard_A11", + // (undocumented) StandardA1V2 = "Standard_A1_v2", + // (undocumented) StandardA2 = "Standard_A2", + // (undocumented) StandardA2MV2 = "Standard_A2m_v2", + // (undocumented) StandardA2V2 = "Standard_A2_v2", + // (undocumented) StandardA3 = "Standard_A3", + // (undocumented) StandardA4 = "Standard_A4", + // (undocumented) StandardA4MV2 = "Standard_A4m_v2", + // (undocumented) StandardA4V2 = "Standard_A4_v2", + // (undocumented) StandardA5 = "Standard_A5", + // (undocumented) StandardA6 = "Standard_A6", + // (undocumented) StandardA7 = "Standard_A7", + // (undocumented) StandardA8 = "Standard_A8", + // (undocumented) StandardA8MV2 = "Standard_A8m_v2", + // (undocumented) StandardA8V2 = "Standard_A8_v2", + // (undocumented) StandardA9 = "Standard_A9", + // (undocumented) StandardB2Ms = "Standard_B2ms", + // (undocumented) StandardB2S = "Standard_B2s", + // (undocumented) StandardB4Ms = "Standard_B4ms", + // (undocumented) StandardB8Ms = "Standard_B8ms", + // (undocumented) StandardD1 = "Standard_D1", + // (undocumented) StandardD11 = "Standard_D11", + // (undocumented) StandardD11V2 = "Standard_D11_v2", + // (undocumented) StandardD11V2Promo = "Standard_D11_v2_Promo", + // (undocumented) StandardD12 = "Standard_D12", + // (undocumented) StandardD12V2 = "Standard_D12_v2", + // (undocumented) StandardD12V2Promo = "Standard_D12_v2_Promo", + // (undocumented) StandardD13 = "Standard_D13", + // (undocumented) StandardD13V2 = "Standard_D13_v2", + // (undocumented) StandardD13V2Promo = "Standard_D13_v2_Promo", + // (undocumented) StandardD14 = "Standard_D14", + // (undocumented) StandardD14V2 = "Standard_D14_v2", + // (undocumented) StandardD14V2Promo = "Standard_D14_v2_Promo", + // (undocumented) StandardD15V2 = "Standard_D15_v2", + // (undocumented) StandardD16SV3 = "Standard_D16s_v3", + // (undocumented) StandardD16V3 = "Standard_D16_v3", + // (undocumented) StandardD1V2 = "Standard_D1_v2", + // (undocumented) StandardD2 = "Standard_D2", + // (undocumented) StandardD2SV3 = "Standard_D2s_v3", + // (undocumented) StandardD2V2 = "Standard_D2_v2", + // (undocumented) StandardD2V2Promo = "Standard_D2_v2_Promo", + // (undocumented) StandardD2V3 = "Standard_D2_v3", + // (undocumented) StandardD3 = "Standard_D3", + // (undocumented) StandardD32SV3 = "Standard_D32s_v3", + // (undocumented) StandardD32V3 = "Standard_D32_v3", + // (undocumented) StandardD3V2 = "Standard_D3_v2", + // (undocumented) StandardD3V2Promo = "Standard_D3_v2_Promo", + // (undocumented) StandardD4 = "Standard_D4", + // (undocumented) StandardD4SV3 = "Standard_D4s_v3", + // (undocumented) StandardD4V2 = "Standard_D4_v2", + // (undocumented) StandardD4V2Promo = "Standard_D4_v2_Promo", + // (undocumented) StandardD4V3 = "Standard_D4_v3", + // (undocumented) StandardD5V2 = "Standard_D5_v2", + // (undocumented) StandardD5V2Promo = "Standard_D5_v2_Promo", + // (undocumented) StandardD64SV3 = "Standard_D64s_v3", + // (undocumented) StandardD64V3 = "Standard_D64_v3", + // (undocumented) StandardD8SV3 = "Standard_D8s_v3", + // (undocumented) StandardD8V3 = "Standard_D8_v3", + // (undocumented) StandardDS1 = "Standard_DS1", + // (undocumented) StandardDS11 = "Standard_DS11", + // (undocumented) StandardDS11V2 = "Standard_DS11_v2", + // (undocumented) StandardDS11V2Promo = "Standard_DS11_v2_Promo", + // (undocumented) StandardDS12 = "Standard_DS12", + // (undocumented) StandardDS12V2 = "Standard_DS12_v2", + // (undocumented) StandardDS12V2Promo = "Standard_DS12_v2_Promo", + // (undocumented) StandardDS13 = "Standard_DS13", + // (undocumented) StandardDS132V2 = "Standard_DS13-2_v2", + // (undocumented) StandardDS134V2 = "Standard_DS13-4_v2", + // (undocumented) StandardDS13V2 = "Standard_DS13_v2", + // (undocumented) StandardDS13V2Promo = "Standard_DS13_v2_Promo", + // (undocumented) StandardDS14 = "Standard_DS14", + // (undocumented) StandardDS144V2 = "Standard_DS14-4_v2", + // (undocumented) StandardDS148V2 = "Standard_DS14-8_v2", + // (undocumented) StandardDS14V2 = "Standard_DS14_v2", + // (undocumented) StandardDS14V2Promo = "Standard_DS14_v2_Promo", + // (undocumented) StandardDS15V2 = "Standard_DS15_v2", + // (undocumented) StandardDS1V2 = "Standard_DS1_v2", + // (undocumented) StandardDS2 = "Standard_DS2", + // (undocumented) StandardDS2V2 = "Standard_DS2_v2", + // (undocumented) StandardDS2V2Promo = "Standard_DS2_v2_Promo", + // (undocumented) StandardDS3 = "Standard_DS3", + // (undocumented) StandardDS3V2 = "Standard_DS3_v2", + // (undocumented) StandardDS3V2Promo = "Standard_DS3_v2_Promo", + // (undocumented) StandardDS4 = "Standard_DS4", + // (undocumented) StandardDS4V2 = "Standard_DS4_v2", + // (undocumented) StandardDS4V2Promo = "Standard_DS4_v2_Promo", + // (undocumented) StandardDS5V2 = "Standard_DS5_v2", + // (undocumented) StandardDS5V2Promo = "Standard_DS5_v2_Promo", + // (undocumented) StandardE16SV3 = "Standard_E16s_v3", + // (undocumented) StandardE16V3 = "Standard_E16_v3", + // (undocumented) StandardE2SV3 = "Standard_E2s_v3", + // (undocumented) StandardE2V3 = "Standard_E2_v3", + // (undocumented) StandardE3216SV3 = "Standard_E32-16s_v3", + // (undocumented) StandardE328SV3 = "Standard_E32-8s_v3", + // (undocumented) StandardE32SV3 = "Standard_E32s_v3", + // (undocumented) StandardE32V3 = "Standard_E32_v3", + // (undocumented) StandardE4SV3 = "Standard_E4s_v3", + // (undocumented) StandardE4V3 = "Standard_E4_v3", + // (undocumented) StandardE6416SV3 = "Standard_E64-16s_v3", + // (undocumented) StandardE6432SV3 = "Standard_E64-32s_v3", + // (undocumented) StandardE64SV3 = "Standard_E64s_v3", + // (undocumented) StandardE64V3 = "Standard_E64_v3", + // (undocumented) StandardE8SV3 = "Standard_E8s_v3", + // (undocumented) StandardE8V3 = "Standard_E8_v3", + // (undocumented) StandardF1 = "Standard_F1", + // (undocumented) StandardF16 = "Standard_F16", + // (undocumented) StandardF16S = "Standard_F16s", + // (undocumented) StandardF16SV2 = "Standard_F16s_v2", + // (undocumented) StandardF1S = "Standard_F1s", + // (undocumented) StandardF2 = "Standard_F2", + // (undocumented) StandardF2S = "Standard_F2s", + // (undocumented) StandardF2SV2 = "Standard_F2s_v2", + // (undocumented) StandardF32SV2 = "Standard_F32s_v2", + // (undocumented) StandardF4 = "Standard_F4", + // (undocumented) StandardF4S = "Standard_F4s", + // (undocumented) StandardF4SV2 = "Standard_F4s_v2", + // (undocumented) StandardF64SV2 = "Standard_F64s_v2", + // (undocumented) StandardF72SV2 = "Standard_F72s_v2", + // (undocumented) StandardF8 = "Standard_F8", + // (undocumented) StandardF8S = "Standard_F8s", + // (undocumented) StandardF8SV2 = "Standard_F8s_v2", + // (undocumented) StandardG1 = "Standard_G1", + // (undocumented) StandardG2 = "Standard_G2", + // (undocumented) StandardG3 = "Standard_G3", + // (undocumented) StandardG4 = "Standard_G4", + // (undocumented) StandardG5 = "Standard_G5", + // (undocumented) StandardGS1 = "Standard_GS1", + // (undocumented) StandardGS2 = "Standard_GS2", + // (undocumented) StandardGS3 = "Standard_GS3", + // (undocumented) StandardGS4 = "Standard_GS4", + // (undocumented) StandardGS44 = "Standard_GS4-4", + // (undocumented) StandardGS48 = "Standard_GS4-8", + // (undocumented) StandardGS5 = "Standard_GS5", + // (undocumented) StandardGS516 = "Standard_GS5-16", + // (undocumented) StandardGS58 = "Standard_GS5-8", + // (undocumented) StandardH16 = "Standard_H16", + // (undocumented) StandardH16M = "Standard_H16m", + // (undocumented) StandardH16Mr = "Standard_H16mr", + // (undocumented) StandardH16R = "Standard_H16r", + // (undocumented) StandardH8 = "Standard_H8", + // (undocumented) StandardH8M = "Standard_H8m", + // (undocumented) StandardL16S = "Standard_L16s", + // (undocumented) StandardL32S = "Standard_L32s", + // (undocumented) StandardL4S = "Standard_L4s", + // (undocumented) StandardL8S = "Standard_L8s", + // (undocumented) StandardM12832Ms = "Standard_M128-32ms", + // (undocumented) StandardM12864Ms = "Standard_M128-64ms", + // (undocumented) StandardM128Ms = "Standard_M128ms", + // (undocumented) StandardM128S = "Standard_M128s", + // (undocumented) StandardM6416Ms = "Standard_M64-16ms", + // (undocumented) StandardM6432Ms = "Standard_M64-32ms", + // (undocumented) StandardM64Ms = "Standard_M64ms", + // (undocumented) StandardM64S = "Standard_M64s", + // (undocumented) StandardNC12 = "Standard_NC12", + // (undocumented) StandardNC12SV2 = "Standard_NC12s_v2", + // (undocumented) StandardNC12SV3 = "Standard_NC12s_v3", + // (undocumented) StandardNC24 = "Standard_NC24", + // (undocumented) StandardNC24R = "Standard_NC24r", + // (undocumented) StandardNC24RsV2 = "Standard_NC24rs_v2", + // (undocumented) StandardNC24RsV3 = "Standard_NC24rs_v3", + // (undocumented) StandardNC24SV2 = "Standard_NC24s_v2", + // (undocumented) StandardNC24SV3 = "Standard_NC24s_v3", + // (undocumented) StandardNC6 = "Standard_NC6", + // (undocumented) StandardNC6SV2 = "Standard_NC6s_v2", + // (undocumented) StandardNC6SV3 = "Standard_NC6s_v3", + // (undocumented) StandardND12S = "Standard_ND12s", + // (undocumented) StandardND24Rs = "Standard_ND24rs", + // (undocumented) StandardND24S = "Standard_ND24s", + // (undocumented) StandardND6S = "Standard_ND6s", + // (undocumented) StandardNV12 = "Standard_NV12", + // (undocumented) StandardNV24 = "Standard_NV24", + // (undocumented) StandardNV6 = "Standard_NV6" } +// @public +export enum KnownControlledValues { + RequestsAndLimits = "RequestsAndLimits", + RequestsOnly = "RequestsOnly" +} + // @public export enum KnownCreatedByType { + // (undocumented) Application = "Application", + // (undocumented) Key = "Key", + // (undocumented) ManagedIdentity = "ManagedIdentity", + // (undocumented) User = "User" } @@ -822,26 +1015,39 @@ export enum KnownExpander { // @public export enum KnownExtendedLocationTypes { + // (undocumented) EdgeZone = "EdgeZone" } // @public export enum KnownFleetMemberProvisioningState { + // (undocumented) Canceled = "Canceled", + // (undocumented) Failed = "Failed", + // (undocumented) Joining = "Joining", + // (undocumented) Leaving = "Leaving", + // (undocumented) Succeeded = "Succeeded", + // (undocumented) Updating = "Updating" } // @public export enum KnownFleetProvisioningState { + // (undocumented) Canceled = "Canceled", + // (undocumented) Creating = "Creating", + // (undocumented) Deleting = "Deleting", + // (undocumented) Failed = "Failed", + // (undocumented) Succeeded = "Succeeded", + // (undocumented) Updating = "Updating" } @@ -853,22 +1059,31 @@ export enum KnownFormat { // @public export enum KnownGPUInstanceProfile { + // (undocumented) MIG1G = "MIG1g", + // (undocumented) MIG2G = "MIG2g", + // (undocumented) MIG3G = "MIG3g", + // (undocumented) MIG4G = "MIG4g", + // (undocumented) MIG7G = "MIG7g" } // @public export enum KnownIpFamily { + // (undocumented) IPv4 = "IPv4", + // (undocumented) IPv6 = "IPv6" } // @public export enum KnownKeyVaultNetworkAccessTypes { + // (undocumented) Private = "Private", + // (undocumented) Public = "Public" } @@ -892,14 +1107,19 @@ export enum KnownLoadBalancerSku { // @public export enum KnownManagedClusterPodIdentityProvisioningState { + // (undocumented) Assigned = "Assigned", + // (undocumented) Deleting = "Deleting", + // (undocumented) Failed = "Failed", + // (undocumented) Updating = "Updating" } // @public export enum KnownManagedClusterSKUName { + // (undocumented) Basic = "Basic" } @@ -941,9 +1161,13 @@ export enum KnownOSDiskType { // @public export enum KnownOssku { + // (undocumented) CBLMariner = "CBLMariner", + // (undocumented) Ubuntu = "Ubuntu", + // (undocumented) Windows2019 = "Windows2019", + // (undocumented) Windows2022 = "Windows2022" } @@ -963,15 +1187,21 @@ export enum KnownOutboundType { // @public export enum KnownPrivateEndpointConnectionProvisioningState { + // (undocumented) Creating = "Creating", + // (undocumented) Deleting = "Deleting", + // (undocumented) Failed = "Failed", + // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownPublicNetworkAccess { + // (undocumented) Disabled = "Disabled", + // (undocumented) Enabled = "Enabled" } @@ -1001,12 +1231,24 @@ export enum KnownSnapshotType { // @public export enum KnownTrustedAccessRoleBindingProvisioningState { + // (undocumented) Deleting = "Deleting", + // (undocumented) Failed = "Failed", + // (undocumented) Succeeded = "Succeeded", + // (undocumented) Updating = "Updating" } +// @public +export enum KnownUpdateMode { + Auto = "Auto", + Initial = "Initial", + Off = "Off", + Recreate = "Recreate" +} + // @public export enum KnownUpgradeChannel { NodeImage = "node-image", @@ -1018,12 +1260,19 @@ export enum KnownUpgradeChannel { // @public export enum KnownWeekDay { + // (undocumented) Friday = "Friday", + // (undocumented) Monday = "Monday", + // (undocumented) Saturday = "Saturday", + // (undocumented) Sunday = "Sunday", + // (undocumented) Thursday = "Thursday", + // (undocumented) Tuesday = "Tuesday", + // (undocumented) Wednesday = "Wednesday" } @@ -1066,11 +1315,11 @@ export interface LinuxOSConfig { export type LoadBalancerSku = string; // @public -export interface MaintenanceConfiguration extends SubResource { - notAllowedTime?: TimeSpan[]; +export type MaintenanceConfiguration = SubResource & { readonly systemData?: SystemData; timeInWeek?: TimeInWeek[]; -} + notAllowedTime?: TimeSpan[]; +}; // @public export interface MaintenanceConfigurationListResult { @@ -1119,52 +1368,52 @@ export interface MaintenanceConfigurationsListByManagedClusterOptionalParams ext export type MaintenanceConfigurationsListByManagedClusterResponse = MaintenanceConfigurationListResult; // @public -export interface ManagedCluster extends TrackedResource { - aadProfile?: ManagedClusterAADProfile; +export type ManagedCluster = TrackedResource & { + sku?: ManagedClusterSKU; + extendedLocation?: ExtendedLocation; + identity?: ManagedClusterIdentity; + readonly provisioningState?: string; + readonly powerState?: PowerState; + creationData?: CreationData; + readonly maxAgentPools?: number; + kubernetesVersion?: string; + readonly currentKubernetesVersion?: string; + dnsPrefix?: string; + fqdnSubdomain?: string; + readonly fqdn?: string; + readonly privateFqdn?: string; + readonly azurePortalFqdn?: string; + agentPoolProfiles?: ManagedClusterAgentPoolProfile[]; + linuxProfile?: ContainerServiceLinuxProfile; + windowsProfile?: ManagedClusterWindowsProfile; + servicePrincipalProfile?: ManagedClusterServicePrincipalProfile; addonProfiles?: { [propertyName: string]: ManagedClusterAddonProfile; }; - agentPoolProfiles?: ManagedClusterAgentPoolProfile[]; - apiServerAccessProfile?: ManagedClusterAPIServerAccessProfile; - autoScalerProfile?: ManagedClusterPropertiesAutoScalerProfile; + podIdentityProfile?: ManagedClusterPodIdentityProfile; + oidcIssuerProfile?: ManagedClusterOidcIssuerProfile; + nodeResourceGroup?: string; + enableRbac?: boolean; + enablePodSecurityPolicy?: boolean; + enableNamespaceResources?: boolean; + networkProfile?: ContainerServiceNetworkProfile; + aadProfile?: ManagedClusterAADProfile; autoUpgradeProfile?: ManagedClusterAutoUpgradeProfile; - readonly azurePortalFqdn?: string; - creationData?: CreationData; - readonly currentKubernetesVersion?: string; - disableLocalAccounts?: boolean; + autoScalerProfile?: ManagedClusterPropertiesAutoScalerProfile; + apiServerAccessProfile?: ManagedClusterAPIServerAccessProfile; diskEncryptionSetID?: string; - dnsPrefix?: string; - enableNamespaceResources?: boolean; - enablePodSecurityPolicy?: boolean; - enableRbac?: boolean; - extendedLocation?: ExtendedLocation; - readonly fqdn?: string; - fqdnSubdomain?: string; - httpProxyConfig?: ManagedClusterHttpProxyConfig; - identity?: ManagedClusterIdentity; identityProfile?: { [propertyName: string]: UserAssignedIdentity; }; - ingressProfile?: ManagedClusterIngressProfile; - kubernetesVersion?: string; - linuxProfile?: ContainerServiceLinuxProfile; - readonly maxAgentPools?: number; - networkProfile?: ContainerServiceNetworkProfile; - nodeResourceGroup?: string; - oidcIssuerProfile?: ManagedClusterOidcIssuerProfile; - podIdentityProfile?: ManagedClusterPodIdentityProfile; - readonly powerState?: PowerState; - readonly privateFqdn?: string; privateLinkResources?: PrivateLinkResource[]; - readonly provisioningState?: string; - publicNetworkAccess?: PublicNetworkAccess; + disableLocalAccounts?: boolean; + httpProxyConfig?: ManagedClusterHttpProxyConfig; securityProfile?: ManagedClusterSecurityProfile; - servicePrincipalProfile?: ManagedClusterServicePrincipalProfile; - sku?: ManagedClusterSKU; storageProfile?: ManagedClusterStorageProfile; - windowsProfile?: ManagedClusterWindowsProfile; + ingressProfile?: ManagedClusterIngressProfile; + publicNetworkAccess?: PublicNetworkAccess; workloadAutoScalerProfile?: ManagedClusterWorkloadAutoScalerProfile; -} +}; // @public export interface ManagedClusterAADProfile { @@ -1178,9 +1427,9 @@ export interface ManagedClusterAADProfile { } // @public -export interface ManagedClusterAccessProfile extends TrackedResource { +export type ManagedClusterAccessProfile = TrackedResource & { kubeConfig?: Uint8Array; -} +}; // @public export interface ManagedClusterAddonProfile { @@ -1192,13 +1441,12 @@ export interface ManagedClusterAddonProfile { } // @public -export interface ManagedClusterAddonProfileIdentity extends UserAssignedIdentity { -} +export type ManagedClusterAddonProfileIdentity = UserAssignedIdentity & {}; // @public -export interface ManagedClusterAgentPoolProfile extends ManagedClusterAgentPoolProfileProperties { +export type ManagedClusterAgentPoolProfile = ManagedClusterAgentPoolProfileProperties & { name: string; -} +}; // @public export interface ManagedClusterAgentPoolProfileProperties { @@ -1642,11 +1890,11 @@ export type ManagedClustersListOutboundNetworkDependenciesEndpointsResponse = Ou export type ManagedClustersListResponse = ManagedClusterListResult; // @public -export interface ManagedClusterSnapshot extends TrackedResource { +export type ManagedClusterSnapshot = TrackedResource & { creationData?: CreationData; - readonly managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshot; snapshotType?: SnapshotType; -} + readonly managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshot; +}; // @public export interface ManagedClusterSnapshotListResult { @@ -1821,6 +2069,8 @@ export interface ManagedClusterWindowsProfile { // @public export interface ManagedClusterWorkloadAutoScalerProfile { keda?: ManagedClusterWorkloadAutoScalerProfileKeda; + // (undocumented) + verticalPodAutoscaler?: ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler; } // @public @@ -1828,6 +2078,13 @@ export interface ManagedClusterWorkloadAutoScalerProfileKeda { enabled: boolean; } +// @public (undocumented) +export interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler { + controlledValues: ControlledValues; + enabled: boolean; + updateMode: UpdateMode; +} + // @public (undocumented) export interface ManagedServiceIdentityUserAssignedIdentitiesValue { readonly clientId?: string; @@ -2076,16 +2333,16 @@ export type ScaleSetEvictionPolicy = string; export type ScaleSetPriority = string; // @public -export interface Snapshot extends TrackedResource { +export type Snapshot = TrackedResource & { creationData?: CreationData; - readonly enableFips?: boolean; + snapshotType?: SnapshotType; readonly kubernetesVersion?: string; readonly nodeImageVersion?: string; - readonly osSku?: Ossku; readonly osType?: OSType; - snapshotType?: SnapshotType; + readonly osSku?: Ossku; readonly vmSize?: string; -} + readonly enableFips?: boolean; +}; // @public export interface SnapshotListResult { @@ -2228,12 +2485,12 @@ export interface TimeSpan { } // @public -export interface TrackedResource extends Resource { - location: string; +export type TrackedResource = Resource & { tags?: { [propertyName: string]: string; }; -} + location: string; +}; // @public export interface TrustedAccessRole { @@ -2243,11 +2500,11 @@ export interface TrustedAccessRole { } // @public -export interface TrustedAccessRoleBinding extends Resource { +export type TrustedAccessRoleBinding = Resource & { readonly provisioningState?: TrustedAccessRoleBindingProvisioningState; - roles: string[]; sourceResourceId: string; -} + roles: string[]; +}; // @public export interface TrustedAccessRoleBindingListResult { @@ -2332,6 +2589,9 @@ export interface TrustedAccessRolesListOptionalParams extends coreClient.Operati // @public export type TrustedAccessRolesListResponse = TrustedAccessRoleListResult; +// @public +export type UpdateMode = string; + // @public export type UpgradeChannel = string; diff --git a/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts index e1a2336c67d7..6223a077e5e8 100644 --- a/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts +++ b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts @@ -78,7 +78,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-containerservice/17.1.0-beta.1`; + const packageDetails = `azsdk-js-arm-containerservice/17.1.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -98,41 +98,34 @@ export class ContainerServiceClient extends coreClient.ServiceClient { }; super(optionsWithDefaults); - let bearerTokenAuthenticationPolicyFound: boolean = false; if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); - bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( (pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName ); - } - if ( - !options || - !options.pipeline || - options.pipeline.getOrderedPolicies().length == 0 || - !bearerTokenAuthenticationPolicyFound - ) { - this.pipeline.removePolicy({ - name: coreRestPipeline.bearerTokenAuthenticationPolicyName - }); - this.pipeline.addPolicy( - coreRestPipeline.bearerTokenAuthenticationPolicy({ - credential: credentials, - scopes: `${optionsWithDefaults.credentialScopes}`, - challengeCallbacks: { - authorizeRequestOnChallenge: - coreClient.authorizeRequestOnClaimChallenge - } - }) - ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } } // Parameter assignments this.subscriptionId = subscriptionId; // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2022-06-02-preview"; + this.apiVersion = options.apiVersion || "2022-07-02-preview"; this.operations = new OperationsImpl(this); this.managedClusters = new ManagedClustersImpl(this); this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this); @@ -166,7 +159,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { if (param.length > 1) { const newParams = param[1].split("&").map((item) => { if (item.indexOf("api-version") > -1) { - return "api-version=" + apiVersion; + return item.replace(/(?<==).*$/, apiVersion); } else { return item; } diff --git a/sdk/containerservice/arm-containerservice/src/models/index.ts b/sdk/containerservice/arm-containerservice/src/models/index.ts index 78279b36753c..5dd29c9e5879 100644 --- a/sdk/containerservice/arm-containerservice/src/models/index.ts +++ b/sdk/containerservice/arm-containerservice/src/models/index.ts @@ -841,6 +841,7 @@ export interface ManagedClusterIngressProfileWebAppRouting { export interface ManagedClusterWorkloadAutoScalerProfile { /** KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ keda?: ManagedClusterWorkloadAutoScalerProfileKeda; + verticalPodAutoscaler?: ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler; } /** KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile. */ @@ -849,6 +850,15 @@ export interface ManagedClusterWorkloadAutoScalerProfileKeda { enabled: boolean; } +export interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler { + /** Whether to enable VPA. Default value is false. */ + enabled: boolean; + /** Controls which resource value autoscaler will change. Default value is RequestsAndLimits. */ + controlledValues: ControlledValues; + /** Each update mode level is a superset of the lower levels. Off = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function(this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/containerservice/arm-containerservice/tsconfig.json b/sdk/containerservice/arm-containerservice/tsconfig.json index 5bad5556bbfd..3e6ae96443f3 100644 --- a/sdk/containerservice/arm-containerservice/tsconfig.json +++ b/sdk/containerservice/arm-containerservice/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-containerservice": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"