@azure/arm-containerservice 25.3.0-beta.1 → 25.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +1 -5
- package/dist/browser/api/agentPools/operations.js +42 -59
- package/dist/browser/api/agentPools/operations.js.map +1 -1
- package/dist/browser/api/agentPools/options.d.ts +0 -5
- package/dist/browser/api/agentPools/options.js.map +1 -1
- package/dist/browser/api/containerServiceContext.js +4 -2
- package/dist/browser/api/containerServiceContext.js.map +1 -1
- package/dist/browser/api/identityBindings/operations.js +19 -15
- package/dist/browser/api/identityBindings/operations.js.map +1 -1
- 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 +1 -6
- package/dist/browser/api/machines/operations.js +10 -53
- package/dist/browser/api/machines/operations.js.map +1 -1
- package/dist/browser/api/machines/options.d.ts +0 -9
- package/dist/browser/api/machines/options.js.map +1 -1
- package/dist/browser/api/maintenanceConfigurations/operations.js +17 -13
- package/dist/browser/api/maintenanceConfigurations/operations.js.map +1 -1
- 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 +4 -24
- package/dist/browser/api/managedClusters/operations.js +125 -244
- package/dist/browser/api/managedClusters/operations.js.map +1 -1
- package/dist/browser/api/managedClusters/options.d.ts +0 -19
- package/dist/browser/api/managedClusters/options.js.map +1 -1
- package/dist/browser/api/managedNamespaces/operations.js +27 -19
- package/dist/browser/api/managedNamespaces/operations.js.map +1 -1
- package/dist/browser/api/operations/operations.js +5 -7
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/operations.js +17 -9
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/privateLinkResources/operations.js +4 -2
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
- package/dist/browser/api/resolvePrivateLinkServiceId/operations.js +4 -2
- package/dist/browser/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
- package/dist/browser/api/snapshots/operations.js +26 -22
- package/dist/browser/api/snapshots/operations.js.map +1 -1
- package/dist/browser/api/trustedAccessRoleBindings/operations.js +19 -15
- package/dist/browser/api/trustedAccessRoleBindings/operations.js.map +1 -1
- package/dist/browser/api/trustedAccessRoles/operations.js +5 -7
- package/dist/browser/api/trustedAccessRoles/operations.js.map +1 -1
- package/dist/browser/classic/agentPools/index.d.ts +1 -7
- package/dist/browser/classic/agentPools/index.js +1 -10
- package/dist/browser/classic/agentPools/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +0 -7
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/machines/index.d.ts +1 -9
- package/dist/browser/classic/machines/index.js +1 -11
- package/dist/browser/classic/machines/index.js.map +1 -1
- package/dist/browser/classic/managedClusters/index.d.ts +3 -17
- package/dist/browser/classic/managedClusters/index.js +1 -14
- package/dist/browser/classic/managedClusters/index.js.map +1 -1
- package/dist/browser/containerServiceClient.d.ts +0 -21
- package/dist/browser/containerServiceClient.js +0 -28
- package/dist/browser/containerServiceClient.js.map +1 -1
- package/dist/browser/index.d.ts +7 -13
- package/dist/browser/index.js +2 -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 +20 -1555
- package/dist/browser/models/models.js +21 -1950
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +6 -27
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/api/agentPools/index.d.ts +2 -2
- package/dist/commonjs/api/agentPools/index.js +0 -2
- package/dist/commonjs/api/agentPools/index.js.map +2 -2
- package/dist/commonjs/api/agentPools/operations.d.ts +1 -5
- package/dist/commonjs/api/agentPools/operations.js +42 -68
- package/dist/commonjs/api/agentPools/operations.js.map +2 -2
- package/dist/commonjs/api/agentPools/options.d.ts +0 -5
- package/dist/commonjs/api/agentPools/options.js.map +1 -1
- package/dist/commonjs/api/containerServiceContext.js +4 -2
- package/dist/commonjs/api/containerServiceContext.js.map +2 -2
- package/dist/commonjs/api/identityBindings/operations.js +19 -15
- package/dist/commonjs/api/identityBindings/operations.js.map +2 -2
- package/dist/commonjs/api/machines/index.d.ts +2 -2
- package/dist/commonjs/api/machines/index.js +0 -2
- package/dist/commonjs/api/machines/index.js.map +2 -2
- package/dist/commonjs/api/machines/operations.d.ts +1 -6
- package/dist/commonjs/api/machines/operations.js +9 -69
- package/dist/commonjs/api/machines/operations.js.map +2 -2
- package/dist/commonjs/api/machines/options.d.ts +0 -9
- package/dist/commonjs/api/machines/options.js.map +1 -1
- package/dist/commonjs/api/maintenanceConfigurations/operations.js +17 -13
- package/dist/commonjs/api/maintenanceConfigurations/operations.js.map +2 -2
- package/dist/commonjs/api/managedClusters/index.d.ts +2 -2
- package/dist/commonjs/api/managedClusters/index.js +0 -10
- package/dist/commonjs/api/managedClusters/index.js.map +2 -2
- package/dist/commonjs/api/managedClusters/operations.d.ts +4 -24
- package/dist/commonjs/api/managedClusters/operations.js +124 -305
- package/dist/commonjs/api/managedClusters/operations.js.map +2 -2
- package/dist/commonjs/api/managedClusters/options.d.ts +0 -19
- package/dist/commonjs/api/managedClusters/options.js.map +1 -1
- package/dist/commonjs/api/managedNamespaces/operations.js +27 -19
- package/dist/commonjs/api/managedNamespaces/operations.js.map +2 -2
- package/dist/commonjs/api/operations/operations.js +5 -7
- package/dist/commonjs/api/operations/operations.js.map +2 -2
- package/dist/commonjs/api/privateEndpointConnections/operations.js +17 -9
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +2 -2
- package/dist/commonjs/api/privateLinkResources/operations.js +4 -2
- package/dist/commonjs/api/privateLinkResources/operations.js.map +2 -2
- package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js +4 -2
- package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js.map +2 -2
- package/dist/commonjs/api/snapshots/operations.js +26 -22
- package/dist/commonjs/api/snapshots/operations.js.map +2 -2
- package/dist/commonjs/api/trustedAccessRoleBindings/operations.js +19 -15
- package/dist/commonjs/api/trustedAccessRoleBindings/operations.js.map +2 -2
- package/dist/commonjs/api/trustedAccessRoles/operations.js +5 -7
- package/dist/commonjs/api/trustedAccessRoles/operations.js.map +2 -2
- package/dist/commonjs/classic/agentPools/index.d.ts +1 -7
- package/dist/commonjs/classic/agentPools/index.js +0 -21
- package/dist/commonjs/classic/agentPools/index.js.map +2 -2
- package/dist/commonjs/classic/index.d.ts +0 -7
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/machines/index.d.ts +1 -9
- package/dist/commonjs/classic/machines/index.js +0 -34
- package/dist/commonjs/classic/machines/index.js.map +2 -2
- package/dist/commonjs/classic/managedClusters/index.d.ts +3 -17
- package/dist/commonjs/classic/managedClusters/index.js +0 -25
- package/dist/commonjs/classic/managedClusters/index.js.map +2 -2
- package/dist/commonjs/containerServiceClient.d.ts +0 -21
- package/dist/commonjs/containerServiceClient.js +0 -28
- package/dist/commonjs/containerServiceClient.js.map +2 -2
- package/dist/commonjs/index.d.ts +7 -13
- package/dist/commonjs/index.js +5 -52
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.js +0 -52
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +20 -1555
- package/dist/commonjs/models/models.js +37 -1884
- package/dist/commonjs/models/models.js.map +3 -3
- package/dist/commonjs/restorePollerHelpers.js +29 -50
- package/dist/commonjs/restorePollerHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/pagingHelpers.js +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/pollingHelpers.js +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +2 -2
- package/dist/esm/api/agentPools/index.d.ts +2 -2
- package/dist/esm/api/agentPools/index.js +1 -1
- package/dist/esm/api/agentPools/index.js.map +1 -1
- package/dist/esm/api/agentPools/operations.d.ts +1 -5
- package/dist/esm/api/agentPools/operations.js +42 -59
- package/dist/esm/api/agentPools/operations.js.map +1 -1
- package/dist/esm/api/agentPools/options.d.ts +0 -5
- package/dist/esm/api/agentPools/options.js.map +1 -1
- package/dist/esm/api/containerServiceContext.js +4 -2
- package/dist/esm/api/containerServiceContext.js.map +1 -1
- package/dist/esm/api/identityBindings/operations.js +19 -15
- package/dist/esm/api/identityBindings/operations.js.map +1 -1
- package/dist/esm/api/machines/index.d.ts +2 -2
- package/dist/esm/api/machines/index.js +1 -1
- package/dist/esm/api/machines/index.js.map +1 -1
- package/dist/esm/api/machines/operations.d.ts +1 -6
- package/dist/esm/api/machines/operations.js +10 -53
- package/dist/esm/api/machines/operations.js.map +1 -1
- package/dist/esm/api/machines/options.d.ts +0 -9
- package/dist/esm/api/machines/options.js.map +1 -1
- package/dist/esm/api/maintenanceConfigurations/operations.js +17 -13
- package/dist/esm/api/maintenanceConfigurations/operations.js.map +1 -1
- package/dist/esm/api/managedClusters/index.d.ts +2 -2
- package/dist/esm/api/managedClusters/index.js +1 -1
- package/dist/esm/api/managedClusters/index.js.map +1 -1
- package/dist/esm/api/managedClusters/operations.d.ts +4 -24
- package/dist/esm/api/managedClusters/operations.js +125 -244
- package/dist/esm/api/managedClusters/operations.js.map +1 -1
- package/dist/esm/api/managedClusters/options.d.ts +0 -19
- package/dist/esm/api/managedClusters/options.js.map +1 -1
- package/dist/esm/api/managedNamespaces/operations.js +27 -19
- package/dist/esm/api/managedNamespaces/operations.js.map +1 -1
- package/dist/esm/api/operations/operations.js +5 -7
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/operations.js +17 -9
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/esm/api/privateLinkResources/operations.js +4 -2
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -1
- package/dist/esm/api/resolvePrivateLinkServiceId/operations.js +4 -2
- package/dist/esm/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
- package/dist/esm/api/snapshots/operations.js +26 -22
- package/dist/esm/api/snapshots/operations.js.map +1 -1
- package/dist/esm/api/trustedAccessRoleBindings/operations.js +19 -15
- package/dist/esm/api/trustedAccessRoleBindings/operations.js.map +1 -1
- package/dist/esm/api/trustedAccessRoles/operations.js +5 -7
- package/dist/esm/api/trustedAccessRoles/operations.js.map +1 -1
- package/dist/esm/classic/agentPools/index.d.ts +1 -7
- package/dist/esm/classic/agentPools/index.js +1 -10
- package/dist/esm/classic/agentPools/index.js.map +1 -1
- package/dist/esm/classic/index.d.ts +0 -7
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/machines/index.d.ts +1 -9
- package/dist/esm/classic/machines/index.js +1 -11
- package/dist/esm/classic/machines/index.js.map +1 -1
- package/dist/esm/classic/managedClusters/index.d.ts +3 -17
- package/dist/esm/classic/managedClusters/index.js +1 -14
- package/dist/esm/classic/managedClusters/index.js.map +1 -1
- package/dist/esm/containerServiceClient.d.ts +0 -21
- package/dist/esm/containerServiceClient.js +0 -28
- package/dist/esm/containerServiceClient.js.map +1 -1
- package/dist/esm/index.d.ts +7 -13
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +20 -1555
- package/dist/esm/models/models.js +21 -1950
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +6 -27
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/package.json +5 -102
- package/dist/browser/api/containerService/index.d.ts +0 -3
- package/dist/browser/api/containerService/index.js +0 -4
- package/dist/browser/api/containerService/index.js.map +0 -1
- package/dist/browser/api/containerService/operations.d.ts +0 -10
- package/dist/browser/api/containerService/operations.js +0 -37
- package/dist/browser/api/containerService/operations.js.map +0 -1
- package/dist/browser/api/containerService/options.d.ts +0 -5
- package/dist/browser/api/containerService/options.js +0 -4
- package/dist/browser/api/containerService/options.js.map +0 -1
- package/dist/browser/api/jwtAuthenticators/index.d.ts +0 -3
- package/dist/browser/api/jwtAuthenticators/index.js +0 -4
- package/dist/browser/api/jwtAuthenticators/index.js.map +0 -1
- package/dist/browser/api/jwtAuthenticators/operations.d.ts +0 -23
- package/dist/browser/api/jwtAuthenticators/operations.js +0 -135
- package/dist/browser/api/jwtAuthenticators/operations.js.map +0 -1
- package/dist/browser/api/jwtAuthenticators/options.d.ts +0 -18
- package/dist/browser/api/jwtAuthenticators/options.js +0 -4
- package/dist/browser/api/jwtAuthenticators/options.js.map +0 -1
- package/dist/browser/api/loadBalancers/index.d.ts +0 -3
- package/dist/browser/api/loadBalancers/index.js +0 -4
- package/dist/browser/api/loadBalancers/index.js.map +0 -1
- package/dist/browser/api/loadBalancers/operations.d.ts +0 -23
- package/dist/browser/api/loadBalancers/operations.js +0 -130
- package/dist/browser/api/loadBalancers/operations.js.map +0 -1
- package/dist/browser/api/loadBalancers/options.d.ts +0 -16
- package/dist/browser/api/loadBalancers/options.js +0 -4
- package/dist/browser/api/loadBalancers/options.js.map +0 -1
- package/dist/browser/api/managedClusterSnapshots/index.d.ts +0 -3
- package/dist/browser/api/managedClusterSnapshots/index.js +0 -4
- package/dist/browser/api/managedClusterSnapshots/index.js.map +0 -1
- package/dist/browser/api/managedClusterSnapshots/operations.d.ts +0 -30
- package/dist/browser/api/managedClusterSnapshots/operations.js +0 -179
- package/dist/browser/api/managedClusterSnapshots/operations.js.map +0 -1
- package/dist/browser/api/managedClusterSnapshots/options.d.ts +0 -20
- package/dist/browser/api/managedClusterSnapshots/options.js +0 -4
- package/dist/browser/api/managedClusterSnapshots/options.js.map +0 -1
- package/dist/browser/api/meshMemberships/index.d.ts +0 -3
- package/dist/browser/api/meshMemberships/index.js +0 -4
- package/dist/browser/api/meshMemberships/index.js.map +0 -1
- package/dist/browser/api/meshMemberships/operations.d.ts +0 -23
- package/dist/browser/api/meshMemberships/operations.js +0 -135
- package/dist/browser/api/meshMemberships/operations.js.map +0 -1
- package/dist/browser/api/meshMemberships/options.d.ts +0 -18
- package/dist/browser/api/meshMemberships/options.js +0 -4
- package/dist/browser/api/meshMemberships/options.js.map +0 -1
- package/dist/browser/api/operationStatusResult/index.d.ts +0 -3
- package/dist/browser/api/operationStatusResult/index.js +0 -4
- package/dist/browser/api/operationStatusResult/index.js.map +0 -1
- package/dist/browser/api/operationStatusResult/operations.d.ts +0 -18
- package/dist/browser/api/operationStatusResult/operations.js +0 -97
- package/dist/browser/api/operationStatusResult/operations.js.map +0 -1
- package/dist/browser/api/operationStatusResult/options.d.ts +0 -11
- package/dist/browser/api/operationStatusResult/options.js +0 -4
- package/dist/browser/api/operationStatusResult/options.js.map +0 -1
- package/dist/browser/api/vmSkus/index.d.ts +0 -3
- package/dist/browser/api/vmSkus/index.js +0 -4
- package/dist/browser/api/vmSkus/index.js.map +0 -1
- package/dist/browser/api/vmSkus/operations.d.ts +0 -10
- package/dist/browser/api/vmSkus/operations.js +0 -38
- package/dist/browser/api/vmSkus/operations.js.map +0 -1
- package/dist/browser/api/vmSkus/options.d.ts +0 -7
- package/dist/browser/api/vmSkus/options.js +0 -4
- package/dist/browser/api/vmSkus/options.js.map +0 -1
- package/dist/browser/classic/containerService/index.d.ts +0 -11
- package/dist/browser/classic/containerService/index.js +0 -14
- package/dist/browser/classic/containerService/index.js.map +0 -1
- package/dist/browser/classic/jwtAuthenticators/index.d.ts +0 -27
- package/dist/browser/classic/jwtAuthenticators/index.js +0 -34
- package/dist/browser/classic/jwtAuthenticators/index.js.map +0 -1
- package/dist/browser/classic/loadBalancers/index.d.ts +0 -23
- package/dist/browser/classic/loadBalancers/index.js +0 -26
- package/dist/browser/classic/loadBalancers/index.js.map +0 -1
- package/dist/browser/classic/managedClusterSnapshots/index.d.ts +0 -21
- package/dist/browser/classic/managedClusterSnapshots/index.js +0 -19
- package/dist/browser/classic/managedClusterSnapshots/index.js.map +0 -1
- package/dist/browser/classic/meshMemberships/index.d.ts +0 -27
- package/dist/browser/classic/meshMemberships/index.js +0 -34
- package/dist/browser/classic/meshMemberships/index.js.map +0 -1
- package/dist/browser/classic/operationStatusResult/index.d.ts +0 -15
- package/dist/browser/classic/operationStatusResult/index.js +0 -16
- package/dist/browser/classic/operationStatusResult/index.js.map +0 -1
- package/dist/browser/classic/vmSkus/index.d.ts +0 -11
- package/dist/browser/classic/vmSkus/index.js +0 -14
- package/dist/browser/classic/vmSkus/index.js.map +0 -1
- package/dist/commonjs/api/containerService/index.d.ts +0 -3
- package/dist/commonjs/api/containerService/index.js +0 -28
- package/dist/commonjs/api/containerService/index.js.map +0 -7
- package/dist/commonjs/api/containerService/operations.d.ts +0 -10
- package/dist/commonjs/api/containerService/operations.js +0 -74
- package/dist/commonjs/api/containerService/operations.js.map +0 -7
- package/dist/commonjs/api/containerService/options.d.ts +0 -5
- package/dist/commonjs/api/containerService/options.js +0 -16
- package/dist/commonjs/api/containerService/options.js.map +0 -7
- package/dist/commonjs/api/jwtAuthenticators/index.d.ts +0 -3
- package/dist/commonjs/api/jwtAuthenticators/index.js +0 -34
- package/dist/commonjs/api/jwtAuthenticators/index.js.map +0 -7
- package/dist/commonjs/api/jwtAuthenticators/operations.d.ts +0 -23
- package/dist/commonjs/api/jwtAuthenticators/operations.js +0 -212
- package/dist/commonjs/api/jwtAuthenticators/operations.js.map +0 -7
- package/dist/commonjs/api/jwtAuthenticators/options.d.ts +0 -18
- package/dist/commonjs/api/jwtAuthenticators/options.js +0 -16
- package/dist/commonjs/api/jwtAuthenticators/options.js.map +0 -7
- package/dist/commonjs/api/loadBalancers/index.d.ts +0 -3
- package/dist/commonjs/api/loadBalancers/index.js +0 -34
- package/dist/commonjs/api/loadBalancers/index.js.map +0 -7
- package/dist/commonjs/api/loadBalancers/operations.d.ts +0 -23
- package/dist/commonjs/api/loadBalancers/operations.js +0 -207
- package/dist/commonjs/api/loadBalancers/operations.js.map +0 -7
- package/dist/commonjs/api/loadBalancers/options.d.ts +0 -16
- package/dist/commonjs/api/loadBalancers/options.js +0 -16
- package/dist/commonjs/api/loadBalancers/options.js.map +0 -7
- package/dist/commonjs/api/managedClusterSnapshots/index.d.ts +0 -3
- package/dist/commonjs/api/managedClusterSnapshots/index.js +0 -38
- package/dist/commonjs/api/managedClusterSnapshots/index.js.map +0 -7
- package/dist/commonjs/api/managedClusterSnapshots/operations.d.ts +0 -30
- package/dist/commonjs/api/managedClusterSnapshots/operations.js +0 -279
- package/dist/commonjs/api/managedClusterSnapshots/operations.js.map +0 -7
- package/dist/commonjs/api/managedClusterSnapshots/options.d.ts +0 -20
- package/dist/commonjs/api/managedClusterSnapshots/options.js +0 -16
- package/dist/commonjs/api/managedClusterSnapshots/options.js.map +0 -7
- package/dist/commonjs/api/meshMemberships/index.d.ts +0 -3
- package/dist/commonjs/api/meshMemberships/index.js +0 -34
- package/dist/commonjs/api/meshMemberships/index.js.map +0 -7
- package/dist/commonjs/api/meshMemberships/operations.d.ts +0 -23
- package/dist/commonjs/api/meshMemberships/operations.js +0 -212
- package/dist/commonjs/api/meshMemberships/operations.js.map +0 -7
- package/dist/commonjs/api/meshMemberships/options.d.ts +0 -18
- package/dist/commonjs/api/meshMemberships/options.js +0 -16
- package/dist/commonjs/api/meshMemberships/options.js.map +0 -7
- package/dist/commonjs/api/operationStatusResult/index.d.ts +0 -3
- package/dist/commonjs/api/operationStatusResult/index.js +0 -32
- package/dist/commonjs/api/operationStatusResult/index.js.map +0 -7
- package/dist/commonjs/api/operationStatusResult/operations.d.ts +0 -18
- package/dist/commonjs/api/operationStatusResult/operations.js +0 -159
- package/dist/commonjs/api/operationStatusResult/operations.js.map +0 -7
- package/dist/commonjs/api/operationStatusResult/options.d.ts +0 -11
- package/dist/commonjs/api/operationStatusResult/options.js +0 -16
- package/dist/commonjs/api/operationStatusResult/options.js.map +0 -7
- package/dist/commonjs/api/vmSkus/index.d.ts +0 -3
- package/dist/commonjs/api/vmSkus/index.js +0 -28
- package/dist/commonjs/api/vmSkus/index.js.map +0 -7
- package/dist/commonjs/api/vmSkus/operations.d.ts +0 -10
- package/dist/commonjs/api/vmSkus/operations.js +0 -75
- package/dist/commonjs/api/vmSkus/operations.js.map +0 -7
- package/dist/commonjs/api/vmSkus/options.d.ts +0 -7
- package/dist/commonjs/api/vmSkus/options.js +0 -16
- package/dist/commonjs/api/vmSkus/options.js.map +0 -7
- package/dist/commonjs/classic/containerService/index.d.ts +0 -11
- package/dist/commonjs/classic/containerService/index.js +0 -38
- package/dist/commonjs/classic/containerService/index.js.map +0 -7
- package/dist/commonjs/classic/jwtAuthenticators/index.d.ts +0 -27
- package/dist/commonjs/classic/jwtAuthenticators/index.js +0 -85
- package/dist/commonjs/classic/jwtAuthenticators/index.js.map +0 -7
- package/dist/commonjs/classic/loadBalancers/index.d.ts +0 -23
- package/dist/commonjs/classic/loadBalancers/index.js +0 -57
- package/dist/commonjs/classic/loadBalancers/index.js.map +0 -7
- package/dist/commonjs/classic/managedClusterSnapshots/index.d.ts +0 -21
- package/dist/commonjs/classic/managedClusterSnapshots/index.js +0 -43
- package/dist/commonjs/classic/managedClusterSnapshots/index.js.map +0 -7
- package/dist/commonjs/classic/meshMemberships/index.d.ts +0 -27
- package/dist/commonjs/classic/meshMemberships/index.js +0 -79
- package/dist/commonjs/classic/meshMemberships/index.js.map +0 -7
- package/dist/commonjs/classic/operationStatusResult/index.d.ts +0 -15
- package/dist/commonjs/classic/operationStatusResult/index.js +0 -40
- package/dist/commonjs/classic/operationStatusResult/index.js.map +0 -7
- package/dist/commonjs/classic/vmSkus/index.d.ts +0 -11
- package/dist/commonjs/classic/vmSkus/index.js +0 -38
- package/dist/commonjs/classic/vmSkus/index.js.map +0 -7
- package/dist/esm/api/containerService/index.d.ts +0 -3
- package/dist/esm/api/containerService/index.js +0 -4
- package/dist/esm/api/containerService/index.js.map +0 -1
- package/dist/esm/api/containerService/operations.d.ts +0 -10
- package/dist/esm/api/containerService/operations.js +0 -37
- package/dist/esm/api/containerService/operations.js.map +0 -1
- package/dist/esm/api/containerService/options.d.ts +0 -5
- package/dist/esm/api/containerService/options.js +0 -4
- package/dist/esm/api/containerService/options.js.map +0 -1
- package/dist/esm/api/jwtAuthenticators/index.d.ts +0 -3
- package/dist/esm/api/jwtAuthenticators/index.js +0 -4
- package/dist/esm/api/jwtAuthenticators/index.js.map +0 -1
- package/dist/esm/api/jwtAuthenticators/operations.d.ts +0 -23
- package/dist/esm/api/jwtAuthenticators/operations.js +0 -135
- package/dist/esm/api/jwtAuthenticators/operations.js.map +0 -1
- package/dist/esm/api/jwtAuthenticators/options.d.ts +0 -18
- package/dist/esm/api/jwtAuthenticators/options.js +0 -4
- package/dist/esm/api/jwtAuthenticators/options.js.map +0 -1
- package/dist/esm/api/loadBalancers/index.d.ts +0 -3
- package/dist/esm/api/loadBalancers/index.js +0 -4
- package/dist/esm/api/loadBalancers/index.js.map +0 -1
- package/dist/esm/api/loadBalancers/operations.d.ts +0 -23
- package/dist/esm/api/loadBalancers/operations.js +0 -130
- package/dist/esm/api/loadBalancers/operations.js.map +0 -1
- package/dist/esm/api/loadBalancers/options.d.ts +0 -16
- package/dist/esm/api/loadBalancers/options.js +0 -4
- package/dist/esm/api/loadBalancers/options.js.map +0 -1
- package/dist/esm/api/managedClusterSnapshots/index.d.ts +0 -3
- package/dist/esm/api/managedClusterSnapshots/index.js +0 -4
- package/dist/esm/api/managedClusterSnapshots/index.js.map +0 -1
- package/dist/esm/api/managedClusterSnapshots/operations.d.ts +0 -30
- package/dist/esm/api/managedClusterSnapshots/operations.js +0 -179
- package/dist/esm/api/managedClusterSnapshots/operations.js.map +0 -1
- package/dist/esm/api/managedClusterSnapshots/options.d.ts +0 -20
- package/dist/esm/api/managedClusterSnapshots/options.js +0 -4
- package/dist/esm/api/managedClusterSnapshots/options.js.map +0 -1
- package/dist/esm/api/meshMemberships/index.d.ts +0 -3
- package/dist/esm/api/meshMemberships/index.js +0 -4
- package/dist/esm/api/meshMemberships/index.js.map +0 -1
- package/dist/esm/api/meshMemberships/operations.d.ts +0 -23
- package/dist/esm/api/meshMemberships/operations.js +0 -135
- package/dist/esm/api/meshMemberships/operations.js.map +0 -1
- package/dist/esm/api/meshMemberships/options.d.ts +0 -18
- package/dist/esm/api/meshMemberships/options.js +0 -4
- package/dist/esm/api/meshMemberships/options.js.map +0 -1
- package/dist/esm/api/operationStatusResult/index.d.ts +0 -3
- package/dist/esm/api/operationStatusResult/index.js +0 -4
- package/dist/esm/api/operationStatusResult/index.js.map +0 -1
- package/dist/esm/api/operationStatusResult/operations.d.ts +0 -18
- package/dist/esm/api/operationStatusResult/operations.js +0 -97
- package/dist/esm/api/operationStatusResult/operations.js.map +0 -1
- package/dist/esm/api/operationStatusResult/options.d.ts +0 -11
- package/dist/esm/api/operationStatusResult/options.js +0 -4
- package/dist/esm/api/operationStatusResult/options.js.map +0 -1
- package/dist/esm/api/vmSkus/index.d.ts +0 -3
- package/dist/esm/api/vmSkus/index.js +0 -4
- package/dist/esm/api/vmSkus/index.js.map +0 -1
- package/dist/esm/api/vmSkus/operations.d.ts +0 -10
- package/dist/esm/api/vmSkus/operations.js +0 -38
- package/dist/esm/api/vmSkus/operations.js.map +0 -1
- package/dist/esm/api/vmSkus/options.d.ts +0 -7
- package/dist/esm/api/vmSkus/options.js +0 -4
- package/dist/esm/api/vmSkus/options.js.map +0 -1
- package/dist/esm/classic/containerService/index.d.ts +0 -11
- package/dist/esm/classic/containerService/index.js +0 -14
- package/dist/esm/classic/containerService/index.js.map +0 -1
- package/dist/esm/classic/jwtAuthenticators/index.d.ts +0 -27
- package/dist/esm/classic/jwtAuthenticators/index.js +0 -34
- package/dist/esm/classic/jwtAuthenticators/index.js.map +0 -1
- package/dist/esm/classic/loadBalancers/index.d.ts +0 -23
- package/dist/esm/classic/loadBalancers/index.js +0 -26
- package/dist/esm/classic/loadBalancers/index.js.map +0 -1
- package/dist/esm/classic/managedClusterSnapshots/index.d.ts +0 -21
- package/dist/esm/classic/managedClusterSnapshots/index.js +0 -19
- package/dist/esm/classic/managedClusterSnapshots/index.js.map +0 -1
- package/dist/esm/classic/meshMemberships/index.d.ts +0 -27
- package/dist/esm/classic/meshMemberships/index.js +0 -34
- package/dist/esm/classic/meshMemberships/index.js.map +0 -1
- package/dist/esm/classic/operationStatusResult/index.d.ts +0 -15
- package/dist/esm/classic/operationStatusResult/index.js +0 -16
- package/dist/esm/classic/operationStatusResult/index.js.map +0 -1
- package/dist/esm/classic/vmSkus/index.d.ts +0 -11
- package/dist/esm/classic/vmSkus/index.js +0 -14
- package/dist/esm/classic/vmSkus/index.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import { errorResponseDeserializer, managedClusterSerializer, managedClusterDeserializer, managedClusterServicePrincipalProfileSerializer, managedClusterAADProfileSerializer, tagsObjectSerializer, _managedClusterListResultDeserializer, managedClusterAccessProfileDeserializer, credentialResultsDeserializer, runCommandRequestSerializer, runCommandResultDeserializer, _outboundEnvironmentEndpointCollectionDeserializer,
|
|
3
|
+
import { errorResponseDeserializer, managedClusterSerializer, managedClusterDeserializer, managedClusterServicePrincipalProfileSerializer, managedClusterAADProfileSerializer, tagsObjectSerializer, _managedClusterListResultDeserializer, managedClusterAccessProfileDeserializer, credentialResultsDeserializer, runCommandRequestSerializer, runCommandResultDeserializer, _outboundEnvironmentEndpointCollectionDeserializer, managedClusterUpgradeProfileDeserializer, meshRevisionProfileDeserializer, _meshRevisionProfileListDeserializer, meshUpgradeProfileDeserializer, _meshUpgradeProfileListDeserializer, kubernetesVersionListResultDeserializer, } from "../../models/models.js";
|
|
4
4
|
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
5
|
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
6
|
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
@@ -9,7 +9,7 @@ export function _listKubernetesVersionsSend(context, location, options = { reque
|
|
|
9
9
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/kubernetesVersions{?api%2Dversion}", {
|
|
10
10
|
subscriptionId: context.subscriptionId,
|
|
11
11
|
location: location,
|
|
12
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
12
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
13
13
|
}, {
|
|
14
14
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
15
15
|
});
|
|
@@ -22,7 +22,9 @@ export async function _listKubernetesVersionsDeserialize(result) {
|
|
|
22
22
|
const expectedStatuses = ["200"];
|
|
23
23
|
if (!expectedStatuses.includes(result.status)) {
|
|
24
24
|
const error = createRestError(result);
|
|
25
|
-
|
|
25
|
+
if (result.body) {
|
|
26
|
+
error.details = errorResponseDeserializer(result.body);
|
|
27
|
+
}
|
|
26
28
|
throw error;
|
|
27
29
|
}
|
|
28
30
|
return kubernetesVersionListResultDeserializer(result.body);
|
|
@@ -37,7 +39,7 @@ export function _listMeshUpgradeProfilesSend(context, resourceGroupName, resourc
|
|
|
37
39
|
subscriptionId: context.subscriptionId,
|
|
38
40
|
resourceGroupName: resourceGroupName,
|
|
39
41
|
resourceName: resourceName,
|
|
40
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
42
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
41
43
|
}, {
|
|
42
44
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
43
45
|
});
|
|
@@ -50,18 +52,16 @@ export async function _listMeshUpgradeProfilesDeserialize(result) {
|
|
|
50
52
|
const expectedStatuses = ["200"];
|
|
51
53
|
if (!expectedStatuses.includes(result.status)) {
|
|
52
54
|
const error = createRestError(result);
|
|
53
|
-
|
|
55
|
+
if (result.body) {
|
|
56
|
+
error.details = errorResponseDeserializer(result.body);
|
|
57
|
+
}
|
|
54
58
|
throw error;
|
|
55
59
|
}
|
|
56
60
|
return _meshUpgradeProfileListDeserializer(result.body);
|
|
57
61
|
}
|
|
58
62
|
/** Lists available upgrades for all service meshes in a specific cluster. */
|
|
59
63
|
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-03-02-preview",
|
|
64
|
-
});
|
|
64
|
+
return buildPagedAsyncIterator(context, () => _listMeshUpgradeProfilesSend(context, resourceGroupName, resourceName, options), _listMeshUpgradeProfilesDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-04-01" });
|
|
65
65
|
}
|
|
66
66
|
export function _getMeshUpgradeProfileSend(context, resourceGroupName, resourceName, mode, options = { requestOptions: {} }) {
|
|
67
67
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/meshUpgradeProfiles/{mode}{?api%2Dversion}", {
|
|
@@ -69,7 +69,7 @@ export function _getMeshUpgradeProfileSend(context, resourceGroupName, resourceN
|
|
|
69
69
|
resourceGroupName: resourceGroupName,
|
|
70
70
|
resourceName: resourceName,
|
|
71
71
|
mode: mode,
|
|
72
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
72
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
73
73
|
}, {
|
|
74
74
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
75
75
|
});
|
|
@@ -82,7 +82,9 @@ export async function _getMeshUpgradeProfileDeserialize(result) {
|
|
|
82
82
|
const expectedStatuses = ["200"];
|
|
83
83
|
if (!expectedStatuses.includes(result.status)) {
|
|
84
84
|
const error = createRestError(result);
|
|
85
|
-
|
|
85
|
+
if (result.body) {
|
|
86
|
+
error.details = errorResponseDeserializer(result.body);
|
|
87
|
+
}
|
|
86
88
|
throw error;
|
|
87
89
|
}
|
|
88
90
|
return meshUpgradeProfileDeserializer(result.body);
|
|
@@ -96,7 +98,7 @@ export function _listMeshRevisionProfilesSend(context, location, options = { req
|
|
|
96
98
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles{?api%2Dversion}", {
|
|
97
99
|
subscriptionId: context.subscriptionId,
|
|
98
100
|
location: location,
|
|
99
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
101
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
100
102
|
}, {
|
|
101
103
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
102
104
|
});
|
|
@@ -109,25 +111,23 @@ export async function _listMeshRevisionProfilesDeserialize(result) {
|
|
|
109
111
|
const expectedStatuses = ["200"];
|
|
110
112
|
if (!expectedStatuses.includes(result.status)) {
|
|
111
113
|
const error = createRestError(result);
|
|
112
|
-
|
|
114
|
+
if (result.body) {
|
|
115
|
+
error.details = errorResponseDeserializer(result.body);
|
|
116
|
+
}
|
|
113
117
|
throw error;
|
|
114
118
|
}
|
|
115
119
|
return _meshRevisionProfileListDeserializer(result.body);
|
|
116
120
|
}
|
|
117
121
|
/** Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades */
|
|
118
122
|
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-03-02-preview",
|
|
123
|
-
});
|
|
123
|
+
return buildPagedAsyncIterator(context, () => _listMeshRevisionProfilesSend(context, location, options), _listMeshRevisionProfilesDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-04-01" });
|
|
124
124
|
}
|
|
125
125
|
export function _getMeshRevisionProfileSend(context, location, mode, options = { requestOptions: {} }) {
|
|
126
126
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles/{mode}{?api%2Dversion}", {
|
|
127
127
|
subscriptionId: context.subscriptionId,
|
|
128
128
|
location: location,
|
|
129
129
|
mode: mode,
|
|
130
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
130
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
131
131
|
}, {
|
|
132
132
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
133
133
|
});
|
|
@@ -140,7 +140,9 @@ export async function _getMeshRevisionProfileDeserialize(result) {
|
|
|
140
140
|
const expectedStatuses = ["200"];
|
|
141
141
|
if (!expectedStatuses.includes(result.status)) {
|
|
142
142
|
const error = createRestError(result);
|
|
143
|
-
|
|
143
|
+
if (result.body) {
|
|
144
|
+
error.details = errorResponseDeserializer(result.body);
|
|
145
|
+
}
|
|
144
146
|
throw error;
|
|
145
147
|
}
|
|
146
148
|
return meshRevisionProfileDeserializer(result.body);
|
|
@@ -150,128 +152,12 @@ export async function getMeshRevisionProfile(context, location, mode, options =
|
|
|
150
152
|
const result = await _getMeshRevisionProfileSend(context, location, mode, options);
|
|
151
153
|
return _getMeshRevisionProfileDeserialize(result);
|
|
152
154
|
}
|
|
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-03-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;
|
|
172
|
-
}
|
|
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-03-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-03-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;
|
|
203
|
-
}
|
|
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-03-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;
|
|
230
|
-
}
|
|
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-03-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-03-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;
|
|
261
|
-
}
|
|
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
155
|
export function _getUpgradeProfileSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
270
156
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default{?api%2Dversion}", {
|
|
271
157
|
subscriptionId: context.subscriptionId,
|
|
272
158
|
resourceGroupName: resourceGroupName,
|
|
273
159
|
resourceName: resourceName,
|
|
274
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
160
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
275
161
|
}, {
|
|
276
162
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
277
163
|
});
|
|
@@ -284,7 +170,9 @@ export async function _getUpgradeProfileDeserialize(result) {
|
|
|
284
170
|
const expectedStatuses = ["200"];
|
|
285
171
|
if (!expectedStatuses.includes(result.status)) {
|
|
286
172
|
const error = createRestError(result);
|
|
287
|
-
|
|
173
|
+
if (result.body) {
|
|
174
|
+
error.details = errorResponseDeserializer(result.body);
|
|
175
|
+
}
|
|
288
176
|
throw error;
|
|
289
177
|
}
|
|
290
178
|
return managedClusterUpgradeProfileDeserializer(result.body);
|
|
@@ -294,40 +182,6 @@ export async function getUpgradeProfile(context, resourceGroupName, resourceName
|
|
|
294
182
|
const result = await _getUpgradeProfileSend(context, resourceGroupName, resourceName, options);
|
|
295
183
|
return _getUpgradeProfileDeserialize(result);
|
|
296
184
|
}
|
|
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-03-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;
|
|
318
|
-
}
|
|
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-03-02-preview",
|
|
329
|
-
});
|
|
330
|
-
}
|
|
331
185
|
export function _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options = {
|
|
332
186
|
requestOptions: {},
|
|
333
187
|
}) {
|
|
@@ -335,7 +189,7 @@ export function _listOutboundNetworkDependenciesEndpointsSend(context, resourceG
|
|
|
335
189
|
subscriptionId: context.subscriptionId,
|
|
336
190
|
resourceGroupName: resourceGroupName,
|
|
337
191
|
resourceName: resourceName,
|
|
338
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
192
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
339
193
|
}, {
|
|
340
194
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
341
195
|
});
|
|
@@ -348,7 +202,9 @@ export async function _listOutboundNetworkDependenciesEndpointsDeserialize(resul
|
|
|
348
202
|
const expectedStatuses = ["200"];
|
|
349
203
|
if (!expectedStatuses.includes(result.status)) {
|
|
350
204
|
const error = createRestError(result);
|
|
351
|
-
|
|
205
|
+
if (result.body) {
|
|
206
|
+
error.details = errorResponseDeserializer(result.body);
|
|
207
|
+
}
|
|
352
208
|
throw error;
|
|
353
209
|
}
|
|
354
210
|
return _outboundEnvironmentEndpointCollectionDeserializer(result.body);
|
|
@@ -357,11 +213,7 @@ export async function _listOutboundNetworkDependenciesEndpointsDeserialize(resul
|
|
|
357
213
|
export function listOutboundNetworkDependenciesEndpoints(context, resourceGroupName, resourceName, options = {
|
|
358
214
|
requestOptions: {},
|
|
359
215
|
}) {
|
|
360
|
-
return buildPagedAsyncIterator(context, () => _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options), _listOutboundNetworkDependenciesEndpointsDeserialize, ["200"], {
|
|
361
|
-
itemName: "value",
|
|
362
|
-
nextLinkName: "nextLink",
|
|
363
|
-
apiVersion: context.apiVersion ?? "2026-03-02-preview",
|
|
364
|
-
});
|
|
216
|
+
return buildPagedAsyncIterator(context, () => _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options), _listOutboundNetworkDependenciesEndpointsDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-04-01" });
|
|
365
217
|
}
|
|
366
218
|
export function _getCommandResultSend(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
|
|
367
219
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}{?api%2Dversion}", {
|
|
@@ -369,7 +221,7 @@ export function _getCommandResultSend(context, resourceGroupName, resourceName,
|
|
|
369
221
|
resourceGroupName: resourceGroupName,
|
|
370
222
|
resourceName: resourceName,
|
|
371
223
|
commandId: commandId,
|
|
372
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
224
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
373
225
|
}, {
|
|
374
226
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
375
227
|
});
|
|
@@ -382,10 +234,12 @@ export async function _getCommandResultDeserialize(result) {
|
|
|
382
234
|
const expectedStatuses = ["200", "202"];
|
|
383
235
|
if (!expectedStatuses.includes(result.status)) {
|
|
384
236
|
const error = createRestError(result);
|
|
385
|
-
|
|
237
|
+
if (result.body) {
|
|
238
|
+
error.details = errorResponseDeserializer(result.body);
|
|
239
|
+
}
|
|
386
240
|
throw error;
|
|
387
241
|
}
|
|
388
|
-
return runCommandResultDeserializer(result.body);
|
|
242
|
+
return result.body ? runCommandResultDeserializer(result.body) : undefined;
|
|
389
243
|
}
|
|
390
244
|
/** Gets the results of a command which has been run on the Managed Cluster. */
|
|
391
245
|
export async function getCommandResult(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
|
|
@@ -397,7 +251,7 @@ export function _runCommandSend(context, resourceGroupName, resourceName, reques
|
|
|
397
251
|
subscriptionId: context.subscriptionId,
|
|
398
252
|
resourceGroupName: resourceGroupName,
|
|
399
253
|
resourceName: resourceName,
|
|
400
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
254
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
401
255
|
}, {
|
|
402
256
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
403
257
|
});
|
|
@@ -409,22 +263,24 @@ export function _runCommandSend(context, resourceGroupName, resourceName, reques
|
|
|
409
263
|
});
|
|
410
264
|
}
|
|
411
265
|
export async function _runCommandDeserialize(result) {
|
|
412
|
-
const expectedStatuses = ["
|
|
266
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
413
267
|
if (!expectedStatuses.includes(result.status)) {
|
|
414
268
|
const error = createRestError(result);
|
|
415
|
-
|
|
269
|
+
if (result.body) {
|
|
270
|
+
error.details = errorResponseDeserializer(result.body);
|
|
271
|
+
}
|
|
416
272
|
throw error;
|
|
417
273
|
}
|
|
418
274
|
return runCommandResultDeserializer(result.body);
|
|
419
275
|
}
|
|
420
276
|
/** 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
277
|
export function runCommand(context, resourceGroupName, resourceName, requestPayload, options = { requestOptions: {} }) {
|
|
422
|
-
return getLongRunningPoller(context, _runCommandDeserialize, ["
|
|
278
|
+
return getLongRunningPoller(context, _runCommandDeserialize, ["200", "202", "201"], {
|
|
423
279
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
424
280
|
abortSignal: options?.abortSignal,
|
|
425
281
|
getInitialResponse: () => _runCommandSend(context, resourceGroupName, resourceName, requestPayload, options),
|
|
426
282
|
resourceLocationConfig: "location",
|
|
427
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
283
|
+
apiVersion: context.apiVersion ?? "2026-04-01",
|
|
428
284
|
});
|
|
429
285
|
}
|
|
430
286
|
export function _startSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -432,7 +288,7 @@ export function _startSend(context, resourceGroupName, resourceName, options = {
|
|
|
432
288
|
subscriptionId: context.subscriptionId,
|
|
433
289
|
resourceGroupName: resourceGroupName,
|
|
434
290
|
resourceName: resourceName,
|
|
435
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
291
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
436
292
|
}, {
|
|
437
293
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
438
294
|
});
|
|
@@ -442,7 +298,9 @@ export async function _startDeserialize(result) {
|
|
|
442
298
|
const expectedStatuses = ["202", "204", "200", "201"];
|
|
443
299
|
if (!expectedStatuses.includes(result.status)) {
|
|
444
300
|
const error = createRestError(result);
|
|
445
|
-
|
|
301
|
+
if (result.body) {
|
|
302
|
+
error.details = errorResponseDeserializer(result.body);
|
|
303
|
+
}
|
|
446
304
|
throw error;
|
|
447
305
|
}
|
|
448
306
|
return;
|
|
@@ -454,7 +312,7 @@ export function start(context, resourceGroupName, resourceName, options = { requ
|
|
|
454
312
|
abortSignal: options?.abortSignal,
|
|
455
313
|
getInitialResponse: () => _startSend(context, resourceGroupName, resourceName, options),
|
|
456
314
|
resourceLocationConfig: "location",
|
|
457
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
315
|
+
apiVersion: context.apiVersion ?? "2026-04-01",
|
|
458
316
|
});
|
|
459
317
|
}
|
|
460
318
|
export function _stopSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -462,7 +320,7 @@ export function _stopSend(context, resourceGroupName, resourceName, options = {
|
|
|
462
320
|
subscriptionId: context.subscriptionId,
|
|
463
321
|
resourceGroupName: resourceGroupName,
|
|
464
322
|
resourceName: resourceName,
|
|
465
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
323
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
466
324
|
}, {
|
|
467
325
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
468
326
|
});
|
|
@@ -472,7 +330,9 @@ export async function _stopDeserialize(result) {
|
|
|
472
330
|
const expectedStatuses = ["202", "204", "200", "201"];
|
|
473
331
|
if (!expectedStatuses.includes(result.status)) {
|
|
474
332
|
const error = createRestError(result);
|
|
475
|
-
|
|
333
|
+
if (result.body) {
|
|
334
|
+
error.details = errorResponseDeserializer(result.body);
|
|
335
|
+
}
|
|
476
336
|
throw error;
|
|
477
337
|
}
|
|
478
338
|
return;
|
|
@@ -484,7 +344,7 @@ export function stop(context, resourceGroupName, resourceName, options = { reque
|
|
|
484
344
|
abortSignal: options?.abortSignal,
|
|
485
345
|
getInitialResponse: () => _stopSend(context, resourceGroupName, resourceName, options),
|
|
486
346
|
resourceLocationConfig: "location",
|
|
487
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
347
|
+
apiVersion: context.apiVersion ?? "2026-04-01",
|
|
488
348
|
});
|
|
489
349
|
}
|
|
490
350
|
export function _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -492,7 +352,7 @@ export function _rotateServiceAccountSigningKeysSend(context, resourceGroupName,
|
|
|
492
352
|
subscriptionId: context.subscriptionId,
|
|
493
353
|
resourceGroupName: resourceGroupName,
|
|
494
354
|
resourceName: resourceName,
|
|
495
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
355
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
496
356
|
}, {
|
|
497
357
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
498
358
|
});
|
|
@@ -502,7 +362,9 @@ export async function _rotateServiceAccountSigningKeysDeserialize(result) {
|
|
|
502
362
|
const expectedStatuses = ["202", "204", "200", "201"];
|
|
503
363
|
if (!expectedStatuses.includes(result.status)) {
|
|
504
364
|
const error = createRestError(result);
|
|
505
|
-
|
|
365
|
+
if (result.body) {
|
|
366
|
+
error.details = errorResponseDeserializer(result.body);
|
|
367
|
+
}
|
|
506
368
|
throw error;
|
|
507
369
|
}
|
|
508
370
|
return;
|
|
@@ -514,7 +376,7 @@ export function rotateServiceAccountSigningKeys(context, resourceGroupName, reso
|
|
|
514
376
|
abortSignal: options?.abortSignal,
|
|
515
377
|
getInitialResponse: () => _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options),
|
|
516
378
|
resourceLocationConfig: "location",
|
|
517
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
379
|
+
apiVersion: context.apiVersion ?? "2026-04-01",
|
|
518
380
|
});
|
|
519
381
|
}
|
|
520
382
|
export function _abortLatestOperationSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -522,7 +384,7 @@ export function _abortLatestOperationSend(context, resourceGroupName, resourceNa
|
|
|
522
384
|
subscriptionId: context.subscriptionId,
|
|
523
385
|
resourceGroupName: resourceGroupName,
|
|
524
386
|
resourceName: resourceName,
|
|
525
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
387
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
526
388
|
}, {
|
|
527
389
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
528
390
|
});
|
|
@@ -532,7 +394,9 @@ export async function _abortLatestOperationDeserialize(result) {
|
|
|
532
394
|
const expectedStatuses = ["202", "204", "200", "201"];
|
|
533
395
|
if (!expectedStatuses.includes(result.status)) {
|
|
534
396
|
const error = createRestError(result);
|
|
535
|
-
|
|
397
|
+
if (result.body) {
|
|
398
|
+
error.details = errorResponseDeserializer(result.body);
|
|
399
|
+
}
|
|
536
400
|
throw error;
|
|
537
401
|
}
|
|
538
402
|
return;
|
|
@@ -544,7 +408,7 @@ export function abortLatestOperation(context, resourceGroupName, resourceName, o
|
|
|
544
408
|
abortSignal: options?.abortSignal,
|
|
545
409
|
getInitialResponse: () => _abortLatestOperationSend(context, resourceGroupName, resourceName, options),
|
|
546
410
|
resourceLocationConfig: "location",
|
|
547
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
411
|
+
apiVersion: context.apiVersion ?? "2026-04-01",
|
|
548
412
|
});
|
|
549
413
|
}
|
|
550
414
|
export function _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -552,7 +416,7 @@ export function _rotateClusterCertificatesSend(context, resourceGroupName, resou
|
|
|
552
416
|
subscriptionId: context.subscriptionId,
|
|
553
417
|
resourceGroupName: resourceGroupName,
|
|
554
418
|
resourceName: resourceName,
|
|
555
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
419
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
556
420
|
}, {
|
|
557
421
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
558
422
|
});
|
|
@@ -562,7 +426,9 @@ export async function _rotateClusterCertificatesDeserialize(result) {
|
|
|
562
426
|
const expectedStatuses = ["202", "204", "200", "201"];
|
|
563
427
|
if (!expectedStatuses.includes(result.status)) {
|
|
564
428
|
const error = createRestError(result);
|
|
565
|
-
|
|
429
|
+
if (result.body) {
|
|
430
|
+
error.details = errorResponseDeserializer(result.body);
|
|
431
|
+
}
|
|
566
432
|
throw error;
|
|
567
433
|
}
|
|
568
434
|
return;
|
|
@@ -574,7 +440,7 @@ export function rotateClusterCertificates(context, resourceGroupName, resourceNa
|
|
|
574
440
|
abortSignal: options?.abortSignal,
|
|
575
441
|
getInitialResponse: () => _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options),
|
|
576
442
|
resourceLocationConfig: "location",
|
|
577
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
443
|
+
apiVersion: context.apiVersion ?? "2026-04-01",
|
|
578
444
|
});
|
|
579
445
|
}
|
|
580
446
|
export function _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
@@ -582,7 +448,7 @@ export function _resetAADProfileSend(context, resourceGroupName, resourceName, p
|
|
|
582
448
|
subscriptionId: context.subscriptionId,
|
|
583
449
|
resourceGroupName: resourceGroupName,
|
|
584
450
|
resourceName: resourceName,
|
|
585
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
451
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
586
452
|
}, {
|
|
587
453
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
588
454
|
});
|
|
@@ -596,7 +462,9 @@ export async function _resetAADProfileDeserialize(result) {
|
|
|
596
462
|
const expectedStatuses = ["202", "200", "201"];
|
|
597
463
|
if (!expectedStatuses.includes(result.status)) {
|
|
598
464
|
const error = createRestError(result);
|
|
599
|
-
|
|
465
|
+
if (result.body) {
|
|
466
|
+
error.details = errorResponseDeserializer(result.body);
|
|
467
|
+
}
|
|
600
468
|
throw error;
|
|
601
469
|
}
|
|
602
470
|
return;
|
|
@@ -608,7 +476,7 @@ export function resetAADProfile(context, resourceGroupName, resourceName, parame
|
|
|
608
476
|
abortSignal: options?.abortSignal,
|
|
609
477
|
getInitialResponse: () => _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options),
|
|
610
478
|
resourceLocationConfig: "location",
|
|
611
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
479
|
+
apiVersion: context.apiVersion ?? "2026-04-01",
|
|
612
480
|
});
|
|
613
481
|
}
|
|
614
482
|
export function _resetServicePrincipalProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
@@ -616,7 +484,7 @@ export function _resetServicePrincipalProfileSend(context, resourceGroupName, re
|
|
|
616
484
|
subscriptionId: context.subscriptionId,
|
|
617
485
|
resourceGroupName: resourceGroupName,
|
|
618
486
|
resourceName: resourceName,
|
|
619
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
487
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
620
488
|
}, {
|
|
621
489
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
622
490
|
});
|
|
@@ -630,7 +498,9 @@ export async function _resetServicePrincipalProfileDeserialize(result) {
|
|
|
630
498
|
const expectedStatuses = ["202", "200", "201"];
|
|
631
499
|
if (!expectedStatuses.includes(result.status)) {
|
|
632
500
|
const error = createRestError(result);
|
|
633
|
-
|
|
501
|
+
if (result.body) {
|
|
502
|
+
error.details = errorResponseDeserializer(result.body);
|
|
503
|
+
}
|
|
634
504
|
throw error;
|
|
635
505
|
}
|
|
636
506
|
return;
|
|
@@ -642,7 +512,7 @@ export function resetServicePrincipalProfile(context, resourceGroupName, resourc
|
|
|
642
512
|
abortSignal: options?.abortSignal,
|
|
643
513
|
getInitialResponse: () => _resetServicePrincipalProfileSend(context, resourceGroupName, resourceName, parameters, options),
|
|
644
514
|
resourceLocationConfig: "location",
|
|
645
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
515
|
+
apiVersion: context.apiVersion ?? "2026-04-01",
|
|
646
516
|
});
|
|
647
517
|
}
|
|
648
518
|
export function _listClusterMonitoringUserCredentialsSend(context, resourceGroupName, resourceName, options = {
|
|
@@ -652,7 +522,7 @@ export function _listClusterMonitoringUserCredentialsSend(context, resourceGroup
|
|
|
652
522
|
subscriptionId: context.subscriptionId,
|
|
653
523
|
resourceGroupName: resourceGroupName,
|
|
654
524
|
resourceName: resourceName,
|
|
655
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
525
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
656
526
|
"server%2Dfqdn": options?.serverFqdn,
|
|
657
527
|
}, {
|
|
658
528
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
@@ -666,7 +536,9 @@ export async function _listClusterMonitoringUserCredentialsDeserialize(result) {
|
|
|
666
536
|
const expectedStatuses = ["200"];
|
|
667
537
|
if (!expectedStatuses.includes(result.status)) {
|
|
668
538
|
const error = createRestError(result);
|
|
669
|
-
|
|
539
|
+
if (result.body) {
|
|
540
|
+
error.details = errorResponseDeserializer(result.body);
|
|
541
|
+
}
|
|
670
542
|
throw error;
|
|
671
543
|
}
|
|
672
544
|
return credentialResultsDeserializer(result.body);
|
|
@@ -683,7 +555,7 @@ export function _listClusterUserCredentialsSend(context, resourceGroupName, reso
|
|
|
683
555
|
subscriptionId: context.subscriptionId,
|
|
684
556
|
resourceGroupName: resourceGroupName,
|
|
685
557
|
resourceName: resourceName,
|
|
686
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
558
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
687
559
|
"server%2Dfqdn": options?.serverFqdn,
|
|
688
560
|
format: options?.format,
|
|
689
561
|
}, {
|
|
@@ -698,7 +570,9 @@ export async function _listClusterUserCredentialsDeserialize(result) {
|
|
|
698
570
|
const expectedStatuses = ["200"];
|
|
699
571
|
if (!expectedStatuses.includes(result.status)) {
|
|
700
572
|
const error = createRestError(result);
|
|
701
|
-
|
|
573
|
+
if (result.body) {
|
|
574
|
+
error.details = errorResponseDeserializer(result.body);
|
|
575
|
+
}
|
|
702
576
|
throw error;
|
|
703
577
|
}
|
|
704
578
|
return credentialResultsDeserializer(result.body);
|
|
@@ -713,7 +587,7 @@ export function _listClusterAdminCredentialsSend(context, resourceGroupName, res
|
|
|
713
587
|
subscriptionId: context.subscriptionId,
|
|
714
588
|
resourceGroupName: resourceGroupName,
|
|
715
589
|
resourceName: resourceName,
|
|
716
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
590
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
717
591
|
"server%2Dfqdn": options?.serverFqdn,
|
|
718
592
|
}, {
|
|
719
593
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
@@ -727,7 +601,9 @@ export async function _listClusterAdminCredentialsDeserialize(result) {
|
|
|
727
601
|
const expectedStatuses = ["200"];
|
|
728
602
|
if (!expectedStatuses.includes(result.status)) {
|
|
729
603
|
const error = createRestError(result);
|
|
730
|
-
|
|
604
|
+
if (result.body) {
|
|
605
|
+
error.details = errorResponseDeserializer(result.body);
|
|
606
|
+
}
|
|
731
607
|
throw error;
|
|
732
608
|
}
|
|
733
609
|
return credentialResultsDeserializer(result.body);
|
|
@@ -743,7 +619,7 @@ export function _getAccessProfileSend(context, resourceGroupName, resourceName,
|
|
|
743
619
|
resourceGroupName: resourceGroupName,
|
|
744
620
|
resourceName: resourceName,
|
|
745
621
|
roleName: roleName,
|
|
746
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
622
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
747
623
|
}, {
|
|
748
624
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
749
625
|
});
|
|
@@ -756,7 +632,9 @@ export async function _getAccessProfileDeserialize(result) {
|
|
|
756
632
|
const expectedStatuses = ["200"];
|
|
757
633
|
if (!expectedStatuses.includes(result.status)) {
|
|
758
634
|
const error = createRestError(result);
|
|
759
|
-
|
|
635
|
+
if (result.body) {
|
|
636
|
+
error.details = errorResponseDeserializer(result.body);
|
|
637
|
+
}
|
|
760
638
|
throw error;
|
|
761
639
|
}
|
|
762
640
|
return managedClusterAccessProfileDeserializer(result.body);
|
|
@@ -769,7 +647,7 @@ export async function getAccessProfile(context, resourceGroupName, resourceName,
|
|
|
769
647
|
export function _listSend(context, options = { requestOptions: {} }) {
|
|
770
648
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}", {
|
|
771
649
|
subscriptionId: context.subscriptionId,
|
|
772
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
650
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
773
651
|
}, {
|
|
774
652
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
775
653
|
});
|
|
@@ -782,24 +660,22 @@ export async function _listDeserialize(result) {
|
|
|
782
660
|
const expectedStatuses = ["200"];
|
|
783
661
|
if (!expectedStatuses.includes(result.status)) {
|
|
784
662
|
const error = createRestError(result);
|
|
785
|
-
|
|
663
|
+
if (result.body) {
|
|
664
|
+
error.details = errorResponseDeserializer(result.body);
|
|
665
|
+
}
|
|
786
666
|
throw error;
|
|
787
667
|
}
|
|
788
668
|
return _managedClusterListResultDeserializer(result.body);
|
|
789
669
|
}
|
|
790
670
|
/** Gets a list of managed clusters in the specified subscription. */
|
|
791
671
|
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-03-02-preview",
|
|
796
|
-
});
|
|
672
|
+
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-04-01" });
|
|
797
673
|
}
|
|
798
674
|
export function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
799
675
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}", {
|
|
800
676
|
subscriptionId: context.subscriptionId,
|
|
801
677
|
resourceGroupName: resourceGroupName,
|
|
802
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
678
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
803
679
|
}, {
|
|
804
680
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
805
681
|
});
|
|
@@ -812,26 +688,23 @@ export async function _listByResourceGroupDeserialize(result) {
|
|
|
812
688
|
const expectedStatuses = ["200"];
|
|
813
689
|
if (!expectedStatuses.includes(result.status)) {
|
|
814
690
|
const error = createRestError(result);
|
|
815
|
-
|
|
691
|
+
if (result.body) {
|
|
692
|
+
error.details = errorResponseDeserializer(result.body);
|
|
693
|
+
}
|
|
816
694
|
throw error;
|
|
817
695
|
}
|
|
818
696
|
return _managedClusterListResultDeserializer(result.body);
|
|
819
697
|
}
|
|
820
698
|
/** Lists managed clusters in the specified subscription and resource group. */
|
|
821
699
|
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-03-02-preview",
|
|
826
|
-
});
|
|
700
|
+
return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-04-01" });
|
|
827
701
|
}
|
|
828
702
|
export function _$deleteSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
829
|
-
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion
|
|
703
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}{?api%2Dversion}", {
|
|
830
704
|
subscriptionId: context.subscriptionId,
|
|
831
705
|
resourceGroupName: resourceGroupName,
|
|
832
706
|
resourceName: resourceName,
|
|
833
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
834
|
-
"ignore%2Dpod%2Ddisruption%2Dbudget": options?.ignorePodDisruptionBudget,
|
|
707
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
835
708
|
}, {
|
|
836
709
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
837
710
|
});
|
|
@@ -847,7 +720,9 @@ export async function _$deleteDeserialize(result) {
|
|
|
847
720
|
const expectedStatuses = ["202", "204", "200"];
|
|
848
721
|
if (!expectedStatuses.includes(result.status)) {
|
|
849
722
|
const error = createRestError(result);
|
|
850
|
-
|
|
723
|
+
if (result.body) {
|
|
724
|
+
error.details = errorResponseDeserializer(result.body);
|
|
725
|
+
}
|
|
851
726
|
throw error;
|
|
852
727
|
}
|
|
853
728
|
return;
|
|
@@ -859,7 +734,7 @@ export function $delete(context, resourceGroupName, resourceName, options = { re
|
|
|
859
734
|
abortSignal: options?.abortSignal,
|
|
860
735
|
getInitialResponse: () => _$deleteSend(context, resourceGroupName, resourceName, options),
|
|
861
736
|
resourceLocationConfig: "azure-async-operation",
|
|
862
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
737
|
+
apiVersion: context.apiVersion ?? "2026-04-01",
|
|
863
738
|
});
|
|
864
739
|
}
|
|
865
740
|
export function _updateTagsSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
@@ -867,7 +742,7 @@ export function _updateTagsSend(context, resourceGroupName, resourceName, parame
|
|
|
867
742
|
subscriptionId: context.subscriptionId,
|
|
868
743
|
resourceGroupName: resourceGroupName,
|
|
869
744
|
resourceName: resourceName,
|
|
870
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
745
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
871
746
|
}, {
|
|
872
747
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
873
748
|
});
|
|
@@ -886,7 +761,9 @@ export async function _updateTagsDeserialize(result) {
|
|
|
886
761
|
const expectedStatuses = ["200", "202", "201"];
|
|
887
762
|
if (!expectedStatuses.includes(result.status)) {
|
|
888
763
|
const error = createRestError(result);
|
|
889
|
-
|
|
764
|
+
if (result.body) {
|
|
765
|
+
error.details = errorResponseDeserializer(result.body);
|
|
766
|
+
}
|
|
890
767
|
throw error;
|
|
891
768
|
}
|
|
892
769
|
return managedClusterDeserializer(result.body);
|
|
@@ -898,7 +775,7 @@ export function updateTags(context, resourceGroupName, resourceName, parameters,
|
|
|
898
775
|
abortSignal: options?.abortSignal,
|
|
899
776
|
getInitialResponse: () => _updateTagsSend(context, resourceGroupName, resourceName, parameters, options),
|
|
900
777
|
resourceLocationConfig: "azure-async-operation",
|
|
901
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
778
|
+
apiVersion: context.apiVersion ?? "2026-04-01",
|
|
902
779
|
});
|
|
903
780
|
}
|
|
904
781
|
export function _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
@@ -906,7 +783,7 @@ export function _createOrUpdateSend(context, resourceGroupName, resourceName, pa
|
|
|
906
783
|
subscriptionId: context.subscriptionId,
|
|
907
784
|
resourceGroupName: resourceGroupName,
|
|
908
785
|
resourceName: resourceName,
|
|
909
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
786
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
910
787
|
}, {
|
|
911
788
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
912
789
|
});
|
|
@@ -926,7 +803,9 @@ export async function _createOrUpdateDeserialize(result) {
|
|
|
926
803
|
const expectedStatuses = ["200", "201", "202"];
|
|
927
804
|
if (!expectedStatuses.includes(result.status)) {
|
|
928
805
|
const error = createRestError(result);
|
|
929
|
-
|
|
806
|
+
if (result.body) {
|
|
807
|
+
error.details = errorResponseDeserializer(result.body);
|
|
808
|
+
}
|
|
930
809
|
throw error;
|
|
931
810
|
}
|
|
932
811
|
return managedClusterDeserializer(result.body);
|
|
@@ -938,7 +817,7 @@ export function createOrUpdate(context, resourceGroupName, resourceName, paramet
|
|
|
938
817
|
abortSignal: options?.abortSignal,
|
|
939
818
|
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options),
|
|
940
819
|
resourceLocationConfig: "azure-async-operation",
|
|
941
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
820
|
+
apiVersion: context.apiVersion ?? "2026-04-01",
|
|
942
821
|
});
|
|
943
822
|
}
|
|
944
823
|
export function _getSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -946,7 +825,7 @@ export function _getSend(context, resourceGroupName, resourceName, options = { r
|
|
|
946
825
|
subscriptionId: context.subscriptionId,
|
|
947
826
|
resourceGroupName: resourceGroupName,
|
|
948
827
|
resourceName: resourceName,
|
|
949
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
828
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01",
|
|
950
829
|
}, {
|
|
951
830
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
952
831
|
});
|
|
@@ -959,7 +838,9 @@ export async function _getDeserialize(result) {
|
|
|
959
838
|
const expectedStatuses = ["200"];
|
|
960
839
|
if (!expectedStatuses.includes(result.status)) {
|
|
961
840
|
const error = createRestError(result);
|
|
962
|
-
|
|
841
|
+
if (result.body) {
|
|
842
|
+
error.details = errorResponseDeserializer(result.body);
|
|
843
|
+
}
|
|
963
844
|
throw error;
|
|
964
845
|
}
|
|
965
846
|
return managedClusterDeserializer(result.body);
|