@azure/arm-containerservice 22.2.0 → 22.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/containerServiceClient.d.ts.map +1 -1
- package/dist/browser/containerServiceClient.js +29 -14
- package/dist/browser/containerServiceClient.js.map +1 -1
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +4 -7
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +9 -10
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +12 -4
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +7 -8
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +300 -146
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +3 -8
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/agentPools.d.ts.map +1 -1
- package/dist/browser/operations/agentPools.js +80 -77
- package/dist/browser/operations/agentPools.js.map +1 -1
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +4 -7
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/machines.d.ts.map +1 -1
- package/dist/browser/operations/machines.js +25 -47
- package/dist/browser/operations/machines.js.map +1 -1
- package/dist/browser/operations/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/browser/operations/maintenanceConfigurations.js +25 -47
- package/dist/browser/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/browser/operations/managedClusters.d.ts.map +1 -1
- package/dist/browser/operations/managedClusters.js +234 -269
- package/dist/browser/operations/managedClusters.js.map +1 -1
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js +12 -34
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +14 -13
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +3 -7
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/browser/operations/resolvePrivateLinkServiceId.js +3 -7
- package/dist/browser/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/browser/operations/snapshots.d.ts.map +1 -1
- package/dist/browser/operations/snapshots.js +47 -86
- package/dist/browser/operations/snapshots.js.map +1 -1
- package/dist/browser/operations/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/browser/operations/trustedAccessRoleBindings.js +47 -59
- package/dist/browser/operations/trustedAccessRoleBindings.js.map +1 -1
- package/dist/browser/operations/trustedAccessRoles.d.ts.map +1 -1
- package/dist/browser/operations/trustedAccessRoles.js +25 -47
- package/dist/browser/operations/trustedAccessRoles.js.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.js +2 -7
- package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +4 -7
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/machines.js +2 -7
- package/dist/browser/operationsInterfaces/machines.js.map +1 -1
- package/dist/browser/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/maintenanceConfigurations.js +2 -7
- package/dist/browser/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
- package/dist/browser/operationsInterfaces/managedClusters.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/managedClusters.js +2 -7
- package/dist/browser/operationsInterfaces/managedClusters.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js +2 -7
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/resolvePrivateLinkServiceId.js +2 -7
- package/dist/browser/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/browser/operationsInterfaces/snapshots.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/snapshots.js +2 -7
- package/dist/browser/operationsInterfaces/snapshots.js.map +1 -1
- package/dist/browser/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/trustedAccessRoleBindings.js +2 -7
- package/dist/browser/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
- package/dist/browser/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/trustedAccessRoles.js +2 -7
- package/dist/browser/operationsInterfaces/trustedAccessRoles.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js +4 -11
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/containerServiceClient.d.ts.map +1 -1
- package/dist/commonjs/containerServiceClient.js +29 -14
- package/dist/commonjs/containerServiceClient.js.map +1 -1
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +4 -7
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +9 -10
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +12 -4
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +7 -8
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +300 -146
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +3 -8
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operations/agentPools.js +80 -76
- package/dist/commonjs/operations/agentPools.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +4 -7
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/machines.d.ts.map +1 -1
- package/dist/commonjs/operations/machines.js +25 -46
- package/dist/commonjs/operations/machines.js.map +1 -1
- package/dist/commonjs/operations/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/commonjs/operations/maintenanceConfigurations.js +25 -46
- package/dist/commonjs/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/commonjs/operations/managedClusters.d.ts.map +1 -1
- package/dist/commonjs/operations/managedClusters.js +234 -268
- package/dist/commonjs/operations/managedClusters.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js +12 -33
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +14 -13
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +3 -7
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/commonjs/operations/resolvePrivateLinkServiceId.js +3 -7
- package/dist/commonjs/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/commonjs/operations/snapshots.d.ts.map +1 -1
- package/dist/commonjs/operations/snapshots.js +47 -85
- package/dist/commonjs/operations/snapshots.js.map +1 -1
- package/dist/commonjs/operations/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/commonjs/operations/trustedAccessRoleBindings.js +47 -58
- package/dist/commonjs/operations/trustedAccessRoleBindings.js.map +1 -1
- package/dist/commonjs/operations/trustedAccessRoles.d.ts.map +1 -1
- package/dist/commonjs/operations/trustedAccessRoles.js +25 -46
- package/dist/commonjs/operations/trustedAccessRoles.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.js +2 -7
- package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +4 -7
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/machines.js +2 -7
- package/dist/commonjs/operationsInterfaces/machines.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.js +2 -7
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedClusters.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/managedClusters.js +2 -7
- package/dist/commonjs/operationsInterfaces/managedClusters.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js +2 -7
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/resolvePrivateLinkServiceId.js +2 -7
- package/dist/commonjs/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/snapshots.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/snapshots.js +2 -7
- package/dist/commonjs/operationsInterfaces/snapshots.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/trustedAccessRoleBindings.js +2 -7
- package/dist/commonjs/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/trustedAccessRoles.js +2 -7
- package/dist/commonjs/operationsInterfaces/trustedAccessRoles.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +4 -11
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/containerServiceClient.d.ts.map +1 -1
- package/dist/esm/containerServiceClient.js +29 -14
- package/dist/esm/containerServiceClient.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +9 -10
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +12 -4
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +7 -8
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +300 -146
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +3 -8
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/agentPools.d.ts.map +1 -1
- package/dist/esm/operations/agentPools.js +80 -77
- package/dist/esm/operations/agentPools.js.map +1 -1
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +4 -7
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/machines.d.ts.map +1 -1
- package/dist/esm/operations/machines.js +25 -47
- package/dist/esm/operations/machines.js.map +1 -1
- package/dist/esm/operations/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/esm/operations/maintenanceConfigurations.js +25 -47
- package/dist/esm/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/esm/operations/managedClusters.d.ts.map +1 -1
- package/dist/esm/operations/managedClusters.js +234 -269
- package/dist/esm/operations/managedClusters.js.map +1 -1
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js +12 -34
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +14 -13
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +3 -7
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/esm/operations/resolvePrivateLinkServiceId.js +3 -7
- package/dist/esm/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/esm/operations/snapshots.d.ts.map +1 -1
- package/dist/esm/operations/snapshots.js +47 -86
- package/dist/esm/operations/snapshots.js.map +1 -1
- package/dist/esm/operations/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/esm/operations/trustedAccessRoleBindings.js +47 -59
- package/dist/esm/operations/trustedAccessRoleBindings.js.map +1 -1
- package/dist/esm/operations/trustedAccessRoles.d.ts.map +1 -1
- package/dist/esm/operations/trustedAccessRoles.js +25 -47
- package/dist/esm/operations/trustedAccessRoles.js.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.js +2 -7
- package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +4 -7
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/machines.js +2 -7
- package/dist/esm/operationsInterfaces/machines.js.map +1 -1
- package/dist/esm/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/maintenanceConfigurations.js +2 -7
- package/dist/esm/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
- package/dist/esm/operationsInterfaces/managedClusters.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/managedClusters.js +2 -7
- package/dist/esm/operationsInterfaces/managedClusters.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js +2 -7
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/resolvePrivateLinkServiceId.js +2 -7
- package/dist/esm/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/esm/operationsInterfaces/snapshots.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/snapshots.js +2 -7
- package/dist/esm/operationsInterfaces/snapshots.js.map +1 -1
- package/dist/esm/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/trustedAccessRoleBindings.js +2 -7
- package/dist/esm/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
- package/dist/esm/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/trustedAccessRoles.js +2 -7
- package/dist/esm/operationsInterfaces/trustedAccessRoles.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js +4 -11
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/containerServiceClient.d.ts.map +1 -1
- package/dist/react-native/containerServiceClient.js +29 -14
- package/dist/react-native/containerServiceClient.js.map +1 -1
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +4 -7
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +9 -10
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +12 -4
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +7 -8
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +300 -146
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +3 -8
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/agentPools.d.ts.map +1 -1
- package/dist/react-native/operations/agentPools.js +80 -77
- package/dist/react-native/operations/agentPools.js.map +1 -1
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +4 -7
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/machines.d.ts.map +1 -1
- package/dist/react-native/operations/machines.js +25 -47
- package/dist/react-native/operations/machines.js.map +1 -1
- package/dist/react-native/operations/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/react-native/operations/maintenanceConfigurations.js +25 -47
- package/dist/react-native/operations/maintenanceConfigurations.js.map +1 -1
- package/dist/react-native/operations/managedClusters.d.ts.map +1 -1
- package/dist/react-native/operations/managedClusters.js +234 -269
- package/dist/react-native/operations/managedClusters.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js +12 -34
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +14 -13
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +3 -7
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/react-native/operations/resolvePrivateLinkServiceId.js +3 -7
- package/dist/react-native/operations/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/react-native/operations/snapshots.d.ts.map +1 -1
- package/dist/react-native/operations/snapshots.js +47 -86
- package/dist/react-native/operations/snapshots.js.map +1 -1
- package/dist/react-native/operations/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/react-native/operations/trustedAccessRoleBindings.js +47 -59
- package/dist/react-native/operations/trustedAccessRoleBindings.js.map +1 -1
- package/dist/react-native/operations/trustedAccessRoles.d.ts.map +1 -1
- package/dist/react-native/operations/trustedAccessRoles.js +25 -47
- package/dist/react-native/operations/trustedAccessRoles.js.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.js +2 -7
- package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +4 -7
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/machines.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/machines.js +2 -7
- package/dist/react-native/operationsInterfaces/machines.js.map +1 -1
- package/dist/react-native/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/maintenanceConfigurations.js +2 -7
- package/dist/react-native/operationsInterfaces/maintenanceConfigurations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/managedClusters.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/managedClusters.js +2 -7
- package/dist/react-native/operationsInterfaces/managedClusters.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js +2 -7
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +2 -7
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +2 -7
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/resolvePrivateLinkServiceId.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/resolvePrivateLinkServiceId.js +2 -7
- package/dist/react-native/operationsInterfaces/resolvePrivateLinkServiceId.js.map +1 -1
- package/dist/react-native/operationsInterfaces/snapshots.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/snapshots.js +2 -7
- package/dist/react-native/operationsInterfaces/snapshots.js.map +1 -1
- package/dist/react-native/operationsInterfaces/trustedAccessRoleBindings.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/trustedAccessRoleBindings.js +2 -7
- package/dist/react-native/operationsInterfaces/trustedAccessRoleBindings.js.map +1 -1
- package/dist/react-native/operationsInterfaces/trustedAccessRoles.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/trustedAccessRoles.js +2 -7
- package/dist/react-native/operationsInterfaces/trustedAccessRoles.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js +4 -11
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +17 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,cAAc,EACd,4BAA4B,EAE7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;OAGG;IACI,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,cAAc,CAAC;YAkBhF,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAGd"}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
9
3
|
import * as coreClient from "@azure/core-client";
|
|
10
4
|
import * as Mappers from "../models/mappers.js";
|
|
11
5
|
import * as Parameters from "../models/parameters.js";
|
|
12
6
|
/// <reference lib="esnext.asynciterable" />
|
|
13
7
|
/** Class containing Operations operations. */
|
|
14
8
|
export class OperationsImpl {
|
|
9
|
+
client;
|
|
15
10
|
/**
|
|
16
11
|
* Initialize a new instance of the class Operations class.
|
|
17
12
|
* @param client Reference to the service client
|
|
@@ -33,39 +28,22 @@ export class OperationsImpl {
|
|
|
33
28
|
return this;
|
|
34
29
|
},
|
|
35
30
|
byPage: (settings) => {
|
|
36
|
-
if (settings
|
|
31
|
+
if (settings?.maxPageSize) {
|
|
37
32
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
38
33
|
}
|
|
39
34
|
return this.listPagingPage(options, settings);
|
|
40
35
|
},
|
|
41
36
|
};
|
|
42
37
|
}
|
|
43
|
-
listPagingPage(options, _settings) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
yield yield __await(result.value || []);
|
|
48
|
-
});
|
|
38
|
+
async *listPagingPage(options, _settings) {
|
|
39
|
+
let result;
|
|
40
|
+
result = await this._list(options);
|
|
41
|
+
yield result.value || [];
|
|
49
42
|
}
|
|
50
|
-
listPagingAll(options) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
55
|
-
_c = _f.value;
|
|
56
|
-
_d = false;
|
|
57
|
-
const page = _c;
|
|
58
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
-
finally {
|
|
63
|
-
try {
|
|
64
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
65
|
-
}
|
|
66
|
-
finally { if (e_1) throw e_1.error; }
|
|
67
|
-
}
|
|
68
|
-
});
|
|
43
|
+
async *listPagingAll(options) {
|
|
44
|
+
for await (const page of this.listPagingPage(options)) {
|
|
45
|
+
yield* page;
|
|
46
|
+
}
|
|
69
47
|
}
|
|
70
48
|
/**
|
|
71
49
|
* Gets a list of operations.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAOlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CAAC,OAAsC;QAChD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,C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AAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport type { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type {\n OperationValue,\n OperationsListOptionalParams,\n OperationsListResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of operations.\n * @param options The options parameters.\n */\n public list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationValue> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<OperationValue[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<OperationValue> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of operations.\n * @param options The options parameters.\n */\n private _list(options?: OperationsListOptionalParams): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ContainerService/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,4CAA4C,EAC5C,sCAAsC,EACtC,2CAA2C,EAC3C,qCAAqC,EACrC,yBAAyB,EACzB,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC/C,MAAM,oBAAoB,CAAC;AAE5B,8DAA8D;AAC9D,qBAAa,8BAA+B,YAAW,0BAA0B;IAC/E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAOlD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAapD;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAwDxD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;CASjB"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
8
3
|
import * as coreClient from "@azure/core-client";
|
|
9
4
|
import * as Mappers from "../models/mappers.js";
|
|
10
5
|
import * as Parameters from "../models/parameters.js";
|
|
@@ -12,6 +7,7 @@ import { createHttpPoller } from "@azure/core-lro";
|
|
|
12
7
|
import { createLroSpec } from "../lroImpl.js";
|
|
13
8
|
/** Class containing PrivateEndpointConnections operations. */
|
|
14
9
|
export class PrivateEndpointConnectionsImpl {
|
|
10
|
+
client;
|
|
15
11
|
/**
|
|
16
12
|
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
17
13
|
* @param client Reference to the service client
|
|
@@ -72,14 +68,19 @@ export class PrivateEndpointConnectionsImpl {
|
|
|
72
68
|
return this.client.sendOperationRequest(args, spec);
|
|
73
69
|
};
|
|
74
70
|
const sendOperationFn = async (args, spec) => {
|
|
75
|
-
var _a;
|
|
76
71
|
let currentRawResponse = undefined;
|
|
77
|
-
const providedCallback =
|
|
72
|
+
const providedCallback = args.options?.onResponse;
|
|
78
73
|
const callback = (rawResponse, flatResponse) => {
|
|
79
74
|
currentRawResponse = rawResponse;
|
|
80
|
-
providedCallback
|
|
75
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
76
|
+
};
|
|
77
|
+
const updatedArgs = {
|
|
78
|
+
...args,
|
|
79
|
+
options: {
|
|
80
|
+
...args.options,
|
|
81
|
+
onResponse: callback,
|
|
82
|
+
},
|
|
81
83
|
};
|
|
82
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
83
84
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
84
85
|
return {
|
|
85
86
|
flatResponse,
|
|
@@ -101,8 +102,8 @@ export class PrivateEndpointConnectionsImpl {
|
|
|
101
102
|
spec: deleteOperationSpec,
|
|
102
103
|
});
|
|
103
104
|
const poller = await createHttpPoller(lro, {
|
|
104
|
-
restoreFrom: options
|
|
105
|
-
intervalInMs: options
|
|
105
|
+
restoreFrom: options?.resumeFrom,
|
|
106
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
106
107
|
});
|
|
107
108
|
await poller.poll();
|
|
108
109
|
return poller;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","s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zB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnection,\n PrivateEndpointConnectionsUpdateOptionalParams,\n PrivateEndpointConnectionsUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n resourceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Updates a private endpoint connection.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param parameters The updated private endpoint connection.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n parameters,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes a private endpoint connection.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a private endpoint connection.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAY9C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IACxB,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,iBAAyB,EACzB,YAAoB,EACpB,OAAsD;QAEtD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,EAC5C,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,GAAG,CACD,iBAAyB,EACzB,YAAoB,EACpB,6BAAqC,EACrC,OAAqD;QAErD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,YAAY;YACZ,6BAA6B;YAC7B,OAAO;SACR,EACD,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAyB,EACzB,YAAoB,EACpB,6BAAqC,EACrC,UAAqC,EACrC,OAAwD;QAExD,OAAO,IAAI,CAAC,MAAM,CAAC,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E,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 type { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnection,\n PrivateEndpointConnectionsUpdateOptionalParams,\n PrivateEndpointConnectionsUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n resourceName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Updates a private endpoint connection.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param parameters The updated private endpoint connection.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n parameters,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes a private endpoint connection.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a private endpoint connection.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,sCAAsC,EACtC,gCAAgC,EACjC,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;CAM7C"}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
8
3
|
import * as coreClient from "@azure/core-client";
|
|
9
4
|
import * as Mappers from "../models/mappers.js";
|
|
10
5
|
import * as Parameters from "../models/parameters.js";
|
|
11
6
|
/** Class containing PrivateLinkResources operations. */
|
|
12
7
|
export class PrivateLinkResourcesImpl {
|
|
8
|
+
client;
|
|
13
9
|
/**
|
|
14
10
|
* Initialize a new instance of the class PrivateLinkResources class.
|
|
15
11
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAClB,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,iBAAyB,EACzB,YAAoB,EACpB,OAAgD;QAEhD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,EAC5C,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,6JAA6J;IACnK,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 type { PrivateLinkResources } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type {\n PrivateLinkResourcesListOptionalParams,\n PrivateLinkResourcesListResponse,\n} from \"../models/index.js\";\n\n/** Class containing PrivateLinkResources operations. */\nexport class PrivateLinkResourcesImpl implements PrivateLinkResources {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class PrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n resourceName: string,\n options?: PrivateLinkResourcesListOptionalParams,\n ): Promise<PrivateLinkResourcesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourcesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvePrivateLinkServiceId.d.ts","sourceRoot":"","sources":["../../../src/operations/resolvePrivateLinkServiceId.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolvePrivateLinkServiceId.d.ts","sourceRoot":"","sources":["../../../src/operations/resolvePrivateLinkServiceId.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAIpF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,mBAAmB,EACnB,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAE5B,+DAA+D;AAC/D,qBAAa,+BAAgC,YAAW,2BAA2B;IACjF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;;OAMG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,mBAAmB,EAC/B,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;CAMpD"}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
8
3
|
import * as coreClient from "@azure/core-client";
|
|
9
4
|
import * as Mappers from "../models/mappers.js";
|
|
10
5
|
import * as Parameters from "../models/parameters.js";
|
|
11
6
|
/** Class containing ResolvePrivateLinkServiceId operations. */
|
|
12
7
|
export class ResolvePrivateLinkServiceIdImpl {
|
|
8
|
+
client;
|
|
13
9
|
/**
|
|
14
10
|
* Initialize a new instance of the class ResolvePrivateLinkServiceId class.
|
|
15
11
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvePrivateLinkServiceId.js","sourceRoot":"","sources":["../../../src/operations/resolvePrivateLinkServiceId.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"resolvePrivateLinkServiceId.js","sourceRoot":"","sources":["../../../src/operations/resolvePrivateLinkServiceId.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,+DAA+D;AAC/D,MAAM,OAAO,+BAA+B;IACzB,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,iBAAyB,EACzB,YAAoB,EACpB,UAA+B,EAC/B,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,EACxD,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,oKAAoK;IAC1K,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","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 type { ResolvePrivateLinkServiceId } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerServiceClient } from \"../containerServiceClient.js\";\nimport type {\n PrivateLinkResource,\n ResolvePrivateLinkServiceIdPostOptionalParams,\n ResolvePrivateLinkServiceIdPostResponse,\n} from \"../models/index.js\";\n\n/** Class containing ResolvePrivateLinkServiceId operations. */\nexport class ResolvePrivateLinkServiceIdImpl implements ResolvePrivateLinkServiceId {\n private readonly client: ContainerServiceClient;\n\n /**\n * Initialize a new instance of the class ResolvePrivateLinkServiceId class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerServiceClient) {\n this.client = client;\n }\n\n /**\n * Gets the private link service ID for the specified managed cluster.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the managed cluster resource.\n * @param parameters Parameters required in order to resolve a private link service ID.\n * @param options The options parameters.\n */\n post(\n resourceGroupName: string,\n resourceName: string,\n parameters: PrivateLinkResource,\n options?: ResolvePrivateLinkServiceIdPostOptionalParams,\n ): Promise<ResolvePrivateLinkServiceIdPostResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n postOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst postOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resolvePrivateLinkServiceId\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshots.d.ts","sourceRoot":"","sources":["../../../src/operations/snapshots.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"snapshots.d.ts","sourceRoot":"","sources":["../../../src/operations/snapshots.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA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iB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAOjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
9
3
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
4
|
import * as coreClient from "@azure/core-client";
|
|
11
5
|
import * as Mappers from "../models/mappers.js";
|
|
@@ -13,6 +7,7 @@ import * as Parameters from "../models/parameters.js";
|
|
|
13
7
|
/// <reference lib="esnext.asynciterable" />
|
|
14
8
|
/** Class containing Snapshots operations. */
|
|
15
9
|
export class SnapshotsImpl {
|
|
10
|
+
client;
|
|
16
11
|
/**
|
|
17
12
|
* Initialize a new instance of the class Snapshots class.
|
|
18
13
|
* @param client Reference to the service client
|
|
@@ -34,52 +29,35 @@ export class SnapshotsImpl {
|
|
|
34
29
|
return this;
|
|
35
30
|
},
|
|
36
31
|
byPage: (settings) => {
|
|
37
|
-
if (settings
|
|
32
|
+
if (settings?.maxPageSize) {
|
|
38
33
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
34
|
}
|
|
40
35
|
return this.listPagingPage(options, settings);
|
|
41
36
|
},
|
|
42
37
|
};
|
|
43
38
|
}
|
|
44
|
-
listPagingPage(options, settings) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
});
|
|
39
|
+
async *listPagingPage(options, settings) {
|
|
40
|
+
let result;
|
|
41
|
+
let continuationToken = settings?.continuationToken;
|
|
42
|
+
if (!continuationToken) {
|
|
43
|
+
result = await this._list(options);
|
|
44
|
+
const page = result.value || [];
|
|
45
|
+
continuationToken = result.nextLink;
|
|
46
|
+
setContinuationToken(page, continuationToken);
|
|
47
|
+
yield page;
|
|
48
|
+
}
|
|
49
|
+
while (continuationToken) {
|
|
50
|
+
result = await this._listNext(continuationToken, options);
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
const page = result.value || [];
|
|
53
|
+
setContinuationToken(page, continuationToken);
|
|
54
|
+
yield page;
|
|
55
|
+
}
|
|
63
56
|
}
|
|
64
|
-
listPagingAll(options) {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
69
|
-
_c = _f.value;
|
|
70
|
-
_d = false;
|
|
71
|
-
const page = _c;
|
|
72
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
76
|
-
finally {
|
|
77
|
-
try {
|
|
78
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
79
|
-
}
|
|
80
|
-
finally { if (e_1) throw e_1.error; }
|
|
81
|
-
}
|
|
82
|
-
});
|
|
57
|
+
async *listPagingAll(options) {
|
|
58
|
+
for await (const page of this.listPagingPage(options)) {
|
|
59
|
+
yield* page;
|
|
60
|
+
}
|
|
83
61
|
}
|
|
84
62
|
/**
|
|
85
63
|
* Lists snapshots in the specified subscription and resource group.
|
|
@@ -96,52 +74,35 @@ export class SnapshotsImpl {
|
|
|
96
74
|
return this;
|
|
97
75
|
},
|
|
98
76
|
byPage: (settings) => {
|
|
99
|
-
if (settings
|
|
77
|
+
if (settings?.maxPageSize) {
|
|
100
78
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
101
79
|
}
|
|
102
80
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
103
81
|
},
|
|
104
82
|
};
|
|
105
83
|
}
|
|
106
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
});
|
|
84
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
85
|
+
let result;
|
|
86
|
+
let continuationToken = settings?.continuationToken;
|
|
87
|
+
if (!continuationToken) {
|
|
88
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
89
|
+
const page = result.value || [];
|
|
90
|
+
continuationToken = result.nextLink;
|
|
91
|
+
setContinuationToken(page, continuationToken);
|
|
92
|
+
yield page;
|
|
93
|
+
}
|
|
94
|
+
while (continuationToken) {
|
|
95
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
96
|
+
continuationToken = result.nextLink;
|
|
97
|
+
const page = result.value || [];
|
|
98
|
+
setContinuationToken(page, continuationToken);
|
|
99
|
+
yield page;
|
|
100
|
+
}
|
|
125
101
|
}
|
|
126
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
131
|
-
_c = _f.value;
|
|
132
|
-
_d = false;
|
|
133
|
-
const page = _c;
|
|
134
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
138
|
-
finally {
|
|
139
|
-
try {
|
|
140
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
141
|
-
}
|
|
142
|
-
finally { if (e_2) throw e_2.error; }
|
|
143
|
-
}
|
|
144
|
-
});
|
|
102
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
103
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
104
|
+
yield* page;
|
|
105
|
+
}
|
|
145
106
|
}
|
|
146
107
|
/**
|
|
147
108
|
* Gets a list of snapshots in the specified subscription.
|