@azure/arm-containerservice 22.0.0 → 22.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/CHANGELOG.md +295 -0
  2. package/README.md +1 -1
  3. package/dist/browser/containerServiceClient.js +2 -2
  4. package/dist/browser/containerServiceClient.js.map +1 -1
  5. package/dist/browser/models/index.d.ts +105 -4
  6. package/dist/browser/models/index.d.ts.map +1 -1
  7. package/dist/browser/models/index.js +12 -0
  8. package/dist/browser/models/index.js.map +1 -1
  9. package/dist/browser/models/mappers.d.ts +8 -0
  10. package/dist/browser/models/mappers.d.ts.map +1 -1
  11. package/dist/browser/models/mappers.js +236 -1
  12. package/dist/browser/models/mappers.js.map +1 -1
  13. package/dist/browser/models/parameters.js +1 -1
  14. package/dist/browser/models/parameters.js.map +1 -1
  15. package/dist/commonjs/containerServiceClient.js +2 -2
  16. package/dist/commonjs/containerServiceClient.js.map +1 -1
  17. package/dist/commonjs/models/index.d.ts +105 -4
  18. package/dist/commonjs/models/index.d.ts.map +1 -1
  19. package/dist/commonjs/models/index.js +13 -1
  20. package/dist/commonjs/models/index.js.map +1 -1
  21. package/dist/commonjs/models/mappers.d.ts +8 -0
  22. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  23. package/dist/commonjs/models/mappers.js +240 -5
  24. package/dist/commonjs/models/mappers.js.map +1 -1
  25. package/dist/commonjs/models/parameters.js +1 -1
  26. package/dist/commonjs/models/parameters.js.map +1 -1
  27. package/dist/esm/containerServiceClient.js +2 -2
  28. package/dist/esm/containerServiceClient.js.map +1 -1
  29. package/dist/esm/models/index.d.ts +105 -4
  30. package/dist/esm/models/index.d.ts.map +1 -1
  31. package/dist/esm/models/index.js +12 -0
  32. package/dist/esm/models/index.js.map +1 -1
  33. package/dist/esm/models/mappers.d.ts +8 -0
  34. package/dist/esm/models/mappers.d.ts.map +1 -1
  35. package/dist/esm/models/mappers.js +236 -1
  36. package/dist/esm/models/mappers.js.map +1 -1
  37. package/dist/esm/models/parameters.js +1 -1
  38. package/dist/esm/models/parameters.js.map +1 -1
  39. package/dist/react-native/containerServiceClient.js +2 -2
  40. package/dist/react-native/containerServiceClient.js.map +1 -1
  41. package/dist/react-native/models/index.d.ts +105 -4
  42. package/dist/react-native/models/index.d.ts.map +1 -1
  43. package/dist/react-native/models/index.js +12 -0
  44. package/dist/react-native/models/index.js.map +1 -1
  45. package/dist/react-native/models/mappers.d.ts +8 -0
  46. package/dist/react-native/models/mappers.d.ts.map +1 -1
  47. package/dist/react-native/models/mappers.js +236 -1
  48. package/dist/react-native/models/mappers.js.map +1 -1
  49. package/dist/react-native/models/parameters.js +1 -1
  50. package/dist/react-native/models/parameters.js.map +1 -1
  51. package/package.json +3 -3
  52. package/review/arm-containerservice.api.md +66 -0
