@azure/arm-containerservice 25.0.0 → 25.1.0-beta.1
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.
- package/README.md +1 -1
- package/dist/browser/api/agentPools/index.d.ts +2 -2
- package/dist/browser/api/agentPools/index.js +1 -1
- package/dist/browser/api/agentPools/index.js.map +1 -1
- package/dist/browser/api/agentPools/operations.d.ts +5 -1
- package/dist/browser/api/agentPools/operations.js +50 -15
- package/dist/browser/api/agentPools/operations.js.map +1 -1
- package/dist/browser/api/agentPools/options.d.ts +5 -0
- package/dist/browser/api/agentPools/options.js.map +1 -1
- package/dist/browser/api/containerService/index.d.ts +3 -0
- package/dist/browser/api/containerService/index.js +4 -0
- package/dist/browser/api/containerService/index.js.map +1 -0
- package/dist/browser/api/containerService/operations.d.ts +10 -0
- package/dist/browser/api/containerService/operations.js +37 -0
- package/dist/browser/api/containerService/operations.js.map +1 -0
- package/dist/browser/api/containerService/options.d.ts +5 -0
- package/dist/browser/api/containerService/options.js +4 -0
- package/dist/browser/api/containerService/options.js.map +1 -0
- package/dist/browser/api/containerServiceContext.js +1 -1
- package/dist/browser/api/containerServiceContext.js.map +1 -1
- package/dist/browser/api/identityBindings/index.d.ts +3 -0
- package/dist/browser/api/identityBindings/index.js +4 -0
- package/dist/browser/api/identityBindings/index.js.map +1 -0
- package/dist/browser/api/identityBindings/operations.d.ts +28 -0
- package/dist/browser/api/identityBindings/operations.js +140 -0
- package/dist/browser/api/identityBindings/operations.js.map +1 -0
- package/dist/browser/api/identityBindings/options.d.ts +18 -0
- package/dist/browser/api/identityBindings/options.js +4 -0
- package/dist/browser/api/identityBindings/options.js.map +1 -0
- package/dist/browser/api/jwtAuthenticators/index.d.ts +3 -0
- package/dist/browser/api/jwtAuthenticators/index.js +4 -0
- package/dist/browser/api/jwtAuthenticators/index.js.map +1 -0
- package/dist/browser/api/jwtAuthenticators/operations.d.ts +28 -0
- package/dist/browser/api/jwtAuthenticators/operations.js +140 -0
- package/dist/browser/api/jwtAuthenticators/operations.js.map +1 -0
- package/dist/browser/api/jwtAuthenticators/options.d.ts +18 -0
- package/dist/browser/api/jwtAuthenticators/options.js +4 -0
- package/dist/browser/api/jwtAuthenticators/options.js.map +1 -0
- package/dist/browser/api/loadBalancers/index.d.ts +3 -0
- package/dist/browser/api/loadBalancers/index.js +4 -0
- package/dist/browser/api/loadBalancers/index.js.map +1 -0
- package/dist/browser/api/loadBalancers/operations.d.ts +28 -0
- package/dist/browser/api/loadBalancers/operations.js +135 -0
- package/dist/browser/api/loadBalancers/operations.js.map +1 -0
- package/dist/browser/api/loadBalancers/options.d.ts +16 -0
- package/dist/browser/api/loadBalancers/options.js +4 -0
- package/dist/browser/api/loadBalancers/options.js.map +1 -0
- package/dist/browser/api/machines/index.d.ts +2 -2
- package/dist/browser/api/machines/index.js +1 -1
- package/dist/browser/api/machines/index.js.map +1 -1
- package/dist/browser/api/machines/operations.d.ts +6 -1
- package/dist/browser/api/machines/operations.js +51 -4
- package/dist/browser/api/machines/operations.js.map +1 -1
- package/dist/browser/api/machines/options.d.ts +9 -0
- package/dist/browser/api/machines/options.js.map +1 -1
- package/dist/browser/api/maintenanceConfigurations/operations.js +9 -5
- package/dist/browser/api/maintenanceConfigurations/operations.js.map +1 -1
- package/dist/browser/api/managedClusterSnapshots/index.d.ts +3 -0
- package/dist/browser/api/managedClusterSnapshots/index.js +4 -0
- package/dist/browser/api/managedClusterSnapshots/index.js.map +1 -0
- package/dist/browser/api/managedClusterSnapshots/operations.d.ts +35 -0
- package/dist/browser/api/managedClusterSnapshots/operations.js +184 -0
- package/dist/browser/api/managedClusterSnapshots/operations.js.map +1 -0
- package/dist/browser/api/managedClusterSnapshots/options.d.ts +20 -0
- package/dist/browser/api/managedClusterSnapshots/options.js +4 -0
- package/dist/browser/api/managedClusterSnapshots/options.js.map +1 -0
- package/dist/browser/api/managedClusters/index.d.ts +2 -2
- package/dist/browser/api/managedClusters/index.js +1 -1
- package/dist/browser/api/managedClusters/index.js.map +1 -1
- package/dist/browser/api/managedClusters/operations.d.ts +22 -2
- package/dist/browser/api/managedClusters/operations.js +215 -44
- package/dist/browser/api/managedClusters/operations.js.map +1 -1
- package/dist/browser/api/managedClusters/options.d.ts +19 -0
- package/dist/browser/api/managedClusters/options.js.map +1 -1
- package/dist/browser/api/managedNamespaces/operations.js +13 -9
- package/dist/browser/api/managedNamespaces/operations.js.map +1 -1
- package/dist/browser/api/meshMemberships/index.d.ts +3 -0
- package/dist/browser/api/meshMemberships/index.js +4 -0
- package/dist/browser/api/meshMemberships/index.js.map +1 -0
- package/dist/browser/api/meshMemberships/operations.d.ts +28 -0
- package/dist/browser/api/meshMemberships/operations.js +140 -0
- package/dist/browser/api/meshMemberships/operations.js.map +1 -0
- package/dist/browser/api/meshMemberships/options.d.ts +18 -0
- package/dist/browser/api/meshMemberships/options.js +4 -0
- package/dist/browser/api/meshMemberships/options.js.map +1 -0
- package/dist/browser/api/operationStatusResult/index.d.ts +3 -0
- package/dist/browser/api/operationStatusResult/index.js +4 -0
- package/dist/browser/api/operationStatusResult/index.js.map +1 -0
- package/dist/browser/api/operationStatusResult/operations.d.ts +18 -0
- package/dist/browser/api/operationStatusResult/operations.js +97 -0
- package/dist/browser/api/operationStatusResult/operations.js.map +1 -0
- package/dist/browser/api/operationStatusResult/options.d.ts +11 -0
- package/dist/browser/api/operationStatusResult/options.js +4 -0
- package/dist/browser/api/operationStatusResult/options.js.map +1 -0
- package/dist/browser/api/operations/operations.js +6 -2
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/operations.js +5 -5
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/privateLinkResources/operations.js +1 -1
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
- package/dist/browser/api/resolvePrivateLinkServiceId/operations.js +1 -1
- package/dist/browser/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
- package/dist/browser/api/snapshots/operations.js +16 -8
- package/dist/browser/api/snapshots/operations.js.map +1 -1
- package/dist/browser/api/trustedAccessRoleBindings/operations.js +11 -7
- package/dist/browser/api/trustedAccessRoleBindings/operations.js.map +1 -1
- package/dist/browser/api/trustedAccessRoles/operations.js +6 -2
- package/dist/browser/api/trustedAccessRoles/operations.js.map +1 -1
- package/dist/browser/api/vmSkus/index.d.ts +3 -0
- package/dist/browser/api/vmSkus/index.js +4 -0
- package/dist/browser/api/vmSkus/index.js.map +1 -0
- package/dist/browser/api/vmSkus/operations.d.ts +10 -0
- package/dist/browser/api/vmSkus/operations.js +38 -0
- package/dist/browser/api/vmSkus/operations.js.map +1 -0
- package/dist/browser/api/vmSkus/options.d.ts +7 -0
- package/dist/browser/api/vmSkus/options.js +4 -0
- package/dist/browser/api/vmSkus/options.js.map +1 -0
- package/dist/browser/classic/agentPools/index.d.ts +7 -1
- package/dist/browser/classic/agentPools/index.js +10 -1
- package/dist/browser/classic/agentPools/index.js.map +1 -1
- package/dist/browser/classic/containerService/index.d.ts +11 -0
- package/dist/browser/classic/containerService/index.js +14 -0
- package/dist/browser/classic/containerService/index.js.map +1 -0
- package/dist/browser/classic/identityBindings/index.d.ts +32 -0
- package/dist/browser/classic/identityBindings/index.js +34 -0
- package/dist/browser/classic/identityBindings/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +8 -0
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/jwtAuthenticators/index.d.ts +32 -0
- package/dist/browser/classic/jwtAuthenticators/index.js +34 -0
- package/dist/browser/classic/jwtAuthenticators/index.js.map +1 -0
- package/dist/browser/classic/loadBalancers/index.d.ts +28 -0
- package/dist/browser/classic/loadBalancers/index.js +26 -0
- package/dist/browser/classic/loadBalancers/index.js.map +1 -0
- package/dist/browser/classic/machines/index.d.ts +9 -1
- package/dist/browser/classic/machines/index.js +11 -1
- package/dist/browser/classic/machines/index.js.map +1 -1
- package/dist/browser/classic/managedClusterSnapshots/index.d.ts +26 -0
- package/dist/browser/classic/managedClusterSnapshots/index.js +19 -0
- package/dist/browser/classic/managedClusterSnapshots/index.js.map +1 -0
- package/dist/browser/classic/managedClusters/index.d.ts +16 -2
- package/dist/browser/classic/managedClusters/index.js +14 -1
- package/dist/browser/classic/managedClusters/index.js.map +1 -1
- package/dist/browser/classic/meshMemberships/index.d.ts +32 -0
- package/dist/browser/classic/meshMemberships/index.js +34 -0
- package/dist/browser/classic/meshMemberships/index.js.map +1 -0
- package/dist/browser/classic/operationStatusResult/index.d.ts +15 -0
- package/dist/browser/classic/operationStatusResult/index.js +16 -0
- package/dist/browser/classic/operationStatusResult/index.js.map +1 -0
- package/dist/browser/classic/vmSkus/index.d.ts +11 -0
- package/dist/browser/classic/vmSkus/index.js +14 -0
- package/dist/browser/classic/vmSkus/index.js.map +1 -0
- package/dist/browser/containerServiceClient.d.ts +24 -0
- package/dist/browser/containerServiceClient.js +32 -0
- package/dist/browser/containerServiceClient.js.map +1 -1
- package/dist/browser/index.d.ts +14 -6
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -2
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +1611 -9
- package/dist/browser/models/models.js +1996 -8
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +35 -5
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/agentPools/index.d.ts +2 -2
- package/dist/commonjs/api/agentPools/index.js +3 -0
- package/dist/commonjs/api/agentPools/index.js.map +3 -3
- package/dist/commonjs/api/agentPools/operations.d.ts +5 -1
- package/dist/commonjs/api/agentPools/operations.js +60 -15
- package/dist/commonjs/api/agentPools/operations.js.map +3 -3
- package/dist/commonjs/api/agentPools/options.d.ts +5 -0
- package/dist/commonjs/api/agentPools/options.js +1 -0
- package/dist/commonjs/api/agentPools/options.js.map +2 -2
- package/dist/commonjs/api/containerService/index.d.ts +3 -0
- package/dist/commonjs/api/containerService/index.js +28 -0
- package/dist/commonjs/api/containerService/index.js.map +7 -0
- package/dist/commonjs/api/containerService/operations.d.ts +10 -0
- package/dist/commonjs/api/containerService/operations.js +74 -0
- package/dist/commonjs/api/containerService/operations.js.map +7 -0
- package/dist/commonjs/api/containerService/options.d.ts +5 -0
- package/dist/commonjs/api/containerService/options.js +16 -0
- package/dist/commonjs/api/containerService/options.js.map +7 -0
- package/dist/commonjs/api/containerServiceContext.js +2 -1
- package/dist/commonjs/api/containerServiceContext.js.map +2 -2
- package/dist/commonjs/api/identityBindings/index.d.ts +3 -0
- package/dist/commonjs/api/identityBindings/index.js +34 -0
- package/dist/commonjs/api/identityBindings/index.js.map +7 -0
- package/dist/commonjs/api/identityBindings/operations.d.ts +28 -0
- package/dist/commonjs/api/identityBindings/operations.js +212 -0
- package/dist/commonjs/api/identityBindings/operations.js.map +7 -0
- package/dist/commonjs/api/identityBindings/options.d.ts +18 -0
- package/dist/commonjs/api/identityBindings/options.js +16 -0
- package/dist/commonjs/api/identityBindings/options.js.map +7 -0
- package/dist/commonjs/api/index.js +1 -0
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/jwtAuthenticators/index.d.ts +3 -0
- package/dist/commonjs/api/jwtAuthenticators/index.js +34 -0
- package/dist/commonjs/api/jwtAuthenticators/index.js.map +7 -0
- package/dist/commonjs/api/jwtAuthenticators/operations.d.ts +28 -0
- package/dist/commonjs/api/jwtAuthenticators/operations.js +212 -0
- package/dist/commonjs/api/jwtAuthenticators/operations.js.map +7 -0
- package/dist/commonjs/api/jwtAuthenticators/options.d.ts +18 -0
- package/dist/commonjs/api/jwtAuthenticators/options.js +16 -0
- package/dist/commonjs/api/jwtAuthenticators/options.js.map +7 -0
- package/dist/commonjs/api/loadBalancers/index.d.ts +3 -0
- package/dist/commonjs/api/loadBalancers/index.js +34 -0
- package/dist/commonjs/api/loadBalancers/index.js.map +7 -0
- package/dist/commonjs/api/loadBalancers/operations.d.ts +28 -0
- package/dist/commonjs/api/loadBalancers/operations.js +207 -0
- package/dist/commonjs/api/loadBalancers/operations.js.map +7 -0
- package/dist/commonjs/api/loadBalancers/options.d.ts +16 -0
- package/dist/commonjs/api/loadBalancers/options.js +16 -0
- package/dist/commonjs/api/loadBalancers/options.js.map +7 -0
- package/dist/commonjs/api/machines/index.d.ts +2 -2
- package/dist/commonjs/api/machines/index.js +3 -0
- package/dist/commonjs/api/machines/index.js.map +3 -3
- package/dist/commonjs/api/machines/operations.d.ts +6 -1
- package/dist/commonjs/api/machines/operations.js +68 -3
- package/dist/commonjs/api/machines/operations.js.map +3 -3
- package/dist/commonjs/api/machines/options.d.ts +9 -0
- package/dist/commonjs/api/machines/options.js +1 -0
- package/dist/commonjs/api/machines/options.js.map +2 -2
- package/dist/commonjs/api/maintenanceConfigurations/index.js +1 -0
- package/dist/commonjs/api/maintenanceConfigurations/index.js.map +1 -1
- package/dist/commonjs/api/maintenanceConfigurations/operations.js +10 -5
- package/dist/commonjs/api/maintenanceConfigurations/operations.js.map +3 -3
- package/dist/commonjs/api/maintenanceConfigurations/options.js +1 -0
- package/dist/commonjs/api/maintenanceConfigurations/options.js.map +1 -1
- package/dist/commonjs/api/managedClusterSnapshots/index.d.ts +3 -0
- package/dist/commonjs/api/managedClusterSnapshots/index.js +38 -0
- package/dist/commonjs/api/managedClusterSnapshots/index.js.map +7 -0
- package/dist/commonjs/api/managedClusterSnapshots/operations.d.ts +35 -0
- package/dist/commonjs/api/managedClusterSnapshots/operations.js +279 -0
- package/dist/commonjs/api/managedClusterSnapshots/operations.js.map +7 -0
- package/dist/commonjs/api/managedClusterSnapshots/options.d.ts +20 -0
- package/dist/commonjs/api/managedClusterSnapshots/options.js +16 -0
- package/dist/commonjs/api/managedClusterSnapshots/options.js.map +7 -0
- package/dist/commonjs/api/managedClusters/index.d.ts +2 -2
- package/dist/commonjs/api/managedClusters/index.js +11 -0
- package/dist/commonjs/api/managedClusters/index.js.map +3 -3
- package/dist/commonjs/api/managedClusters/operations.d.ts +22 -2
- package/dist/commonjs/api/managedClusters/operations.js +277 -43
- package/dist/commonjs/api/managedClusters/operations.js.map +3 -3
- package/dist/commonjs/api/managedClusters/options.d.ts +19 -0
- package/dist/commonjs/api/managedClusters/options.js +1 -0
- package/dist/commonjs/api/managedClusters/options.js.map +2 -2
- package/dist/commonjs/api/managedNamespaces/index.js +1 -0
- package/dist/commonjs/api/managedNamespaces/index.js.map +1 -1
- package/dist/commonjs/api/managedNamespaces/operations.js +14 -9
- package/dist/commonjs/api/managedNamespaces/operations.js.map +3 -3
- package/dist/commonjs/api/managedNamespaces/options.js +1 -0
- package/dist/commonjs/api/managedNamespaces/options.js.map +1 -1
- package/dist/commonjs/api/meshMemberships/index.d.ts +3 -0
- package/dist/commonjs/api/meshMemberships/index.js +34 -0
- package/dist/commonjs/api/meshMemberships/index.js.map +7 -0
- package/dist/commonjs/api/meshMemberships/operations.d.ts +28 -0
- package/dist/commonjs/api/meshMemberships/operations.js +212 -0
- package/dist/commonjs/api/meshMemberships/operations.js.map +7 -0
- package/dist/commonjs/api/meshMemberships/options.d.ts +18 -0
- package/dist/commonjs/api/meshMemberships/options.js +16 -0
- package/dist/commonjs/api/meshMemberships/options.js.map +7 -0
- package/dist/commonjs/api/operationStatusResult/index.d.ts +3 -0
- package/dist/commonjs/api/operationStatusResult/index.js +32 -0
- package/dist/commonjs/api/operationStatusResult/index.js.map +7 -0
- package/dist/commonjs/api/operationStatusResult/operations.d.ts +18 -0
- package/dist/commonjs/api/operationStatusResult/operations.js +159 -0
- package/dist/commonjs/api/operationStatusResult/operations.js.map +7 -0
- package/dist/commonjs/api/operationStatusResult/options.d.ts +11 -0
- package/dist/commonjs/api/operationStatusResult/options.js +16 -0
- package/dist/commonjs/api/operationStatusResult/options.js.map +7 -0
- package/dist/commonjs/api/operations/index.js +1 -0
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/operations/operations.js +7 -2
- package/dist/commonjs/api/operations/operations.js.map +3 -3
- package/dist/commonjs/api/operations/options.js +1 -0
- package/dist/commonjs/api/operations/options.js.map +1 -1
- package/dist/commonjs/api/privateEndpointConnections/index.js +1 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/commonjs/api/privateEndpointConnections/operations.js +6 -5
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +2 -2
- package/dist/commonjs/api/privateEndpointConnections/options.js +1 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/commonjs/api/privateLinkResources/index.js +1 -0
- package/dist/commonjs/api/privateLinkResources/index.js.map +1 -1
- package/dist/commonjs/api/privateLinkResources/operations.js +2 -1
- package/dist/commonjs/api/privateLinkResources/operations.js.map +2 -2
- package/dist/commonjs/api/privateLinkResources/options.js +1 -0
- package/dist/commonjs/api/privateLinkResources/options.js.map +1 -1
- package/dist/commonjs/api/resolvePrivateLinkServiceId/index.js +1 -0
- package/dist/commonjs/api/resolvePrivateLinkServiceId/index.js.map +1 -1
- package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js +2 -1
- package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js.map +2 -2
- package/dist/commonjs/api/resolvePrivateLinkServiceId/options.js +1 -0
- package/dist/commonjs/api/resolvePrivateLinkServiceId/options.js.map +1 -1
- package/dist/commonjs/api/snapshots/index.js +1 -0
- package/dist/commonjs/api/snapshots/index.js.map +1 -1
- package/dist/commonjs/api/snapshots/operations.js +17 -8
- package/dist/commonjs/api/snapshots/operations.js.map +3 -3
- package/dist/commonjs/api/snapshots/options.js +1 -0
- package/dist/commonjs/api/snapshots/options.js.map +1 -1
- package/dist/commonjs/api/trustedAccessRoleBindings/index.js +1 -0
- package/dist/commonjs/api/trustedAccessRoleBindings/index.js.map +1 -1
- package/dist/commonjs/api/trustedAccessRoleBindings/operations.js +12 -7
- package/dist/commonjs/api/trustedAccessRoleBindings/operations.js.map +3 -3
- package/dist/commonjs/api/trustedAccessRoleBindings/options.js +1 -0
- package/dist/commonjs/api/trustedAccessRoleBindings/options.js.map +1 -1
- package/dist/commonjs/api/trustedAccessRoles/index.js +1 -0
- package/dist/commonjs/api/trustedAccessRoles/index.js.map +1 -1
- package/dist/commonjs/api/trustedAccessRoles/operations.js +7 -2
- package/dist/commonjs/api/trustedAccessRoles/operations.js.map +3 -3
- package/dist/commonjs/api/trustedAccessRoles/options.js +1 -0
- package/dist/commonjs/api/trustedAccessRoles/options.js.map +1 -1
- package/dist/commonjs/api/vmSkus/index.d.ts +3 -0
- package/dist/commonjs/api/vmSkus/index.js +28 -0
- package/dist/commonjs/api/vmSkus/index.js.map +7 -0
- package/dist/commonjs/api/vmSkus/operations.d.ts +10 -0
- package/dist/commonjs/api/vmSkus/operations.js +75 -0
- package/dist/commonjs/api/vmSkus/operations.js.map +7 -0
- package/dist/commonjs/api/vmSkus/options.d.ts +7 -0
- package/dist/commonjs/api/vmSkus/options.js +16 -0
- package/dist/commonjs/api/vmSkus/options.js.map +7 -0
- package/dist/commonjs/classic/agentPools/index.d.ts +7 -1
- package/dist/commonjs/classic/agentPools/index.js +22 -0
- package/dist/commonjs/classic/agentPools/index.js.map +3 -3
- package/dist/commonjs/classic/containerService/index.d.ts +11 -0
- package/dist/commonjs/classic/containerService/index.js +38 -0
- package/dist/commonjs/classic/containerService/index.js.map +7 -0
- package/dist/commonjs/classic/identityBindings/index.d.ts +32 -0
- package/dist/commonjs/classic/identityBindings/index.js +85 -0
- package/dist/commonjs/classic/identityBindings/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +8 -0
- package/dist/commonjs/classic/index.js +1 -0
- package/dist/commonjs/classic/index.js.map +2 -2
- package/dist/commonjs/classic/jwtAuthenticators/index.d.ts +32 -0
- package/dist/commonjs/classic/jwtAuthenticators/index.js +85 -0
- package/dist/commonjs/classic/jwtAuthenticators/index.js.map +7 -0
- package/dist/commonjs/classic/loadBalancers/index.d.ts +28 -0
- package/dist/commonjs/classic/loadBalancers/index.js +57 -0
- package/dist/commonjs/classic/loadBalancers/index.js.map +7 -0
- package/dist/commonjs/classic/machines/index.d.ts +9 -1
- package/dist/commonjs/classic/machines/index.js +35 -0
- package/dist/commonjs/classic/machines/index.js.map +3 -3
- package/dist/commonjs/classic/maintenanceConfigurations/index.js +1 -0
- package/dist/commonjs/classic/maintenanceConfigurations/index.js.map +1 -1
- package/dist/commonjs/classic/managedClusterSnapshots/index.d.ts +26 -0
- package/dist/commonjs/classic/managedClusterSnapshots/index.js +43 -0
- package/dist/commonjs/classic/managedClusterSnapshots/index.js.map +7 -0
- package/dist/commonjs/classic/managedClusters/index.d.ts +16 -2
- package/dist/commonjs/classic/managedClusters/index.js +26 -0
- package/dist/commonjs/classic/managedClusters/index.js.map +3 -3
- package/dist/commonjs/classic/managedNamespaces/index.js +1 -0
- package/dist/commonjs/classic/managedNamespaces/index.js.map +1 -1
- package/dist/commonjs/classic/meshMemberships/index.d.ts +32 -0
- package/dist/commonjs/classic/meshMemberships/index.js +79 -0
- package/dist/commonjs/classic/meshMemberships/index.js.map +7 -0
- package/dist/commonjs/classic/operationStatusResult/index.d.ts +15 -0
- package/dist/commonjs/classic/operationStatusResult/index.js +40 -0
- package/dist/commonjs/classic/operationStatusResult/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.js +1 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/privateEndpointConnections/index.js +1 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/commonjs/classic/privateLinkResources/index.js +1 -0
- package/dist/commonjs/classic/privateLinkResources/index.js.map +1 -1
- package/dist/commonjs/classic/resolvePrivateLinkServiceId/index.js +1 -0
- package/dist/commonjs/classic/resolvePrivateLinkServiceId/index.js.map +1 -1
- package/dist/commonjs/classic/snapshots/index.js +1 -0
- package/dist/commonjs/classic/snapshots/index.js.map +1 -1
- package/dist/commonjs/classic/trustedAccessRoleBindings/index.js +1 -0
- package/dist/commonjs/classic/trustedAccessRoleBindings/index.js.map +1 -1
- package/dist/commonjs/classic/trustedAccessRoles/index.js +1 -0
- package/dist/commonjs/classic/trustedAccessRoles/index.js.map +1 -1
- package/dist/commonjs/classic/vmSkus/index.d.ts +11 -0
- package/dist/commonjs/classic/vmSkus/index.js +38 -0
- package/dist/commonjs/classic/vmSkus/index.js.map +7 -0
- package/dist/commonjs/containerServiceClient.d.ts +24 -0
- package/dist/commonjs/containerServiceClient.js +33 -0
- package/dist/commonjs/containerServiceClient.js.map +3 -3
- package/dist/commonjs/index.d.ts +14 -6
- package/dist/commonjs/index.js +53 -0
- package/dist/commonjs/index.js.map +3 -3
- package/dist/commonjs/logger.js +1 -0
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.js +53 -0
- package/dist/commonjs/models/index.js.map +3 -3
- package/dist/commonjs/models/models.d.ts +1611 -9
- package/dist/commonjs/models/models.js +1986 -67
- package/dist/commonjs/models/models.js.map +4 -4
- package/dist/commonjs/restorePollerHelpers.js +57 -26
- package/dist/commonjs/restorePollerHelpers.js.map +4 -4
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +1 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +1 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +1 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/agentPools/index.d.ts +2 -2
- package/dist/esm/api/agentPools/index.js +4 -22
- package/dist/esm/api/agentPools/index.js.map +1 -7
- package/dist/esm/api/agentPools/operations.d.ts +5 -1
- package/dist/esm/api/agentPools/operations.js +300 -363
- package/dist/esm/api/agentPools/operations.js.map +1 -7
- package/dist/esm/api/agentPools/options.d.ts +5 -0
- package/dist/esm/api/agentPools/options.js +4 -0
- package/dist/esm/api/agentPools/options.js.map +1 -7
- package/dist/esm/api/containerService/index.d.ts +3 -0
- package/dist/esm/api/containerService/index.js +4 -0
- package/dist/esm/api/containerService/index.js.map +1 -0
- package/dist/esm/api/containerService/operations.d.ts +10 -0
- package/dist/esm/api/containerService/operations.js +37 -0
- package/dist/esm/api/containerService/operations.js.map +1 -0
- package/dist/esm/api/containerService/options.d.ts +5 -0
- package/dist/esm/api/containerService/options.js +4 -0
- package/dist/esm/api/containerService/options.js.map +1 -0
- package/dist/esm/api/containerServiceContext.js +20 -17
- package/dist/esm/api/containerServiceContext.js.map +1 -7
- package/dist/esm/api/identityBindings/index.d.ts +3 -0
- package/dist/esm/api/identityBindings/index.js +4 -0
- package/dist/esm/api/identityBindings/index.js.map +1 -0
- package/dist/esm/api/identityBindings/operations.d.ts +28 -0
- package/dist/esm/api/identityBindings/operations.js +140 -0
- package/dist/esm/api/identityBindings/operations.js.map +1 -0
- package/dist/esm/api/identityBindings/options.d.ts +18 -0
- package/dist/esm/api/identityBindings/options.js +4 -0
- package/dist/esm/api/identityBindings/options.js.map +1 -0
- package/dist/esm/api/index.js +4 -4
- package/dist/esm/api/index.js.map +1 -7
- package/dist/esm/api/jwtAuthenticators/index.d.ts +3 -0
- package/dist/esm/api/jwtAuthenticators/index.js +4 -0
- package/dist/esm/api/jwtAuthenticators/index.js.map +1 -0
- package/dist/esm/api/jwtAuthenticators/operations.d.ts +28 -0
- package/dist/esm/api/jwtAuthenticators/operations.js +140 -0
- package/dist/esm/api/jwtAuthenticators/operations.js.map +1 -0
- package/dist/esm/api/jwtAuthenticators/options.d.ts +18 -0
- package/dist/esm/api/jwtAuthenticators/options.js +4 -0
- package/dist/esm/api/jwtAuthenticators/options.js.map +1 -0
- package/dist/esm/api/loadBalancers/index.d.ts +3 -0
- package/dist/esm/api/loadBalancers/index.js +4 -0
- package/dist/esm/api/loadBalancers/index.js.map +1 -0
- package/dist/esm/api/loadBalancers/operations.d.ts +28 -0
- package/dist/esm/api/loadBalancers/operations.js +135 -0
- package/dist/esm/api/loadBalancers/operations.js.map +1 -0
- package/dist/esm/api/loadBalancers/options.d.ts +16 -0
- package/dist/esm/api/loadBalancers/options.js +4 -0
- package/dist/esm/api/loadBalancers/options.js.map +1 -0
- package/dist/esm/api/machines/index.d.ts +2 -2
- package/dist/esm/api/machines/index.js +4 -5
- package/dist/esm/api/machines/index.js.map +1 -7
- package/dist/esm/api/machines/operations.d.ts +6 -1
- package/dist/esm/api/machines/operations.js +101 -82
- package/dist/esm/api/machines/operations.js.map +1 -7
- package/dist/esm/api/machines/options.d.ts +9 -0
- package/dist/esm/api/machines/options.js +4 -0
- package/dist/esm/api/machines/options.js.map +1 -7
- package/dist/esm/api/maintenanceConfigurations/index.js +4 -7
- package/dist/esm/api/maintenanceConfigurations/index.js.map +1 -7
- package/dist/esm/api/maintenanceConfigurations/operations.js +111 -143
- package/dist/esm/api/maintenanceConfigurations/operations.js.map +1 -7
- package/dist/esm/api/maintenanceConfigurations/options.js +4 -0
- package/dist/esm/api/maintenanceConfigurations/options.js.map +1 -7
- package/dist/esm/api/managedClusterSnapshots/index.d.ts +3 -0
- package/dist/esm/api/managedClusterSnapshots/index.js +4 -0
- package/dist/esm/api/managedClusterSnapshots/index.js.map +1 -0
- package/dist/esm/api/managedClusterSnapshots/operations.d.ts +35 -0
- package/dist/esm/api/managedClusterSnapshots/operations.js +184 -0
- package/dist/esm/api/managedClusterSnapshots/operations.js.map +1 -0
- package/dist/esm/api/managedClusterSnapshots/options.d.ts +20 -0
- package/dist/esm/api/managedClusterSnapshots/options.js +4 -0
- package/dist/esm/api/managedClusterSnapshots/options.js.map +1 -0
- package/dist/esm/api/managedClusters/index.d.ts +2 -2
- package/dist/esm/api/managedClusters/index.js +4 -56
- package/dist/esm/api/managedClusters/index.js.map +1 -7
- package/dist/esm/api/managedClusters/operations.d.ts +22 -2
- package/dist/esm/api/managedClusters/operations.js +941 -1033
- package/dist/esm/api/managedClusters/operations.js.map +1 -7
- package/dist/esm/api/managedClusters/options.d.ts +19 -0
- package/dist/esm/api/managedClusters/options.js +4 -0
- package/dist/esm/api/managedClusters/options.js.map +1 -7
- package/dist/esm/api/managedNamespaces/index.js +4 -16
- package/dist/esm/api/managedNamespaces/index.js.map +1 -7
- package/dist/esm/api/managedNamespaces/operations.js +188 -253
- package/dist/esm/api/managedNamespaces/operations.js.map +1 -7
- package/dist/esm/api/managedNamespaces/options.js +4 -0
- package/dist/esm/api/managedNamespaces/options.js.map +1 -7
- package/dist/esm/api/meshMemberships/index.d.ts +3 -0
- package/dist/esm/api/meshMemberships/index.js +4 -0
- package/dist/esm/api/meshMemberships/index.js.map +1 -0
- package/dist/esm/api/meshMemberships/operations.d.ts +28 -0
- package/dist/esm/api/meshMemberships/operations.js +140 -0
- package/dist/esm/api/meshMemberships/operations.js.map +1 -0
- package/dist/esm/api/meshMemberships/options.d.ts +18 -0
- package/dist/esm/api/meshMemberships/options.js +4 -0
- package/dist/esm/api/meshMemberships/options.js.map +1 -0
- package/dist/esm/api/operationStatusResult/index.d.ts +3 -0
- package/dist/esm/api/operationStatusResult/index.js +4 -0
- package/dist/esm/api/operationStatusResult/index.js.map +1 -0
- package/dist/esm/api/operationStatusResult/operations.d.ts +18 -0
- package/dist/esm/api/operationStatusResult/operations.js +97 -0
- package/dist/esm/api/operationStatusResult/operations.js.map +1 -0
- package/dist/esm/api/operationStatusResult/options.d.ts +11 -0
- package/dist/esm/api/operationStatusResult/options.js +4 -0
- package/dist/esm/api/operationStatusResult/options.js.map +1 -0
- package/dist/esm/api/operations/index.js +4 -4
- package/dist/esm/api/operations/index.js.map +1 -7
- package/dist/esm/api/operations/operations.js +29 -39
- package/dist/esm/api/operations/operations.js.map +1 -7
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -7
- package/dist/esm/api/privateEndpointConnections/index.js +4 -7
- package/dist/esm/api/privateEndpointConnections/index.js.map +1 -7
- package/dist/esm/api/privateEndpointConnections/operations.js +113 -155
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -7
- package/dist/esm/api/privateEndpointConnections/options.js +4 -0
- package/dist/esm/api/privateEndpointConnections/options.js.map +1 -7
- package/dist/esm/api/privateLinkResources/index.js +4 -4
- package/dist/esm/api/privateLinkResources/index.js.map +1 -7
- package/dist/esm/api/privateLinkResources/operations.js +29 -37
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -7
- package/dist/esm/api/privateLinkResources/options.js +4 -0
- package/dist/esm/api/privateLinkResources/options.js.map +1 -7
- package/dist/esm/api/resolvePrivateLinkServiceId/index.js +4 -4
- package/dist/esm/api/resolvePrivateLinkServiceId/index.js.map +1 -7
- package/dist/esm/api/resolvePrivateLinkServiceId/operations.js +31 -40
- package/dist/esm/api/resolvePrivateLinkServiceId/operations.js.map +1 -7
- package/dist/esm/api/resolvePrivateLinkServiceId/options.js +4 -0
- package/dist/esm/api/resolvePrivateLinkServiceId/options.js.map +1 -7
- package/dist/esm/api/snapshots/index.js +4 -16
- package/dist/esm/api/snapshots/index.js.map +1 -7
- package/dist/esm/api/snapshots/operations.js +175 -227
- package/dist/esm/api/snapshots/operations.js.map +1 -7
- package/dist/esm/api/snapshots/options.js +4 -0
- package/dist/esm/api/snapshots/options.js.map +1 -7
- package/dist/esm/api/trustedAccessRoleBindings/index.js +4 -7
- package/dist/esm/api/trustedAccessRoleBindings/index.js.map +1 -7
- package/dist/esm/api/trustedAccessRoleBindings/operations.js +121 -159
- package/dist/esm/api/trustedAccessRoleBindings/operations.js.map +1 -7
- package/dist/esm/api/trustedAccessRoleBindings/options.js +4 -0
- package/dist/esm/api/trustedAccessRoleBindings/options.js.map +1 -7
- package/dist/esm/api/trustedAccessRoles/index.js +4 -4
- package/dist/esm/api/trustedAccessRoles/index.js.map +1 -7
- package/dist/esm/api/trustedAccessRoles/operations.js +31 -41
- package/dist/esm/api/trustedAccessRoles/operations.js.map +1 -7
- package/dist/esm/api/trustedAccessRoles/options.js +4 -0
- package/dist/esm/api/trustedAccessRoles/options.js.map +1 -7
- package/dist/esm/api/vmSkus/index.d.ts +3 -0
- package/dist/esm/api/vmSkus/index.js +4 -0
- package/dist/esm/api/vmSkus/index.js.map +1 -0
- package/dist/esm/api/vmSkus/operations.d.ts +10 -0
- package/dist/esm/api/vmSkus/operations.js +38 -0
- package/dist/esm/api/vmSkus/operations.js.map +1 -0
- package/dist/esm/api/vmSkus/options.d.ts +7 -0
- package/dist/esm/api/vmSkus/options.js +4 -0
- package/dist/esm/api/vmSkus/options.js.map +1 -0
- package/dist/esm/classic/agentPools/index.d.ts +7 -1
- package/dist/esm/classic/agentPools/index.js +68 -121
- package/dist/esm/classic/agentPools/index.js.map +1 -7
- package/dist/esm/classic/containerService/index.d.ts +11 -0
- package/dist/esm/classic/containerService/index.js +14 -0
- package/dist/esm/classic/containerService/index.js.map +1 -0
- package/dist/esm/classic/identityBindings/index.d.ts +32 -0
- package/dist/esm/classic/identityBindings/index.js +34 -0
- package/dist/esm/classic/identityBindings/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +8 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -7
- package/dist/esm/classic/jwtAuthenticators/index.d.ts +32 -0
- package/dist/esm/classic/jwtAuthenticators/index.js +34 -0
- package/dist/esm/classic/jwtAuthenticators/index.js.map +1 -0
- package/dist/esm/classic/loadBalancers/index.d.ts +28 -0
- package/dist/esm/classic/loadBalancers/index.js +26 -0
- package/dist/esm/classic/loadBalancers/index.js.map +1 -0
- package/dist/esm/classic/machines/index.d.ts +9 -1
- package/dist/esm/classic/machines/index.js +22 -12
- package/dist/esm/classic/machines/index.js.map +1 -7
- package/dist/esm/classic/maintenanceConfigurations/index.js +14 -19
- package/dist/esm/classic/maintenanceConfigurations/index.js.map +1 -7
- package/dist/esm/classic/managedClusterSnapshots/index.d.ts +26 -0
- package/dist/esm/classic/managedClusterSnapshots/index.js +19 -0
- package/dist/esm/classic/managedClusterSnapshots/index.js.map +1 -0
- package/dist/esm/classic/managedClusters/index.d.ts +16 -2
- package/dist/esm/classic/managedClusters/index.js +137 -173
- package/dist/esm/classic/managedClusters/index.js.map +1 -7
- package/dist/esm/classic/managedNamespaces/index.js +32 -66
- package/dist/esm/classic/managedNamespaces/index.js.map +1 -7
- package/dist/esm/classic/meshMemberships/index.d.ts +32 -0
- package/dist/esm/classic/meshMemberships/index.js +34 -0
- package/dist/esm/classic/meshMemberships/index.js.map +1 -0
- package/dist/esm/classic/operationStatusResult/index.d.ts +15 -0
- package/dist/esm/classic/operationStatusResult/index.js +16 -0
- package/dist/esm/classic/operationStatusResult/index.js.map +1 -0
- package/dist/esm/classic/operations/index.js +10 -10
- package/dist/esm/classic/operations/index.js.map +1 -7
- package/dist/esm/classic/privateEndpointConnections/index.js +21 -40
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -7
- package/dist/esm/classic/privateLinkResources/index.js +10 -10
- package/dist/esm/classic/privateLinkResources/index.js.map +1 -7
- package/dist/esm/classic/resolvePrivateLinkServiceId/index.js +10 -10
- package/dist/esm/classic/resolvePrivateLinkServiceId/index.js.map +1 -7
- package/dist/esm/classic/snapshots/index.js +16 -23
- package/dist/esm/classic/snapshots/index.js.map +1 -7
- package/dist/esm/classic/trustedAccessRoleBindings/index.js +30 -68
- package/dist/esm/classic/trustedAccessRoleBindings/index.js.map +1 -7
- package/dist/esm/classic/trustedAccessRoles/index.js +10 -10
- package/dist/esm/classic/trustedAccessRoles/index.js.map +1 -7
- package/dist/esm/classic/vmSkus/index.d.ts +11 -0
- package/dist/esm/classic/vmSkus/index.js +14 -0
- package/dist/esm/classic/vmSkus/index.js.map +1 -0
- package/dist/esm/containerServiceClient.d.ts +24 -0
- package/dist/esm/containerServiceClient.js +94 -59
- package/dist/esm/containerServiceClient.js.map +1 -7
- package/dist/esm/index.d.ts +14 -6
- package/dist/esm/index.js +7 -147
- package/dist/esm/index.js.map +1 -7
- package/dist/esm/logger.js +4 -4
- package/dist/esm/logger.js.map +1 -7
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +4 -142
- package/dist/esm/models/index.js.map +1 -7
- package/dist/esm/models/models.d.ts +1611 -9
- package/dist/esm/models/models.js +6770 -4137
- package/dist/esm/models/models.js.map +1 -7
- package/dist/esm/restorePollerHelpers.js +157 -140
- package/dist/esm/restorePollerHelpers.js.map +1 -7
- package/dist/esm/static-helpers/cloudSettingHelpers.js +37 -26
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/pagingHelpers.js +122 -98
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/pollingHelpers.js +86 -68
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +15 -9
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -7
- package/dist/esm/static-helpers/simplePollerHelpers.js +43 -42
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -7
- package/dist/esm/static-helpers/urlTemplate.js +169 -142
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -7
- package/dist/react-native/api/agentPools/index.d.ts +2 -2
- package/dist/react-native/api/agentPools/index.js +1 -1
- package/dist/react-native/api/agentPools/index.js.map +1 -1
- package/dist/react-native/api/agentPools/operations.d.ts +5 -1
- package/dist/react-native/api/agentPools/operations.js +50 -15
- package/dist/react-native/api/agentPools/operations.js.map +1 -1
- package/dist/react-native/api/agentPools/options.d.ts +5 -0
- package/dist/react-native/api/agentPools/options.js.map +1 -1
- package/dist/react-native/api/containerService/index.d.ts +3 -0
- package/dist/react-native/api/containerService/index.js +4 -0
- package/dist/react-native/api/containerService/index.js.map +1 -0
- package/dist/react-native/api/containerService/operations.d.ts +10 -0
- package/dist/react-native/api/containerService/operations.js +37 -0
- package/dist/react-native/api/containerService/operations.js.map +1 -0
- package/dist/react-native/api/containerService/options.d.ts +5 -0
- package/dist/react-native/api/containerService/options.js +4 -0
- package/dist/react-native/api/containerService/options.js.map +1 -0
- package/dist/react-native/api/containerServiceContext.js +1 -1
- package/dist/react-native/api/containerServiceContext.js.map +1 -1
- package/dist/react-native/api/identityBindings/index.d.ts +3 -0
- package/dist/react-native/api/identityBindings/index.js +4 -0
- package/dist/react-native/api/identityBindings/index.js.map +1 -0
- package/dist/react-native/api/identityBindings/operations.d.ts +28 -0
- package/dist/react-native/api/identityBindings/operations.js +140 -0
- package/dist/react-native/api/identityBindings/operations.js.map +1 -0
- package/dist/react-native/api/identityBindings/options.d.ts +18 -0
- package/dist/react-native/api/identityBindings/options.js +4 -0
- package/dist/react-native/api/identityBindings/options.js.map +1 -0
- package/dist/react-native/api/jwtAuthenticators/index.d.ts +3 -0
- package/dist/react-native/api/jwtAuthenticators/index.js +4 -0
- package/dist/react-native/api/jwtAuthenticators/index.js.map +1 -0
- package/dist/react-native/api/jwtAuthenticators/operations.d.ts +28 -0
- package/dist/react-native/api/jwtAuthenticators/operations.js +140 -0
- package/dist/react-native/api/jwtAuthenticators/operations.js.map +1 -0
- package/dist/react-native/api/jwtAuthenticators/options.d.ts +18 -0
- package/dist/react-native/api/jwtAuthenticators/options.js +4 -0
- package/dist/react-native/api/jwtAuthenticators/options.js.map +1 -0
- package/dist/react-native/api/loadBalancers/index.d.ts +3 -0
- package/dist/react-native/api/loadBalancers/index.js +4 -0
- package/dist/react-native/api/loadBalancers/index.js.map +1 -0
- package/dist/react-native/api/loadBalancers/operations.d.ts +28 -0
- package/dist/react-native/api/loadBalancers/operations.js +135 -0
- package/dist/react-native/api/loadBalancers/operations.js.map +1 -0
- package/dist/react-native/api/loadBalancers/options.d.ts +16 -0
- package/dist/react-native/api/loadBalancers/options.js +4 -0
- package/dist/react-native/api/loadBalancers/options.js.map +1 -0
- package/dist/react-native/api/machines/index.d.ts +2 -2
- package/dist/react-native/api/machines/index.js +1 -1
- package/dist/react-native/api/machines/index.js.map +1 -1
- package/dist/react-native/api/machines/operations.d.ts +6 -1
- package/dist/react-native/api/machines/operations.js +51 -4
- package/dist/react-native/api/machines/operations.js.map +1 -1
- package/dist/react-native/api/machines/options.d.ts +9 -0
- package/dist/react-native/api/machines/options.js.map +1 -1
- package/dist/react-native/api/maintenanceConfigurations/operations.js +9 -5
- package/dist/react-native/api/maintenanceConfigurations/operations.js.map +1 -1
- package/dist/react-native/api/managedClusterSnapshots/index.d.ts +3 -0
- package/dist/react-native/api/managedClusterSnapshots/index.js +4 -0
- package/dist/react-native/api/managedClusterSnapshots/index.js.map +1 -0
- package/dist/react-native/api/managedClusterSnapshots/operations.d.ts +35 -0
- package/dist/react-native/api/managedClusterSnapshots/operations.js +184 -0
- package/dist/react-native/api/managedClusterSnapshots/operations.js.map +1 -0
- package/dist/react-native/api/managedClusterSnapshots/options.d.ts +20 -0
- package/dist/react-native/api/managedClusterSnapshots/options.js +4 -0
- package/dist/react-native/api/managedClusterSnapshots/options.js.map +1 -0
- package/dist/react-native/api/managedClusters/index.d.ts +2 -2
- package/dist/react-native/api/managedClusters/index.js +1 -1
- package/dist/react-native/api/managedClusters/index.js.map +1 -1
- package/dist/react-native/api/managedClusters/operations.d.ts +22 -2
- package/dist/react-native/api/managedClusters/operations.js +215 -44
- package/dist/react-native/api/managedClusters/operations.js.map +1 -1
- package/dist/react-native/api/managedClusters/options.d.ts +19 -0
- package/dist/react-native/api/managedClusters/options.js.map +1 -1
- package/dist/react-native/api/managedNamespaces/operations.js +13 -9
- package/dist/react-native/api/managedNamespaces/operations.js.map +1 -1
- package/dist/react-native/api/meshMemberships/index.d.ts +3 -0
- package/dist/react-native/api/meshMemberships/index.js +4 -0
- package/dist/react-native/api/meshMemberships/index.js.map +1 -0
- package/dist/react-native/api/meshMemberships/operations.d.ts +28 -0
- package/dist/react-native/api/meshMemberships/operations.js +140 -0
- package/dist/react-native/api/meshMemberships/operations.js.map +1 -0
- package/dist/react-native/api/meshMemberships/options.d.ts +18 -0
- package/dist/react-native/api/meshMemberships/options.js +4 -0
- package/dist/react-native/api/meshMemberships/options.js.map +1 -0
- package/dist/react-native/api/operationStatusResult/index.d.ts +3 -0
- package/dist/react-native/api/operationStatusResult/index.js +4 -0
- package/dist/react-native/api/operationStatusResult/index.js.map +1 -0
- package/dist/react-native/api/operationStatusResult/operations.d.ts +18 -0
- package/dist/react-native/api/operationStatusResult/operations.js +97 -0
- package/dist/react-native/api/operationStatusResult/operations.js.map +1 -0
- package/dist/react-native/api/operationStatusResult/options.d.ts +11 -0
- package/dist/react-native/api/operationStatusResult/options.js +4 -0
- package/dist/react-native/api/operationStatusResult/options.js.map +1 -0
- package/dist/react-native/api/operations/operations.js +6 -2
- package/dist/react-native/api/operations/operations.js.map +1 -1
- package/dist/react-native/api/privateEndpointConnections/operations.js +5 -5
- package/dist/react-native/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/react-native/api/privateLinkResources/operations.js +1 -1
- package/dist/react-native/api/privateLinkResources/operations.js.map +1 -1
- package/dist/react-native/api/resolvePrivateLinkServiceId/operations.js +1 -1
- package/dist/react-native/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
- package/dist/react-native/api/snapshots/operations.js +16 -8
- package/dist/react-native/api/snapshots/operations.js.map +1 -1
- package/dist/react-native/api/trustedAccessRoleBindings/operations.js +11 -7
- package/dist/react-native/api/trustedAccessRoleBindings/operations.js.map +1 -1
- package/dist/react-native/api/trustedAccessRoles/operations.js +6 -2
- package/dist/react-native/api/trustedAccessRoles/operations.js.map +1 -1
- package/dist/react-native/api/vmSkus/index.d.ts +3 -0
- package/dist/react-native/api/vmSkus/index.js +4 -0
- package/dist/react-native/api/vmSkus/index.js.map +1 -0
- package/dist/react-native/api/vmSkus/operations.d.ts +10 -0
- package/dist/react-native/api/vmSkus/operations.js +38 -0
- package/dist/react-native/api/vmSkus/operations.js.map +1 -0
- package/dist/react-native/api/vmSkus/options.d.ts +7 -0
- package/dist/react-native/api/vmSkus/options.js +4 -0
- package/dist/react-native/api/vmSkus/options.js.map +1 -0
- package/dist/react-native/classic/agentPools/index.d.ts +7 -1
- package/dist/react-native/classic/agentPools/index.js +10 -1
- package/dist/react-native/classic/agentPools/index.js.map +1 -1
- package/dist/react-native/classic/containerService/index.d.ts +11 -0
- package/dist/react-native/classic/containerService/index.js +14 -0
- package/dist/react-native/classic/containerService/index.js.map +1 -0
- package/dist/react-native/classic/identityBindings/index.d.ts +32 -0
- package/dist/react-native/classic/identityBindings/index.js +34 -0
- package/dist/react-native/classic/identityBindings/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +8 -0
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/classic/jwtAuthenticators/index.d.ts +32 -0
- package/dist/react-native/classic/jwtAuthenticators/index.js +34 -0
- package/dist/react-native/classic/jwtAuthenticators/index.js.map +1 -0
- package/dist/react-native/classic/loadBalancers/index.d.ts +28 -0
- package/dist/react-native/classic/loadBalancers/index.js +26 -0
- package/dist/react-native/classic/loadBalancers/index.js.map +1 -0
- package/dist/react-native/classic/machines/index.d.ts +9 -1
- package/dist/react-native/classic/machines/index.js +11 -1
- package/dist/react-native/classic/machines/index.js.map +1 -1
- package/dist/react-native/classic/managedClusterSnapshots/index.d.ts +26 -0
- package/dist/react-native/classic/managedClusterSnapshots/index.js +19 -0
- package/dist/react-native/classic/managedClusterSnapshots/index.js.map +1 -0
- package/dist/react-native/classic/managedClusters/index.d.ts +16 -2
- package/dist/react-native/classic/managedClusters/index.js +14 -1
- package/dist/react-native/classic/managedClusters/index.js.map +1 -1
- package/dist/react-native/classic/meshMemberships/index.d.ts +32 -0
- package/dist/react-native/classic/meshMemberships/index.js +34 -0
- package/dist/react-native/classic/meshMemberships/index.js.map +1 -0
- package/dist/react-native/classic/operationStatusResult/index.d.ts +15 -0
- package/dist/react-native/classic/operationStatusResult/index.js +16 -0
- package/dist/react-native/classic/operationStatusResult/index.js.map +1 -0
- package/dist/react-native/classic/vmSkus/index.d.ts +11 -0
- package/dist/react-native/classic/vmSkus/index.js +14 -0
- package/dist/react-native/classic/vmSkus/index.js.map +1 -0
- package/dist/react-native/containerServiceClient.d.ts +24 -0
- package/dist/react-native/containerServiceClient.js +32 -0
- package/dist/react-native/containerServiceClient.js.map +1 -1
- package/dist/react-native/index.d.ts +14 -6
- package/dist/react-native/index.js +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +2 -2
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +1611 -9
- package/dist/react-native/models/models.js +1996 -8
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +35 -5
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/package.json +150 -6
|
@@ -1,1069 +1,977 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
managedClusterDeserializer,
|
|
5
|
-
managedClusterServicePrincipalProfileSerializer,
|
|
6
|
-
managedClusterAADProfileSerializer,
|
|
7
|
-
tagsObjectSerializer,
|
|
8
|
-
_managedClusterListResultDeserializer,
|
|
9
|
-
managedClusterAccessProfileDeserializer,
|
|
10
|
-
credentialResultsDeserializer,
|
|
11
|
-
runCommandRequestSerializer,
|
|
12
|
-
runCommandResultDeserializer,
|
|
13
|
-
_outboundEnvironmentEndpointCollectionDeserializer,
|
|
14
|
-
managedClusterUpgradeProfileDeserializer,
|
|
15
|
-
meshRevisionProfileDeserializer,
|
|
16
|
-
_meshRevisionProfileListDeserializer,
|
|
17
|
-
meshUpgradeProfileDeserializer,
|
|
18
|
-
_meshUpgradeProfileListDeserializer,
|
|
19
|
-
kubernetesVersionListResultDeserializer
|
|
20
|
-
} from "../../models/models.js";
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, managedClusterSerializer, managedClusterDeserializer, managedClusterServicePrincipalProfileSerializer, managedClusterAADProfileSerializer, tagsObjectSerializer, _managedClusterListResultDeserializer, managedClusterAccessProfileDeserializer, credentialResultsDeserializer, runCommandRequestSerializer, runCommandResultDeserializer, _outboundEnvironmentEndpointCollectionDeserializer, rebalanceLoadBalancersRequestBodySerializer, managedClusterUpgradeProfileDeserializer, guardrailsAvailableVersionDeserializer, _guardrailsAvailableVersionsListDeserializer, safeguardsAvailableVersionDeserializer, _safeguardsAvailableVersionsListDeserializer, meshRevisionProfileDeserializer, _meshRevisionProfileListDeserializer, meshUpgradeProfileDeserializer, _meshUpgradeProfileListDeserializer, kubernetesVersionListResultDeserializer, } from "../../models/models.js";
|
|
21
4
|
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
22
5
|
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
23
6
|
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
24
7
|
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
25
|
-
function _listKubernetesVersionsSend(context, location, options = { requestOptions: {} }) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
{
|
|
34
|
-
|
|
8
|
+
export function _listKubernetesVersionsSend(context, location, options = { requestOptions: {} }) {
|
|
9
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/kubernetesVersions{?api%2Dversion}", {
|
|
10
|
+
subscriptionId: context.subscriptionId,
|
|
11
|
+
location: location,
|
|
12
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
13
|
+
}, {
|
|
14
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
15
|
+
});
|
|
16
|
+
return context.path(path).get({
|
|
17
|
+
...operationOptionsToRequestParameters(options),
|
|
18
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export async function _listKubernetesVersionsDeserialize(result) {
|
|
22
|
+
const expectedStatuses = ["200"];
|
|
23
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
24
|
+
const error = createRestError(result);
|
|
25
|
+
error.details = errorResponseDeserializer(result.body);
|
|
26
|
+
throw error;
|
|
35
27
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
28
|
+
return kubernetesVersionListResultDeserializer(result.body);
|
|
29
|
+
}
|
|
30
|
+
/** Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version */
|
|
31
|
+
export async function listKubernetesVersions(context, location, options = { requestOptions: {} }) {
|
|
32
|
+
const result = await _listKubernetesVersionsSend(context, location, options);
|
|
33
|
+
return _listKubernetesVersionsDeserialize(result);
|
|
34
|
+
}
|
|
35
|
+
export function _listMeshUpgradeProfilesSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
36
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/meshUpgradeProfiles{?api%2Dversion}", {
|
|
37
|
+
subscriptionId: context.subscriptionId,
|
|
38
|
+
resourceGroupName: resourceGroupName,
|
|
39
|
+
resourceName: resourceName,
|
|
40
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
41
|
+
}, {
|
|
42
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
43
|
+
});
|
|
44
|
+
return context.path(path).get({
|
|
45
|
+
...operationOptionsToRequestParameters(options),
|
|
46
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
export async function _listMeshUpgradeProfilesDeserialize(result) {
|
|
50
|
+
const expectedStatuses = ["200"];
|
|
51
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
52
|
+
const error = createRestError(result);
|
|
53
|
+
error.details = errorResponseDeserializer(result.body);
|
|
54
|
+
throw error;
|
|
66
55
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"
|
|
94
|
-
{
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
mode,
|
|
99
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
56
|
+
return _meshUpgradeProfileListDeserializer(result.body);
|
|
57
|
+
}
|
|
58
|
+
/** Lists available upgrades for all service meshes in a specific cluster. */
|
|
59
|
+
export function listMeshUpgradeProfiles(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
60
|
+
return buildPagedAsyncIterator(context, () => _listMeshUpgradeProfilesSend(context, resourceGroupName, resourceName, options), _listMeshUpgradeProfilesDeserialize, ["200"], {
|
|
61
|
+
itemName: "value",
|
|
62
|
+
nextLinkName: "nextLink",
|
|
63
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
export function _getMeshUpgradeProfileSend(context, resourceGroupName, resourceName, mode, options = { requestOptions: {} }) {
|
|
67
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/meshUpgradeProfiles/{mode}{?api%2Dversion}", {
|
|
68
|
+
subscriptionId: context.subscriptionId,
|
|
69
|
+
resourceGroupName: resourceGroupName,
|
|
70
|
+
resourceName: resourceName,
|
|
71
|
+
mode: mode,
|
|
72
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
73
|
+
}, {
|
|
74
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
75
|
+
});
|
|
76
|
+
return context.path(path).get({
|
|
77
|
+
...operationOptionsToRequestParameters(options),
|
|
78
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
export async function _getMeshUpgradeProfileDeserialize(result) {
|
|
82
|
+
const expectedStatuses = ["200"];
|
|
83
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
84
|
+
const error = createRestError(result);
|
|
85
|
+
error.details = errorResponseDeserializer(result.body);
|
|
86
|
+
throw error;
|
|
103
87
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
const path = expandUrlTemplate(
|
|
131
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles{?api%2Dversion}",
|
|
132
|
-
{
|
|
133
|
-
subscriptionId: context.subscriptionId,
|
|
134
|
-
location,
|
|
135
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
88
|
+
return meshUpgradeProfileDeserializer(result.body);
|
|
89
|
+
}
|
|
90
|
+
/** Gets available upgrades for a service mesh in a cluster. */
|
|
91
|
+
export async function getMeshUpgradeProfile(context, resourceGroupName, resourceName, mode, options = { requestOptions: {} }) {
|
|
92
|
+
const result = await _getMeshUpgradeProfileSend(context, resourceGroupName, resourceName, mode, options);
|
|
93
|
+
return _getMeshUpgradeProfileDeserialize(result);
|
|
94
|
+
}
|
|
95
|
+
export function _listMeshRevisionProfilesSend(context, location, options = { requestOptions: {} }) {
|
|
96
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles{?api%2Dversion}", {
|
|
97
|
+
subscriptionId: context.subscriptionId,
|
|
98
|
+
location: location,
|
|
99
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
100
|
+
}, {
|
|
101
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
102
|
+
});
|
|
103
|
+
return context.path(path).get({
|
|
104
|
+
...operationOptionsToRequestParameters(options),
|
|
105
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
export async function _listMeshRevisionProfilesDeserialize(result) {
|
|
109
|
+
const expectedStatuses = ["200"];
|
|
110
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
111
|
+
const error = createRestError(result);
|
|
112
|
+
error.details = errorResponseDeserializer(result.body);
|
|
113
|
+
throw error;
|
|
139
114
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}
|
|
164
|
-
function
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
mode,
|
|
171
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
115
|
+
return _meshRevisionProfileListDeserializer(result.body);
|
|
116
|
+
}
|
|
117
|
+
/** Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades */
|
|
118
|
+
export function listMeshRevisionProfiles(context, location, options = { requestOptions: {} }) {
|
|
119
|
+
return buildPagedAsyncIterator(context, () => _listMeshRevisionProfilesSend(context, location, options), _listMeshRevisionProfilesDeserialize, ["200"], {
|
|
120
|
+
itemName: "value",
|
|
121
|
+
nextLinkName: "nextLink",
|
|
122
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
export function _getMeshRevisionProfileSend(context, location, mode, options = { requestOptions: {} }) {
|
|
126
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles/{mode}{?api%2Dversion}", {
|
|
127
|
+
subscriptionId: context.subscriptionId,
|
|
128
|
+
location: location,
|
|
129
|
+
mode: mode,
|
|
130
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
131
|
+
}, {
|
|
132
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
133
|
+
});
|
|
134
|
+
return context.path(path).get({
|
|
135
|
+
...operationOptionsToRequestParameters(options),
|
|
136
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
export async function _getMeshRevisionProfileDeserialize(result) {
|
|
140
|
+
const expectedStatuses = ["200"];
|
|
141
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
142
|
+
const error = createRestError(result);
|
|
143
|
+
error.details = errorResponseDeserializer(result.body);
|
|
144
|
+
throw error;
|
|
175
145
|
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
"
|
|
198
|
-
{
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
146
|
+
return meshRevisionProfileDeserializer(result.body);
|
|
147
|
+
}
|
|
148
|
+
/** Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades */
|
|
149
|
+
export async function getMeshRevisionProfile(context, location, mode, options = { requestOptions: {} }) {
|
|
150
|
+
const result = await _getMeshRevisionProfileSend(context, location, mode, options);
|
|
151
|
+
return _getMeshRevisionProfileDeserialize(result);
|
|
152
|
+
}
|
|
153
|
+
export function _listSafeguardsVersionsSend(context, location, options = { requestOptions: {} }) {
|
|
154
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/safeguardsVersions{?api%2Dversion}", {
|
|
155
|
+
subscriptionId: context.subscriptionId,
|
|
156
|
+
location: location,
|
|
157
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
158
|
+
}, {
|
|
159
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
160
|
+
});
|
|
161
|
+
return context.path(path).get({
|
|
162
|
+
...operationOptionsToRequestParameters(options),
|
|
163
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
export async function _listSafeguardsVersionsDeserialize(result) {
|
|
167
|
+
const expectedStatuses = ["200"];
|
|
168
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
169
|
+
const error = createRestError(result);
|
|
170
|
+
error.details = errorResponseDeserializer(result.body);
|
|
171
|
+
throw error;
|
|
206
172
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
{
|
|
238
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
173
|
+
return _safeguardsAvailableVersionsListDeserializer(result.body);
|
|
174
|
+
}
|
|
175
|
+
/** Contains list of Safeguards version along with its support info and whether it is a default version. */
|
|
176
|
+
export function listSafeguardsVersions(context, location, options = { requestOptions: {} }) {
|
|
177
|
+
return buildPagedAsyncIterator(context, () => _listSafeguardsVersionsSend(context, location, options), _listSafeguardsVersionsDeserialize, ["200"], {
|
|
178
|
+
itemName: "value",
|
|
179
|
+
nextLinkName: "nextLink",
|
|
180
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
export function _getSafeguardsVersionsSend(context, location, version, options = { requestOptions: {} }) {
|
|
184
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/safeguardsVersions/{version}{?api%2Dversion}", {
|
|
185
|
+
subscriptionId: context.subscriptionId,
|
|
186
|
+
location: location,
|
|
187
|
+
version: version,
|
|
188
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
189
|
+
}, {
|
|
190
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
191
|
+
});
|
|
192
|
+
return context.path(path).get({
|
|
193
|
+
...operationOptionsToRequestParameters(options),
|
|
194
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
export async function _getSafeguardsVersionsDeserialize(result) {
|
|
198
|
+
const expectedStatuses = ["200"];
|
|
199
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
200
|
+
const error = createRestError(result);
|
|
201
|
+
error.details = errorResponseDeserializer(result.body);
|
|
202
|
+
throw error;
|
|
239
203
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
_listOutboundNetworkDependenciesEndpointsDeserialize,
|
|
267
|
-
["200"],
|
|
268
|
-
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-01-01" }
|
|
269
|
-
);
|
|
270
|
-
}
|
|
271
|
-
function _getCommandResultSend(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
|
|
272
|
-
const path = expandUrlTemplate(
|
|
273
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}{?api%2Dversion}",
|
|
274
|
-
{
|
|
275
|
-
subscriptionId: context.subscriptionId,
|
|
276
|
-
resourceGroupName,
|
|
277
|
-
resourceName,
|
|
278
|
-
commandId,
|
|
279
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
204
|
+
return safeguardsAvailableVersionDeserializer(result.body);
|
|
205
|
+
}
|
|
206
|
+
/** Contains Safeguards version along with its support info and whether it is a default version. */
|
|
207
|
+
export async function getSafeguardsVersions(context, location, version, options = { requestOptions: {} }) {
|
|
208
|
+
const result = await _getSafeguardsVersionsSend(context, location, version, options);
|
|
209
|
+
return _getSafeguardsVersionsDeserialize(result);
|
|
210
|
+
}
|
|
211
|
+
export function _listGuardrailsVersionsSend(context, location, options = { requestOptions: {} }) {
|
|
212
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/guardrailsVersions{?api%2Dversion}", {
|
|
213
|
+
subscriptionId: context.subscriptionId,
|
|
214
|
+
location: location,
|
|
215
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
216
|
+
}, {
|
|
217
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
218
|
+
});
|
|
219
|
+
return context.path(path).get({
|
|
220
|
+
...operationOptionsToRequestParameters(options),
|
|
221
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
export async function _listGuardrailsVersionsDeserialize(result) {
|
|
225
|
+
const expectedStatuses = ["200"];
|
|
226
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
227
|
+
const error = createRestError(result);
|
|
228
|
+
error.details = errorResponseDeserializer(result.body);
|
|
229
|
+
throw error;
|
|
283
230
|
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
resourceGroupName,
|
|
315
|
-
resourceName,
|
|
316
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
231
|
+
return _guardrailsAvailableVersionsListDeserializer(result.body);
|
|
232
|
+
}
|
|
233
|
+
/** Contains list of Guardrails version along with its support info and whether it is a default version. */
|
|
234
|
+
export function listGuardrailsVersions(context, location, options = { requestOptions: {} }) {
|
|
235
|
+
return buildPagedAsyncIterator(context, () => _listGuardrailsVersionsSend(context, location, options), _listGuardrailsVersionsDeserialize, ["200"], {
|
|
236
|
+
itemName: "value",
|
|
237
|
+
nextLinkName: "nextLink",
|
|
238
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
export function _getGuardrailsVersionsSend(context, location, version, options = { requestOptions: {} }) {
|
|
242
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/guardrailsVersions/{version}{?api%2Dversion}", {
|
|
243
|
+
subscriptionId: context.subscriptionId,
|
|
244
|
+
location: location,
|
|
245
|
+
version: version,
|
|
246
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
247
|
+
}, {
|
|
248
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
249
|
+
});
|
|
250
|
+
return context.path(path).get({
|
|
251
|
+
...operationOptionsToRequestParameters(options),
|
|
252
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
export async function _getGuardrailsVersionsDeserialize(result) {
|
|
256
|
+
const expectedStatuses = ["200"];
|
|
257
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
258
|
+
const error = createRestError(result);
|
|
259
|
+
error.details = errorResponseDeserializer(result.body);
|
|
260
|
+
throw error;
|
|
320
261
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
const path = expandUrlTemplate(
|
|
349
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start{?api%2Dversion}",
|
|
350
|
-
{
|
|
351
|
-
subscriptionId: context.subscriptionId,
|
|
352
|
-
resourceGroupName,
|
|
353
|
-
resourceName,
|
|
354
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
262
|
+
return guardrailsAvailableVersionDeserializer(result.body);
|
|
263
|
+
}
|
|
264
|
+
/** Contains Guardrails version along with its support info and whether it is a default version. */
|
|
265
|
+
export async function getGuardrailsVersions(context, location, version, options = { requestOptions: {} }) {
|
|
266
|
+
const result = await _getGuardrailsVersionsSend(context, location, version, options);
|
|
267
|
+
return _getGuardrailsVersionsDeserialize(result);
|
|
268
|
+
}
|
|
269
|
+
export function _getUpgradeProfileSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
270
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default{?api%2Dversion}", {
|
|
271
|
+
subscriptionId: context.subscriptionId,
|
|
272
|
+
resourceGroupName: resourceGroupName,
|
|
273
|
+
resourceName: resourceName,
|
|
274
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
275
|
+
}, {
|
|
276
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
277
|
+
});
|
|
278
|
+
return context.path(path).get({
|
|
279
|
+
...operationOptionsToRequestParameters(options),
|
|
280
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
export async function _getUpgradeProfileDeserialize(result) {
|
|
284
|
+
const expectedStatuses = ["200"];
|
|
285
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
286
|
+
const error = createRestError(result);
|
|
287
|
+
error.details = errorResponseDeserializer(result.body);
|
|
288
|
+
throw error;
|
|
358
289
|
}
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
async function
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
"
|
|
383
|
-
{
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
290
|
+
return managedClusterUpgradeProfileDeserializer(result.body);
|
|
291
|
+
}
|
|
292
|
+
/** Gets the upgrade profile of a managed cluster. */
|
|
293
|
+
export async function getUpgradeProfile(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
294
|
+
const result = await _getUpgradeProfileSend(context, resourceGroupName, resourceName, options);
|
|
295
|
+
return _getUpgradeProfileDeserialize(result);
|
|
296
|
+
}
|
|
297
|
+
export function _rebalanceLoadBalancersSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
298
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rebalanceLoadBalancers{?api%2Dversion}", {
|
|
299
|
+
subscriptionId: context.subscriptionId,
|
|
300
|
+
resourceGroupName: resourceGroupName,
|
|
301
|
+
resourceName: resourceName,
|
|
302
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
303
|
+
}, {
|
|
304
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
305
|
+
});
|
|
306
|
+
return context.path(path).post({
|
|
307
|
+
...operationOptionsToRequestParameters(options),
|
|
308
|
+
contentType: "application/json",
|
|
309
|
+
body: rebalanceLoadBalancersRequestBodySerializer(parameters),
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
export async function _rebalanceLoadBalancersDeserialize(result) {
|
|
313
|
+
const expectedStatuses = ["202", "204", "200", "201"];
|
|
314
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
315
|
+
const error = createRestError(result);
|
|
316
|
+
error.details = errorResponseDeserializer(result.body);
|
|
317
|
+
throw error;
|
|
391
318
|
}
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
}
|
|
404
|
-
function
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
{
|
|
423
|
-
|
|
319
|
+
return;
|
|
320
|
+
}
|
|
321
|
+
/** Rebalance nodes across specific load balancers. */
|
|
322
|
+
export function rebalanceLoadBalancers(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
323
|
+
return getLongRunningPoller(context, _rebalanceLoadBalancersDeserialize, ["202", "204", "200", "201"], {
|
|
324
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
325
|
+
abortSignal: options?.abortSignal,
|
|
326
|
+
getInitialResponse: () => _rebalanceLoadBalancersSend(context, resourceGroupName, resourceName, parameters, options),
|
|
327
|
+
resourceLocationConfig: "azure-async-operation",
|
|
328
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
export function _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options = {
|
|
332
|
+
requestOptions: {},
|
|
333
|
+
}) {
|
|
334
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints{?api%2Dversion}", {
|
|
335
|
+
subscriptionId: context.subscriptionId,
|
|
336
|
+
resourceGroupName: resourceGroupName,
|
|
337
|
+
resourceName: resourceName,
|
|
338
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
339
|
+
}, {
|
|
340
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
341
|
+
});
|
|
342
|
+
return context.path(path).get({
|
|
343
|
+
...operationOptionsToRequestParameters(options),
|
|
344
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
export async function _listOutboundNetworkDependenciesEndpointsDeserialize(result) {
|
|
348
|
+
const expectedStatuses = ["200"];
|
|
349
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
350
|
+
const error = createRestError(result);
|
|
351
|
+
error.details = errorResponseDeserializer(result.body);
|
|
352
|
+
throw error;
|
|
424
353
|
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
}
|
|
437
|
-
function
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
354
|
+
return _outboundEnvironmentEndpointCollectionDeserializer(result.body);
|
|
355
|
+
}
|
|
356
|
+
/** Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. */
|
|
357
|
+
export function listOutboundNetworkDependenciesEndpoints(context, resourceGroupName, resourceName, options = {
|
|
358
|
+
requestOptions: {},
|
|
359
|
+
}) {
|
|
360
|
+
return buildPagedAsyncIterator(context, () => _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options), _listOutboundNetworkDependenciesEndpointsDeserialize, ["200"], {
|
|
361
|
+
itemName: "value",
|
|
362
|
+
nextLinkName: "nextLink",
|
|
363
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
export function _getCommandResultSend(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
|
|
367
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}{?api%2Dversion}", {
|
|
368
|
+
subscriptionId: context.subscriptionId,
|
|
369
|
+
resourceGroupName: resourceGroupName,
|
|
370
|
+
resourceName: resourceName,
|
|
371
|
+
commandId: commandId,
|
|
372
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
373
|
+
}, {
|
|
374
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
375
|
+
});
|
|
376
|
+
return context.path(path).get({
|
|
377
|
+
...operationOptionsToRequestParameters(options),
|
|
378
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
export async function _getCommandResultDeserialize(result) {
|
|
382
|
+
const expectedStatuses = ["200", "202"];
|
|
383
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
384
|
+
const error = createRestError(result);
|
|
385
|
+
error.details = errorResponseDeserializer(result.body);
|
|
386
|
+
throw error;
|
|
448
387
|
}
|
|
449
|
-
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
388
|
+
return runCommandResultDeserializer(result.body);
|
|
389
|
+
}
|
|
390
|
+
/** Gets the results of a command which has been run on the Managed Cluster. */
|
|
391
|
+
export async function getCommandResult(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
|
|
392
|
+
const result = await _getCommandResultSend(context, resourceGroupName, resourceName, commandId, options);
|
|
393
|
+
return _getCommandResultDeserialize(result);
|
|
394
|
+
}
|
|
395
|
+
export function _runCommandSend(context, resourceGroupName, resourceName, requestPayload, options = { requestOptions: {} }) {
|
|
396
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand{?api%2Dversion}", {
|
|
397
|
+
subscriptionId: context.subscriptionId,
|
|
398
|
+
resourceGroupName: resourceGroupName,
|
|
399
|
+
resourceName: resourceName,
|
|
400
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
401
|
+
}, {
|
|
402
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
403
|
+
});
|
|
404
|
+
return context.path(path).post({
|
|
405
|
+
...operationOptionsToRequestParameters(options),
|
|
406
|
+
contentType: "application/json",
|
|
407
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
408
|
+
body: runCommandRequestSerializer(requestPayload),
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
export async function _runCommandDeserialize(result) {
|
|
412
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
413
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
414
|
+
const error = createRestError(result);
|
|
415
|
+
error.details = errorResponseDeserializer(result.body);
|
|
416
|
+
throw error;
|
|
462
417
|
}
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
}
|
|
475
|
-
function
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
418
|
+
return runCommandResultDeserializer(result.body);
|
|
419
|
+
}
|
|
420
|
+
/** AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). */
|
|
421
|
+
export function runCommand(context, resourceGroupName, resourceName, requestPayload, options = { requestOptions: {} }) {
|
|
422
|
+
return getLongRunningPoller(context, _runCommandDeserialize, ["202", "200", "201"], {
|
|
423
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
424
|
+
abortSignal: options?.abortSignal,
|
|
425
|
+
getInitialResponse: () => _runCommandSend(context, resourceGroupName, resourceName, requestPayload, options),
|
|
426
|
+
resourceLocationConfig: "location",
|
|
427
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
export function _startSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
431
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start{?api%2Dversion}", {
|
|
432
|
+
subscriptionId: context.subscriptionId,
|
|
433
|
+
resourceGroupName: resourceGroupName,
|
|
434
|
+
resourceName: resourceName,
|
|
435
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
436
|
+
}, {
|
|
437
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
438
|
+
});
|
|
439
|
+
return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
|
|
440
|
+
}
|
|
441
|
+
export async function _startDeserialize(result) {
|
|
442
|
+
const expectedStatuses = ["202", "204", "200", "201"];
|
|
443
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
444
|
+
const error = createRestError(result);
|
|
445
|
+
error.details = errorResponseDeserializer(result.body);
|
|
446
|
+
throw error;
|
|
486
447
|
}
|
|
487
|
-
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
"
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
|
|
448
|
+
return;
|
|
449
|
+
}
|
|
450
|
+
/** See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. */
|
|
451
|
+
export function start(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
452
|
+
return getLongRunningPoller(context, _startDeserialize, ["202", "204", "200", "201"], {
|
|
453
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
454
|
+
abortSignal: options?.abortSignal,
|
|
455
|
+
getInitialResponse: () => _startSend(context, resourceGroupName, resourceName, options),
|
|
456
|
+
resourceLocationConfig: "location",
|
|
457
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
export function _stopSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
461
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop{?api%2Dversion}", {
|
|
462
|
+
subscriptionId: context.subscriptionId,
|
|
463
|
+
resourceGroupName: resourceGroupName,
|
|
464
|
+
resourceName: resourceName,
|
|
465
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
466
|
+
}, {
|
|
467
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
468
|
+
});
|
|
469
|
+
return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
|
|
470
|
+
}
|
|
471
|
+
export async function _stopDeserialize(result) {
|
|
472
|
+
const expectedStatuses = ["202", "204", "200", "201"];
|
|
473
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
474
|
+
const error = createRestError(result);
|
|
475
|
+
error.details = errorResponseDeserializer(result.body);
|
|
476
|
+
throw error;
|
|
500
477
|
}
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
}
|
|
513
|
-
function
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
478
|
+
return;
|
|
479
|
+
}
|
|
480
|
+
/** This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. */
|
|
481
|
+
export function stop(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
482
|
+
return getLongRunningPoller(context, _stopDeserialize, ["202", "204", "200", "201"], {
|
|
483
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
484
|
+
abortSignal: options?.abortSignal,
|
|
485
|
+
getInitialResponse: () => _stopSend(context, resourceGroupName, resourceName, options),
|
|
486
|
+
resourceLocationConfig: "location",
|
|
487
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
488
|
+
});
|
|
489
|
+
}
|
|
490
|
+
export function _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
491
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys{?api%2Dversion}", {
|
|
492
|
+
subscriptionId: context.subscriptionId,
|
|
493
|
+
resourceGroupName: resourceGroupName,
|
|
494
|
+
resourceName: resourceName,
|
|
495
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
496
|
+
}, {
|
|
497
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
498
|
+
});
|
|
499
|
+
return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
|
|
500
|
+
}
|
|
501
|
+
export async function _rotateServiceAccountSigningKeysDeserialize(result) {
|
|
502
|
+
const expectedStatuses = ["202", "204", "200", "201"];
|
|
503
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
504
|
+
const error = createRestError(result);
|
|
505
|
+
error.details = errorResponseDeserializer(result.body);
|
|
506
|
+
throw error;
|
|
524
507
|
}
|
|
525
|
-
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
"
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
510
|
+
/** Rotates the service account signing keys of a managed cluster. */
|
|
511
|
+
export function rotateServiceAccountSigningKeys(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
512
|
+
return getLongRunningPoller(context, _rotateServiceAccountSigningKeysDeserialize, ["202", "204", "200", "201"], {
|
|
513
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
514
|
+
abortSignal: options?.abortSignal,
|
|
515
|
+
getInitialResponse: () => _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options),
|
|
516
|
+
resourceLocationConfig: "location",
|
|
517
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
export function _abortLatestOperationSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
521
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/abort{?api%2Dversion}", {
|
|
522
|
+
subscriptionId: context.subscriptionId,
|
|
523
|
+
resourceGroupName: resourceGroupName,
|
|
524
|
+
resourceName: resourceName,
|
|
525
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
526
|
+
}, {
|
|
527
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
528
|
+
});
|
|
529
|
+
return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
|
|
530
|
+
}
|
|
531
|
+
export async function _abortLatestOperationDeserialize(result) {
|
|
532
|
+
const expectedStatuses = ["202", "204", "200", "201"];
|
|
533
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
534
|
+
const error = createRestError(result);
|
|
535
|
+
error.details = errorResponseDeserializer(result.body);
|
|
536
|
+
throw error;
|
|
538
537
|
}
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
subscriptionId: context.subscriptionId,
|
|
569
|
-
resourceGroupName,
|
|
570
|
-
resourceName,
|
|
571
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
572
|
-
},
|
|
573
|
-
{
|
|
574
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
538
|
+
return;
|
|
539
|
+
}
|
|
540
|
+
/** Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. */
|
|
541
|
+
export function abortLatestOperation(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
542
|
+
return getLongRunningPoller(context, _abortLatestOperationDeserialize, ["202", "204", "200", "201"], {
|
|
543
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
544
|
+
abortSignal: options?.abortSignal,
|
|
545
|
+
getInitialResponse: () => _abortLatestOperationSend(context, resourceGroupName, resourceName, options),
|
|
546
|
+
resourceLocationConfig: "location",
|
|
547
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
export function _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
551
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates{?api%2Dversion}", {
|
|
552
|
+
subscriptionId: context.subscriptionId,
|
|
553
|
+
resourceGroupName: resourceGroupName,
|
|
554
|
+
resourceName: resourceName,
|
|
555
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
556
|
+
}, {
|
|
557
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
558
|
+
});
|
|
559
|
+
return context.path(path).post({ ...operationOptionsToRequestParameters(options) });
|
|
560
|
+
}
|
|
561
|
+
export async function _rotateClusterCertificatesDeserialize(result) {
|
|
562
|
+
const expectedStatuses = ["202", "204", "200", "201"];
|
|
563
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
564
|
+
const error = createRestError(result);
|
|
565
|
+
error.details = errorResponseDeserializer(result.body);
|
|
566
|
+
throw error;
|
|
575
567
|
}
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
{
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
568
|
+
return;
|
|
569
|
+
}
|
|
570
|
+
/** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */
|
|
571
|
+
export function rotateClusterCertificates(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
572
|
+
return getLongRunningPoller(context, _rotateClusterCertificatesDeserialize, ["202", "204", "200", "201"], {
|
|
573
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
574
|
+
abortSignal: options?.abortSignal,
|
|
575
|
+
getInitialResponse: () => _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options),
|
|
576
|
+
resourceLocationConfig: "location",
|
|
577
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
export function _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
581
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile{?api%2Dversion}", {
|
|
582
|
+
subscriptionId: context.subscriptionId,
|
|
583
|
+
resourceGroupName: resourceGroupName,
|
|
584
|
+
resourceName: resourceName,
|
|
585
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
586
|
+
}, {
|
|
587
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
588
|
+
});
|
|
589
|
+
return context.path(path).post({
|
|
590
|
+
...operationOptionsToRequestParameters(options),
|
|
591
|
+
contentType: "application/json",
|
|
592
|
+
body: managedClusterAADProfileSerializer(parameters),
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
export async function _resetAADProfileDeserialize(result) {
|
|
596
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
597
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
598
|
+
const error = createRestError(result);
|
|
599
|
+
error.details = errorResponseDeserializer(result.body);
|
|
600
|
+
throw error;
|
|
609
601
|
}
|
|
610
|
-
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
},
|
|
624
|
-
|
|
625
|
-
|
|
602
|
+
return;
|
|
603
|
+
}
|
|
604
|
+
/** **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. */
|
|
605
|
+
export function resetAADProfile(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
606
|
+
return getLongRunningPoller(context, _resetAADProfileDeserialize, ["202", "200", "201"], {
|
|
607
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
608
|
+
abortSignal: options?.abortSignal,
|
|
609
|
+
getInitialResponse: () => _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options),
|
|
610
|
+
resourceLocationConfig: "location",
|
|
611
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
export function _resetServicePrincipalProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
615
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile{?api%2Dversion}", {
|
|
616
|
+
subscriptionId: context.subscriptionId,
|
|
617
|
+
resourceGroupName: resourceGroupName,
|
|
618
|
+
resourceName: resourceName,
|
|
619
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
620
|
+
}, {
|
|
621
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
622
|
+
});
|
|
623
|
+
return context.path(path).post({
|
|
624
|
+
...operationOptionsToRequestParameters(options),
|
|
625
|
+
contentType: "application/json",
|
|
626
|
+
body: managedClusterServicePrincipalProfileSerializer(parameters),
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
export async function _resetServicePrincipalProfileDeserialize(result) {
|
|
630
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
631
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
632
|
+
const error = createRestError(result);
|
|
633
|
+
error.details = errorResponseDeserializer(result.body);
|
|
634
|
+
throw error;
|
|
626
635
|
}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
}
|
|
642
|
-
async function listClusterMonitoringUserCredentials(context, resourceGroupName, resourceName, options = {
|
|
643
|
-
requestOptions: {}
|
|
636
|
+
return;
|
|
637
|
+
}
|
|
638
|
+
/** This action cannot be performed on a cluster that is not using a service principal */
|
|
639
|
+
export function resetServicePrincipalProfile(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
640
|
+
return getLongRunningPoller(context, _resetServicePrincipalProfileDeserialize, ["202", "200", "201"], {
|
|
641
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
642
|
+
abortSignal: options?.abortSignal,
|
|
643
|
+
getInitialResponse: () => _resetServicePrincipalProfileSend(context, resourceGroupName, resourceName, parameters, options),
|
|
644
|
+
resourceLocationConfig: "location",
|
|
645
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
export function _listClusterMonitoringUserCredentialsSend(context, resourceGroupName, resourceName, options = {
|
|
649
|
+
requestOptions: {},
|
|
644
650
|
}) {
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
651
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential{?api%2Dversion,server%2Dfqdn}", {
|
|
652
|
+
subscriptionId: context.subscriptionId,
|
|
653
|
+
resourceGroupName: resourceGroupName,
|
|
654
|
+
resourceName: resourceName,
|
|
655
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
656
|
+
"server%2Dfqdn": options?.serverFqdn,
|
|
657
|
+
}, {
|
|
658
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
659
|
+
});
|
|
660
|
+
return context.path(path).post({
|
|
661
|
+
...operationOptionsToRequestParameters(options),
|
|
662
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
export async function _listClusterMonitoringUserCredentialsDeserialize(result) {
|
|
666
|
+
const expectedStatuses = ["200"];
|
|
667
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
668
|
+
const error = createRestError(result);
|
|
669
|
+
error.details = errorResponseDeserializer(result.body);
|
|
670
|
+
throw error;
|
|
666
671
|
}
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
"
|
|
694
|
-
{
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01",
|
|
699
|
-
"server%2Dfqdn": options?.serverFqdn
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
672
|
+
return credentialResultsDeserializer(result.body);
|
|
673
|
+
}
|
|
674
|
+
/** Lists the cluster monitoring user credentials of a managed cluster. */
|
|
675
|
+
export async function listClusterMonitoringUserCredentials(context, resourceGroupName, resourceName, options = {
|
|
676
|
+
requestOptions: {},
|
|
677
|
+
}) {
|
|
678
|
+
const result = await _listClusterMonitoringUserCredentialsSend(context, resourceGroupName, resourceName, options);
|
|
679
|
+
return _listClusterMonitoringUserCredentialsDeserialize(result);
|
|
680
|
+
}
|
|
681
|
+
export function _listClusterUserCredentialsSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
682
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential{?api%2Dversion,server%2Dfqdn,format}", {
|
|
683
|
+
subscriptionId: context.subscriptionId,
|
|
684
|
+
resourceGroupName: resourceGroupName,
|
|
685
|
+
resourceName: resourceName,
|
|
686
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
687
|
+
"server%2Dfqdn": options?.serverFqdn,
|
|
688
|
+
format: options?.format,
|
|
689
|
+
}, {
|
|
690
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
691
|
+
});
|
|
692
|
+
return context.path(path).post({
|
|
693
|
+
...operationOptionsToRequestParameters(options),
|
|
694
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
695
|
+
});
|
|
696
|
+
}
|
|
697
|
+
export async function _listClusterUserCredentialsDeserialize(result) {
|
|
698
|
+
const expectedStatuses = ["200"];
|
|
699
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
700
|
+
const error = createRestError(result);
|
|
701
|
+
error.details = errorResponseDeserializer(result.body);
|
|
702
|
+
throw error;
|
|
703
703
|
}
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
context
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
subscriptionId: context.subscriptionId,
|
|
733
|
-
resourceGroupName,
|
|
734
|
-
resourceName,
|
|
735
|
-
roleName,
|
|
736
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
704
|
+
return credentialResultsDeserializer(result.body);
|
|
705
|
+
}
|
|
706
|
+
/** Lists the user credentials of a managed cluster. */
|
|
707
|
+
export async function listClusterUserCredentials(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
708
|
+
const result = await _listClusterUserCredentialsSend(context, resourceGroupName, resourceName, options);
|
|
709
|
+
return _listClusterUserCredentialsDeserialize(result);
|
|
710
|
+
}
|
|
711
|
+
export function _listClusterAdminCredentialsSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
712
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential{?api%2Dversion,server%2Dfqdn}", {
|
|
713
|
+
subscriptionId: context.subscriptionId,
|
|
714
|
+
resourceGroupName: resourceGroupName,
|
|
715
|
+
resourceName: resourceName,
|
|
716
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
717
|
+
"server%2Dfqdn": options?.serverFqdn,
|
|
718
|
+
}, {
|
|
719
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
720
|
+
});
|
|
721
|
+
return context.path(path).post({
|
|
722
|
+
...operationOptionsToRequestParameters(options),
|
|
723
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
724
|
+
});
|
|
725
|
+
}
|
|
726
|
+
export async function _listClusterAdminCredentialsDeserialize(result) {
|
|
727
|
+
const expectedStatuses = ["200"];
|
|
728
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
729
|
+
const error = createRestError(result);
|
|
730
|
+
error.details = errorResponseDeserializer(result.body);
|
|
731
|
+
throw error;
|
|
740
732
|
}
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
context
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
{
|
|
770
|
-
subscriptionId: context.subscriptionId,
|
|
771
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
733
|
+
return credentialResultsDeserializer(result.body);
|
|
734
|
+
}
|
|
735
|
+
/** Lists the admin credentials of a managed cluster. */
|
|
736
|
+
export async function listClusterAdminCredentials(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
737
|
+
const result = await _listClusterAdminCredentialsSend(context, resourceGroupName, resourceName, options);
|
|
738
|
+
return _listClusterAdminCredentialsDeserialize(result);
|
|
739
|
+
}
|
|
740
|
+
export function _getAccessProfileSend(context, resourceGroupName, resourceName, roleName, options = { requestOptions: {} }) {
|
|
741
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential{?api%2Dversion}", {
|
|
742
|
+
subscriptionId: context.subscriptionId,
|
|
743
|
+
resourceGroupName: resourceGroupName,
|
|
744
|
+
resourceName: resourceName,
|
|
745
|
+
roleName: roleName,
|
|
746
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
747
|
+
}, {
|
|
748
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
749
|
+
});
|
|
750
|
+
return context.path(path).post({
|
|
751
|
+
...operationOptionsToRequestParameters(options),
|
|
752
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
753
|
+
});
|
|
754
|
+
}
|
|
755
|
+
export async function _getAccessProfileDeserialize(result) {
|
|
756
|
+
const expectedStatuses = ["200"];
|
|
757
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
758
|
+
const error = createRestError(result);
|
|
759
|
+
error.details = errorResponseDeserializer(result.body);
|
|
760
|
+
throw error;
|
|
775
761
|
}
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
["200"]
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
const path = expandUrlTemplate(
|
|
802
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}",
|
|
803
|
-
{
|
|
804
|
-
subscriptionId: context.subscriptionId,
|
|
805
|
-
resourceGroupName,
|
|
806
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
762
|
+
return managedClusterAccessProfileDeserializer(result.body);
|
|
763
|
+
}
|
|
764
|
+
/** **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . */
|
|
765
|
+
export async function getAccessProfile(context, resourceGroupName, resourceName, roleName, options = { requestOptions: {} }) {
|
|
766
|
+
const result = await _getAccessProfileSend(context, resourceGroupName, resourceName, roleName, options);
|
|
767
|
+
return _getAccessProfileDeserialize(result);
|
|
768
|
+
}
|
|
769
|
+
export function _listSend(context, options = { requestOptions: {} }) {
|
|
770
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}", {
|
|
771
|
+
subscriptionId: context.subscriptionId,
|
|
772
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
773
|
+
}, {
|
|
774
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
775
|
+
});
|
|
776
|
+
return context.path(path).get({
|
|
777
|
+
...operationOptionsToRequestParameters(options),
|
|
778
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
export async function _listDeserialize(result) {
|
|
782
|
+
const expectedStatuses = ["200"];
|
|
783
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
784
|
+
const error = createRestError(result);
|
|
785
|
+
error.details = errorResponseDeserializer(result.body);
|
|
786
|
+
throw error;
|
|
810
787
|
}
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
()
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
resourceGroupName,
|
|
841
|
-
resourceName,
|
|
842
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
788
|
+
return _managedClusterListResultDeserializer(result.body);
|
|
789
|
+
}
|
|
790
|
+
/** Gets a list of managed clusters in the specified subscription. */
|
|
791
|
+
export function list(context, options = { requestOptions: {} }) {
|
|
792
|
+
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], {
|
|
793
|
+
itemName: "value",
|
|
794
|
+
nextLinkName: "nextLink",
|
|
795
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
export function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
799
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}", {
|
|
800
|
+
subscriptionId: context.subscriptionId,
|
|
801
|
+
resourceGroupName: resourceGroupName,
|
|
802
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
803
|
+
}, {
|
|
804
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
805
|
+
});
|
|
806
|
+
return context.path(path).get({
|
|
807
|
+
...operationOptionsToRequestParameters(options),
|
|
808
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
export async function _listByResourceGroupDeserialize(result) {
|
|
812
|
+
const expectedStatuses = ["200"];
|
|
813
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
814
|
+
const error = createRestError(result);
|
|
815
|
+
error.details = errorResponseDeserializer(result.body);
|
|
816
|
+
throw error;
|
|
846
817
|
}
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
818
|
+
return _managedClusterListResultDeserializer(result.body);
|
|
819
|
+
}
|
|
820
|
+
/** Lists managed clusters in the specified subscription and resource group. */
|
|
821
|
+
export function listByResourceGroup(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
822
|
+
return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], {
|
|
823
|
+
itemName: "value",
|
|
824
|
+
nextLinkName: "nextLink",
|
|
825
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
826
|
+
});
|
|
827
|
+
}
|
|
828
|
+
export function _$deleteSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
829
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion,ignore%2Dpod%2Ddisruption%2Dbudget}", {
|
|
830
|
+
subscriptionId: context.subscriptionId,
|
|
831
|
+
resourceGroupName: resourceGroupName,
|
|
832
|
+
resourceName: resourceName,
|
|
833
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
834
|
+
"ignore%2Dpod%2Ddisruption%2Dbudget": options?.ignorePodDisruptionBudget,
|
|
835
|
+
}, {
|
|
836
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
837
|
+
});
|
|
838
|
+
return context.path(path).delete({
|
|
839
|
+
...operationOptionsToRequestParameters(options),
|
|
840
|
+
headers: {
|
|
841
|
+
...(options?.ifMatch !== undefined ? { "if-match": options?.ifMatch } : {}),
|
|
842
|
+
...options.requestOptions?.headers,
|
|
843
|
+
},
|
|
844
|
+
});
|
|
845
|
+
}
|
|
846
|
+
export async function _$deleteDeserialize(result) {
|
|
847
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
848
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
849
|
+
const error = createRestError(result);
|
|
850
|
+
error.details = errorResponseDeserializer(result.body);
|
|
851
|
+
throw error;
|
|
853
852
|
}
|
|
854
|
-
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
{
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
853
|
+
return;
|
|
854
|
+
}
|
|
855
|
+
/** Deletes a managed cluster. */
|
|
856
|
+
/**
|
|
857
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
858
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
859
|
+
* to the operation to override the generated name.
|
|
860
|
+
*/
|
|
861
|
+
export function $delete(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
862
|
+
return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
863
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
864
|
+
abortSignal: options?.abortSignal,
|
|
865
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, resourceName, options),
|
|
866
|
+
resourceLocationConfig: "azure-async-operation",
|
|
867
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
868
|
+
});
|
|
869
|
+
}
|
|
870
|
+
export function _updateTagsSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
871
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}", {
|
|
872
|
+
subscriptionId: context.subscriptionId,
|
|
873
|
+
resourceGroupName: resourceGroupName,
|
|
874
|
+
resourceName: resourceName,
|
|
875
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
876
|
+
}, {
|
|
877
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
878
|
+
});
|
|
879
|
+
return context.path(path).patch({
|
|
880
|
+
...operationOptionsToRequestParameters(options),
|
|
881
|
+
contentType: "application/json",
|
|
882
|
+
headers: {
|
|
883
|
+
...(options?.ifMatch !== undefined ? { "if-match": options?.ifMatch } : {}),
|
|
884
|
+
accept: "application/json",
|
|
885
|
+
...options.requestOptions?.headers,
|
|
886
|
+
},
|
|
887
|
+
body: tagsObjectSerializer(parameters),
|
|
888
|
+
});
|
|
889
|
+
}
|
|
890
|
+
export async function _updateTagsDeserialize(result) {
|
|
891
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
892
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
893
|
+
const error = createRestError(result);
|
|
894
|
+
error.details = errorResponseDeserializer(result.body);
|
|
895
|
+
throw error;
|
|
885
896
|
}
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
{
|
|
926
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
897
|
+
return managedClusterDeserializer(result.body);
|
|
898
|
+
}
|
|
899
|
+
/** Updates tags on a managed cluster. */
|
|
900
|
+
export function updateTags(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
901
|
+
return getLongRunningPoller(context, _updateTagsDeserialize, ["200", "202", "201"], {
|
|
902
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
903
|
+
abortSignal: options?.abortSignal,
|
|
904
|
+
getInitialResponse: () => _updateTagsSend(context, resourceGroupName, resourceName, parameters, options),
|
|
905
|
+
resourceLocationConfig: "azure-async-operation",
|
|
906
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
907
|
+
});
|
|
908
|
+
}
|
|
909
|
+
export function _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
910
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}", {
|
|
911
|
+
subscriptionId: context.subscriptionId,
|
|
912
|
+
resourceGroupName: resourceGroupName,
|
|
913
|
+
resourceName: resourceName,
|
|
914
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
915
|
+
}, {
|
|
916
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
917
|
+
});
|
|
918
|
+
return context.path(path).put({
|
|
919
|
+
...operationOptionsToRequestParameters(options),
|
|
920
|
+
contentType: "application/json",
|
|
921
|
+
headers: {
|
|
922
|
+
...(options?.ifMatch !== undefined ? { "if-match": options?.ifMatch } : {}),
|
|
923
|
+
...(options?.ifNoneMatch !== undefined ? { "if-none-match": options?.ifNoneMatch } : {}),
|
|
924
|
+
accept: "application/json",
|
|
925
|
+
...options.requestOptions?.headers,
|
|
926
|
+
},
|
|
927
|
+
body: managedClusterSerializer(parameters),
|
|
928
|
+
});
|
|
929
|
+
}
|
|
930
|
+
export async function _createOrUpdateDeserialize(result) {
|
|
931
|
+
const expectedStatuses = ["200", "201", "202"];
|
|
932
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
933
|
+
const error = createRestError(result);
|
|
934
|
+
error.details = errorResponseDeserializer(result.body);
|
|
935
|
+
throw error;
|
|
927
936
|
}
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
const path = expandUrlTemplate(
|
|
961
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}",
|
|
962
|
-
{
|
|
963
|
-
subscriptionId: context.subscriptionId,
|
|
964
|
-
resourceGroupName,
|
|
965
|
-
resourceName,
|
|
966
|
-
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
937
|
+
return managedClusterDeserializer(result.body);
|
|
938
|
+
}
|
|
939
|
+
/** Creates or updates a managed cluster. */
|
|
940
|
+
export function createOrUpdate(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
941
|
+
return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201", "202"], {
|
|
942
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
943
|
+
abortSignal: options?.abortSignal,
|
|
944
|
+
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options),
|
|
945
|
+
resourceLocationConfig: "azure-async-operation",
|
|
946
|
+
apiVersion: context.apiVersion ?? "2026-01-02-preview",
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
export function _getSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
950
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}", {
|
|
951
|
+
subscriptionId: context.subscriptionId,
|
|
952
|
+
resourceGroupName: resourceGroupName,
|
|
953
|
+
resourceName: resourceName,
|
|
954
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-02-preview",
|
|
955
|
+
}, {
|
|
956
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
957
|
+
});
|
|
958
|
+
return context.path(path).get({
|
|
959
|
+
...operationOptionsToRequestParameters(options),
|
|
960
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
961
|
+
});
|
|
962
|
+
}
|
|
963
|
+
export async function _getDeserialize(result) {
|
|
964
|
+
const expectedStatuses = ["200"];
|
|
965
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
966
|
+
const error = createRestError(result);
|
|
967
|
+
error.details = errorResponseDeserializer(result.body);
|
|
968
|
+
throw error;
|
|
970
969
|
}
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
980
|
-
const error = createRestError(result);
|
|
981
|
-
error.details = errorResponseDeserializer(result.body);
|
|
982
|
-
throw error;
|
|
983
|
-
}
|
|
984
|
-
return managedClusterDeserializer(result.body);
|
|
985
|
-
}
|
|
986
|
-
async function get(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
987
|
-
const result = await _getSend(context, resourceGroupName, resourceName, options);
|
|
988
|
-
return _getDeserialize(result);
|
|
989
|
-
}
|
|
990
|
-
export {
|
|
991
|
-
$delete,
|
|
992
|
-
_$deleteDeserialize,
|
|
993
|
-
_$deleteSend,
|
|
994
|
-
_abortLatestOperationDeserialize,
|
|
995
|
-
_abortLatestOperationSend,
|
|
996
|
-
_createOrUpdateDeserialize,
|
|
997
|
-
_createOrUpdateSend,
|
|
998
|
-
_getAccessProfileDeserialize,
|
|
999
|
-
_getAccessProfileSend,
|
|
1000
|
-
_getCommandResultDeserialize,
|
|
1001
|
-
_getCommandResultSend,
|
|
1002
|
-
_getDeserialize,
|
|
1003
|
-
_getMeshRevisionProfileDeserialize,
|
|
1004
|
-
_getMeshRevisionProfileSend,
|
|
1005
|
-
_getMeshUpgradeProfileDeserialize,
|
|
1006
|
-
_getMeshUpgradeProfileSend,
|
|
1007
|
-
_getSend,
|
|
1008
|
-
_getUpgradeProfileDeserialize,
|
|
1009
|
-
_getUpgradeProfileSend,
|
|
1010
|
-
_listByResourceGroupDeserialize,
|
|
1011
|
-
_listByResourceGroupSend,
|
|
1012
|
-
_listClusterAdminCredentialsDeserialize,
|
|
1013
|
-
_listClusterAdminCredentialsSend,
|
|
1014
|
-
_listClusterMonitoringUserCredentialsDeserialize,
|
|
1015
|
-
_listClusterMonitoringUserCredentialsSend,
|
|
1016
|
-
_listClusterUserCredentialsDeserialize,
|
|
1017
|
-
_listClusterUserCredentialsSend,
|
|
1018
|
-
_listDeserialize,
|
|
1019
|
-
_listKubernetesVersionsDeserialize,
|
|
1020
|
-
_listKubernetesVersionsSend,
|
|
1021
|
-
_listMeshRevisionProfilesDeserialize,
|
|
1022
|
-
_listMeshRevisionProfilesSend,
|
|
1023
|
-
_listMeshUpgradeProfilesDeserialize,
|
|
1024
|
-
_listMeshUpgradeProfilesSend,
|
|
1025
|
-
_listOutboundNetworkDependenciesEndpointsDeserialize,
|
|
1026
|
-
_listOutboundNetworkDependenciesEndpointsSend,
|
|
1027
|
-
_listSend,
|
|
1028
|
-
_resetAADProfileDeserialize,
|
|
1029
|
-
_resetAADProfileSend,
|
|
1030
|
-
_resetServicePrincipalProfileDeserialize,
|
|
1031
|
-
_resetServicePrincipalProfileSend,
|
|
1032
|
-
_rotateClusterCertificatesDeserialize,
|
|
1033
|
-
_rotateClusterCertificatesSend,
|
|
1034
|
-
_rotateServiceAccountSigningKeysDeserialize,
|
|
1035
|
-
_rotateServiceAccountSigningKeysSend,
|
|
1036
|
-
_runCommandDeserialize,
|
|
1037
|
-
_runCommandSend,
|
|
1038
|
-
_startDeserialize,
|
|
1039
|
-
_startSend,
|
|
1040
|
-
_stopDeserialize,
|
|
1041
|
-
_stopSend,
|
|
1042
|
-
_updateTagsDeserialize,
|
|
1043
|
-
_updateTagsSend,
|
|
1044
|
-
abortLatestOperation,
|
|
1045
|
-
createOrUpdate,
|
|
1046
|
-
get,
|
|
1047
|
-
getAccessProfile,
|
|
1048
|
-
getCommandResult,
|
|
1049
|
-
getMeshRevisionProfile,
|
|
1050
|
-
getMeshUpgradeProfile,
|
|
1051
|
-
getUpgradeProfile,
|
|
1052
|
-
list,
|
|
1053
|
-
listByResourceGroup,
|
|
1054
|
-
listClusterAdminCredentials,
|
|
1055
|
-
listClusterMonitoringUserCredentials,
|
|
1056
|
-
listClusterUserCredentials,
|
|
1057
|
-
listKubernetesVersions,
|
|
1058
|
-
listMeshRevisionProfiles,
|
|
1059
|
-
listMeshUpgradeProfiles,
|
|
1060
|
-
listOutboundNetworkDependenciesEndpoints,
|
|
1061
|
-
resetAADProfile,
|
|
1062
|
-
resetServicePrincipalProfile,
|
|
1063
|
-
rotateClusterCertificates,
|
|
1064
|
-
rotateServiceAccountSigningKeys,
|
|
1065
|
-
runCommand,
|
|
1066
|
-
start,
|
|
1067
|
-
stop,
|
|
1068
|
-
updateTags
|
|
1069
|
-
};
|
|
970
|
+
return managedClusterDeserializer(result.body);
|
|
971
|
+
}
|
|
972
|
+
/** Gets a managed cluster. */
|
|
973
|
+
export async function get(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
974
|
+
const result = await _getSend(context, resourceGroupName, resourceName, options);
|
|
975
|
+
return _getDeserialize(result);
|
|
976
|
+
}
|
|
977
|
+
//# sourceMappingURL=operations.js.map
|