@azure/arm-containerservice 23.0.0-beta.4 → 23.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/README.md +1 -1
- package/dist/browser/containerServiceClient.d.ts +3 -10
- package/dist/browser/containerServiceClient.d.ts.map +1 -1
- package/dist/browser/containerServiceClient.js +7 -21
- package/dist/browser/containerServiceClient.js.map +1 -1
- package/dist/browser/models/index.d.ts +316 -2084
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +25 -329
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +17 -104
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +934 -3646
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +6 -19
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +18 -133
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/agentPools.d.ts +3 -19
- package/dist/browser/operations/agentPools.d.ts.map +1 -1
- package/dist/browser/operations/agentPools.js +3 -94
- package/dist/browser/operations/agentPools.js.map +1 -1
- package/dist/browser/operations/index.d.ts +2 -9
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +2 -9
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/machines.d.ts +2 -23
- package/dist/browser/operations/machines.d.ts.map +1 -1
- package/dist/browser/operations/machines.js +1 -116
- package/dist/browser/operations/machines.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 +31 -380
- 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 +3 -19
- package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +2 -9
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +2 -9
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/machines.d.ts +2 -23
- package/dist/browser/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/machines.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/commonjs/containerServiceClient.d.ts +3 -10
- package/dist/commonjs/containerServiceClient.d.ts.map +1 -1
- package/dist/commonjs/containerServiceClient.js +6 -20
- package/dist/commonjs/containerServiceClient.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +316 -2084
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +27 -331
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +17 -104
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +938 -3652
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +6 -19
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +18 -133
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/agentPools.d.ts +3 -19
- package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operations/agentPools.js +3 -94
- package/dist/commonjs/operations/agentPools.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +2 -9
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +2 -9
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/machines.d.ts +2 -23
- package/dist/commonjs/operations/machines.d.ts.map +1 -1
- package/dist/commonjs/operations/machines.js +1 -116
- package/dist/commonjs/operations/machines.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 +31 -380
- 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 +3 -19
- package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +2 -9
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +2 -9
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/machines.d.ts +2 -23
- package/dist/commonjs/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/machines.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/tsdoc-metadata.json +1 -1
- package/dist/esm/containerServiceClient.d.ts +3 -10
- package/dist/esm/containerServiceClient.d.ts.map +1 -1
- package/dist/esm/containerServiceClient.js +7 -21
- package/dist/esm/containerServiceClient.js.map +1 -1
- package/dist/esm/models/index.d.ts +316 -2084
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +25 -329
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +17 -104
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +934 -3646
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +6 -19
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +18 -133
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/agentPools.d.ts +3 -19
- package/dist/esm/operations/agentPools.d.ts.map +1 -1
- package/dist/esm/operations/agentPools.js +3 -94
- package/dist/esm/operations/agentPools.js.map +1 -1
- package/dist/esm/operations/index.d.ts +2 -9
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +2 -9
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/machines.d.ts +2 -23
- package/dist/esm/operations/machines.d.ts.map +1 -1
- package/dist/esm/operations/machines.js +1 -116
- package/dist/esm/operations/machines.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 +31 -380
- 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 +3 -19
- package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +2 -9
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +2 -9
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/machines.d.ts +2 -23
- package/dist/esm/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/machines.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/react-native/containerServiceClient.d.ts +3 -10
- package/dist/react-native/containerServiceClient.d.ts.map +1 -1
- package/dist/react-native/containerServiceClient.js +7 -21
- package/dist/react-native/containerServiceClient.js.map +1 -1
- package/dist/react-native/models/index.d.ts +316 -2084
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +25 -329
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +17 -104
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +934 -3646
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +6 -19
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +18 -133
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/agentPools.d.ts +3 -19
- package/dist/react-native/operations/agentPools.d.ts.map +1 -1
- package/dist/react-native/operations/agentPools.js +3 -94
- package/dist/react-native/operations/agentPools.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +2 -9
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +2 -9
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/machines.d.ts +2 -23
- package/dist/react-native/operations/machines.d.ts.map +1 -1
- package/dist/react-native/operations/machines.js +1 -116
- package/dist/react-native/operations/machines.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 +31 -380
- 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 +3 -19
- 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/index.d.ts +2 -9
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +2 -9
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/machines.d.ts +2 -23
- 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/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/package.json +36 -31
- 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 -123
- package/dist/browser/operations/containerService.js.map +0 -1
- package/dist/browser/operations/identityBindings.d.ts +0 -81
- package/dist/browser/operations/identityBindings.d.ts.map +0 -1
- package/dist/browser/operations/identityBindings.js +0 -358
- package/dist/browser/operations/identityBindings.js.map +0 -1
- package/dist/browser/operations/jWTAuthenticators.d.ts +0 -83
- package/dist/browser/operations/jWTAuthenticators.d.ts.map +0 -1
- package/dist/browser/operations/jWTAuthenticators.js +0 -360
- package/dist/browser/operations/jWTAuthenticators.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 -296
- 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 -337
- package/dist/browser/operations/managedClusterSnapshots.js.map +0 -1
- package/dist/browser/operations/managedNamespaces.d.ts +0 -99
- package/dist/browser/operations/managedNamespaces.d.ts.map +0 -1
- package/dist/browser/operations/managedNamespaces.js +0 -430
- package/dist/browser/operations/managedNamespaces.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 -194
- 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 -4
- package/dist/browser/operationsInterfaces/containerService.js.map +0 -1
- package/dist/browser/operationsInterfaces/identityBindings.d.ts +0 -56
- package/dist/browser/operationsInterfaces/identityBindings.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/identityBindings.js +0 -4
- package/dist/browser/operationsInterfaces/identityBindings.js.map +0 -1
- package/dist/browser/operationsInterfaces/jWTAuthenticators.d.ts +0 -58
- package/dist/browser/operationsInterfaces/jWTAuthenticators.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/jWTAuthenticators.js +0 -4
- package/dist/browser/operationsInterfaces/jWTAuthenticators.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 -4
- 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 -4
- package/dist/browser/operationsInterfaces/managedClusterSnapshots.js.map +0 -1
- package/dist/browser/operationsInterfaces/managedNamespaces.d.ts +0 -74
- package/dist/browser/operationsInterfaces/managedNamespaces.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/managedNamespaces.js +0 -4
- package/dist/browser/operationsInterfaces/managedNamespaces.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 -4
- 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 -128
- package/dist/commonjs/operations/containerService.js.map +0 -1
- package/dist/commonjs/operations/identityBindings.d.ts +0 -81
- package/dist/commonjs/operations/identityBindings.d.ts.map +0 -1
- package/dist/commonjs/operations/identityBindings.js +0 -363
- package/dist/commonjs/operations/identityBindings.js.map +0 -1
- package/dist/commonjs/operations/jWTAuthenticators.d.ts +0 -83
- package/dist/commonjs/operations/jWTAuthenticators.d.ts.map +0 -1
- package/dist/commonjs/operations/jWTAuthenticators.js +0 -365
- package/dist/commonjs/operations/jWTAuthenticators.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 -301
- 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 -342
- package/dist/commonjs/operations/managedClusterSnapshots.js.map +0 -1
- package/dist/commonjs/operations/managedNamespaces.d.ts +0 -99
- package/dist/commonjs/operations/managedNamespaces.d.ts.map +0 -1
- package/dist/commonjs/operations/managedNamespaces.js +0 -435
- package/dist/commonjs/operations/managedNamespaces.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 -199
- 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 -5
- package/dist/commonjs/operationsInterfaces/containerService.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/identityBindings.d.ts +0 -56
- package/dist/commonjs/operationsInterfaces/identityBindings.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/identityBindings.js +0 -5
- package/dist/commonjs/operationsInterfaces/identityBindings.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/jWTAuthenticators.d.ts +0 -58
- package/dist/commonjs/operationsInterfaces/jWTAuthenticators.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/jWTAuthenticators.js +0 -5
- package/dist/commonjs/operationsInterfaces/jWTAuthenticators.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 -5
- 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 -5
- package/dist/commonjs/operationsInterfaces/managedClusterSnapshots.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/managedNamespaces.d.ts +0 -74
- package/dist/commonjs/operationsInterfaces/managedNamespaces.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/managedNamespaces.js +0 -5
- package/dist/commonjs/operationsInterfaces/managedNamespaces.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 -5
- 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 -123
- package/dist/esm/operations/containerService.js.map +0 -1
- package/dist/esm/operations/identityBindings.d.ts +0 -81
- package/dist/esm/operations/identityBindings.d.ts.map +0 -1
- package/dist/esm/operations/identityBindings.js +0 -358
- package/dist/esm/operations/identityBindings.js.map +0 -1
- package/dist/esm/operations/jWTAuthenticators.d.ts +0 -83
- package/dist/esm/operations/jWTAuthenticators.d.ts.map +0 -1
- package/dist/esm/operations/jWTAuthenticators.js +0 -360
- package/dist/esm/operations/jWTAuthenticators.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 -296
- 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 -337
- package/dist/esm/operations/managedClusterSnapshots.js.map +0 -1
- package/dist/esm/operations/managedNamespaces.d.ts +0 -99
- package/dist/esm/operations/managedNamespaces.d.ts.map +0 -1
- package/dist/esm/operations/managedNamespaces.js +0 -430
- package/dist/esm/operations/managedNamespaces.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 -194
- 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 -4
- package/dist/esm/operationsInterfaces/containerService.js.map +0 -1
- package/dist/esm/operationsInterfaces/identityBindings.d.ts +0 -56
- package/dist/esm/operationsInterfaces/identityBindings.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/identityBindings.js +0 -4
- package/dist/esm/operationsInterfaces/identityBindings.js.map +0 -1
- package/dist/esm/operationsInterfaces/jWTAuthenticators.d.ts +0 -58
- package/dist/esm/operationsInterfaces/jWTAuthenticators.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/jWTAuthenticators.js +0 -4
- package/dist/esm/operationsInterfaces/jWTAuthenticators.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 -4
- 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 -4
- package/dist/esm/operationsInterfaces/managedClusterSnapshots.js.map +0 -1
- package/dist/esm/operationsInterfaces/managedNamespaces.d.ts +0 -74
- package/dist/esm/operationsInterfaces/managedNamespaces.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/managedNamespaces.js +0 -4
- package/dist/esm/operationsInterfaces/managedNamespaces.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 -4
- 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 -123
- package/dist/react-native/operations/containerService.js.map +0 -1
- package/dist/react-native/operations/identityBindings.d.ts +0 -81
- package/dist/react-native/operations/identityBindings.d.ts.map +0 -1
- package/dist/react-native/operations/identityBindings.js +0 -358
- package/dist/react-native/operations/identityBindings.js.map +0 -1
- package/dist/react-native/operations/jWTAuthenticators.d.ts +0 -83
- package/dist/react-native/operations/jWTAuthenticators.d.ts.map +0 -1
- package/dist/react-native/operations/jWTAuthenticators.js +0 -360
- package/dist/react-native/operations/jWTAuthenticators.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 -296
- 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 -337
- package/dist/react-native/operations/managedClusterSnapshots.js.map +0 -1
- package/dist/react-native/operations/managedNamespaces.d.ts +0 -99
- package/dist/react-native/operations/managedNamespaces.d.ts.map +0 -1
- package/dist/react-native/operations/managedNamespaces.js +0 -430
- package/dist/react-native/operations/managedNamespaces.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 -194
- 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 -4
- package/dist/react-native/operationsInterfaces/containerService.js.map +0 -1
- package/dist/react-native/operationsInterfaces/identityBindings.d.ts +0 -56
- package/dist/react-native/operationsInterfaces/identityBindings.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/identityBindings.js +0 -4
- package/dist/react-native/operationsInterfaces/identityBindings.js.map +0 -1
- package/dist/react-native/operationsInterfaces/jWTAuthenticators.d.ts +0 -58
- package/dist/react-native/operationsInterfaces/jWTAuthenticators.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/jWTAuthenticators.js +0 -4
- package/dist/react-native/operationsInterfaces/jWTAuthenticators.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 -4
- 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 -4
- package/dist/react-native/operationsInterfaces/managedClusterSnapshots.js.map +0 -1
- package/dist/react-native/operationsInterfaces/managedNamespaces.d.ts +0 -74
- package/dist/react-native/operationsInterfaces/managedNamespaces.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/managedNamespaces.js +0 -4
- package/dist/react-native/operationsInterfaces/managedNamespaces.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 -4
- package/dist/react-native/operationsInterfaces/operationStatusResultOperations.js.map +0 -1
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
|
|
@@ -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,21 +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
|
-
managedNamespaces: ManagedNamespaces;
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
jWTAuthenticators: JWTAuthenticators;
|
|
27
|
+
trustedAccessRoles: TrustedAccessRoles;
|
|
28
|
+
machines: Machines;
|
|
36
29
|
}
|
|
37
30
|
//# sourceMappingURL=containerServiceClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerServiceClient.d.ts","sourceRoot":"","sources":["../../src/containerServiceClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"containerServiceClient.d.ts","sourceRoot":"","sources":["../../src/containerServiceClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,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;IAmFhD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC,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"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
5
|
import * as coreClient from "@azure/core-client";
|
|
6
6
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
7
|
-
import { OperationsImpl, ManagedClustersImpl,
|
|
7
|
+
import { OperationsImpl, ManagedClustersImpl, MaintenanceConfigurationsImpl, AgentPoolsImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, ResolvePrivateLinkServiceIdImpl, SnapshotsImpl, TrustedAccessRoleBindingsImpl, TrustedAccessRolesImpl, MachinesImpl, } from "./operations/index.js";
|
|
8
8
|
export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
9
9
|
$host;
|
|
10
10
|
apiVersion;
|
|
@@ -30,7 +30,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
|
30
30
|
requestContentType: "application/json; charset=utf-8",
|
|
31
31
|
credential: credentials,
|
|
32
32
|
};
|
|
33
|
-
const packageDetails = `azsdk-js-arm-containerservice/23.0.0
|
|
33
|
+
const packageDetails = `azsdk-js-arm-containerservice/23.0.0`;
|
|
34
34
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
35
35
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
36
36
|
: `${packageDetails}`;
|
|
@@ -67,25 +67,18 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
|
67
67
|
this.subscriptionId = subscriptionId;
|
|
68
68
|
// Assigning values to Constant parameters
|
|
69
69
|
this.$host = options.$host || "https://management.azure.com";
|
|
70
|
-
this.apiVersion = options.apiVersion || "2025-
|
|
70
|
+
this.apiVersion = options.apiVersion || "2025-08-01";
|
|
71
71
|
this.operations = new OperationsImpl(this);
|
|
72
72
|
this.managedClusters = new ManagedClustersImpl(this);
|
|
73
|
-
this.containerService = new ContainerServiceImpl(this);
|
|
74
73
|
this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
|
|
75
|
-
this.managedNamespaces = new ManagedNamespacesImpl(this);
|
|
76
74
|
this.agentPools = new AgentPoolsImpl(this);
|
|
77
|
-
this.machines = new MachinesImpl(this);
|
|
78
75
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
79
76
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
80
77
|
this.resolvePrivateLinkServiceId = new ResolvePrivateLinkServiceIdImpl(this);
|
|
81
|
-
this.operationStatusResultOperations = new OperationStatusResultOperationsImpl(this);
|
|
82
78
|
this.snapshots = new SnapshotsImpl(this);
|
|
83
|
-
this.managedClusterSnapshots = new ManagedClusterSnapshotsImpl(this);
|
|
84
|
-
this.trustedAccessRoles = new TrustedAccessRolesImpl(this);
|
|
85
79
|
this.trustedAccessRoleBindings = new TrustedAccessRoleBindingsImpl(this);
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
88
|
-
this.jWTAuthenticators = new JWTAuthenticatorsImpl(this);
|
|
80
|
+
this.trustedAccessRoles = new TrustedAccessRolesImpl(this);
|
|
81
|
+
this.machines = new MachinesImpl(this);
|
|
89
82
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
90
83
|
}
|
|
91
84
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
@@ -115,21 +108,14 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
|
115
108
|
}
|
|
116
109
|
operations;
|
|
117
110
|
managedClusters;
|
|
118
|
-
containerService;
|
|
119
111
|
maintenanceConfigurations;
|
|
120
|
-
managedNamespaces;
|
|
121
112
|
agentPools;
|
|
122
|
-
machines;
|
|
123
113
|
privateEndpointConnections;
|
|
124
114
|
privateLinkResources;
|
|
125
115
|
resolvePrivateLinkServiceId;
|
|
126
|
-
operationStatusResultOperations;
|
|
127
116
|
snapshots;
|
|
128
|
-
managedClusterSnapshots;
|
|
129
|
-
trustedAccessRoles;
|
|
130
117
|
trustedAccessRoleBindings;
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
jWTAuthenticators;
|
|
118
|
+
trustedAccessRoles;
|
|
119
|
+
machines;
|
|
134
120
|
}
|
|
135
121
|
//# sourceMappingURL=containerServiceClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerServiceClient.js","sourceRoot":"","sources":["../../src/containerServiceClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,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uB,CAA0B;IACjD,kBAAkB,CAAqB;IACvC,yBAAyB,CAA4B;IACrD,aAAa,CAAgB;IAC7B,gBAAgB,CAAmB;IACnC,iBAAiB,CAAoB;CACtC","sourcesContent":["// 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\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n ManagedClustersImpl,\n ContainerServiceImpl,\n MaintenanceConfigurationsImpl,\n ManagedNamespacesImpl,\n AgentPoolsImpl,\n MachinesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ResolvePrivateLinkServiceIdImpl,\n OperationStatusResultOperationsImpl,\n SnapshotsImpl,\n ManagedClusterSnapshotsImpl,\n TrustedAccessRolesImpl,\n TrustedAccessRoleBindingsImpl,\n LoadBalancersImpl,\n IdentityBindingsImpl,\n JWTAuthenticatorsImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n ManagedClusters,\n ContainerService,\n MaintenanceConfigurations,\n ManagedNamespaces,\n AgentPools,\n Machines,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ResolvePrivateLinkServiceId,\n OperationStatusResultOperations,\n Snapshots,\n ManagedClusterSnapshots,\n TrustedAccessRoles,\n TrustedAccessRoleBindings,\n LoadBalancers,\n IdentityBindings,\n JWTAuthenticators,\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/23.0.0-beta.4`;\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: 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 === 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 ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: 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-07-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.managedNamespaces = new ManagedNamespacesImpl(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(this);\n this.operationStatusResultOperations = 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.identityBindings = new IdentityBindingsImpl(this);\n this.jWTAuthenticators = new JWTAuthenticatorsImpl(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(request: PipelineRequest, next: SendRequest): 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 managedNamespaces: ManagedNamespaces;\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 identityBindings: IdentityBindings;\n jWTAuthenticators: JWTAuthenticators;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"containerServiceClient.js","sourceRoot":"","sources":["../../src/containerServiceClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,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;IAClE,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;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;Q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","sourcesContent":["// 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\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type { PipelineRequest, PipelineResponse, SendRequest } 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/23.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: 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 === 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 ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: 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-08-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(this);\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(request: PipelineRequest, next: SendRequest): 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"]}
|