@@ -31,7 +31,7 @@ export const $host = {
31
31
  export const apiVersion = {
32
32
  parameterPath: "apiVersion",
33
33
  mapper: {
34
- defaultValue: "2025-03-01",
34
+ defaultValue: "2025-04-01",
35
35
  isConstant: true,
36
36
  serializedName: "api-version",
37
37
  type: {
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,cAAc,IAAI,oBAAoB,EACtC,UAAU,IAAI,gBAAgB,EAC9B,qCAAqC,IAAI,2CAA2C,EACpF,wBAAwB,IAAI,8BAA8B,EAC1D,iBAAiB,IAAI,uBAAuB,EAC5C,wBAAwB,IAAI,8BAA8B,EAC1D,SAAS,IAAI,eAAe,EAC5B,gCAAgC,IAAI,sCAAsC,EAC1E,yBAAyB,IAAI,+BAA+B,EAC5D,mBAAmB,IAAI,yBAAyB,EAChD,QAAQ,IAAI,cAAc,EAC1B,wBAAwB,IAAI,8BAA8B,GAC3D,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB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AAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ManagedCluster as ManagedClusterMapper,\n TagsObject as TagsObjectMapper,\n ManagedClusterServicePrincipalProfile as ManagedClusterServicePrincipalProfileMapper,\n ManagedClusterAADProfile as ManagedClusterAADProfileMapper,\n RunCommandRequest as RunCommandRequestMapper,\n MaintenanceConfiguration as MaintenanceConfigurationMapper,\n AgentPool as AgentPoolMapper,\n AgentPoolDeleteMachinesParameter as AgentPoolDeleteMachinesParameterMapper,\n PrivateEndpointConnection as PrivateEndpointConnectionMapper,\n PrivateLinkResource as PrivateLinkResourceMapper,\n Snapshot as SnapshotMapper,\n TrustedAccessRoleBinding as TrustedAccessRoleBindingMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-03-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\",\n ),\n MaxLength: 63,\n MinLength: 1,\n },\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const roleName: OperationURLParameter = {\n parameterPath: \"roleName\",\n mapper: {\n serializedName: \"roleName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const serverFqdn: OperationQueryParameter = {\n parameterPath: [\"options\", \"serverFqdn\"],\n mapper: {\n serializedName: \"server-fqdn\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const format: OperationQueryParameter = {\n parameterPath: [\"options\", \"format\"],\n mapper: {\n serializedName: \"format\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterMapper,\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsObjectMapper,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterServicePrincipalProfileMapper,\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterAADProfileMapper,\n};\n\nexport const requestPayload: OperationParameter = {\n parameterPath: \"requestPayload\",\n mapper: RunCommandRequestMapper,\n};\n\nexport const commandId: OperationURLParameter = {\n parameterPath: \"commandId\",\n mapper: {\n serializedName: \"commandId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const mode: OperationURLParameter = {\n parameterPath: \"mode\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\",\n ),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"mode\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const configName: OperationURLParameter = {\n parameterPath: \"configName\",\n mapper: {\n serializedName: \"configName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MaintenanceConfigurationMapper,\n};\n\nexport const agentPoolName: OperationURLParameter = {\n parameterPath: \"agentPoolName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]{0,11}$\"),\n MaxLength: 12,\n MinLength: 1,\n },\n serializedName: \"agentPoolName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: AgentPoolMapper,\n};\n\nexport const ignorePodDisruptionBudget: OperationQueryParameter = {\n parameterPath: [\"options\", \"ignorePodDisruptionBudget\"],\n mapper: {\n serializedName: \"ignore-pod-disruption-budget\",\n type: {\n name: \"Boolean\",\n },\n },\n};\n\nexport const machines: OperationParameter = {\n parameterPath: \"machines\",\n mapper: AgentPoolDeleteMachinesParameterMapper,\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateEndpointConnectionMapper,\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateLinkResourceMapper,\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: SnapshotMapper,\n};\n\nexport const trustedAccessRoleBindingName: OperationURLParameter = {\n parameterPath: \"trustedAccessRoleBindingName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^([A-Za-z0-9-])+$\"),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"trustedAccessRoleBindingName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const trustedAccessRoleBinding: OperationParameter = {\n parameterPath: \"trustedAccessRoleBinding\",\n mapper: TrustedAccessRoleBindingMapper,\n};\n\nexport const machineName: OperationURLParameter = {\n parameterPath: \"machineName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9][-_a-zA-Z0-9]{0,39}$\"),\n },\n serializedName: \"machineName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,cAAc,IAAI,oBAAoB,EACtC,UAAU,IAAI,gBAAgB,EAC9B,qCAAqC,IAAI,2CAA2C,EACpF,wBAAwB,IAAI,8BAA8B,EAC1D,iBAAiB,IAAI,uBAAuB,EAC5C,wBAAwB,IAAI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AM,wBAAwB,GAAuB;IAC1D,aAAa,EAAE,0BAA0B;IACzC,MAAM,EAAE,8BAA8B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,kCAAkC,CAAC;SACxD;QACD,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ManagedCluster as ManagedClusterMapper,\n TagsObject as TagsObjectMapper,\n ManagedClusterServicePrincipalProfile as ManagedClusterServicePrincipalProfileMapper,\n ManagedClusterAADProfile as ManagedClusterAADProfileMapper,\n RunCommandRequest as RunCommandRequestMapper,\n MaintenanceConfiguration as MaintenanceConfigurationMapper,\n AgentPool as AgentPoolMapper,\n AgentPoolDeleteMachinesParameter as AgentPoolDeleteMachinesParameterMapper,\n PrivateEndpointConnection as PrivateEndpointConnectionMapper,\n PrivateLinkResource as PrivateLinkResourceMapper,\n Snapshot as SnapshotMapper,\n TrustedAccessRoleBinding as TrustedAccessRoleBindingMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-04-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\",\n ),\n MaxLength: 63,\n MinLength: 1,\n },\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const roleName: OperationURLParameter = {\n parameterPath: \"roleName\",\n mapper: {\n serializedName: \"roleName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const serverFqdn: OperationQueryParameter = {\n parameterPath: [\"options\", \"serverFqdn\"],\n mapper: {\n serializedName: \"server-fqdn\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const format: OperationQueryParameter = {\n parameterPath: [\"options\", \"format\"],\n mapper: {\n serializedName: \"format\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterMapper,\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsObjectMapper,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterServicePrincipalProfileMapper,\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterAADProfileMapper,\n};\n\nexport const requestPayload: OperationParameter = {\n parameterPath: \"requestPayload\",\n mapper: RunCommandRequestMapper,\n};\n\nexport const commandId: OperationURLParameter = {\n parameterPath: \"commandId\",\n mapper: {\n serializedName: \"commandId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const mode: OperationURLParameter = {\n parameterPath: \"mode\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\",\n ),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"mode\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const configName: OperationURLParameter = {\n parameterPath: \"configName\",\n mapper: {\n serializedName: \"configName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MaintenanceConfigurationMapper,\n};\n\nexport const agentPoolName: OperationURLParameter = {\n parameterPath: \"agentPoolName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]{0,11}$\"),\n MaxLength: 12,\n MinLength: 1,\n },\n serializedName: \"agentPoolName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: AgentPoolMapper,\n};\n\nexport const ignorePodDisruptionBudget: OperationQueryParameter = {\n parameterPath: [\"options\", \"ignorePodDisruptionBudget\"],\n mapper: {\n serializedName: \"ignore-pod-disruption-budget\",\n type: {\n name: \"Boolean\",\n },\n },\n};\n\nexport const machines: OperationParameter = {\n parameterPath: \"machines\",\n mapper: AgentPoolDeleteMachinesParameterMapper,\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateEndpointConnectionMapper,\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateLinkResourceMapper,\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: SnapshotMapper,\n};\n\nexport const trustedAccessRoleBindingName: OperationURLParameter = {\n parameterPath: \"trustedAccessRoleBindingName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^([A-Za-z0-9-])+$\"),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"trustedAccessRoleBindingName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const trustedAccessRoleBinding: OperationParameter = {\n parameterPath: \"trustedAccessRoleBinding\",\n mapper: TrustedAccessRoleBindingMapper,\n};\n\nexport const machineName: OperationURLParameter = {\n parameterPath: \"machineName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9][-_a-zA-Z0-9]{0,39}$\"),\n },\n serializedName: \"machineName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
@@ -31,7 +31,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
31
31
  requestContentType: "application/json; charset=utf-8",
32
32
  credential: credentials,
33
33
  };
34
- const packageDetails = `azsdk-js-arm-containerservice/22.0.0`;
34
+ const packageDetails = `azsdk-js-arm-containerservice/22.1.0`;
35
35
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
36
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
37
  : `${packageDetails}`;
@@ -64,7 +64,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
64
64
  this.subscriptionId = subscriptionId;
65
65
  // Assigning values to Constant parameters
66
66
  this.$host = options.$host || "https://management.azure.com";
67
- this.apiVersion = options.apiVersion || "2025-03-01";
67
+ this.apiVersion = options.apiVersion || "2025-04-01";
68
68
  this.operations = new OperationsImpl(this);
69
69
  this.managedClusters = new ManagedClustersImpl(this);
70
70
  this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
@@ -1 +1 @@
1
- {"version":3,"file":"containerServiceClient.js","sourceRoot":"","sources":["../../src/containerServiceClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,6BAA6B,EAC7B,cAAc,EACd,8BAA8B,EAC9B,wBAAwB,EACxB,+BAA+B,EAC/B,aAAa,EACb,6BAA6B,EAC7B,sBAAsB,EACtB,YAAY,GACb,MAAM,uBAAuB,CAAC;AAgB/B,MAAM,OAAO,sBAAuB,SAAQ,UAAU,CAAC,aAAa;IAKlE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA8C;;QAE9C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,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sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n ManagedClustersImpl,\n MaintenanceConfigurationsImpl,\n AgentPoolsImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ResolvePrivateLinkServiceIdImpl,\n SnapshotsImpl,\n TrustedAccessRoleBindingsImpl,\n TrustedAccessRolesImpl,\n MachinesImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n ManagedClusters,\n MaintenanceConfigurations,\n AgentPools,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ResolvePrivateLinkServiceId,\n Snapshots,\n TrustedAccessRoleBindings,\n TrustedAccessRoles,\n Machines,\n} from \"./operationsInterfaces/index.js\";\nimport type { ContainerServiceClientOptionalParams } from \"./models/index.js\";\n\nexport class ContainerServiceClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ContainerServiceClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ContainerServiceClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ContainerServiceClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-containerservice/22.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-03-01\";\n this.operations = new OperationsImpl(this);\n this.managedClusters = new ManagedClustersImpl(this);\n this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);\n this.agentPools = new AgentPoolsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.resolvePrivateLinkServiceId = new ResolvePrivateLinkServiceIdImpl(\n this,\n );\n this.snapshots = new SnapshotsImpl(this);\n this.trustedAccessRoleBindings = new TrustedAccessRoleBindingsImpl(this);\n this.trustedAccessRoles = new TrustedAccessRolesImpl(this);\n this.machines = new MachinesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n managedClusters: ManagedClusters;\n maintenanceConfigurations: MaintenanceConfigurations;\n agentPools: AgentPools;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n resolvePrivateLinkServiceId: ResolvePrivateLinkServiceId;\n snapshots: Snapshots;\n trustedAccessRoleBindings: TrustedAccessRoleBindings;\n trustedAccessRoles: TrustedAccessRoles;\n machines: Machines;\n}\n"]}
1
+ {"version":3,"file":"containerServiceClient.js","sourceRoot":"","sources":["../../src/containerServiceClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,6BAA6B,EAC7B,cAAc,EACd,8BAA8B,EAC9B,wBAAwB,EACxB,+BAA+B,EAC/B,aAAa,EACb,6BAA6B,EAC7B,sBAAsB,EACtB,YAAY,GACb,MAAM,uBAAuB,CAAC;A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G,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAaF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n ManagedClustersImpl,\n MaintenanceConfigurationsImpl,\n AgentPoolsImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ResolvePrivateLinkServiceIdImpl,\n SnapshotsImpl,\n TrustedAccessRoleBindingsImpl,\n TrustedAccessRolesImpl,\n MachinesImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n ManagedClusters,\n MaintenanceConfigurations,\n AgentPools,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ResolvePrivateLinkServiceId,\n Snapshots,\n TrustedAccessRoleBindings,\n TrustedAccessRoles,\n Machines,\n} from \"./operationsInterfaces/index.js\";\nimport type { ContainerServiceClientOptionalParams } from \"./models/index.js\";\n\nexport class ContainerServiceClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ContainerServiceClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ContainerServiceClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ContainerServiceClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-containerservice/22.1.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-04-01\";\n this.operations = new OperationsImpl(this);\n this.managedClusters = new ManagedClustersImpl(this);\n this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);\n this.agentPools = new AgentPoolsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.resolvePrivateLinkServiceId = new ResolvePrivateLinkServiceIdImpl(\n this,\n );\n this.snapshots = new SnapshotsImpl(this);\n this.trustedAccessRoleBindings = new TrustedAccessRoleBindingsImpl(this);\n this.trustedAccessRoles = new TrustedAccessRolesImpl(this);\n this.machines = new MachinesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n managedClusters: ManagedClusters;\n maintenanceConfigurations: MaintenanceConfigurations;\n agentPools: AgentPools;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n resolvePrivateLinkServiceId: ResolvePrivateLinkServiceId;\n snapshots: Snapshots;\n trustedAccessRoleBindings: TrustedAccessRoleBindings;\n trustedAccessRoles: TrustedAccessRoles;\n machines: Machines;\n}\n"]}
@@ -185,6 +185,8 @@ export interface ManagedClusterAgentPoolProfileProperties {
185
185
  vnetSubnetID?: string;
186
186
  /** If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */
187
187
  podSubnetID?: string;
188
+ /** The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'. */
189
+ podIPAllocationMode?: PodIPAllocationMode;
188
190
  /** The maximum number of pods that can run on a node. */
189
191
  maxPods?: number;
190
192
  /** The operating system type. The default is Linux. */
@@ -274,6 +276,14 @@ export interface ManagedClusterAgentPoolProfileProperties {
274
276
  securityProfile?: AgentPoolSecurityProfile;
275
277
  /** GPU settings for the Agent Pool. */
276
278
  gpuProfile?: GPUProfile;
279
+ /** Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway. */
280
+ gatewayProfile?: AgentPoolGatewayProfile;
281
+ /** Specifications on VirtualMachines agent pool. */
282
+ virtualMachinesProfile?: VirtualMachinesProfile;
283
+ /** The status of nodes in a VirtualMachines agent pool. */
284
+ virtualMachineNodesStatus?: VirtualMachineNodes[];
285
+ /** Contains read-only information about the Agent Pool. */
286
+ status?: AgentPoolStatus;
277
287
  }
278
288
  /** Settings for upgrading an agentpool */
279
289
  export interface AgentPoolUpgradeSettings {
@@ -430,6 +440,43 @@ export interface GPUProfile {
430
440
  /** Whether to install GPU drivers. When it's not specified, default is Install. */
431
441
  driver?: GPUDriver;
432
442
  }
443
+ /** Profile of the managed cluster gateway agent pool. */
444
+ export interface AgentPoolGatewayProfile {
445
+ /** The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31. */
446
+ publicIPPrefixSize?: number;
447
+ }
448
+ /** Specifications on VirtualMachines agent pool. */
449
+ export interface VirtualMachinesProfile {
450
+ /** Specifications on how to scale a VirtualMachines agent pool. */
451
+ scale?: ScaleProfile;
452
+ }
453
+ /** Specifications on how to scale a VirtualMachines agent pool. */
454
+ export interface ScaleProfile {
455
+ /** Specifications on how to scale the VirtualMachines agent pool to a fixed size. */
456
+ manual?: ManualScaleProfile[];
457
+ }
458
+ /** Specifications on number of machines. */
459
+ export interface ManualScaleProfile {
460
+ /** VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'. */
461
+ size?: string;
462
+ /** Number of nodes. */
463
+ count?: number;
464
+ }
465
+ /** Current status on a group of nodes of the same vm size. */
466
+ export interface VirtualMachineNodes {
467
+ /** The VM size of the agents used to host this group of nodes. */
468
+ size?: string;
469
+ /** Number of nodes. */
470
+ count?: number;
471
+ }
472
+ /** Contains read-only information about the Agent Pool. */
473
+ export interface AgentPoolStatus {
474
+ /**
475
+ * Preserves the detailed info of failure. If there was no error, this field is omitted.
476
+ * NOTE: This property will not be serialized. It can only be populated by the server.
477
+ */
478
+ readonly provisioningError?: CloudErrorBody;
479
+ }
433
480
  /** Profile for Linux VMs in the container service cluster. */
434
481
  export interface ContainerServiceLinuxProfile {
435
482
  /** The administrator username to use for Linux VMs. */
@@ -602,6 +649,8 @@ export interface ContainerServiceNetworkProfile {
602
649
  loadBalancerProfile?: ManagedClusterLoadBalancerProfile;
603
650
  /** Profile of the cluster NAT gateway. */
604
651
  natGatewayProfile?: ManagedClusterNATGatewayProfile;
652
+ /** The profile for Static Egress Gateway addon. For more details about Static Egress Gateway, see https://aka.ms/aks/static-egress-gateway. */
653
+ staticEgressGatewayProfile?: ManagedClusterStaticEgressGatewayProfile;
605
654
  /** One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. */
606
655
  podCidrs?: string[];
607
656
  /** One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges. */
@@ -689,6 +738,11 @@ export interface ManagedClusterManagedOutboundIPProfile {
689
738
  /** The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1. */
690
739
  count?: number;
691
740
  }
741
+ /** The Static Egress Gateway addon configuration for the cluster. */
742
+ export interface ManagedClusterStaticEgressGatewayProfile {
743
+ /** Indicates if Static Egress Gateway addon is enabled or not. */
744
+ enabled?: boolean;
745
+ }
692
746
  /** For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). */
693
747
  export interface ManagedClusterAADProfile {
694
748
  /** Whether to enable managed AAD. */
@@ -1022,6 +1076,14 @@ export interface ManagedClusterBootstrapProfile {
1022
1076
  /** The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy. */
1023
1077
  containerRegistryId?: string;
1024
1078
  }
1079
+ /** Contains read-only information about the Managed Cluster. */
1080
+ export interface ManagedClusterStatus {
1081
+ /**
1082
+ * Preserves the detailed info of failure. If there was no error, this field is omitted.
1083
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1084
+ */
1085
+ readonly provisioningError?: CloudErrorBody;
1086
+ }
1025
1087
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
1026
1088
  export interface Resource {
1027
1089
  /**
@@ -1716,6 +1778,8 @@ export interface AgentPool extends SubResource {
1716
1778
  vnetSubnetID?: string;
1717
1779
  /** If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */
1718
1780
  podSubnetID?: string;
1781
+ /** The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'. */
1782
+ podIPAllocationMode?: PodIPAllocationMode;
1719
1783
  /** The maximum number of pods that can run on a node. */
1720
1784
  maxPods?: number;
1721
1785
  /** The operating system type. The default is Linux. */
@@ -1805,9 +1869,22 @@ export interface AgentPool extends SubResource {
1805
1869
  securityProfile?: AgentPoolSecurityProfile;
1806
1870
  /** GPU settings for the Agent Pool. */
1807
1871
  gpuProfile?: GPUProfile;
1872
+ /** Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway. */
1873
+ gatewayProfile?: AgentPoolGatewayProfile;
1874
+ /** Specifications on VirtualMachines agent pool. */
1875
+ virtualMachinesProfile?: VirtualMachinesProfile;
1876
+ /** The status of nodes in a VirtualMachines agent pool. */
1877
+ virtualMachineNodesStatus?: VirtualMachineNodes[];
1878
+ /** Contains read-only information about the Agent Pool. */
1879
+ status?: AgentPoolStatus;
1808
1880
  }
1809
1881
  /** A machine. Contains details about the underlying virtual machine. A machine may be visible here but not in kubectl get nodes; if so it may be because the machine has not been registered with the Kubernetes API Server yet. */
1810
1882
  export interface Machine extends SubResource {
1883
+ /**
1884
+ * The Availability zone in which machine is located.
1885
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1886
+ */
1887
+ readonly zones?: string[];
1811
1888
  /**
1812
1889
  * The properties of the machine
1813
1890
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1942,6 +2019,8 @@ export interface ManagedCluster extends TrackedResource {
1942
2019
  metricsProfile?: ManagedClusterMetricsProfile;
1943
2020
  /** Profile of the cluster bootstrap configuration. */
1944
2021
  bootstrapProfile?: ManagedClusterBootstrapProfile;
2022
+ /** Contains read-only information about the Managed Cluster. */
2023
+ status?: ManagedClusterStatus;
1945
2024
  }
1946
2025
  /** Managed cluster Access Profile. */
1947
2026
  export interface ManagedClusterAccessProfile extends TrackedResource {
@@ -2198,6 +2277,22 @@ export declare enum KnownWorkloadRuntime {
2198
2277
  * **WasmWasi**: Nodes will use Krustlet to run WASM workloads using the WASI provider (Preview).
2199
2278
  */
2200
2279
  export type WorkloadRuntime = string;
2280
+ /** Known values of {@link PodIPAllocationMode} that the service accepts. */
2281
+ export declare enum KnownPodIPAllocationMode {
2282
+ /** Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size \/16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode */
2283
+ DynamicIndividual = "DynamicIndividual",
2284
+ /** Each node is statically allocated CIDR block(s) of size \/28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods \/ 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of \/15 or bigger */
2285
+ StaticBlock = "StaticBlock"
2286
+ }
2287
+ /**
2288
+ * Defines values for PodIPAllocationMode. \
2289
+ * {@link KnownPodIPAllocationMode} can be used interchangeably with PodIPAllocationMode,
2290
+ * this enum contains the known values that the service supports.
2291
+ * ### Known values supported by the service
2292
+ * **DynamicIndividual**: Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size \/16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode \
2293
+ * **StaticBlock**: Each node is statically allocated CIDR block(s) of size \/28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods \/ 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of \/15 or bigger
2294
+ */
2295
+ export type PodIPAllocationMode = string;
2201
2296
  /** Known values of {@link OSType} that the service accepts. */
2202
2297
  export declare enum KnownOSType {
2203
2298
  /** Use Linux. */
@@ -2263,7 +2358,9 @@ export declare enum KnownAgentPoolType {
2263
2358
  /** Create an Agent Pool backed by a Virtual Machine Scale Set. */
2264
2359
  VirtualMachineScaleSets = "VirtualMachineScaleSets",
2265
2360
  /** Use of this is strongly discouraged. */
2266
- AvailabilitySet = "AvailabilitySet"
2361
+ AvailabilitySet = "AvailabilitySet",
2362
+ /** Create an Agent Pool backed by a Single Instance VM orchestration mode. */
2363
+ VirtualMachines = "VirtualMachines"
2267
2364
  }
2268
2365
  /**
2269
2366
  * Defines values for AgentPoolType. \
@@ -2271,7 +2368,8 @@ export declare enum KnownAgentPoolType {
2271
2368
  * this enum contains the known values that the service supports.
2272
2369
  * ### Known values supported by the service
2273
2370
  * **VirtualMachineScaleSets**: Create an Agent Pool backed by a Virtual Machine Scale Set. \
2274
- * **AvailabilitySet**: Use of this is strongly discouraged.
2371
+ * **AvailabilitySet**: Use of this is strongly discouraged. \
2372
+ * **VirtualMachines**: Create an Agent Pool backed by a Single Instance VM orchestration mode.
2275
2373
  */
2276
2374
  export type AgentPoolType = string;
2277
2375
  /** Known values of {@link AgentPoolMode} that the service accepts. */
@@ -2279,7 +2377,9 @@ export declare enum KnownAgentPoolMode {
2279
2377
  /** System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. */
2280
2378
  System = "System",
2281
2379
  /** User agent pools are primarily for hosting your application pods. */
2282
- User = "User"
2380
+ User = "User",
2381
+ /** Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https:\//aka.ms\/aks\/static-egress-gateway. */
2382
+ Gateway = "Gateway"
2283
2383
  }
2284
2384
  /**
2285
2385
  * Defines values for AgentPoolMode. \
@@ -2287,7 +2387,8 @@ export declare enum KnownAgentPoolMode {
2287
2387
  * this enum contains the known values that the service supports.
2288
2388
  * ### Known values supported by the service
2289
2389
  * **System**: System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. \
2290
- * **User**: User agent pools are primarily for hosting your application pods.
2390
+ * **User**: User agent pools are primarily for hosting your application pods. \
2391
+ * **Gateway**: Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https:\/\/aka.ms\/aks\/static-egress-gateway.
2291
2392
  */
2292
2393
  export type AgentPoolMode = string;
2293
2394
  /** Known values of {@link UndrainableNodeBehavior} that the service accepts. */