@azure/arm-containerservice 22.0.0-beta.2 → 22.0.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 +17 -0
- package/README.md +4 -3
- package/dist/browser/containerServiceClient.d.ts +3 -8
- package/dist/browser/containerServiceClient.d.ts.map +1 -1
- package/dist/browser/containerServiceClient.js +5 -11
- package/dist/browser/containerServiceClient.js.map +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 +249 -1364
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +24 -210
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +19 -72
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +311 -1995
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +6 -14
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +19 -92
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/agentPools.d.ts +2 -2
- package/dist/browser/operations/agentPools.js +3 -3
- package/dist/browser/operations/agentPools.js.map +1 -1
- package/dist/browser/operations/index.d.ts +2 -7
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +2 -7
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/maintenanceConfigurations.js +1 -1
- package/dist/browser/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/browser/operations/managedClusters.d.ts +15 -89
- package/dist/browser/operations/managedClusters.d.ts.map +1 -1
- package/dist/browser/operations/managedClusters.js +37 -425
- package/dist/browser/operations/managedClusters.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +1 -1
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/resolvePrivateLinkServiceId.js +1 -1
- package/dist/browser/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/browser/operations/snapshots.js +1 -1
- package/dist/browser/operations/snapshots.js.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.d.ts +2 -2
- package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +2 -7
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +2 -7
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/managedClusters.d.ts +15 -59
- 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.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/containerServiceClient.d.ts +3 -8
- package/dist/commonjs/containerServiceClient.d.ts.map +1 -1
- package/dist/commonjs/containerServiceClient.js +4 -10
- package/dist/commonjs/containerServiceClient.js.map +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 +249 -1364
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +25 -212
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +19 -72
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +315 -2000
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +6 -14
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +19 -92
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/agentPools.d.ts +2 -2
- package/dist/commonjs/operations/agentPools.js +3 -3
- package/dist/commonjs/operations/agentPools.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +2 -7
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +2 -7
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/maintenanceConfigurations.js +1 -1
- package/dist/commonjs/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/commonjs/operations/managedClusters.d.ts +15 -89
- package/dist/commonjs/operations/managedClusters.d.ts.map +1 -1
- package/dist/commonjs/operations/managedClusters.js +37 -425
- package/dist/commonjs/operations/managedClusters.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/resolvePrivateLinkServiceId.js +1 -1
- package/dist/commonjs/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/commonjs/operations/snapshots.js +1 -1
- package/dist/commonjs/operations/snapshots.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +2 -7
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +2 -7
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedClusters.d.ts +15 -59
- 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.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/containerServiceClient.d.ts +3 -8
- package/dist/esm/containerServiceClient.d.ts.map +1 -1
- package/dist/esm/containerServiceClient.js +5 -11
- package/dist/esm/containerServiceClient.js.map +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 +249 -1364
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +24 -210
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +19 -72
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +311 -1995
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +6 -14
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +19 -92
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/agentPools.d.ts +2 -2
- package/dist/esm/operations/agentPools.js +3 -3
- package/dist/esm/operations/agentPools.js.map +1 -1
- package/dist/esm/operations/index.d.ts +2 -7
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +2 -7
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/maintenanceConfigurations.js +1 -1
- package/dist/esm/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/esm/operations/managedClusters.d.ts +15 -89
- package/dist/esm/operations/managedClusters.d.ts.map +1 -1
- package/dist/esm/operations/managedClusters.js +37 -425
- package/dist/esm/operations/managedClusters.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +1 -1
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/resolvePrivateLinkServiceId.js +1 -1
- package/dist/esm/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/esm/operations/snapshots.js +1 -1
- package/dist/esm/operations/snapshots.js.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.d.ts +2 -2
- package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +2 -7
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +2 -7
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/managedClusters.d.ts +15 -59
- 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.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/containerServiceClient.d.ts +3 -8
- package/dist/react-native/containerServiceClient.d.ts.map +1 -1
- package/dist/react-native/containerServiceClient.js +5 -11
- package/dist/react-native/containerServiceClient.js.map +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 +249 -1364
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +24 -210
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +19 -72
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +311 -1995
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +6 -14
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +19 -92
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/agentPools.d.ts +2 -2
- package/dist/react-native/operations/agentPools.js +3 -3
- package/dist/react-native/operations/agentPools.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +2 -7
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +2 -7
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/maintenanceConfigurations.js +1 -1
- package/dist/react-native/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/react-native/operations/managedClusters.d.ts +15 -89
- package/dist/react-native/operations/managedClusters.d.ts.map +1 -1
- package/dist/react-native/operations/managedClusters.js +37 -425
- package/dist/react-native/operations/managedClusters.js.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/resolvePrivateLinkServiceId.js +1 -1
- package/dist/react-native/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/react-native/operations/snapshots.js +1 -1
- package/dist/react-native/operations/snapshots.js.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +2 -7
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +2 -7
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/managedClusters.d.ts +15 -59
- 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.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/package.json +29 -38
- package/review/arm-containerservice.api.md +21 -903
- package/dist/browser/operations/containerService.d.ts +0 -39
- package/dist/browser/operations/containerService.d.ts.map +0 -1
- package/dist/browser/operations/containerService.js +0 -149
- package/dist/browser/operations/containerService.js.map +0 -1
- package/dist/browser/operations/loadBalancers.d.ts +0 -72
- package/dist/browser/operations/loadBalancers.d.ts.map +0 -1
- package/dist/browser/operations/loadBalancers.js +0 -312
- package/dist/browser/operations/loadBalancers.js.map +0 -1
- package/dist/browser/operations/managedClusterSnapshots.d.ts +0 -83
- package/dist/browser/operations/managedClusterSnapshots.d.ts.map +0 -1
- package/dist/browser/operations/managedClusterSnapshots.js +0 -384
- package/dist/browser/operations/managedClusterSnapshots.js.map +0 -1
- package/dist/browser/operations/namespaces.d.ts +0 -99
- package/dist/browser/operations/namespaces.d.ts.map +0 -1
- package/dist/browser/operations/namespaces.js +0 -430
- package/dist/browser/operations/namespaces.js.map +0 -1
- package/dist/browser/operations/operationStatusResultOperations.d.ts +0 -55
- package/dist/browser/operations/operationStatusResultOperations.d.ts.map +0 -1
- package/dist/browser/operations/operationStatusResultOperations.js +0 -216
- package/dist/browser/operations/operationStatusResultOperations.js.map +0 -1
- package/dist/browser/operationsInterfaces/containerService.d.ts +0 -14
- package/dist/browser/operationsInterfaces/containerService.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/containerService.js +0 -9
- package/dist/browser/operationsInterfaces/containerService.js.map +0 -1
- package/dist/browser/operationsInterfaces/loadBalancers.d.ts +0 -47
- package/dist/browser/operationsInterfaces/loadBalancers.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/loadBalancers.js +0 -9
- package/dist/browser/operationsInterfaces/loadBalancers.js.map +0 -1
- package/dist/browser/operationsInterfaces/managedClusterSnapshots.d.ts +0 -47
- package/dist/browser/operationsInterfaces/managedClusterSnapshots.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/managedClusterSnapshots.js +0 -9
- package/dist/browser/operationsInterfaces/managedClusterSnapshots.js.map +0 -1
- package/dist/browser/operationsInterfaces/namespaces.d.ts +0 -74
- package/dist/browser/operationsInterfaces/namespaces.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/namespaces.js +0 -9
- package/dist/browser/operationsInterfaces/namespaces.js.map +0 -1
- package/dist/browser/operationsInterfaces/operationStatusResultOperations.d.ts +0 -30
- package/dist/browser/operationsInterfaces/operationStatusResultOperations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/operationStatusResultOperations.js +0 -9
- package/dist/browser/operationsInterfaces/operationStatusResultOperations.js.map +0 -1
- package/dist/commonjs/operations/containerService.d.ts +0 -39
- package/dist/commonjs/operations/containerService.d.ts.map +0 -1
- package/dist/commonjs/operations/containerService.js +0 -153
- package/dist/commonjs/operations/containerService.js.map +0 -1
- package/dist/commonjs/operations/loadBalancers.d.ts +0 -72
- package/dist/commonjs/operations/loadBalancers.d.ts.map +0 -1
- package/dist/commonjs/operations/loadBalancers.js +0 -316
- package/dist/commonjs/operations/loadBalancers.js.map +0 -1
- package/dist/commonjs/operations/managedClusterSnapshots.d.ts +0 -83
- package/dist/commonjs/operations/managedClusterSnapshots.d.ts.map +0 -1
- package/dist/commonjs/operations/managedClusterSnapshots.js +0 -388
- package/dist/commonjs/operations/managedClusterSnapshots.js.map +0 -1
- package/dist/commonjs/operations/namespaces.d.ts +0 -99
- package/dist/commonjs/operations/namespaces.d.ts.map +0 -1
- package/dist/commonjs/operations/namespaces.js +0 -434
- package/dist/commonjs/operations/namespaces.js.map +0 -1
- package/dist/commonjs/operations/operationStatusResultOperations.d.ts +0 -55
- package/dist/commonjs/operations/operationStatusResultOperations.d.ts.map +0 -1
- package/dist/commonjs/operations/operationStatusResultOperations.js +0 -220
- package/dist/commonjs/operations/operationStatusResultOperations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/containerService.d.ts +0 -14
- package/dist/commonjs/operationsInterfaces/containerService.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/containerService.js +0 -10
- package/dist/commonjs/operationsInterfaces/containerService.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/loadBalancers.d.ts +0 -47
- package/dist/commonjs/operationsInterfaces/loadBalancers.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/loadBalancers.js +0 -10
- package/dist/commonjs/operationsInterfaces/loadBalancers.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/managedClusterSnapshots.d.ts +0 -47
- package/dist/commonjs/operationsInterfaces/managedClusterSnapshots.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/managedClusterSnapshots.js +0 -10
- package/dist/commonjs/operationsInterfaces/managedClusterSnapshots.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/namespaces.d.ts +0 -74
- package/dist/commonjs/operationsInterfaces/namespaces.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/namespaces.js +0 -10
- package/dist/commonjs/operationsInterfaces/namespaces.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/operationStatusResultOperations.d.ts +0 -30
- package/dist/commonjs/operationsInterfaces/operationStatusResultOperations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operationStatusResultOperations.js +0 -10
- package/dist/commonjs/operationsInterfaces/operationStatusResultOperations.js.map +0 -1
- package/dist/esm/operations/containerService.d.ts +0 -39
- package/dist/esm/operations/containerService.d.ts.map +0 -1
- package/dist/esm/operations/containerService.js +0 -149
- package/dist/esm/operations/containerService.js.map +0 -1
- package/dist/esm/operations/loadBalancers.d.ts +0 -72
- package/dist/esm/operations/loadBalancers.d.ts.map +0 -1
- package/dist/esm/operations/loadBalancers.js +0 -312
- package/dist/esm/operations/loadBalancers.js.map +0 -1
- package/dist/esm/operations/managedClusterSnapshots.d.ts +0 -83
- package/dist/esm/operations/managedClusterSnapshots.d.ts.map +0 -1
- package/dist/esm/operations/managedClusterSnapshots.js +0 -384
- package/dist/esm/operations/managedClusterSnapshots.js.map +0 -1
- package/dist/esm/operations/namespaces.d.ts +0 -99
- package/dist/esm/operations/namespaces.d.ts.map +0 -1
- package/dist/esm/operations/namespaces.js +0 -430
- package/dist/esm/operations/namespaces.js.map +0 -1
- package/dist/esm/operations/operationStatusResultOperations.d.ts +0 -55
- package/dist/esm/operations/operationStatusResultOperations.d.ts.map +0 -1
- package/dist/esm/operations/operationStatusResultOperations.js +0 -216
- package/dist/esm/operations/operationStatusResultOperations.js.map +0 -1
- package/dist/esm/operationsInterfaces/containerService.d.ts +0 -14
- package/dist/esm/operationsInterfaces/containerService.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/containerService.js +0 -9
- package/dist/esm/operationsInterfaces/containerService.js.map +0 -1
- package/dist/esm/operationsInterfaces/loadBalancers.d.ts +0 -47
- package/dist/esm/operationsInterfaces/loadBalancers.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/loadBalancers.js +0 -9
- package/dist/esm/operationsInterfaces/loadBalancers.js.map +0 -1
- package/dist/esm/operationsInterfaces/managedClusterSnapshots.d.ts +0 -47
- package/dist/esm/operationsInterfaces/managedClusterSnapshots.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/managedClusterSnapshots.js +0 -9
- package/dist/esm/operationsInterfaces/managedClusterSnapshots.js.map +0 -1
- package/dist/esm/operationsInterfaces/namespaces.d.ts +0 -74
- package/dist/esm/operationsInterfaces/namespaces.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/namespaces.js +0 -9
- package/dist/esm/operationsInterfaces/namespaces.js.map +0 -1
- package/dist/esm/operationsInterfaces/operationStatusResultOperations.d.ts +0 -30
- package/dist/esm/operationsInterfaces/operationStatusResultOperations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operationStatusResultOperations.js +0 -9
- package/dist/esm/operationsInterfaces/operationStatusResultOperations.js.map +0 -1
- package/dist/react-native/operations/containerService.d.ts +0 -39
- package/dist/react-native/operations/containerService.d.ts.map +0 -1
- package/dist/react-native/operations/containerService.js +0 -149
- package/dist/react-native/operations/containerService.js.map +0 -1
- package/dist/react-native/operations/loadBalancers.d.ts +0 -72
- package/dist/react-native/operations/loadBalancers.d.ts.map +0 -1
- package/dist/react-native/operations/loadBalancers.js +0 -312
- package/dist/react-native/operations/loadBalancers.js.map +0 -1
- package/dist/react-native/operations/managedClusterSnapshots.d.ts +0 -83
- package/dist/react-native/operations/managedClusterSnapshots.d.ts.map +0 -1
- package/dist/react-native/operations/managedClusterSnapshots.js +0 -384
- package/dist/react-native/operations/managedClusterSnapshots.js.map +0 -1
- package/dist/react-native/operations/namespaces.d.ts +0 -99
- package/dist/react-native/operations/namespaces.d.ts.map +0 -1
- package/dist/react-native/operations/namespaces.js +0 -430
- package/dist/react-native/operations/namespaces.js.map +0 -1
- package/dist/react-native/operations/operationStatusResultOperations.d.ts +0 -55
- package/dist/react-native/operations/operationStatusResultOperations.d.ts.map +0 -1
- package/dist/react-native/operations/operationStatusResultOperations.js +0 -216
- package/dist/react-native/operations/operationStatusResultOperations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/containerService.d.ts +0 -14
- package/dist/react-native/operationsInterfaces/containerService.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/containerService.js +0 -9
- package/dist/react-native/operationsInterfaces/containerService.js.map +0 -1
- package/dist/react-native/operationsInterfaces/loadBalancers.d.ts +0 -47
- package/dist/react-native/operationsInterfaces/loadBalancers.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/loadBalancers.js +0 -9
- package/dist/react-native/operationsInterfaces/loadBalancers.js.map +0 -1
- package/dist/react-native/operationsInterfaces/managedClusterSnapshots.d.ts +0 -47
- package/dist/react-native/operationsInterfaces/managedClusterSnapshots.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/managedClusterSnapshots.js +0 -9
- package/dist/react-native/operationsInterfaces/managedClusterSnapshots.js.map +0 -1
- package/dist/react-native/operationsInterfaces/namespaces.d.ts +0 -74
- package/dist/react-native/operationsInterfaces/namespaces.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/namespaces.js +0 -9
- package/dist/react-native/operationsInterfaces/namespaces.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operationStatusResultOperations.d.ts +0 -30
- package/dist/react-native/operationsInterfaces/operationStatusResultOperations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/operationStatusResultOperations.js +0 -9
- package/dist/react-native/operationsInterfaces/operationStatusResultOperations.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
## 22.0.0 (2025-06-09)
|
|
4
|
+
|
|
5
|
+
### Features Added
|
|
6
|
+
|
|
7
|
+
- Added Type Alias UndrainableNodeBehavior
|
|
8
|
+
- Interface AgentPoolUpgradeSettings has a new optional parameter maxUnavailable
|
|
9
|
+
- Interface AgentPoolUpgradeSettings has a new optional parameter undrainableNodeBehavior
|
|
10
|
+
- Interface ManagedClusterAPIServerAccessProfile has a new optional parameter enableVnetIntegration
|
|
11
|
+
- Interface ManagedClusterAPIServerAccessProfile has a new optional parameter subnetId
|
|
12
|
+
- Added Enum KnownUndrainableNodeBehavior
|
|
13
|
+
- Enum KnownOssku has a new value Ubuntu2204
|
|
14
|
+
|
|
15
|
+
### Breaking Changes
|
|
16
|
+
|
|
17
|
+
- Interface ManagedCluster no longer has parameter enablePodSecurityPolicy
|
|
18
|
+
|
|
19
|
+
|
|
3
20
|
## 22.0.0-beta.2 (2025-04-25)
|
|
4
21
|
Compared with version 21.6.0
|
|
5
22
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The Container Service Client.
|
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-containerservice) |
|
|
9
|
-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-containerservice
|
|
9
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-containerservice) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
|
@@ -63,10 +63,11 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
|
|
|
63
63
|
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
64
64
|
import { ContainerServiceClient } from "@azure/arm-containerservice";
|
|
65
65
|
|
|
66
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
66
67
|
const credential = new InteractiveBrowserCredential({
|
|
67
68
|
tenantId: "<YOUR_TENANT_ID>",
|
|
68
|
-
clientId: "<YOUR_CLIENT_ID>"
|
|
69
|
-
|
|
69
|
+
clientId: "<YOUR_CLIENT_ID>",
|
|
70
|
+
});
|
|
70
71
|
const client = new ContainerServiceClient(credential, subscriptionId);
|
|
71
72
|
```
|
|
72
73
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import type * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import type { Operations, ManagedClusters,
|
|
3
|
+
import type { Operations, ManagedClusters, MaintenanceConfigurations, AgentPools, PrivateEndpointConnections, PrivateLinkResources, ResolvePrivateLinkServiceId, Snapshots, TrustedAccessRoleBindings, TrustedAccessRoles, Machines } from "./operationsInterfaces/index.js";
|
|
4
4
|
import type { ContainerServiceClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class ContainerServiceClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
@@ -17,19 +17,14 @@ export declare class ContainerServiceClient extends coreClient.ServiceClient {
|
|
|
17
17
|
private addCustomApiVersionPolicy;
|
|
18
18
|
operations: Operations;
|
|
19
19
|
managedClusters: ManagedClusters;
|
|
20
|
-
containerService: ContainerService;
|
|
21
20
|
maintenanceConfigurations: MaintenanceConfigurations;
|
|
22
|
-
namespaces: Namespaces;
|
|
23
21
|
agentPools: AgentPools;
|
|
24
|
-
machines: Machines;
|
|
25
22
|
privateEndpointConnections: PrivateEndpointConnections;
|
|
26
23
|
privateLinkResources: PrivateLinkResources;
|
|
27
24
|
resolvePrivateLinkServiceId: ResolvePrivateLinkServiceId;
|
|
28
|
-
operationStatusResultOperations: OperationStatusResultOperations;
|
|
29
25
|
snapshots: Snapshots;
|
|
30
|
-
managedClusterSnapshots: ManagedClusterSnapshots;
|
|
31
|
-
trustedAccessRoles: TrustedAccessRoles;
|
|
32
26
|
trustedAccessRoleBindings: TrustedAccessRoleBindings;
|
|
33
|
-
|
|
27
|
+
trustedAccessRoles: TrustedAccessRoles;
|
|
28
|
+
machines: Machines;
|
|
34
29
|
}
|
|
35
30
|
//# sourceMappingURL=containerServiceClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerServiceClient.d.ts","sourceRoot":"","sources":["../../src/containerServiceClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"containerServiceClient.d.ts","sourceRoot":"","sources":["../../src/containerServiceClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAclD,OAAO,KAAK,EACV,UAAU,EACV,eAAe,EACf,yBAAyB,EACzB,UAAU,EACV,0BAA0B,EAC1B,oBAAoB,EACpB,2BAA2B,EAC3B,SAAS,EACT,yBAAyB,EACzB,kBAAkB,EAClB,QAAQ,EACT,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,mBAAmB,CAAC;AAE9E,qBAAa,sBAAuB,SAAQ,UAAU,CAAC,aAAa;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,oCAAoC;IAyFhD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,EAAE,eAAe,CAAC;IACjC,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,UAAU,EAAE,UAAU,CAAC;IACvB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,2BAA2B,EAAE,2BAA2B,CAAC;IACzD,SAAS,EAAE,SAAS,CAAC;IACrB,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
-
import { OperationsImpl, ManagedClustersImpl,
|
|
10
|
+
import { OperationsImpl, ManagedClustersImpl, MaintenanceConfigurationsImpl, AgentPoolsImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, ResolvePrivateLinkServiceIdImpl, SnapshotsImpl, TrustedAccessRoleBindingsImpl, TrustedAccessRolesImpl, MachinesImpl, } from "./operations/index.js";
|
|
11
11
|
export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
12
12
|
/**
|
|
13
13
|
* Initializes a new instance of the ContainerServiceClient class.
|
|
@@ -31,7 +31,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
|
31
31
|
requestContentType: "application/json; charset=utf-8",
|
|
32
32
|
credential: credentials,
|
|
33
33
|
};
|
|
34
|
-
const packageDetails = `azsdk-js-arm-containerservice/22.0.0
|
|
34
|
+
const packageDetails = `azsdk-js-arm-containerservice/22.0.0`;
|
|
35
35
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
36
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
37
|
: `${packageDetails}`;
|
|
@@ -64,24 +64,18 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
|
64
64
|
this.subscriptionId = subscriptionId;
|
|
65
65
|
// Assigning values to Constant parameters
|
|
66
66
|
this.$host = options.$host || "https://management.azure.com";
|
|
67
|
-
this.apiVersion = options.apiVersion || "2025-
|
|
67
|
+
this.apiVersion = options.apiVersion || "2025-03-01";
|
|
68
68
|
this.operations = new OperationsImpl(this);
|
|
69
69
|
this.managedClusters = new ManagedClustersImpl(this);
|
|
70
|
-
this.containerService = new ContainerServiceImpl(this);
|
|
71
70
|
this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
|
|
72
|
-
this.namespaces = new NamespacesImpl(this);
|
|
73
71
|
this.agentPools = new AgentPoolsImpl(this);
|
|
74
|
-
this.machines = new MachinesImpl(this);
|
|
75
72
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
76
73
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
77
74
|
this.resolvePrivateLinkServiceId = new ResolvePrivateLinkServiceIdImpl(this);
|
|
78
|
-
this.operationStatusResultOperations =
|
|
79
|
-
new OperationStatusResultOperationsImpl(this);
|
|
80
75
|
this.snapshots = new SnapshotsImpl(this);
|
|
81
|
-
this.managedClusterSnapshots = new ManagedClusterSnapshotsImpl(this);
|
|
82
|
-
this.trustedAccessRoles = new TrustedAccessRolesImpl(this);
|
|
83
76
|
this.trustedAccessRoleBindings = new TrustedAccessRoleBindingsImpl(this);
|
|
84
|
-
this.
|
|
77
|
+
this.trustedAccessRoles = new TrustedAccessRolesImpl(this);
|
|
78
|
+
this.machines = new MachinesImpl(this);
|
|
85
79
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
86
80
|
}
|
|
87
81
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerServiceClient.js","sourceRoot":"","sources":["../../src/containerServiceClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,6BAA6B,EAC7B,cAAc,EACd,cAAc,EACd,YAAY,EACZ,8BAA8B,EAC9B,wBAAwB,EACxB,+BAA+B,EAC/B,mCAAmC,EACnC,aAAa,EACb,2BAA2B,EAC3B,sBAAsB,EACtB,6BAA6B,EAC7B,iBAAiB,GAClB,MAAM,uBAAuB,CAAC;AAqB/B,MAAM,OAAO,sBAAuB,SAAQ,UAAU,CAAC,aAAa;IAKlE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA8C;;QAE9C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAA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O,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAkBF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n ManagedClustersImpl,\n ContainerServiceImpl,\n MaintenanceConfigurationsImpl,\n NamespacesImpl,\n AgentPoolsImpl,\n MachinesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ResolvePrivateLinkServiceIdImpl,\n OperationStatusResultOperationsImpl,\n SnapshotsImpl,\n ManagedClusterSnapshotsImpl,\n TrustedAccessRolesImpl,\n TrustedAccessRoleBindingsImpl,\n LoadBalancersImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n ManagedClusters,\n ContainerService,\n MaintenanceConfigurations,\n Namespaces,\n AgentPools,\n Machines,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ResolvePrivateLinkServiceId,\n OperationStatusResultOperations,\n Snapshots,\n ManagedClusterSnapshots,\n TrustedAccessRoles,\n TrustedAccessRoleBindings,\n LoadBalancers,\n} from \"./operationsInterfaces/index.js\";\nimport type { ContainerServiceClientOptionalParams } from \"./models/index.js\";\n\nexport class ContainerServiceClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ContainerServiceClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ContainerServiceClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ContainerServiceClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-containerservice/22.0.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-02-02-preview\";\n this.operations = new OperationsImpl(this);\n this.managedClusters = new ManagedClustersImpl(this);\n this.containerService = new ContainerServiceImpl(this);\n this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);\n this.namespaces = new NamespacesImpl(this);\n this.agentPools = new AgentPoolsImpl(this);\n this.machines = new MachinesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.resolvePrivateLinkServiceId = new ResolvePrivateLinkServiceIdImpl(\n this,\n );\n this.operationStatusResultOperations =\n new OperationStatusResultOperationsImpl(this);\n this.snapshots = new SnapshotsImpl(this);\n this.managedClusterSnapshots = new ManagedClusterSnapshotsImpl(this);\n this.trustedAccessRoles = new TrustedAccessRolesImpl(this);\n this.trustedAccessRoleBindings = new TrustedAccessRoleBindingsImpl(this);\n this.loadBalancers = new LoadBalancersImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n managedClusters: ManagedClusters;\n containerService: ContainerService;\n maintenanceConfigurations: MaintenanceConfigurations;\n namespaces: Namespaces;\n agentPools: AgentPools;\n machines: Machines;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n resolvePrivateLinkServiceId: ResolvePrivateLinkServiceId;\n operationStatusResultOperations: OperationStatusResultOperations;\n snapshots: Snapshots;\n managedClusterSnapshots: ManagedClusterSnapshots;\n trustedAccessRoles: TrustedAccessRoles;\n trustedAccessRoleBindings: TrustedAccessRoleBindings;\n loadBalancers: LoadBalancers;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"containerServiceClient.js","sourceRoot":"","sources":["../../src/containerServiceClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,6BAA6B,EAC7B,cAAc,EACd,8BAA8B,EAC9B,wBAAwB,EACxB,+BAA+B,EAC/B,aAAa,EACb,6BAA6B,EAC7B,sBAAsB,EACtB,YAAY,GACb,MAAM,uBAAuB,CAAC;AAgB/B,MAAM,OAAO,sBAAuB,SAAQ,UAAU,CAAC,aAAa;IAKlE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA8C;;QAE9C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAyC;YACrD,kBAAkB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yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAaF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n ManagedClustersImpl,\n MaintenanceConfigurationsImpl,\n AgentPoolsImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ResolvePrivateLinkServiceIdImpl,\n SnapshotsImpl,\n TrustedAccessRoleBindingsImpl,\n TrustedAccessRolesImpl,\n MachinesImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n ManagedClusters,\n MaintenanceConfigurations,\n AgentPools,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ResolvePrivateLinkServiceId,\n Snapshots,\n TrustedAccessRoleBindings,\n TrustedAccessRoles,\n Machines,\n} from \"./operationsInterfaces/index.js\";\nimport type { ContainerServiceClientOptionalParams } from \"./models/index.js\";\n\nexport class ContainerServiceClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ContainerServiceClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ContainerServiceClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ContainerServiceClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-containerservice/22.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-03-01\";\n this.operations = new OperationsImpl(this);\n this.managedClusters = new ManagedClustersImpl(this);\n this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);\n this.agentPools = new AgentPoolsImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.resolvePrivateLinkServiceId = new ResolvePrivateLinkServiceIdImpl(\n this,\n );\n this.snapshots = new SnapshotsImpl(this);\n this.trustedAccessRoleBindings = new TrustedAccessRoleBindingsImpl(this);\n this.trustedAccessRoles = new TrustedAccessRolesImpl(this);\n this.machines = new MachinesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n managedClusters: ManagedClusters;\n maintenanceConfigurations: MaintenanceConfigurations;\n agentPools: AgentPools;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n resolvePrivateLinkServiceId: ResolvePrivateLinkServiceId;\n snapshots: Snapshots;\n trustedAccessRoleBindings: TrustedAccessRoleBindings;\n trustedAccessRoles: TrustedAccessRoles;\n machines: Machines;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEzE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAKH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|