@azure/arm-containerservice 21.4.0 → 21.5.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/CHANGELOG.md +232 -0
- package/LICENSE +1 -1
- package/README.md +5 -5
- package/dist/browser/containerServiceClient.d.ts +3 -3
- package/dist/browser/containerServiceClient.d.ts.map +1 -1
- package/dist/browser/containerServiceClient.js +3 -4
- package/dist/browser/containerServiceClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +69 -8
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +18 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +3 -1
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +70 -0
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +1 -1
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/agentPools.d.ts +5 -5
- package/dist/browser/operations/agentPools.d.ts.map +1 -1
- package/dist/browser/operations/agentPools.js +2 -5
- package/dist/browser/operations/agentPools.js.map +1 -1
- package/dist/browser/operations/machines.d.ts +4 -4
- package/dist/browser/operations/machines.d.ts.map +1 -1
- package/dist/browser/operations/machines.js.map +1 -1
- package/dist/browser/operations/maintenanceConfigurations.d.ts +4 -4
- package/dist/browser/operations/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/browser/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/browser/operations/managedClusters.d.ts +5 -5
- package/dist/browser/operations/managedClusters.d.ts.map +1 -1
- package/dist/browser/operations/managedClusters.js +7 -31
- package/dist/browser/operations/managedClusters.js.map +1 -1
- package/dist/browser/operations/operations.d.ts +4 -4
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +1 -1
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.d.ts +3 -3
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/resolvePrivateLinkServiceId.d.ts +3 -3
- package/dist/browser/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/browser/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/browser/operations/snapshots.d.ts +4 -4
- package/dist/browser/operations/snapshots.d.ts.map +1 -1
- package/dist/browser/operations/snapshots.js +2 -10
- package/dist/browser/operations/snapshots.js.map +1 -1
- package/dist/browser/operations/trustedAccessRoleBindings.d.ts +5 -5
- package/dist/browser/operations/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/browser/operations/trustedAccessRoleBindings.js +1 -1
- package/dist/browser/operations/trustedAccessRoleBindings.js.map +1 -1
- package/dist/browser/operations/trustedAccessRoles.d.ts +4 -4
- package/dist/browser/operations/trustedAccessRoles.d.ts.map +1 -1
- package/dist/browser/operations/trustedAccessRoles.js +1 -5
- package/dist/browser/operations/trustedAccessRoles.js.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.d.ts +3 -3
- package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/browser/operationsInterfaces/machines.d.ts +2 -2
- package/dist/browser/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/machines.js.map +1 -1
- package/dist/browser/operationsInterfaces/maintenanceConfigurations.d.ts +2 -2
- package/dist/browser/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
- package/dist/browser/operationsInterfaces/managedClusters.d.ts +3 -3
- package/dist/browser/operationsInterfaces/managedClusters.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/managedClusters.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/resolvePrivateLinkServiceId.d.ts +1 -1
- package/dist/browser/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/browser/operationsInterfaces/snapshots.d.ts +2 -2
- package/dist/browser/operationsInterfaces/snapshots.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/snapshots.js.map +1 -1
- package/dist/browser/operationsInterfaces/trustedAccessRoleBindings.d.ts +3 -3
- package/dist/browser/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
- package/dist/browser/operationsInterfaces/trustedAccessRoles.d.ts +2 -2
- package/dist/browser/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/trustedAccessRoles.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/containerServiceClient.d.ts +3 -3
- package/dist/commonjs/containerServiceClient.d.ts.map +1 -1
- package/dist/commonjs/containerServiceClient.js +3 -4
- package/dist/commonjs/containerServiceClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +69 -8
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +19 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +3 -1
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +74 -4
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +1 -1
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +1 -1
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/agentPools.d.ts +5 -5
- package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operations/agentPools.js +1 -4
- package/dist/commonjs/operations/agentPools.js.map +1 -1
- package/dist/commonjs/operations/machines.d.ts +4 -4
- package/dist/commonjs/operations/machines.d.ts.map +1 -1
- package/dist/commonjs/operations/machines.js.map +1 -1
- package/dist/commonjs/operations/maintenanceConfigurations.d.ts +4 -4
- package/dist/commonjs/operations/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/commonjs/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/commonjs/operations/managedClusters.d.ts +5 -5
- package/dist/commonjs/operations/managedClusters.d.ts.map +1 -1
- package/dist/commonjs/operations/managedClusters.js +6 -30
- package/dist/commonjs/operations/managedClusters.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts +4 -4
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.d.ts +3 -3
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/resolvePrivateLinkServiceId.d.ts +3 -3
- package/dist/commonjs/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/commonjs/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/commonjs/operations/snapshots.d.ts +4 -4
- package/dist/commonjs/operations/snapshots.d.ts.map +1 -1
- package/dist/commonjs/operations/snapshots.js +2 -10
- package/dist/commonjs/operations/snapshots.js.map +1 -1
- package/dist/commonjs/operations/trustedAccessRoleBindings.d.ts +5 -5
- package/dist/commonjs/operations/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/commonjs/operations/trustedAccessRoleBindings.js.map +1 -1
- package/dist/commonjs/operations/trustedAccessRoles.d.ts +4 -4
- package/dist/commonjs/operations/trustedAccessRoles.d.ts.map +1 -1
- package/dist/commonjs/operations/trustedAccessRoles.js +1 -5
- package/dist/commonjs/operations/trustedAccessRoles.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/machines.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/machines.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedClusters.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/managedClusters.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedClusters.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/resolvePrivateLinkServiceId.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/snapshots.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/snapshots.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/snapshots.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/trustedAccessRoleBindings.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/trustedAccessRoles.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/trustedAccessRoles.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/containerServiceClient.d.ts +3 -3
- package/dist/esm/containerServiceClient.d.ts.map +1 -1
- package/dist/esm/containerServiceClient.js +3 -4
- package/dist/esm/containerServiceClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +69 -8
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +3 -1
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +70 -0
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +1 -1
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +1 -1
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/agentPools.d.ts +5 -5
- package/dist/esm/operations/agentPools.d.ts.map +1 -1
- package/dist/esm/operations/agentPools.js +2 -5
- package/dist/esm/operations/agentPools.js.map +1 -1
- package/dist/esm/operations/machines.d.ts +4 -4
- package/dist/esm/operations/machines.d.ts.map +1 -1
- package/dist/esm/operations/machines.js.map +1 -1
- package/dist/esm/operations/maintenanceConfigurations.d.ts +4 -4
- package/dist/esm/operations/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/esm/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/esm/operations/managedClusters.d.ts +5 -5
- package/dist/esm/operations/managedClusters.d.ts.map +1 -1
- package/dist/esm/operations/managedClusters.js +7 -31
- package/dist/esm/operations/managedClusters.js.map +1 -1
- package/dist/esm/operations/operations.d.ts +4 -4
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +1 -1
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.d.ts +3 -3
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/resolvePrivateLinkServiceId.d.ts +3 -3
- package/dist/esm/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/esm/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/esm/operations/snapshots.d.ts +4 -4
- package/dist/esm/operations/snapshots.d.ts.map +1 -1
- package/dist/esm/operations/snapshots.js +2 -10
- package/dist/esm/operations/snapshots.js.map +1 -1
- package/dist/esm/operations/trustedAccessRoleBindings.d.ts +5 -5
- package/dist/esm/operations/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/esm/operations/trustedAccessRoleBindings.js +1 -1
- package/dist/esm/operations/trustedAccessRoleBindings.js.map +1 -1
- package/dist/esm/operations/trustedAccessRoles.d.ts +4 -4
- package/dist/esm/operations/trustedAccessRoles.d.ts.map +1 -1
- package/dist/esm/operations/trustedAccessRoles.js +1 -5
- package/dist/esm/operations/trustedAccessRoles.js.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.d.ts +3 -3
- package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/esm/operationsInterfaces/machines.d.ts +2 -2
- package/dist/esm/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/machines.js.map +1 -1
- package/dist/esm/operationsInterfaces/maintenanceConfigurations.d.ts +2 -2
- package/dist/esm/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
- package/dist/esm/operationsInterfaces/managedClusters.d.ts +3 -3
- package/dist/esm/operationsInterfaces/managedClusters.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/managedClusters.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/resolvePrivateLinkServiceId.d.ts +1 -1
- package/dist/esm/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/esm/operationsInterfaces/snapshots.d.ts +2 -2
- package/dist/esm/operationsInterfaces/snapshots.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/snapshots.js.map +1 -1
- package/dist/esm/operationsInterfaces/trustedAccessRoleBindings.d.ts +3 -3
- package/dist/esm/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
- package/dist/esm/operationsInterfaces/trustedAccessRoles.d.ts +2 -2
- package/dist/esm/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/trustedAccessRoles.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/containerServiceClient.d.ts +3 -3
- package/dist/react-native/containerServiceClient.d.ts.map +1 -1
- package/dist/react-native/containerServiceClient.js +3 -4
- package/dist/react-native/containerServiceClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +69 -8
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +18 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +3 -1
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +70 -0
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +1 -1
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +1 -1
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/agentPools.d.ts +5 -5
- package/dist/react-native/operations/agentPools.d.ts.map +1 -1
- package/dist/react-native/operations/agentPools.js +2 -5
- package/dist/react-native/operations/agentPools.js.map +1 -1
- package/dist/react-native/operations/machines.d.ts +4 -4
- package/dist/react-native/operations/machines.d.ts.map +1 -1
- package/dist/react-native/operations/machines.js.map +1 -1
- package/dist/react-native/operations/maintenanceConfigurations.d.ts +4 -4
- package/dist/react-native/operations/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/react-native/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/react-native/operations/managedClusters.d.ts +5 -5
- package/dist/react-native/operations/managedClusters.d.ts.map +1 -1
- package/dist/react-native/operations/managedClusters.js +7 -31
- package/dist/react-native/operations/managedClusters.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts +4 -4
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.d.ts +3 -3
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/resolvePrivateLinkServiceId.d.ts +3 -3
- package/dist/react-native/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/react-native/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/react-native/operations/snapshots.d.ts +4 -4
- package/dist/react-native/operations/snapshots.d.ts.map +1 -1
- package/dist/react-native/operations/snapshots.js +2 -10
- package/dist/react-native/operations/snapshots.js.map +1 -1
- package/dist/react-native/operations/trustedAccessRoleBindings.d.ts +5 -5
- package/dist/react-native/operations/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/react-native/operations/trustedAccessRoleBindings.js +1 -1
- package/dist/react-native/operations/trustedAccessRoleBindings.js.map +1 -1
- package/dist/react-native/operations/trustedAccessRoles.d.ts +4 -4
- package/dist/react-native/operations/trustedAccessRoles.d.ts.map +1 -1
- package/dist/react-native/operations/trustedAccessRoles.js +1 -5
- package/dist/react-native/operations/trustedAccessRoles.js.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/react-native/operationsInterfaces/machines.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/machines.js.map +1 -1
- package/dist/react-native/operationsInterfaces/maintenanceConfigurations.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/managedClusters.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/managedClusters.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/managedClusters.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/resolvePrivateLinkServiceId.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/react-native/operationsInterfaces/snapshots.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/snapshots.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/snapshots.js.map +1 -1
- package/dist/react-native/operationsInterfaces/trustedAccessRoleBindings.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
- package/dist/react-native/operationsInterfaces/trustedAccessRoles.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/trustedAccessRoles.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +40 -42
- package/review/arm-containerservice.api.md +40 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
1
|
+
import type { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
2
|
export declare const accept: OperationParameter;
|
|
3
3
|
export declare const $host: OperationURLParameter;
|
|
4
4
|
export declare const apiVersion: OperationQueryParameter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,
|
|
1
|
+
{"version":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,+BAA+B;QAC/C,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,yBAAyB;CAClC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,cAAc;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAA0B;IACjE,aAAa,EAAE,8BAA8B;IAC7C,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,mBAAmB,CAAC;YACxC,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,8BAA8B;QAC9C,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAuB;IAC1D,aAAa,EAAE,0BAA0B;IACzC,MAAM,EAAE,8BAA8B;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,kCAAkC,CAAC;SACxD;QACD,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ManagedCluster as ManagedClusterMapper,\n TagsObject as TagsObjectMapper,\n ManagedClusterServicePrincipalProfile as ManagedClusterServicePrincipalProfileMapper,\n ManagedClusterAADProfile as ManagedClusterAADProfileMapper,\n RunCommandRequest as RunCommandRequestMapper,\n MaintenanceConfiguration as MaintenanceConfigurationMapper,\n AgentPool as AgentPoolMapper,\n AgentPoolDeleteMachinesParameter as AgentPoolDeleteMachinesParameterMapper,\n PrivateEndpointConnection as PrivateEndpointConnectionMapper,\n PrivateLinkResource as PrivateLinkResourceMapper,\n Snapshot as SnapshotMapper,\n TrustedAccessRoleBinding as TrustedAccessRoleBindingMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-10-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\",\n ),\n MaxLength: 63,\n MinLength: 1,\n },\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const roleName: OperationURLParameter = {\n parameterPath: \"roleName\",\n mapper: {\n serializedName: \"roleName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const serverFqdn: OperationQueryParameter = {\n parameterPath: [\"options\", \"serverFqdn\"],\n mapper: {\n serializedName: \"server-fqdn\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const format: OperationQueryParameter = {\n parameterPath: [\"options\", \"format\"],\n mapper: {\n serializedName: \"format\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterMapper,\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsObjectMapper,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterServicePrincipalProfileMapper,\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterAADProfileMapper,\n};\n\nexport const requestPayload: OperationParameter = {\n parameterPath: \"requestPayload\",\n mapper: RunCommandRequestMapper,\n};\n\nexport const commandId: OperationURLParameter = {\n parameterPath: \"commandId\",\n mapper: {\n serializedName: \"commandId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const mode: OperationURLParameter = {\n parameterPath: \"mode\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\",\n ),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"mode\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const configName: OperationURLParameter = {\n parameterPath: \"configName\",\n mapper: {\n serializedName: \"configName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MaintenanceConfigurationMapper,\n};\n\nexport const agentPoolName: OperationURLParameter = {\n parameterPath: \"agentPoolName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]{0,11}$\"),\n MaxLength: 12,\n MinLength: 1,\n },\n serializedName: \"agentPoolName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: AgentPoolMapper,\n};\n\nexport const ignorePodDisruptionBudget: OperationQueryParameter = {\n parameterPath: [\"options\", \"ignorePodDisruptionBudget\"],\n mapper: {\n serializedName: \"ignore-pod-disruption-budget\",\n type: {\n name: \"Boolean\",\n },\n },\n};\n\nexport const machines: OperationParameter = {\n parameterPath: \"machines\",\n mapper: AgentPoolDeleteMachinesParameterMapper,\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateEndpointConnectionMapper,\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateLinkResourceMapper,\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: SnapshotMapper,\n};\n\nexport const trustedAccessRoleBindingName: OperationURLParameter = {\n parameterPath: \"trustedAccessRoleBindingName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^([A-Za-z0-9-])+$\"),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"trustedAccessRoleBindingName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const trustedAccessRoleBinding: OperationParameter = {\n parameterPath: \"trustedAccessRoleBinding\",\n mapper: TrustedAccessRoleBindingMapper,\n};\n\nexport const machineName: OperationURLParameter = {\n parameterPath: \"machineName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9][-_a-zA-Z0-9]{0,39}$\"),\n },\n serializedName: \"machineName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,cAAc,IAAI,oBAAoB,EACtC,UAAU,IAAI,gBAAgB,EAC9B,qCAAqC,IAAI,2CAA2C,EACpF,wBAAwB,IAAI,8BAA8B,EAC1D,iBAAiB,IAAI,uBAAuB,EAC5C,wBAAwB,IAAI,8BAA8B,EAC1D,SAAS,IAAI,eAAe,EAC5B,gCAAgC,IAAI,sCAAsC,EAC1E,yBAAyB,IAAI,+BAA+B,EAC5D,mBAAmB,IAAI,yBAAyB,EAChD,QAAQ,IAAI,cAAc,EAC1B,wBAAwB,IAAI,8BAA8B,GAC3D,MAAM,sBAAsB,CAAC;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AM,CAAC,kCAAkC,CAAC;SACxD;QACD,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ManagedCluster as ManagedClusterMapper,\n TagsObject as TagsObjectMapper,\n ManagedClusterServicePrincipalProfile as ManagedClusterServicePrincipalProfileMapper,\n ManagedClusterAADProfile as ManagedClusterAADProfileMapper,\n RunCommandRequest as RunCommandRequestMapper,\n MaintenanceConfiguration as MaintenanceConfigurationMapper,\n AgentPool as AgentPoolMapper,\n AgentPoolDeleteMachinesParameter as AgentPoolDeleteMachinesParameterMapper,\n PrivateEndpointConnection as PrivateEndpointConnectionMapper,\n PrivateLinkResource as PrivateLinkResourceMapper,\n Snapshot as SnapshotMapper,\n TrustedAccessRoleBinding as TrustedAccessRoleBindingMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\"),\n MaxLength: 63,\n MinLength: 1,\n },\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const roleName: OperationURLParameter = {\n parameterPath: \"roleName\",\n mapper: {\n serializedName: \"roleName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const serverFqdn: OperationQueryParameter = {\n parameterPath: [\"options\", \"serverFqdn\"],\n mapper: {\n serializedName: \"server-fqdn\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const format: OperationQueryParameter = {\n parameterPath: [\"options\", \"format\"],\n mapper: {\n serializedName: \"format\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterMapper,\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsObjectMapper,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterServicePrincipalProfileMapper,\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagedClusterAADProfileMapper,\n};\n\nexport const requestPayload: OperationParameter = {\n parameterPath: \"requestPayload\",\n mapper: RunCommandRequestMapper,\n};\n\nexport const commandId: OperationURLParameter = {\n parameterPath: \"commandId\",\n mapper: {\n serializedName: \"commandId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const mode: OperationURLParameter = {\n parameterPath: \"mode\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\"),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"mode\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const configName: OperationURLParameter = {\n parameterPath: \"configName\",\n mapper: {\n serializedName: \"configName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MaintenanceConfigurationMapper,\n};\n\nexport const agentPoolName: OperationURLParameter = {\n parameterPath: \"agentPoolName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]{0,11}$\"),\n MaxLength: 12,\n MinLength: 1,\n },\n serializedName: \"agentPoolName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: AgentPoolMapper,\n};\n\nexport const ignorePodDisruptionBudget: OperationQueryParameter = {\n parameterPath: [\"options\", \"ignorePodDisruptionBudget\"],\n mapper: {\n serializedName: \"ignore-pod-disruption-budget\",\n type: {\n name: \"Boolean\",\n },\n },\n};\n\nexport const machines: OperationParameter = {\n parameterPath: \"machines\",\n mapper: AgentPoolDeleteMachinesParameterMapper,\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateEndpointConnectionMapper,\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateLinkResourceMapper,\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: SnapshotMapper,\n};\n\nexport const trustedAccessRoleBindingName: OperationURLParameter = {\n parameterPath: \"trustedAccessRoleBindingName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^([A-Za-z0-9-])+$\"),\n MaxLength: 24,\n MinLength: 1,\n },\n serializedName: \"trustedAccessRoleBindingName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const trustedAccessRoleBinding: OperationParameter = {\n parameterPath: \"trustedAccessRoleBinding\",\n mapper: TrustedAccessRoleBindingMapper,\n};\n\nexport const machineName: OperationURLParameter = {\n parameterPath: \"machineName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9][-_a-zA-Z0-9]{0,39}$\"),\n },\n serializedName: \"machineName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { AgentPools } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { ContainerServiceClient } from "../containerServiceClient.js";
|
|
4
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { AgentPool, AgentPoolsListOptionalParams, AgentPoolsAbortLatestOperationOptionalParams, AgentPoolsAbortLatestOperationResponse, AgentPoolsGetOptionalParams, AgentPoolsGetResponse, AgentPoolsCreateOrUpdateOptionalParams, AgentPoolsCreateOrUpdateResponse, AgentPoolsDeleteOptionalParams, AgentPoolsDeleteResponse, AgentPoolsGetUpgradeProfileOptionalParams, AgentPoolsGetUpgradeProfileResponse, AgentPoolDeleteMachinesParameter, AgentPoolsDeleteMachinesOptionalParams, AgentPoolsDeleteMachinesResponse, AgentPoolsGetAvailableAgentPoolVersionsOptionalParams, AgentPoolsGetAvailableAgentPoolVersionsResponse, AgentPoolsUpgradeNodeImageVersionOptionalParams } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { AgentPools } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { ContainerServiceClient } from "../containerServiceClient.js";
|
|
4
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import type { AgentPool, AgentPoolsListOptionalParams, AgentPoolsAbortLatestOperationOptionalParams, AgentPoolsAbortLatestOperationResponse, AgentPoolsGetOptionalParams, AgentPoolsGetResponse, AgentPoolsCreateOrUpdateOptionalParams, AgentPoolsCreateOrUpdateResponse, AgentPoolsDeleteOptionalParams, AgentPoolsDeleteResponse, AgentPoolsGetUpgradeProfileOptionalParams, AgentPoolsGetUpgradeProfileResponse, AgentPoolDeleteMachinesParameter, AgentPoolsDeleteMachinesOptionalParams, AgentPoolsDeleteMachinesResponse, AgentPoolsGetAvailableAgentPoolVersionsOptionalParams, AgentPoolsGetAvailableAgentPoolVersionsResponse, AgentPoolsUpgradeNodeImageVersionOptionalParams } from "../models/index.js";
|
|
6
6
|
/** Class containing AgentPools operations. */
|
|
7
7
|
export declare class AgentPoolsImpl implements AgentPools {
|
|
8
8
|
private readonly client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentPools.d.ts","sourceRoot":"","sources":["../../../src/operations/agentPools.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"agentPools.d.ts","sourceRoot":"","sources":["../../../src/operations/agentPools.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,SAAS,EAET,4BAA4B,EAE5B,4CAA4C,EAC5C,sCAAsC,EACtC,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,wBAAwB,EACxB,yCAAyC,EACzC,mCAAmC,EACnC,gCAAgC,EAChC,sCAAsC,EACtC,gCAAgC,EAChC,qDAAqD,EACrD,+CAA+C,EAC/C,+CAA+C,EAEhD,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAwBd,aAAa;IAU5B;;;;;;;;OAQG;IACG,yBAAyB,CAC7B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CACR,gBAAgB,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;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -10,7 +10,7 @@ import { setContinuationToken } from "../pagingHelper.js";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers.js";
|
|
12
12
|
import * as Parameters from "../models/parameters.js";
|
|
13
|
-
import { createHttpPoller
|
|
13
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
14
14
|
import { createLroSpec } from "../lroImpl.js";
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
16
16
|
/** Class containing AgentPools operations. */
|
|
@@ -561,10 +561,7 @@ const deleteOperationSpec = {
|
|
|
561
561
|
bodyMapper: Mappers.CloudError,
|
|
562
562
|
},
|
|
563
563
|
},
|
|
564
|
-
queryParameters: [
|
|
565
|
-
Parameters.apiVersion,
|
|
566
|
-
Parameters.ignorePodDisruptionBudget,
|
|
567
|
-
],
|
|
564
|
+
queryParameters: [Parameters.apiVersion, Parameters.ignorePodDisruptionBudget],
|
|
568
565
|
urlParameters: [
|
|
569
566
|
Parameters.$host,
|
|
570
567
|
Parameters.subscriptionId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentPools.js","sourceRoot":"","sources":["../../../src/operations/agentPools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAyB9C,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,G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;QACvB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AgentPools } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n AgentPool,\n AgentPoolsListNextOptionalParams,\n AgentPoolsListOptionalParams,\n AgentPoolsListResponse,\n AgentPoolsAbortLatestOperationOptionalParams,\n AgentPoolsAbortLatestOperationResponse,\n AgentPoolsGetOptionalParams,\n AgentPoolsGetResponse,\n AgentPoolsCreateOrUpdateOptionalParams,\n AgentPoolsCreateOrUpdateResponse,\n AgentPoolsDeleteOptionalParams,\n AgentPoolsDeleteResponse,\n AgentPoolsGetUpgradeProfileOptionalParams,\n AgentPoolsGetUpgradeProfileResponse,\n AgentPoolDeleteMachinesParameter,\n AgentPoolsDeleteMachinesOptionalParams,\n AgentPoolsDeleteMachinesResponse,\n AgentPoolsGetAvailableAgentPoolVersionsOptionalParams,\n AgentPoolsGetAvailableAgentPoolVersionsResponse,\n AgentPoolsUpgradeNodeImageVersionOptionalParams,\n AgentPoolsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AgentPools operations. */\nexport class AgentPoolsImpl implements AgentPools {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class AgentPools class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of agent pools in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): PagedAsyncIterableIterator<AgentPool> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AgentPool[]> {\n let result: AgentPoolsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, resourceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): AsyncIterableIterator<AgentPool> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a\n * Canceling state and eventually to a Canceled state when cancellation finishes. If the operation\n * completes before cancellation can take place, a 409 error code is returned.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginAbortLatestOperation(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsAbortLatestOperationOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsAbortLatestOperationResponse>,\n AgentPoolsAbortLatestOperationResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsAbortLatestOperationResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: abortLatestOperationOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsAbortLatestOperationResponse,\n OperationState<AgentPoolsAbortLatestOperationResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a\n * Canceling state and eventually to a Canceled state when cancellation finishes. If the operation\n * completes before cancellation can take place, a 409 error code is returned.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginAbortLatestOperationAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsAbortLatestOperationOptionalParams,\n ): Promise<AgentPoolsAbortLatestOperationResponse> {\n const poller = await this.beginAbortLatestOperation(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a list of agent pools in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): Promise<AgentPoolsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified managed cluster agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsGetOptionalParams,\n ): Promise<AgentPoolsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param parameters The agent pool to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n parameters: AgentPool,\n options?: AgentPoolsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsCreateOrUpdateResponse>,\n AgentPoolsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n agentPoolName,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsCreateOrUpdateResponse,\n OperationState<AgentPoolsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param parameters The agent pool to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n parameters: AgentPool,\n options?: AgentPoolsCreateOrUpdateOptionalParams,\n ): Promise<AgentPoolsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceName,\n agentPoolName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsDeleteResponse>,\n AgentPoolsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsDeleteResponse,\n OperationState<AgentPoolsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<AgentPoolsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the upgrade profile for an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n getUpgradeProfile(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsGetUpgradeProfileOptionalParams,\n ): Promise<AgentPoolsGetUpgradeProfileResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, options },\n getUpgradeProfileOperationSpec,\n );\n }\n\n /**\n * Deletes specific machines in an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param machines A list of machines from the agent pool to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteMachines(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n machines: AgentPoolDeleteMachinesParameter,\n options?: AgentPoolsDeleteMachinesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsDeleteMachinesResponse>,\n AgentPoolsDeleteMachinesResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsDeleteMachinesResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n agentPoolName,\n machines,\n options,\n },\n spec: deleteMachinesOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsDeleteMachinesResponse,\n OperationState<AgentPoolsDeleteMachinesResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes specific machines in an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param machines A list of machines from the agent pool to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteMachinesAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n machines: AgentPoolDeleteMachinesParameter,\n options?: AgentPoolsDeleteMachinesOptionalParams,\n ): Promise<AgentPoolsDeleteMachinesResponse> {\n const poller = await this.beginDeleteMachines(\n resourceGroupName,\n resourceName,\n agentPoolName,\n machines,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * See [supported Kubernetes\n * versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about\n * the version lifecycle.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n getAvailableAgentPoolVersions(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsGetAvailableAgentPoolVersionsOptionalParams,\n ): Promise<AgentPoolsGetAvailableAgentPoolVersionsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getAvailableAgentPoolVersionsOperationSpec,\n );\n }\n\n /**\n * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the\n * nodes. AKS provides one new image per week with the latest updates. For more details on node image\n * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginUpgradeNodeImageVersion(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsUpgradeNodeImageVersionOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: upgradeNodeImageVersionOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the\n * nodes. AKS provides one new image per week with the latest updates. For more details on node image\n * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginUpgradeNodeImageVersionAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsUpgradeNodeImageVersionOptionalParams,\n ): Promise<void> {\n const poller = await this.beginUpgradeNodeImageVersion(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: AgentPoolsListNextOptionalParams,\n ): Promise<AgentPoolsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst abortLatestOperationOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/agentPools/{agentPoolName}/abort\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n 201: {\n bodyMapper: Mappers.AgentPool,\n },\n 202: {\n bodyMapper: Mappers.AgentPool,\n },\n 204: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.ignorePodDisruptionBudget,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getUpgradeProfileOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolUpgradeProfile,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteMachinesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/deleteMachines\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.machines,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getAvailableAgentPoolVersionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolAvailableVersions,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst upgradeNodeImageVersionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"agentPools.js","sourceRoot":"","sources":["../../../src/operations/agentPools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAyB9C,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAsC;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AC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { AgentPools } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n AgentPool,\n AgentPoolsListNextOptionalParams,\n AgentPoolsListOptionalParams,\n AgentPoolsListResponse,\n AgentPoolsAbortLatestOperationOptionalParams,\n AgentPoolsAbortLatestOperationResponse,\n AgentPoolsGetOptionalParams,\n AgentPoolsGetResponse,\n AgentPoolsCreateOrUpdateOptionalParams,\n AgentPoolsCreateOrUpdateResponse,\n AgentPoolsDeleteOptionalParams,\n AgentPoolsDeleteResponse,\n AgentPoolsGetUpgradeProfileOptionalParams,\n AgentPoolsGetUpgradeProfileResponse,\n AgentPoolDeleteMachinesParameter,\n AgentPoolsDeleteMachinesOptionalParams,\n AgentPoolsDeleteMachinesResponse,\n AgentPoolsGetAvailableAgentPoolVersionsOptionalParams,\n AgentPoolsGetAvailableAgentPoolVersionsResponse,\n AgentPoolsUpgradeNodeImageVersionOptionalParams,\n AgentPoolsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AgentPools operations. */\nexport class AgentPoolsImpl implements AgentPools {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class AgentPools class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of agent pools in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): PagedAsyncIterableIterator<AgentPool> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, resourceName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AgentPool[]> {\n let result: AgentPoolsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, resourceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, resourceName, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): AsyncIterableIterator<AgentPool> {\n for await (const page of this.listPagingPage(resourceGroupName, resourceName, options)) {\n yield* page;\n }\n }\n\n /**\n * Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a\n * Canceling state and eventually to a Canceled state when cancellation finishes. If the operation\n * completes before cancellation can take place, a 409 error code is returned.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginAbortLatestOperation(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsAbortLatestOperationOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsAbortLatestOperationResponse>,\n AgentPoolsAbortLatestOperationResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsAbortLatestOperationResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: abortLatestOperationOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsAbortLatestOperationResponse,\n OperationState<AgentPoolsAbortLatestOperationResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a\n * Canceling state and eventually to a Canceled state when cancellation finishes. If the operation\n * completes before cancellation can take place, a 409 error code is returned.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginAbortLatestOperationAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsAbortLatestOperationOptionalParams,\n ): Promise<AgentPoolsAbortLatestOperationResponse> {\n const poller = await this.beginAbortLatestOperation(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a list of agent pools in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsListOptionalParams,\n ): Promise<AgentPoolsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the specified managed cluster agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsGetOptionalParams,\n ): Promise<AgentPoolsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param parameters The agent pool to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n parameters: AgentPool,\n options?: AgentPoolsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsCreateOrUpdateResponse>,\n AgentPoolsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n agentPoolName,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsCreateOrUpdateResponse,\n OperationState<AgentPoolsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param parameters The agent pool to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n parameters: AgentPool,\n options?: AgentPoolsCreateOrUpdateOptionalParams,\n ): Promise<AgentPoolsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceName,\n agentPoolName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<AgentPoolsDeleteResponse>, AgentPoolsDeleteResponse>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsDeleteResponse,\n OperationState<AgentPoolsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an agent pool in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<AgentPoolsDeleteResponse> {\n const poller = await this.beginDelete(resourceGroupName, resourceName, agentPoolName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the upgrade profile for an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n getUpgradeProfile(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsGetUpgradeProfileOptionalParams,\n ): Promise<AgentPoolsGetUpgradeProfileResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, options },\n getUpgradeProfileOperationSpec,\n );\n }\n\n /**\n * Deletes specific machines in an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param machines A list of machines from the agent pool to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteMachines(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n machines: AgentPoolDeleteMachinesParameter,\n options?: AgentPoolsDeleteMachinesOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsDeleteMachinesResponse>,\n AgentPoolsDeleteMachinesResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsDeleteMachinesResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n agentPoolName,\n machines,\n options,\n },\n spec: deleteMachinesOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsDeleteMachinesResponse,\n OperationState<AgentPoolsDeleteMachinesResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes specific machines in an agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param machines A list of machines from the agent pool to be deleted.\n * @param options The options parameters.\n */\n async beginDeleteMachinesAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n machines: AgentPoolDeleteMachinesParameter,\n options?: AgentPoolsDeleteMachinesOptionalParams,\n ): Promise<AgentPoolsDeleteMachinesResponse> {\n const poller = await this.beginDeleteMachines(\n resourceGroupName,\n resourceName,\n agentPoolName,\n machines,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * See [supported Kubernetes\n * versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about\n * the version lifecycle.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n getAvailableAgentPoolVersions(\n resourceGroupName: string,\n resourceName: string,\n options?: AgentPoolsGetAvailableAgentPoolVersionsOptionalParams,\n ): Promise<AgentPoolsGetAvailableAgentPoolVersionsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getAvailableAgentPoolVersionsOperationSpec,\n );\n }\n\n /**\n * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the\n * nodes. AKS provides one new image per week with the latest updates. For more details on node image\n * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginUpgradeNodeImageVersion(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsUpgradeNodeImageVersionOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, agentPoolName, options },\n spec: upgradeNodeImageVersionOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the\n * nodes. AKS provides one new image per week with the latest updates. For more details on node image\n * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginUpgradeNodeImageVersionAndWait(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: AgentPoolsUpgradeNodeImageVersionOptionalParams,\n ): Promise<void> {\n const poller = await this.beginUpgradeNodeImageVersion(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: AgentPoolsListNextOptionalParams,\n ): Promise<AgentPoolsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst abortLatestOperationOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/agentPools/{agentPoolName}/abort\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsAbortLatestOperationHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n 201: {\n bodyMapper: Mappers.AgentPool,\n },\n 202: {\n bodyMapper: Mappers.AgentPool,\n },\n 204: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.ignorePodDisruptionBudget],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getUpgradeProfileOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolUpgradeProfile,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteMachinesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/deleteMachines\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsDeleteMachinesHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.machines,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getAvailableAgentPoolVersionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolAvailableVersions,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst upgradeNodeImageVersionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Machines } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { ContainerServiceClient } from "../containerServiceClient.js";
|
|
4
|
-
import { Machine, MachinesListOptionalParams, MachinesGetOptionalParams, MachinesGetResponse } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { Machines } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { ContainerServiceClient } from "../containerServiceClient.js";
|
|
4
|
+
import type { Machine, MachinesListOptionalParams, MachinesGetOptionalParams, MachinesGetResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing Machines operations. */
|
|
6
6
|
export declare class MachinesImpl implements Machines {
|
|
7
7
|
private readonly client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"machines.d.ts","sourceRoot":"","sources":["../../../src/operations/machines.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"machines.d.ts","sourceRoot":"","sources":["../../../src/operations/machines.ts"],"names":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EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Machines } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport {\n Machine,\n MachinesListNextOptionalParams,\n MachinesListOptionalParams,\n MachinesListResponse,\n MachinesGetOptionalParams,\n MachinesGetResponse,\n MachinesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Machines operations. */\nexport class MachinesImpl implements Machines {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class Machines class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of machines in the specified agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: MachinesListOptionalParams,\n ): PagedAsyncIterableIterator<Machine> {\n const iter = this.listPagingAll(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: MachinesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Machine[]> {\n let result: MachinesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n resourceName,\n agentPoolName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: MachinesListOptionalParams,\n ): AsyncIterableIterator<Machine> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of machines in the specified agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: MachinesListOptionalParams,\n ): Promise<MachinesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a specific machine in the specified agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param machineName host name of the machine\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n machineName: string,\n options?: MachinesGetOptionalParams,\n ): Promise<MachinesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, machineName, options },\n getOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n nextLink: string,\n options?: MachinesListNextOptionalParams,\n ): Promise<MachinesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/machines\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/machines/{machineName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Machine,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n Parameters.machineName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.nextLink,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"machines.js","sourceRoot":"","sources":["../../../src/operations/machines.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAYtD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAA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AAU,CAAC,aAAa;QACxB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Machines } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type {\n Machine,\n MachinesListNextOptionalParams,\n MachinesListOptionalParams,\n MachinesListResponse,\n MachinesGetOptionalParams,\n MachinesGetResponse,\n MachinesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Machines operations. */\nexport class MachinesImpl implements Machines {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class Machines class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of machines in the specified agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: MachinesListOptionalParams,\n ): PagedAsyncIterableIterator<Machine> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, agentPoolName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: MachinesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Machine[]> {\n let result: MachinesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, resourceName, agentPoolName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n resourceName,\n agentPoolName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: MachinesListOptionalParams,\n ): AsyncIterableIterator<Machine> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n agentPoolName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of machines in the specified agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n options?: MachinesListOptionalParams,\n ): Promise<MachinesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a specific machine in the specified agent pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param machineName host name of the machine\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n machineName: string,\n options?: MachinesGetOptionalParams,\n ): Promise<MachinesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, machineName, options },\n getOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param agentPoolName The name of the agent pool.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n agentPoolName: string,\n nextLink: string,\n options?: MachinesListNextOptionalParams,\n ): Promise<MachinesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, agentPoolName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/machines\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/machines/{machineName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Machine,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.agentPoolName,\n Parameters.machineName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MachineListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.nextLink,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { MaintenanceConfigurations } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { ContainerServiceClient } from "../containerServiceClient.js";
|
|
4
|
-
import { MaintenanceConfiguration, MaintenanceConfigurationsListByManagedClusterOptionalParams, MaintenanceConfigurationsGetOptionalParams, MaintenanceConfigurationsGetResponse, MaintenanceConfigurationsCreateOrUpdateOptionalParams, MaintenanceConfigurationsCreateOrUpdateResponse, MaintenanceConfigurationsDeleteOptionalParams } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { MaintenanceConfigurations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { ContainerServiceClient } from "../containerServiceClient.js";
|
|
4
|
+
import type { MaintenanceConfiguration, MaintenanceConfigurationsListByManagedClusterOptionalParams, MaintenanceConfigurationsGetOptionalParams, MaintenanceConfigurationsGetResponse, MaintenanceConfigurationsCreateOrUpdateOptionalParams, MaintenanceConfigurationsCreateOrUpdateResponse, MaintenanceConfigurationsDeleteOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing MaintenanceConfigurations operations. */
|
|
6
6
|
export declare class MaintenanceConfigurationsImpl implements MaintenanceConfigurations {
|
|
7
7
|
private readonly client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maintenanceConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/maintenanceConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"maintenanceConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/maintenanceConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAIlF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,wBAAwB,EAExB,2DAA2D,EAE3D,0CAA0C,EAC1C,oCAAoC,EACpC,qDAAqD,EACrD,+CAA+C,EAC/C,6CAA6C,EAE9C,MAAM,oBAAoB,CAAC;AAG5B,6DAA6D;AAC7D,qBAAa,6BAA8B,YAAW,yBAAyB;IAC7E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACI,oBAAoB,CACzB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,2DAA2D,GACpE,0BAA0B,CAAC,wBAAwB,CAAC;YAuBxC,8BAA8B;YA6B9B,6BAA6B;IAc5C;;;;;OAKG;IACH,OAAO,CAAC,qBAAqB;IAW7B;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;;;OAOG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,wBAAwB,EACpC,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,+CAA+C,CAAC;IAO3D;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,OAAO,CAAC,yBAAyB;CAWlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maintenanceConfigurations.js","sourceRoot":"","sources":["../../../src/operations/maintenanceConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,4CAA4C;AAC5C,6DAA6D;AAC7D,MAAM,OAAO,6BAA6B;IAKxC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,oBAAoB,CACzB,iBAAyB,EACzB,YAAoB,EACpB,OAAqE;QAErE,MAAM,IAAI,GAAG,IAAI,CAAC,6BAA6B,CAC7C,iBAAiB,EACjB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AAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qCAAqC,GAA6B;IACtE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kCAAkC;SACvD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { MaintenanceConfigurations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport {\n MaintenanceConfiguration,\n MaintenanceConfigurationsListByManagedClusterNextOptionalParams,\n MaintenanceConfigurationsListByManagedClusterOptionalParams,\n MaintenanceConfigurationsListByManagedClusterResponse,\n MaintenanceConfigurationsGetOptionalParams,\n MaintenanceConfigurationsGetResponse,\n MaintenanceConfigurationsCreateOrUpdateOptionalParams,\n MaintenanceConfigurationsCreateOrUpdateResponse,\n MaintenanceConfigurationsDeleteOptionalParams,\n MaintenanceConfigurationsListByManagedClusterNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing MaintenanceConfigurations operations. */\nexport class MaintenanceConfigurationsImpl\n implements MaintenanceConfigurations\n{\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class MaintenanceConfigurations class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of maintenance configurations in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n public listByManagedCluster(\n resourceGroupName: string,\n resourceName: string,\n options?: MaintenanceConfigurationsListByManagedClusterOptionalParams,\n ): PagedAsyncIterableIterator<MaintenanceConfiguration> {\n const iter = this.listByManagedClusterPagingAll(\n resourceGroupName,\n resourceName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByManagedClusterPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByManagedClusterPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: MaintenanceConfigurationsListByManagedClusterOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<MaintenanceConfiguration[]> {\n let result: MaintenanceConfigurationsListByManagedClusterResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByManagedCluster(\n resourceGroupName,\n resourceName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByManagedClusterNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByManagedClusterPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: MaintenanceConfigurationsListByManagedClusterOptionalParams,\n ): AsyncIterableIterator<MaintenanceConfiguration> {\n for await (const page of this.listByManagedClusterPagingPage(\n resourceGroupName,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of maintenance configurations in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n private _listByManagedCluster(\n resourceGroupName: string,\n resourceName: string,\n options?: MaintenanceConfigurationsListByManagedClusterOptionalParams,\n ): Promise<MaintenanceConfigurationsListByManagedClusterResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listByManagedClusterOperationSpec,\n );\n }\n\n /**\n * Gets the specified maintenance configuration of a managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param configName The name of the maintenance configuration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n configName: string,\n options?: MaintenanceConfigurationsGetOptionalParams,\n ): Promise<MaintenanceConfigurationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, configName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a maintenance configuration in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param configName The name of the maintenance configuration.\n * @param parameters The maintenance configuration to create or update.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n configName: string,\n parameters: MaintenanceConfiguration,\n options?: MaintenanceConfigurationsCreateOrUpdateOptionalParams,\n ): Promise<MaintenanceConfigurationsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, configName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes a maintenance configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param configName The name of the maintenance configuration.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n configName: string,\n options?: MaintenanceConfigurationsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, configName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * ListByManagedClusterNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param nextLink The nextLink from the previous successful call to the ListByManagedCluster method.\n * @param options The options parameters.\n */\n private _listByManagedClusterNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: MaintenanceConfigurationsListByManagedClusterNextOptionalParams,\n ): Promise<MaintenanceConfigurationsListByManagedClusterNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listByManagedClusterNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByManagedClusterOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MaintenanceConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MaintenanceConfiguration,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.configName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.MaintenanceConfiguration,\n },\n 201: {\n bodyMapper: Mappers.MaintenanceConfiguration,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.configName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.configName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByManagedClusterNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MaintenanceConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"maintenanceConfigurations.js","sourceRoot":"","sources":["../../../src/operations/maintenanceConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,4CAA4C;AAC5C,6DAA6D;AAC7D,MAAM,OAAO,6BAA6B;IAGxC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,oBAAoB,CACzB,iBAAyB,EACzB,YAAoB,EACpB,OAAqE;QAErE,MAAM,IAAI,GAAG,IAAI,CAAC,6BAA6B,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1F,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,8BAA8B,CACxC,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,8BAA8B,CAC3C,iBAAyB,EACzB,YAAoB,EACpB,OAAqE,EACrE,QAAuB;;YAEvB,IAAI,MAA6D,CAAC;YAClE,IAAI,iBAA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ft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { MaintenanceConfigurations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type {\n MaintenanceConfiguration,\n MaintenanceConfigurationsListByManagedClusterNextOptionalParams,\n MaintenanceConfigurationsListByManagedClusterOptionalParams,\n MaintenanceConfigurationsListByManagedClusterResponse,\n MaintenanceConfigurationsGetOptionalParams,\n MaintenanceConfigurationsGetResponse,\n MaintenanceConfigurationsCreateOrUpdateOptionalParams,\n MaintenanceConfigurationsCreateOrUpdateResponse,\n MaintenanceConfigurationsDeleteOptionalParams,\n MaintenanceConfigurationsListByManagedClusterNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing MaintenanceConfigurations operations. */\nexport class MaintenanceConfigurationsImpl implements MaintenanceConfigurations {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class MaintenanceConfigurations class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of maintenance configurations in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n public listByManagedCluster(\n resourceGroupName: string,\n resourceName: string,\n options?: MaintenanceConfigurationsListByManagedClusterOptionalParams,\n ): PagedAsyncIterableIterator<MaintenanceConfiguration> {\n const iter = this.listByManagedClusterPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByManagedClusterPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByManagedClusterPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: MaintenanceConfigurationsListByManagedClusterOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<MaintenanceConfiguration[]> {\n let result: MaintenanceConfigurationsListByManagedClusterResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByManagedCluster(resourceGroupName, resourceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByManagedClusterNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByManagedClusterPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: MaintenanceConfigurationsListByManagedClusterOptionalParams,\n ): AsyncIterableIterator<MaintenanceConfiguration> {\n for await (const page of this.listByManagedClusterPagingPage(\n resourceGroupName,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of maintenance configurations in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n private _listByManagedCluster(\n resourceGroupName: string,\n resourceName: string,\n options?: MaintenanceConfigurationsListByManagedClusterOptionalParams,\n ): Promise<MaintenanceConfigurationsListByManagedClusterResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listByManagedClusterOperationSpec,\n );\n }\n\n /**\n * Gets the specified maintenance configuration of a managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param configName The name of the maintenance configuration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n configName: string,\n options?: MaintenanceConfigurationsGetOptionalParams,\n ): Promise<MaintenanceConfigurationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, configName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a maintenance configuration in the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param configName The name of the maintenance configuration.\n * @param parameters The maintenance configuration to create or update.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n configName: string,\n parameters: MaintenanceConfiguration,\n options?: MaintenanceConfigurationsCreateOrUpdateOptionalParams,\n ): Promise<MaintenanceConfigurationsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, configName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes a maintenance configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param configName The name of the maintenance configuration.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n configName: string,\n options?: MaintenanceConfigurationsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, configName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * ListByManagedClusterNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param nextLink The nextLink from the previous successful call to the ListByManagedCluster method.\n * @param options The options parameters.\n */\n private _listByManagedClusterNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: MaintenanceConfigurationsListByManagedClusterNextOptionalParams,\n ): Promise<MaintenanceConfigurationsListByManagedClusterNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listByManagedClusterNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByManagedClusterOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MaintenanceConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MaintenanceConfiguration,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.configName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.MaintenanceConfiguration,\n },\n 201: {\n bodyMapper: Mappers.MaintenanceConfiguration,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.configName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.configName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByManagedClusterNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MaintenanceConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|