@azure/arm-containerservice 23.0.0 → 24.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/browser/containerServiceClient.d.ts +11 -3
- package/dist/browser/containerServiceClient.d.ts.map +1 -1
- package/dist/browser/containerServiceClient.js +23 -7
- package/dist/browser/containerServiceClient.js.map +1 -1
- package/dist/browser/models/index.d.ts +2241 -331
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +358 -26
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +111 -17
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +4053 -1169
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +21 -6
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +152 -18
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/agentPools.d.ts +19 -3
- package/dist/browser/operations/agentPools.d.ts.map +1 -1
- package/dist/browser/operations/agentPools.js +94 -3
- package/dist/browser/operations/agentPools.js.map +1 -1
- package/dist/browser/operations/containerService.d.ts +39 -0
- package/dist/browser/operations/containerService.d.ts.map +1 -0
- package/dist/browser/operations/containerService.js +123 -0
- package/dist/browser/operations/containerService.js.map +1 -0
- package/dist/browser/operations/identityBindings.d.ts +81 -0
- package/dist/browser/operations/identityBindings.d.ts.map +1 -0
- package/dist/browser/operations/identityBindings.js +358 -0
- package/dist/browser/operations/identityBindings.js.map +1 -0
- package/dist/browser/operations/index.d.ts +10 -2
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +10 -2
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/jWTAuthenticators.d.ts +83 -0
- package/dist/browser/operations/jWTAuthenticators.d.ts.map +1 -0
- package/dist/browser/operations/jWTAuthenticators.js +360 -0
- package/dist/browser/operations/jWTAuthenticators.js.map +1 -0
- package/dist/browser/operations/loadBalancers.d.ts +72 -0
- package/dist/browser/operations/loadBalancers.d.ts.map +1 -0
- package/dist/browser/operations/loadBalancers.js +296 -0
- package/dist/browser/operations/loadBalancers.js.map +1 -0
- package/dist/browser/operations/machines.d.ts +23 -2
- package/dist/browser/operations/machines.d.ts.map +1 -1
- package/dist/browser/operations/machines.js +116 -1
- 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/managedClusterSnapshots.d.ts +83 -0
- package/dist/browser/operations/managedClusterSnapshots.d.ts.map +1 -0
- package/dist/browser/operations/managedClusterSnapshots.js +337 -0
- package/dist/browser/operations/managedClusterSnapshots.js.map +1 -0
- package/dist/browser/operations/managedClusters.d.ts +89 -15
- package/dist/browser/operations/managedClusters.d.ts.map +1 -1
- package/dist/browser/operations/managedClusters.js +380 -31
- package/dist/browser/operations/managedClusters.js.map +1 -1
- package/dist/browser/operations/managedNamespaces.d.ts +99 -0
- package/dist/browser/operations/managedNamespaces.d.ts.map +1 -0
- package/dist/browser/operations/managedNamespaces.js +430 -0
- package/dist/browser/operations/managedNamespaces.js.map +1 -0
- package/dist/browser/operations/meshMemberships.d.ts +81 -0
- package/dist/browser/operations/meshMemberships.d.ts.map +1 -0
- package/dist/browser/operations/meshMemberships.js +350 -0
- package/dist/browser/operations/meshMemberships.js.map +1 -0
- package/dist/browser/operations/operationStatusResultOperations.d.ts +55 -0
- package/dist/browser/operations/operationStatusResultOperations.d.ts.map +1 -0
- package/dist/browser/operations/operationStatusResultOperations.js +194 -0
- package/dist/browser/operations/operationStatusResultOperations.js.map +1 -0
- 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 +19 -3
- package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/browser/operationsInterfaces/containerService.d.ts +14 -0
- package/dist/browser/operationsInterfaces/containerService.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/containerService.js +4 -0
- package/dist/browser/operationsInterfaces/containerService.js.map +1 -0
- package/dist/browser/operationsInterfaces/identityBindings.d.ts +56 -0
- package/dist/browser/operationsInterfaces/identityBindings.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/identityBindings.js +4 -0
- package/dist/browser/operationsInterfaces/identityBindings.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +10 -2
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +10 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/jWTAuthenticators.d.ts +58 -0
- package/dist/browser/operationsInterfaces/jWTAuthenticators.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/jWTAuthenticators.js +4 -0
- package/dist/browser/operationsInterfaces/jWTAuthenticators.js.map +1 -0
- package/dist/browser/operationsInterfaces/loadBalancers.d.ts +47 -0
- package/dist/browser/operationsInterfaces/loadBalancers.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/loadBalancers.js +4 -0
- package/dist/browser/operationsInterfaces/loadBalancers.js.map +1 -0
- package/dist/browser/operationsInterfaces/machines.d.ts +23 -2
- package/dist/browser/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/machines.js.map +1 -1
- package/dist/browser/operationsInterfaces/managedClusterSnapshots.d.ts +47 -0
- package/dist/browser/operationsInterfaces/managedClusterSnapshots.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/managedClusterSnapshots.js +4 -0
- package/dist/browser/operationsInterfaces/managedClusterSnapshots.js.map +1 -0
- package/dist/browser/operationsInterfaces/managedClusters.d.ts +59 -15
- package/dist/browser/operationsInterfaces/managedClusters.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/managedClusters.js.map +1 -1
- package/dist/browser/operationsInterfaces/managedNamespaces.d.ts +74 -0
- package/dist/browser/operationsInterfaces/managedNamespaces.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/managedNamespaces.js +4 -0
- package/dist/browser/operationsInterfaces/managedNamespaces.js.map +1 -0
- package/dist/browser/operationsInterfaces/meshMemberships.d.ts +56 -0
- package/dist/browser/operationsInterfaces/meshMemberships.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/meshMemberships.js +4 -0
- package/dist/browser/operationsInterfaces/meshMemberships.js.map +1 -0
- package/dist/browser/operationsInterfaces/operationStatusResultOperations.d.ts +30 -0
- package/dist/browser/operationsInterfaces/operationStatusResultOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operationStatusResultOperations.js +4 -0
- package/dist/browser/operationsInterfaces/operationStatusResultOperations.js.map +1 -0
- package/dist/commonjs/containerServiceClient.d.ts +11 -3
- package/dist/commonjs/containerServiceClient.d.ts.map +1 -1
- package/dist/commonjs/containerServiceClient.js +22 -6
- package/dist/commonjs/containerServiceClient.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +2241 -331
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +360 -28
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +111 -17
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +4059 -1173
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +21 -6
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +152 -18
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/agentPools.d.ts +19 -3
- package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operations/agentPools.js +94 -3
- package/dist/commonjs/operations/agentPools.js.map +1 -1
- package/dist/commonjs/operations/containerService.d.ts +39 -0
- package/dist/commonjs/operations/containerService.d.ts.map +1 -0
- package/dist/commonjs/operations/containerService.js +128 -0
- package/dist/commonjs/operations/containerService.js.map +1 -0
- package/dist/commonjs/operations/identityBindings.d.ts +81 -0
- package/dist/commonjs/operations/identityBindings.d.ts.map +1 -0
- package/dist/commonjs/operations/identityBindings.js +363 -0
- package/dist/commonjs/operations/identityBindings.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +10 -2
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +10 -2
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/jWTAuthenticators.d.ts +83 -0
- package/dist/commonjs/operations/jWTAuthenticators.d.ts.map +1 -0
- package/dist/commonjs/operations/jWTAuthenticators.js +365 -0
- package/dist/commonjs/operations/jWTAuthenticators.js.map +1 -0
- package/dist/commonjs/operations/loadBalancers.d.ts +72 -0
- package/dist/commonjs/operations/loadBalancers.d.ts.map +1 -0
- package/dist/commonjs/operations/loadBalancers.js +301 -0
- package/dist/commonjs/operations/loadBalancers.js.map +1 -0
- package/dist/commonjs/operations/machines.d.ts +23 -2
- package/dist/commonjs/operations/machines.d.ts.map +1 -1
- package/dist/commonjs/operations/machines.js +116 -1
- 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/managedClusterSnapshots.d.ts +83 -0
- package/dist/commonjs/operations/managedClusterSnapshots.d.ts.map +1 -0
- package/dist/commonjs/operations/managedClusterSnapshots.js +342 -0
- package/dist/commonjs/operations/managedClusterSnapshots.js.map +1 -0
- package/dist/commonjs/operations/managedClusters.d.ts +89 -15
- package/dist/commonjs/operations/managedClusters.d.ts.map +1 -1
- package/dist/commonjs/operations/managedClusters.js +380 -31
- package/dist/commonjs/operations/managedClusters.js.map +1 -1
- package/dist/commonjs/operations/managedNamespaces.d.ts +99 -0
- package/dist/commonjs/operations/managedNamespaces.d.ts.map +1 -0
- package/dist/commonjs/operations/managedNamespaces.js +435 -0
- package/dist/commonjs/operations/managedNamespaces.js.map +1 -0
- package/dist/commonjs/operations/meshMemberships.d.ts +81 -0
- package/dist/commonjs/operations/meshMemberships.d.ts.map +1 -0
- package/dist/commonjs/operations/meshMemberships.js +355 -0
- package/dist/commonjs/operations/meshMemberships.js.map +1 -0
- package/dist/commonjs/operations/operationStatusResultOperations.d.ts +55 -0
- package/dist/commonjs/operations/operationStatusResultOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/operationStatusResultOperations.js +199 -0
- package/dist/commonjs/operations/operationStatusResultOperations.js.map +1 -0
- 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 +19 -3
- package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/containerService.d.ts +14 -0
- package/dist/commonjs/operationsInterfaces/containerService.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/containerService.js +5 -0
- package/dist/commonjs/operationsInterfaces/containerService.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/identityBindings.d.ts +56 -0
- package/dist/commonjs/operationsInterfaces/identityBindings.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/identityBindings.js +5 -0
- package/dist/commonjs/operationsInterfaces/identityBindings.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +10 -2
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +10 -2
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/jWTAuthenticators.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/jWTAuthenticators.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/jWTAuthenticators.js +5 -0
- package/dist/commonjs/operationsInterfaces/jWTAuthenticators.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/loadBalancers.d.ts +47 -0
- package/dist/commonjs/operationsInterfaces/loadBalancers.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/loadBalancers.js +5 -0
- package/dist/commonjs/operationsInterfaces/loadBalancers.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/machines.d.ts +23 -2
- package/dist/commonjs/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/machines.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedClusterSnapshots.d.ts +47 -0
- package/dist/commonjs/operationsInterfaces/managedClusterSnapshots.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/managedClusterSnapshots.js +5 -0
- package/dist/commonjs/operationsInterfaces/managedClusterSnapshots.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/managedClusters.d.ts +59 -15
- package/dist/commonjs/operationsInterfaces/managedClusters.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedClusters.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedNamespaces.d.ts +74 -0
- package/dist/commonjs/operationsInterfaces/managedNamespaces.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/managedNamespaces.js +5 -0
- package/dist/commonjs/operationsInterfaces/managedNamespaces.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/meshMemberships.d.ts +56 -0
- package/dist/commonjs/operationsInterfaces/meshMemberships.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/meshMemberships.js +5 -0
- package/dist/commonjs/operationsInterfaces/meshMemberships.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationStatusResultOperations.d.ts +30 -0
- package/dist/commonjs/operationsInterfaces/operationStatusResultOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationStatusResultOperations.js +5 -0
- package/dist/commonjs/operationsInterfaces/operationStatusResultOperations.js.map +1 -0
- package/dist/esm/containerServiceClient.d.ts +11 -3
- package/dist/esm/containerServiceClient.d.ts.map +1 -1
- package/dist/esm/containerServiceClient.js +23 -7
- package/dist/esm/containerServiceClient.js.map +1 -1
- package/dist/esm/models/index.d.ts +2241 -331
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +358 -26
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +111 -17
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +4053 -1169
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +21 -6
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +152 -18
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/agentPools.d.ts +19 -3
- package/dist/esm/operations/agentPools.d.ts.map +1 -1
- package/dist/esm/operations/agentPools.js +94 -3
- package/dist/esm/operations/agentPools.js.map +1 -1
- package/dist/esm/operations/containerService.d.ts +39 -0
- package/dist/esm/operations/containerService.d.ts.map +1 -0
- package/dist/esm/operations/containerService.js +123 -0
- package/dist/esm/operations/containerService.js.map +1 -0
- package/dist/esm/operations/identityBindings.d.ts +81 -0
- package/dist/esm/operations/identityBindings.d.ts.map +1 -0
- package/dist/esm/operations/identityBindings.js +358 -0
- package/dist/esm/operations/identityBindings.js.map +1 -0
- package/dist/esm/operations/index.d.ts +10 -2
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +10 -2
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/jWTAuthenticators.d.ts +83 -0
- package/dist/esm/operations/jWTAuthenticators.d.ts.map +1 -0
- package/dist/esm/operations/jWTAuthenticators.js +360 -0
- package/dist/esm/operations/jWTAuthenticators.js.map +1 -0
- package/dist/esm/operations/loadBalancers.d.ts +72 -0
- package/dist/esm/operations/loadBalancers.d.ts.map +1 -0
- package/dist/esm/operations/loadBalancers.js +296 -0
- package/dist/esm/operations/loadBalancers.js.map +1 -0
- package/dist/esm/operations/machines.d.ts +23 -2
- package/dist/esm/operations/machines.d.ts.map +1 -1
- package/dist/esm/operations/machines.js +116 -1
- 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/managedClusterSnapshots.d.ts +83 -0
- package/dist/esm/operations/managedClusterSnapshots.d.ts.map +1 -0
- package/dist/esm/operations/managedClusterSnapshots.js +337 -0
- package/dist/esm/operations/managedClusterSnapshots.js.map +1 -0
- package/dist/esm/operations/managedClusters.d.ts +89 -15
- package/dist/esm/operations/managedClusters.d.ts.map +1 -1
- package/dist/esm/operations/managedClusters.js +380 -31
- package/dist/esm/operations/managedClusters.js.map +1 -1
- package/dist/esm/operations/managedNamespaces.d.ts +99 -0
- package/dist/esm/operations/managedNamespaces.d.ts.map +1 -0
- package/dist/esm/operations/managedNamespaces.js +430 -0
- package/dist/esm/operations/managedNamespaces.js.map +1 -0
- package/dist/esm/operations/meshMemberships.d.ts +81 -0
- package/dist/esm/operations/meshMemberships.d.ts.map +1 -0
- package/dist/esm/operations/meshMemberships.js +350 -0
- package/dist/esm/operations/meshMemberships.js.map +1 -0
- package/dist/esm/operations/operationStatusResultOperations.d.ts +55 -0
- package/dist/esm/operations/operationStatusResultOperations.d.ts.map +1 -0
- package/dist/esm/operations/operationStatusResultOperations.js +194 -0
- package/dist/esm/operations/operationStatusResultOperations.js.map +1 -0
- 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 +19 -3
- package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/esm/operationsInterfaces/containerService.d.ts +14 -0
- package/dist/esm/operationsInterfaces/containerService.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/containerService.js +4 -0
- package/dist/esm/operationsInterfaces/containerService.js.map +1 -0
- package/dist/esm/operationsInterfaces/identityBindings.d.ts +56 -0
- package/dist/esm/operationsInterfaces/identityBindings.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/identityBindings.js +4 -0
- package/dist/esm/operationsInterfaces/identityBindings.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +10 -2
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +10 -2
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/jWTAuthenticators.d.ts +58 -0
- package/dist/esm/operationsInterfaces/jWTAuthenticators.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/jWTAuthenticators.js +4 -0
- package/dist/esm/operationsInterfaces/jWTAuthenticators.js.map +1 -0
- package/dist/esm/operationsInterfaces/loadBalancers.d.ts +47 -0
- package/dist/esm/operationsInterfaces/loadBalancers.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/loadBalancers.js +4 -0
- package/dist/esm/operationsInterfaces/loadBalancers.js.map +1 -0
- package/dist/esm/operationsInterfaces/machines.d.ts +23 -2
- package/dist/esm/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/machines.js.map +1 -1
- package/dist/esm/operationsInterfaces/managedClusterSnapshots.d.ts +47 -0
- package/dist/esm/operationsInterfaces/managedClusterSnapshots.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/managedClusterSnapshots.js +4 -0
- package/dist/esm/operationsInterfaces/managedClusterSnapshots.js.map +1 -0
- package/dist/esm/operationsInterfaces/managedClusters.d.ts +59 -15
- package/dist/esm/operationsInterfaces/managedClusters.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/managedClusters.js.map +1 -1
- package/dist/esm/operationsInterfaces/managedNamespaces.d.ts +74 -0
- package/dist/esm/operationsInterfaces/managedNamespaces.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/managedNamespaces.js +4 -0
- package/dist/esm/operationsInterfaces/managedNamespaces.js.map +1 -0
- package/dist/esm/operationsInterfaces/meshMemberships.d.ts +56 -0
- package/dist/esm/operationsInterfaces/meshMemberships.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/meshMemberships.js +4 -0
- package/dist/esm/operationsInterfaces/meshMemberships.js.map +1 -0
- package/dist/esm/operationsInterfaces/operationStatusResultOperations.d.ts +30 -0
- package/dist/esm/operationsInterfaces/operationStatusResultOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operationStatusResultOperations.js +4 -0
- package/dist/esm/operationsInterfaces/operationStatusResultOperations.js.map +1 -0
- package/dist/react-native/containerServiceClient.d.ts +11 -3
- package/dist/react-native/containerServiceClient.d.ts.map +1 -1
- package/dist/react-native/containerServiceClient.js +23 -7
- package/dist/react-native/containerServiceClient.js.map +1 -1
- package/dist/react-native/models/index.d.ts +2241 -331
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +358 -26
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +111 -17
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +4053 -1169
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +21 -6
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +152 -18
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/agentPools.d.ts +19 -3
- package/dist/react-native/operations/agentPools.d.ts.map +1 -1
- package/dist/react-native/operations/agentPools.js +94 -3
- package/dist/react-native/operations/agentPools.js.map +1 -1
- package/dist/react-native/operations/containerService.d.ts +39 -0
- package/dist/react-native/operations/containerService.d.ts.map +1 -0
- package/dist/react-native/operations/containerService.js +123 -0
- package/dist/react-native/operations/containerService.js.map +1 -0
- package/dist/react-native/operations/identityBindings.d.ts +81 -0
- package/dist/react-native/operations/identityBindings.d.ts.map +1 -0
- package/dist/react-native/operations/identityBindings.js +358 -0
- package/dist/react-native/operations/identityBindings.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +10 -2
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +10 -2
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/jWTAuthenticators.d.ts +83 -0
- package/dist/react-native/operations/jWTAuthenticators.d.ts.map +1 -0
- package/dist/react-native/operations/jWTAuthenticators.js +360 -0
- package/dist/react-native/operations/jWTAuthenticators.js.map +1 -0
- package/dist/react-native/operations/loadBalancers.d.ts +72 -0
- package/dist/react-native/operations/loadBalancers.d.ts.map +1 -0
- package/dist/react-native/operations/loadBalancers.js +296 -0
- package/dist/react-native/operations/loadBalancers.js.map +1 -0
- package/dist/react-native/operations/machines.d.ts +23 -2
- package/dist/react-native/operations/machines.d.ts.map +1 -1
- package/dist/react-native/operations/machines.js +116 -1
- 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/managedClusterSnapshots.d.ts +83 -0
- package/dist/react-native/operations/managedClusterSnapshots.d.ts.map +1 -0
- package/dist/react-native/operations/managedClusterSnapshots.js +337 -0
- package/dist/react-native/operations/managedClusterSnapshots.js.map +1 -0
- package/dist/react-native/operations/managedClusters.d.ts +89 -15
- package/dist/react-native/operations/managedClusters.d.ts.map +1 -1
- package/dist/react-native/operations/managedClusters.js +380 -31
- package/dist/react-native/operations/managedClusters.js.map +1 -1
- package/dist/react-native/operations/managedNamespaces.d.ts +99 -0
- package/dist/react-native/operations/managedNamespaces.d.ts.map +1 -0
- package/dist/react-native/operations/managedNamespaces.js +430 -0
- package/dist/react-native/operations/managedNamespaces.js.map +1 -0
- package/dist/react-native/operations/meshMemberships.d.ts +81 -0
- package/dist/react-native/operations/meshMemberships.d.ts.map +1 -0
- package/dist/react-native/operations/meshMemberships.js +350 -0
- package/dist/react-native/operations/meshMemberships.js.map +1 -0
- package/dist/react-native/operations/operationStatusResultOperations.d.ts +55 -0
- package/dist/react-native/operations/operationStatusResultOperations.d.ts.map +1 -0
- package/dist/react-native/operations/operationStatusResultOperations.js +194 -0
- package/dist/react-native/operations/operationStatusResultOperations.js.map +1 -0
- 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 +19 -3
- package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/react-native/operationsInterfaces/containerService.d.ts +14 -0
- package/dist/react-native/operationsInterfaces/containerService.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/containerService.js +4 -0
- package/dist/react-native/operationsInterfaces/containerService.js.map +1 -0
- package/dist/react-native/operationsInterfaces/identityBindings.d.ts +56 -0
- package/dist/react-native/operationsInterfaces/identityBindings.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/identityBindings.js +4 -0
- package/dist/react-native/operationsInterfaces/identityBindings.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +10 -2
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +10 -2
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/jWTAuthenticators.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/jWTAuthenticators.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/jWTAuthenticators.js +4 -0
- package/dist/react-native/operationsInterfaces/jWTAuthenticators.js.map +1 -0
- package/dist/react-native/operationsInterfaces/loadBalancers.d.ts +47 -0
- package/dist/react-native/operationsInterfaces/loadBalancers.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/loadBalancers.js +4 -0
- package/dist/react-native/operationsInterfaces/loadBalancers.js.map +1 -0
- package/dist/react-native/operationsInterfaces/machines.d.ts +23 -2
- package/dist/react-native/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/machines.js.map +1 -1
- package/dist/react-native/operationsInterfaces/managedClusterSnapshots.d.ts +47 -0
- package/dist/react-native/operationsInterfaces/managedClusterSnapshots.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/managedClusterSnapshots.js +4 -0
- package/dist/react-native/operationsInterfaces/managedClusterSnapshots.js.map +1 -0
- package/dist/react-native/operationsInterfaces/managedClusters.d.ts +59 -15
- 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/managedNamespaces.d.ts +74 -0
- package/dist/react-native/operationsInterfaces/managedNamespaces.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/managedNamespaces.js +4 -0
- package/dist/react-native/operationsInterfaces/managedNamespaces.js.map +1 -0
- package/dist/react-native/operationsInterfaces/meshMemberships.d.ts +56 -0
- package/dist/react-native/operationsInterfaces/meshMemberships.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/meshMemberships.js +4 -0
- package/dist/react-native/operationsInterfaces/meshMemberships.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operationStatusResultOperations.d.ts +30 -0
- package/dist/react-native/operationsInterfaces/operationStatusResultOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operationStatusResultOperations.js +4 -0
- package/dist/react-native/operationsInterfaces/operationStatusResultOperations.js.map +1 -0
- package/package.json +5 -5
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?view=azure-node-preview) |
|
|
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, MaintenanceConfigurations, AgentPools, PrivateEndpointConnections, PrivateLinkResources, ResolvePrivateLinkServiceId, Snapshots,
|
|
3
|
+
import type { Operations, ManagedClusters, ContainerService, MaintenanceConfigurations, ManagedNamespaces, AgentPools, Machines, PrivateEndpointConnections, PrivateLinkResources, ResolvePrivateLinkServiceId, OperationStatusResultOperations, Snapshots, ManagedClusterSnapshots, TrustedAccessRoles, TrustedAccessRoleBindings, LoadBalancers, IdentityBindings, JWTAuthenticators, MeshMemberships } 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,14 +17,22 @@ export declare class ContainerServiceClient extends coreClient.ServiceClient {
|
|
|
17
17
|
private addCustomApiVersionPolicy;
|
|
18
18
|
operations: Operations;
|
|
19
19
|
managedClusters: ManagedClusters;
|
|
20
|
+
containerService: ContainerService;
|
|
20
21
|
maintenanceConfigurations: MaintenanceConfigurations;
|
|
22
|
+
managedNamespaces: ManagedNamespaces;
|
|
21
23
|
agentPools: AgentPools;
|
|
24
|
+
machines: Machines;
|
|
22
25
|
privateEndpointConnections: PrivateEndpointConnections;
|
|
23
26
|
privateLinkResources: PrivateLinkResources;
|
|
24
27
|
resolvePrivateLinkServiceId: ResolvePrivateLinkServiceId;
|
|
28
|
+
operationStatusResultOperations: OperationStatusResultOperations;
|
|
25
29
|
snapshots: Snapshots;
|
|
26
|
-
|
|
30
|
+
managedClusterSnapshots: ManagedClusterSnapshots;
|
|
27
31
|
trustedAccessRoles: TrustedAccessRoles;
|
|
28
|
-
|
|
32
|
+
trustedAccessRoleBindings: TrustedAccessRoleBindings;
|
|
33
|
+
loadBalancers: LoadBalancers;
|
|
34
|
+
identityBindings: IdentityBindings;
|
|
35
|
+
jWTAuthenticators: JWTAuthenticators;
|
|
36
|
+
meshMemberships: MeshMemberships;
|
|
29
37
|
}
|
|
30
38
|
//# 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,U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AAC;IACrD,aAAa,EAAE,aAAa,CAAC;IAC7B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,eAAe,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -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, MaintenanceConfigurationsImpl, AgentPoolsImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, ResolvePrivateLinkServiceIdImpl, SnapshotsImpl,
|
|
7
|
+
import { OperationsImpl, ManagedClustersImpl, ContainerServiceImpl, MaintenanceConfigurationsImpl, ManagedNamespacesImpl, AgentPoolsImpl, MachinesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, ResolvePrivateLinkServiceIdImpl, OperationStatusResultOperationsImpl, SnapshotsImpl, ManagedClusterSnapshotsImpl, TrustedAccessRolesImpl, TrustedAccessRoleBindingsImpl, LoadBalancersImpl, IdentityBindingsImpl, JWTAuthenticatorsImpl, MeshMembershipsImpl, } 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/
|
|
33
|
+
const packageDetails = `azsdk-js-arm-containerservice/24.0.0-beta.1`;
|
|
34
34
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
35
35
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
36
36
|
: `${packageDetails}`;
|
|
@@ -67,18 +67,26 @@ 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-08-
|
|
70
|
+
this.apiVersion = options.apiVersion || "2025-08-02-preview";
|
|
71
71
|
this.operations = new OperationsImpl(this);
|
|
72
72
|
this.managedClusters = new ManagedClustersImpl(this);
|
|
73
|
+
this.containerService = new ContainerServiceImpl(this);
|
|
73
74
|
this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
|
|
75
|
+
this.managedNamespaces = new ManagedNamespacesImpl(this);
|
|
74
76
|
this.agentPools = new AgentPoolsImpl(this);
|
|
77
|
+
this.machines = new MachinesImpl(this);
|
|
75
78
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
76
79
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
77
80
|
this.resolvePrivateLinkServiceId = new ResolvePrivateLinkServiceIdImpl(this);
|
|
81
|
+
this.operationStatusResultOperations = new OperationStatusResultOperationsImpl(this);
|
|
78
82
|
this.snapshots = new SnapshotsImpl(this);
|
|
79
|
-
this.
|
|
83
|
+
this.managedClusterSnapshots = new ManagedClusterSnapshotsImpl(this);
|
|
80
84
|
this.trustedAccessRoles = new TrustedAccessRolesImpl(this);
|
|
81
|
-
this.
|
|
85
|
+
this.trustedAccessRoleBindings = new TrustedAccessRoleBindingsImpl(this);
|
|
86
|
+
this.loadBalancers = new LoadBalancersImpl(this);
|
|
87
|
+
this.identityBindings = new IdentityBindingsImpl(this);
|
|
88
|
+
this.jWTAuthenticators = new JWTAuthenticatorsImpl(this);
|
|
89
|
+
this.meshMemberships = new MeshMembershipsImpl(this);
|
|
82
90
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
83
91
|
}
|
|
84
92
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
@@ -108,14 +116,22 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
|
108
116
|
}
|
|
109
117
|
operations;
|
|
110
118
|
managedClusters;
|
|
119
|
+
containerService;
|
|
111
120
|
maintenanceConfigurations;
|
|
121
|
+
managedNamespaces;
|
|
112
122
|
agentPools;
|
|
123
|
+
machines;
|
|
113
124
|
privateEndpointConnections;
|
|
114
125
|
privateLinkResources;
|
|
115
126
|
resolvePrivateLinkServiceId;
|
|
127
|
+
operationStatusResultOperations;
|
|
116
128
|
snapshots;
|
|
117
|
-
|
|
129
|
+
managedClusterSnapshots;
|
|
118
130
|
trustedAccessRoles;
|
|
119
|
-
|
|
131
|
+
trustedAccessRoleBindings;
|
|
132
|
+
loadBalancers;
|
|
133
|
+
identityBindings;
|
|
134
|
+
jWTAuthenticators;
|
|
135
|
+
meshMemberships;
|
|
120
136
|
}
|
|
121
137
|
//# 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,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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B,CAAC,CAAC;IAC5C,CAAC;IAED,UAAU,CAAa;IACvB,eAAe,CAAkB;IACjC,yBAAyB,CAA4B;IACrD,UAAU,CAAa;IACvB,0BAA0B,CAA6B;IACvD,oBAAoB,CAAuB;IAC3C,2BAA2B,CAA8B;IACzD,SAAS,CAAY;IACrB,yBAAyB,CAA4B;IACrD,kBAAkB,CAAqB;IACvC,QAAQ,CAAW;CACpB","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"]}
|
|
1
|
+
{"version":3,"file":"containerServiceClient.js","sourceRoot":"","sources":["../../src/containerServiceClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UA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IACnC,yBAAyB,CAA4B;IACrD,iBAAiB,CAAoB;IACrC,UAAU,CAAa;IACvB,QAAQ,CAAW;IACnB,0BAA0B,CAA6B;IACvD,oBAAoB,CAAuB;IAC3C,2BAA2B,CAA8B;IACzD,+BAA+B,CAAkC;IACjE,SAAS,CAAY;IACrB,uBAAuB,CAA0B;IACjD,kBAAkB,CAAqB;IACvC,yBAAyB,CAA4B;IACrD,aAAa,CAAgB;IAC7B,gBAAgB,CAAmB;IACnC,iBAAiB,CAAoB;IACrC,eAAe,CAAkB;CAClC","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 MeshMembershipsImpl,\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 MeshMemberships,\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/24.0.0-beta.1`;\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-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.meshMemberships = new MeshMembershipsImpl(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 meshMemberships: MeshMemberships;\n}\n"]}
|