@azure/arm-containerregistry 11.0.0-alpha.20251104.1 → 11.0.0-alpha.20251106.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 +2 -2
- package/dist/browser/containerRegistryManagementClient.d.ts +5 -13
- package/dist/browser/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/browser/containerRegistryManagementClient.js +12 -55
- package/dist/browser/containerRegistryManagementClient.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 +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +2 -7
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +1458 -1961
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +160 -221
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +68 -109
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +2458 -3279
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +13 -23
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +65 -169
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/agentPools.d.ts +7 -7
- package/dist/browser/operations/agentPools.d.ts.map +1 -1
- package/dist/browser/operations/agentPools.js +23 -39
- package/dist/browser/operations/agentPools.js.map +1 -1
- package/dist/browser/operations/cacheRules.d.ts +15 -15
- package/dist/browser/operations/cacheRules.d.ts.map +1 -1
- package/dist/browser/operations/cacheRules.js +46 -51
- package/dist/browser/operations/cacheRules.js.map +1 -1
- package/dist/browser/operations/connectedRegistries.d.ts +15 -15
- package/dist/browser/operations/connectedRegistries.d.ts.map +1 -1
- package/dist/browser/operations/connectedRegistries.js +53 -58
- package/dist/browser/operations/connectedRegistries.js.map +1 -1
- package/dist/browser/operations/credentialSets.d.ts +15 -15
- package/dist/browser/operations/credentialSets.d.ts.map +1 -1
- package/dist/browser/operations/credentialSets.js +46 -51
- package/dist/browser/operations/credentialSets.js.map +1 -1
- package/dist/browser/operations/index.d.ts +2 -7
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +6 -14
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/operations.d.ts +6 -6
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js +12 -11
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts +5 -5
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +28 -12
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/registries.d.ts +56 -48
- package/dist/browser/operations/registries.d.ts.map +1 -1
- package/dist/browser/operations/registries.js +290 -190
- package/dist/browser/operations/registries.js.map +1 -1
- package/dist/browser/operations/replications.d.ts +15 -15
- package/dist/browser/operations/replications.d.ts.map +1 -1
- package/dist/browser/operations/replications.js +68 -49
- package/dist/browser/operations/replications.js.map +1 -1
- package/dist/browser/operations/runs.d.ts +24 -6
- package/dist/browser/operations/runs.d.ts.map +1 -1
- package/dist/browser/operations/runs.js +137 -25
- package/dist/browser/operations/runs.js.map +1 -1
- package/dist/browser/operations/scopeMaps.d.ts +15 -15
- package/dist/browser/operations/scopeMaps.d.ts.map +1 -1
- package/dist/browser/operations/scopeMaps.js +53 -58
- package/dist/browser/operations/scopeMaps.js.map +1 -1
- package/dist/browser/operations/taskRuns.d.ts +14 -6
- package/dist/browser/operations/taskRuns.d.ts.map +1 -1
- package/dist/browser/operations/taskRuns.js +71 -28
- package/dist/browser/operations/taskRuns.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts +34 -7
- package/dist/browser/operations/tasks.d.ts.map +1 -1
- package/dist/browser/operations/tasks.js +201 -41
- package/dist/browser/operations/tasks.js.map +1 -1
- package/dist/browser/operations/tokens.d.ts +15 -15
- package/dist/browser/operations/tokens.d.ts.map +1 -1
- package/dist/browser/operations/tokens.js +53 -58
- package/dist/browser/operations/tokens.js.map +1 -1
- package/dist/browser/operations/webhooks.d.ts +19 -19
- package/dist/browser/operations/webhooks.d.ts.map +1 -1
- package/dist/browser/operations/webhooks.js +95 -64
- package/dist/browser/operations/webhooks.js.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.d.ts +5 -5
- 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/cacheRules.d.ts +13 -13
- package/dist/browser/operationsInterfaces/cacheRules.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/cacheRules.js +2 -7
- package/dist/browser/operationsInterfaces/cacheRules.js.map +1 -1
- package/dist/browser/operationsInterfaces/connectedRegistries.d.ts +13 -13
- package/dist/browser/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/connectedRegistries.js +2 -7
- package/dist/browser/operationsInterfaces/connectedRegistries.js.map +1 -1
- package/dist/browser/operationsInterfaces/credentialSets.d.ts +13 -13
- package/dist/browser/operationsInterfaces/credentialSets.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/credentialSets.js +2 -7
- package/dist/browser/operationsInterfaces/credentialSets.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +2 -7
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +6 -14
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +3 -3
- 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 +3 -3
- 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/registries.d.ts +50 -42
- package/dist/browser/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/registries.js +2 -7
- package/dist/browser/operationsInterfaces/registries.js.map +1 -1
- package/dist/browser/operationsInterfaces/replications.d.ts +13 -13
- package/dist/browser/operationsInterfaces/replications.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/replications.js +2 -7
- package/dist/browser/operationsInterfaces/replications.js.map +1 -1
- package/dist/browser/operationsInterfaces/runs.d.ts +22 -4
- package/dist/browser/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/runs.js +2 -7
- package/dist/browser/operationsInterfaces/runs.js.map +1 -1
- package/dist/browser/operationsInterfaces/scopeMaps.d.ts +13 -13
- package/dist/browser/operationsInterfaces/scopeMaps.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/scopeMaps.js +2 -7
- package/dist/browser/operationsInterfaces/scopeMaps.js.map +1 -1
- package/dist/browser/operationsInterfaces/taskRuns.d.ts +12 -4
- package/dist/browser/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/taskRuns.js +2 -7
- package/dist/browser/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.d.ts +32 -5
- package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.js +2 -7
- package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/tokens.d.ts +13 -13
- package/dist/browser/operationsInterfaces/tokens.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/tokens.js +2 -7
- package/dist/browser/operationsInterfaces/tokens.js.map +1 -1
- package/dist/browser/operationsInterfaces/webhooks.d.ts +17 -17
- package/dist/browser/operationsInterfaces/webhooks.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/webhooks.js +2 -7
- package/dist/browser/operationsInterfaces/webhooks.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js +2 -7
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/containerRegistryManagementClient.d.ts +5 -13
- package/dist/commonjs/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/commonjs/containerRegistryManagementClient.js +11 -54
- package/dist/commonjs/containerRegistryManagementClient.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 +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +2 -7
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1458 -1961
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +161 -223
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +68 -109
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +2461 -3283
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +13 -23
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +66 -170
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/agentPools.d.ts +7 -7
- package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operations/agentPools.js +22 -38
- package/dist/commonjs/operations/agentPools.js.map +1 -1
- package/dist/commonjs/operations/cacheRules.d.ts +15 -15
- package/dist/commonjs/operations/cacheRules.d.ts.map +1 -1
- package/dist/commonjs/operations/cacheRules.js +45 -50
- package/dist/commonjs/operations/cacheRules.js.map +1 -1
- package/dist/commonjs/operations/connectedRegistries.d.ts +15 -15
- package/dist/commonjs/operations/connectedRegistries.d.ts.map +1 -1
- package/dist/commonjs/operations/connectedRegistries.js +52 -57
- package/dist/commonjs/operations/connectedRegistries.js.map +1 -1
- package/dist/commonjs/operations/credentialSets.d.ts +15 -15
- package/dist/commonjs/operations/credentialSets.d.ts.map +1 -1
- package/dist/commonjs/operations/credentialSets.js +45 -50
- package/dist/commonjs/operations/credentialSets.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +2 -7
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +6 -14
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts +6 -6
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js +12 -11
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +5 -5
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +27 -11
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/registries.d.ts +56 -48
- package/dist/commonjs/operations/registries.d.ts.map +1 -1
- package/dist/commonjs/operations/registries.js +289 -189
- package/dist/commonjs/operations/registries.js.map +1 -1
- package/dist/commonjs/operations/replications.d.ts +15 -15
- package/dist/commonjs/operations/replications.d.ts.map +1 -1
- package/dist/commonjs/operations/replications.js +67 -48
- package/dist/commonjs/operations/replications.js.map +1 -1
- package/dist/commonjs/operations/runs.d.ts +24 -6
- package/dist/commonjs/operations/runs.d.ts.map +1 -1
- package/dist/commonjs/operations/runs.js +137 -25
- package/dist/commonjs/operations/runs.js.map +1 -1
- package/dist/commonjs/operations/scopeMaps.d.ts +15 -15
- package/dist/commonjs/operations/scopeMaps.d.ts.map +1 -1
- package/dist/commonjs/operations/scopeMaps.js +52 -57
- package/dist/commonjs/operations/scopeMaps.js.map +1 -1
- package/dist/commonjs/operations/taskRuns.d.ts +14 -6
- package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
- package/dist/commonjs/operations/taskRuns.js +70 -27
- package/dist/commonjs/operations/taskRuns.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts +34 -7
- package/dist/commonjs/operations/tasks.d.ts.map +1 -1
- package/dist/commonjs/operations/tasks.js +201 -41
- package/dist/commonjs/operations/tasks.js.map +1 -1
- package/dist/commonjs/operations/tokens.d.ts +15 -15
- package/dist/commonjs/operations/tokens.d.ts.map +1 -1
- package/dist/commonjs/operations/tokens.js +52 -57
- package/dist/commonjs/operations/tokens.js.map +1 -1
- package/dist/commonjs/operations/webhooks.d.ts +19 -19
- package/dist/commonjs/operations/webhooks.d.ts.map +1 -1
- package/dist/commonjs/operations/webhooks.js +94 -63
- package/dist/commonjs/operations/webhooks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.d.ts +5 -5
- 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/cacheRules.d.ts +13 -13
- package/dist/commonjs/operationsInterfaces/cacheRules.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/cacheRules.js +2 -7
- package/dist/commonjs/operationsInterfaces/cacheRules.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/connectedRegistries.d.ts +13 -13
- package/dist/commonjs/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/connectedRegistries.js +2 -7
- package/dist/commonjs/operationsInterfaces/connectedRegistries.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/credentialSets.d.ts +13 -13
- package/dist/commonjs/operationsInterfaces/credentialSets.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/credentialSets.js +2 -7
- package/dist/commonjs/operationsInterfaces/credentialSets.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +2 -7
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +6 -14
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +3 -3
- 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 +3 -3
- 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/registries.d.ts +50 -42
- package/dist/commonjs/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/registries.js +2 -7
- package/dist/commonjs/operationsInterfaces/registries.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/replications.d.ts +13 -13
- package/dist/commonjs/operationsInterfaces/replications.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/replications.js +2 -7
- package/dist/commonjs/operationsInterfaces/replications.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/runs.d.ts +22 -4
- package/dist/commonjs/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/runs.js +2 -7
- package/dist/commonjs/operationsInterfaces/runs.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/scopeMaps.d.ts +13 -13
- package/dist/commonjs/operationsInterfaces/scopeMaps.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/scopeMaps.js +2 -7
- package/dist/commonjs/operationsInterfaces/scopeMaps.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/taskRuns.d.ts +12 -4
- package/dist/commonjs/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/taskRuns.js +2 -7
- package/dist/commonjs/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.d.ts +32 -5
- package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.js +2 -7
- package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tokens.d.ts +13 -13
- package/dist/commonjs/operationsInterfaces/tokens.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/tokens.js +2 -7
- package/dist/commonjs/operationsInterfaces/tokens.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/webhooks.d.ts +17 -17
- package/dist/commonjs/operationsInterfaces/webhooks.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/webhooks.js +2 -7
- package/dist/commonjs/operationsInterfaces/webhooks.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -7
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/esm/containerRegistryManagementClient.d.ts +5 -13
- package/dist/esm/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/esm/containerRegistryManagementClient.js +12 -55
- package/dist/esm/containerRegistryManagementClient.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 +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +2 -7
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +1458 -1961
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +160 -221
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +68 -109
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +2458 -3279
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +13 -23
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +65 -169
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/agentPools.d.ts +7 -7
- package/dist/esm/operations/agentPools.d.ts.map +1 -1
- package/dist/esm/operations/agentPools.js +23 -39
- package/dist/esm/operations/agentPools.js.map +1 -1
- package/dist/esm/operations/cacheRules.d.ts +15 -15
- package/dist/esm/operations/cacheRules.d.ts.map +1 -1
- package/dist/esm/operations/cacheRules.js +46 -51
- package/dist/esm/operations/cacheRules.js.map +1 -1
- package/dist/esm/operations/connectedRegistries.d.ts +15 -15
- package/dist/esm/operations/connectedRegistries.d.ts.map +1 -1
- package/dist/esm/operations/connectedRegistries.js +53 -58
- package/dist/esm/operations/connectedRegistries.js.map +1 -1
- package/dist/esm/operations/credentialSets.d.ts +15 -15
- package/dist/esm/operations/credentialSets.d.ts.map +1 -1
- package/dist/esm/operations/credentialSets.js +46 -51
- package/dist/esm/operations/credentialSets.js.map +1 -1
- package/dist/esm/operations/index.d.ts +2 -7
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +6 -14
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/operations.d.ts +6 -6
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js +12 -11
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts +5 -5
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +28 -12
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/registries.d.ts +56 -48
- package/dist/esm/operations/registries.d.ts.map +1 -1
- package/dist/esm/operations/registries.js +290 -190
- package/dist/esm/operations/registries.js.map +1 -1
- package/dist/esm/operations/replications.d.ts +15 -15
- package/dist/esm/operations/replications.d.ts.map +1 -1
- package/dist/esm/operations/replications.js +68 -49
- package/dist/esm/operations/replications.js.map +1 -1
- package/dist/esm/operations/runs.d.ts +24 -6
- package/dist/esm/operations/runs.d.ts.map +1 -1
- package/dist/esm/operations/runs.js +137 -25
- package/dist/esm/operations/runs.js.map +1 -1
- package/dist/esm/operations/scopeMaps.d.ts +15 -15
- package/dist/esm/operations/scopeMaps.d.ts.map +1 -1
- package/dist/esm/operations/scopeMaps.js +53 -58
- package/dist/esm/operations/scopeMaps.js.map +1 -1
- package/dist/esm/operations/taskRuns.d.ts +14 -6
- package/dist/esm/operations/taskRuns.d.ts.map +1 -1
- package/dist/esm/operations/taskRuns.js +71 -28
- package/dist/esm/operations/taskRuns.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts +34 -7
- package/dist/esm/operations/tasks.d.ts.map +1 -1
- package/dist/esm/operations/tasks.js +201 -41
- package/dist/esm/operations/tasks.js.map +1 -1
- package/dist/esm/operations/tokens.d.ts +15 -15
- package/dist/esm/operations/tokens.d.ts.map +1 -1
- package/dist/esm/operations/tokens.js +53 -58
- package/dist/esm/operations/tokens.js.map +1 -1
- package/dist/esm/operations/webhooks.d.ts +19 -19
- package/dist/esm/operations/webhooks.d.ts.map +1 -1
- package/dist/esm/operations/webhooks.js +95 -64
- package/dist/esm/operations/webhooks.js.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.d.ts +5 -5
- 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/cacheRules.d.ts +13 -13
- package/dist/esm/operationsInterfaces/cacheRules.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/cacheRules.js +2 -7
- package/dist/esm/operationsInterfaces/cacheRules.js.map +1 -1
- package/dist/esm/operationsInterfaces/connectedRegistries.d.ts +13 -13
- package/dist/esm/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/connectedRegistries.js +2 -7
- package/dist/esm/operationsInterfaces/connectedRegistries.js.map +1 -1
- package/dist/esm/operationsInterfaces/credentialSets.d.ts +13 -13
- package/dist/esm/operationsInterfaces/credentialSets.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/credentialSets.js +2 -7
- package/dist/esm/operationsInterfaces/credentialSets.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +2 -7
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +6 -14
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +3 -3
- 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 +3 -3
- 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/registries.d.ts +50 -42
- package/dist/esm/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/registries.js +2 -7
- package/dist/esm/operationsInterfaces/registries.js.map +1 -1
- package/dist/esm/operationsInterfaces/replications.d.ts +13 -13
- package/dist/esm/operationsInterfaces/replications.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/replications.js +2 -7
- package/dist/esm/operationsInterfaces/replications.js.map +1 -1
- package/dist/esm/operationsInterfaces/runs.d.ts +22 -4
- package/dist/esm/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/runs.js +2 -7
- package/dist/esm/operationsInterfaces/runs.js.map +1 -1
- package/dist/esm/operationsInterfaces/scopeMaps.d.ts +13 -13
- package/dist/esm/operationsInterfaces/scopeMaps.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/scopeMaps.js +2 -7
- package/dist/esm/operationsInterfaces/scopeMaps.js.map +1 -1
- package/dist/esm/operationsInterfaces/taskRuns.d.ts +12 -4
- package/dist/esm/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/taskRuns.js +2 -7
- package/dist/esm/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.d.ts +32 -5
- package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.js +2 -7
- package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/tokens.d.ts +13 -13
- package/dist/esm/operationsInterfaces/tokens.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/tokens.js +2 -7
- package/dist/esm/operationsInterfaces/tokens.js.map +1 -1
- package/dist/esm/operationsInterfaces/webhooks.d.ts +17 -17
- package/dist/esm/operationsInterfaces/webhooks.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/webhooks.js +2 -7
- package/dist/esm/operationsInterfaces/webhooks.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js +2 -7
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/containerRegistryManagementClient.d.ts +5 -13
- package/dist/react-native/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/react-native/containerRegistryManagementClient.js +12 -55
- package/dist/react-native/containerRegistryManagementClient.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 +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +2 -7
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1458 -1961
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +160 -221
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +68 -109
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +2458 -3279
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +13 -23
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +65 -169
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/agentPools.d.ts +7 -7
- package/dist/react-native/operations/agentPools.d.ts.map +1 -1
- package/dist/react-native/operations/agentPools.js +23 -39
- package/dist/react-native/operations/agentPools.js.map +1 -1
- package/dist/react-native/operations/cacheRules.d.ts +15 -15
- package/dist/react-native/operations/cacheRules.d.ts.map +1 -1
- package/dist/react-native/operations/cacheRules.js +46 -51
- package/dist/react-native/operations/cacheRules.js.map +1 -1
- package/dist/react-native/operations/connectedRegistries.d.ts +15 -15
- package/dist/react-native/operations/connectedRegistries.d.ts.map +1 -1
- package/dist/react-native/operations/connectedRegistries.js +53 -58
- package/dist/react-native/operations/connectedRegistries.js.map +1 -1
- package/dist/react-native/operations/credentialSets.d.ts +15 -15
- package/dist/react-native/operations/credentialSets.d.ts.map +1 -1
- package/dist/react-native/operations/credentialSets.js +46 -51
- package/dist/react-native/operations/credentialSets.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +2 -7
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +6 -14
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts +6 -6
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js +12 -11
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts +5 -5
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +28 -12
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/registries.d.ts +56 -48
- package/dist/react-native/operations/registries.d.ts.map +1 -1
- package/dist/react-native/operations/registries.js +290 -190
- package/dist/react-native/operations/registries.js.map +1 -1
- package/dist/react-native/operations/replications.d.ts +15 -15
- package/dist/react-native/operations/replications.d.ts.map +1 -1
- package/dist/react-native/operations/replications.js +68 -49
- package/dist/react-native/operations/replications.js.map +1 -1
- package/dist/react-native/operations/runs.d.ts +24 -6
- package/dist/react-native/operations/runs.d.ts.map +1 -1
- package/dist/react-native/operations/runs.js +137 -25
- package/dist/react-native/operations/runs.js.map +1 -1
- package/dist/react-native/operations/scopeMaps.d.ts +15 -15
- package/dist/react-native/operations/scopeMaps.d.ts.map +1 -1
- package/dist/react-native/operations/scopeMaps.js +53 -58
- package/dist/react-native/operations/scopeMaps.js.map +1 -1
- package/dist/react-native/operations/taskRuns.d.ts +14 -6
- package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
- package/dist/react-native/operations/taskRuns.js +71 -28
- package/dist/react-native/operations/taskRuns.js.map +1 -1
- package/dist/react-native/operations/tasks.d.ts +34 -7
- package/dist/react-native/operations/tasks.d.ts.map +1 -1
- package/dist/react-native/operations/tasks.js +201 -41
- package/dist/react-native/operations/tasks.js.map +1 -1
- package/dist/react-native/operations/tokens.d.ts +15 -15
- package/dist/react-native/operations/tokens.d.ts.map +1 -1
- package/dist/react-native/operations/tokens.js +53 -58
- package/dist/react-native/operations/tokens.js.map +1 -1
- package/dist/react-native/operations/webhooks.d.ts +19 -19
- package/dist/react-native/operations/webhooks.d.ts.map +1 -1
- package/dist/react-native/operations/webhooks.js +95 -64
- package/dist/react-native/operations/webhooks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.d.ts +5 -5
- 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/cacheRules.d.ts +13 -13
- package/dist/react-native/operationsInterfaces/cacheRules.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/cacheRules.js +2 -7
- package/dist/react-native/operationsInterfaces/cacheRules.js.map +1 -1
- package/dist/react-native/operationsInterfaces/connectedRegistries.d.ts +13 -13
- package/dist/react-native/operationsInterfaces/connectedRegistries.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/connectedRegistries.js +2 -7
- package/dist/react-native/operationsInterfaces/connectedRegistries.js.map +1 -1
- package/dist/react-native/operationsInterfaces/credentialSets.d.ts +13 -13
- package/dist/react-native/operationsInterfaces/credentialSets.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/credentialSets.js +2 -7
- package/dist/react-native/operationsInterfaces/credentialSets.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +2 -7
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +6 -14
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +3 -3
- 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 +3 -3
- 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/registries.d.ts +50 -42
- package/dist/react-native/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/registries.js +2 -7
- package/dist/react-native/operationsInterfaces/registries.js.map +1 -1
- package/dist/react-native/operationsInterfaces/replications.d.ts +13 -13
- package/dist/react-native/operationsInterfaces/replications.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/replications.js +2 -7
- package/dist/react-native/operationsInterfaces/replications.js.map +1 -1
- package/dist/react-native/operationsInterfaces/runs.d.ts +22 -4
- package/dist/react-native/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/runs.js +2 -7
- package/dist/react-native/operationsInterfaces/runs.js.map +1 -1
- package/dist/react-native/operationsInterfaces/scopeMaps.d.ts +13 -13
- package/dist/react-native/operationsInterfaces/scopeMaps.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/scopeMaps.js +2 -7
- package/dist/react-native/operationsInterfaces/scopeMaps.js.map +1 -1
- package/dist/react-native/operationsInterfaces/taskRuns.d.ts +12 -4
- package/dist/react-native/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/taskRuns.js +2 -7
- package/dist/react-native/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.d.ts +32 -5
- package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.js +2 -7
- package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tokens.d.ts +13 -13
- package/dist/react-native/operationsInterfaces/tokens.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/tokens.js +2 -7
- package/dist/react-native/operationsInterfaces/tokens.js.map +1 -1
- package/dist/react-native/operationsInterfaces/webhooks.d.ts +17 -17
- package/dist/react-native/operationsInterfaces/webhooks.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/webhooks.js +2 -7
- package/dist/react-native/operationsInterfaces/webhooks.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -7
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +44 -45
- package/CHANGELOG.md +0 -1066
- package/dist/browser/operations/archiveVersions.d.ts +0 -95
- package/dist/browser/operations/archiveVersions.d.ts.map +0 -1
- package/dist/browser/operations/archiveVersions.js +0 -401
- package/dist/browser/operations/archiveVersions.js.map +0 -1
- package/dist/browser/operations/archives.d.ts +0 -99
- package/dist/browser/operations/archives.d.ts.map +0 -1
- package/dist/browser/operations/archives.js +0 -421
- package/dist/browser/operations/archives.js.map +0 -1
- package/dist/browser/operations/exportPipelines.d.ts +0 -81
- package/dist/browser/operations/exportPipelines.d.ts.map +0 -1
- package/dist/browser/operations/exportPipelines.js +0 -349
- package/dist/browser/operations/exportPipelines.js.map +0 -1
- package/dist/browser/operations/importPipelines.d.ts +0 -81
- package/dist/browser/operations/importPipelines.d.ts.map +0 -1
- package/dist/browser/operations/importPipelines.js +0 -349
- package/dist/browser/operations/importPipelines.js.map +0 -1
- package/dist/browser/operations/pipelineRuns.d.ts +0 -81
- package/dist/browser/operations/pipelineRuns.d.ts.map +0 -1
- package/dist/browser/operations/pipelineRuns.js +0 -349
- package/dist/browser/operations/pipelineRuns.js.map +0 -1
- package/dist/browser/operationsInterfaces/archiveVersions.d.ts +0 -66
- package/dist/browser/operationsInterfaces/archiveVersions.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/archiveVersions.js +0 -9
- package/dist/browser/operationsInterfaces/archiveVersions.js.map +0 -1
- package/dist/browser/operationsInterfaces/archives.d.ts +0 -72
- package/dist/browser/operationsInterfaces/archives.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/archives.js +0 -9
- package/dist/browser/operationsInterfaces/archives.js.map +0 -1
- package/dist/browser/operationsInterfaces/exportPipelines.d.ts +0 -56
- package/dist/browser/operationsInterfaces/exportPipelines.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/exportPipelines.js +0 -9
- package/dist/browser/operationsInterfaces/exportPipelines.js.map +0 -1
- package/dist/browser/operationsInterfaces/importPipelines.d.ts +0 -56
- package/dist/browser/operationsInterfaces/importPipelines.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/importPipelines.js +0 -9
- package/dist/browser/operationsInterfaces/importPipelines.js.map +0 -1
- package/dist/browser/operationsInterfaces/pipelineRuns.d.ts +0 -56
- package/dist/browser/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/pipelineRuns.js +0 -9
- package/dist/browser/operationsInterfaces/pipelineRuns.js.map +0 -1
- package/dist/commonjs/operations/archiveVersions.d.ts +0 -95
- package/dist/commonjs/operations/archiveVersions.d.ts.map +0 -1
- package/dist/commonjs/operations/archiveVersions.js +0 -406
- package/dist/commonjs/operations/archiveVersions.js.map +0 -1
- package/dist/commonjs/operations/archives.d.ts +0 -99
- package/dist/commonjs/operations/archives.d.ts.map +0 -1
- package/dist/commonjs/operations/archives.js +0 -426
- package/dist/commonjs/operations/archives.js.map +0 -1
- package/dist/commonjs/operations/exportPipelines.d.ts +0 -81
- package/dist/commonjs/operations/exportPipelines.d.ts.map +0 -1
- package/dist/commonjs/operations/exportPipelines.js +0 -354
- package/dist/commonjs/operations/exportPipelines.js.map +0 -1
- package/dist/commonjs/operations/importPipelines.d.ts +0 -81
- package/dist/commonjs/operations/importPipelines.d.ts.map +0 -1
- package/dist/commonjs/operations/importPipelines.js +0 -354
- package/dist/commonjs/operations/importPipelines.js.map +0 -1
- package/dist/commonjs/operations/pipelineRuns.d.ts +0 -81
- package/dist/commonjs/operations/pipelineRuns.d.ts.map +0 -1
- package/dist/commonjs/operations/pipelineRuns.js +0 -354
- package/dist/commonjs/operations/pipelineRuns.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/archiveVersions.d.ts +0 -66
- package/dist/commonjs/operationsInterfaces/archiveVersions.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/archiveVersions.js +0 -10
- package/dist/commonjs/operationsInterfaces/archiveVersions.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/archives.d.ts +0 -72
- package/dist/commonjs/operationsInterfaces/archives.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/archives.js +0 -10
- package/dist/commonjs/operationsInterfaces/archives.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/exportPipelines.d.ts +0 -56
- package/dist/commonjs/operationsInterfaces/exportPipelines.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/exportPipelines.js +0 -10
- package/dist/commonjs/operationsInterfaces/exportPipelines.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/importPipelines.d.ts +0 -56
- package/dist/commonjs/operationsInterfaces/importPipelines.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/importPipelines.js +0 -10
- package/dist/commonjs/operationsInterfaces/importPipelines.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/pipelineRuns.d.ts +0 -56
- package/dist/commonjs/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/pipelineRuns.js +0 -10
- package/dist/commonjs/operationsInterfaces/pipelineRuns.js.map +0 -1
- package/dist/esm/operations/archiveVersions.d.ts +0 -95
- package/dist/esm/operations/archiveVersions.d.ts.map +0 -1
- package/dist/esm/operations/archiveVersions.js +0 -401
- package/dist/esm/operations/archiveVersions.js.map +0 -1
- package/dist/esm/operations/archives.d.ts +0 -99
- package/dist/esm/operations/archives.d.ts.map +0 -1
- package/dist/esm/operations/archives.js +0 -421
- package/dist/esm/operations/archives.js.map +0 -1
- package/dist/esm/operations/exportPipelines.d.ts +0 -81
- package/dist/esm/operations/exportPipelines.d.ts.map +0 -1
- package/dist/esm/operations/exportPipelines.js +0 -349
- package/dist/esm/operations/exportPipelines.js.map +0 -1
- package/dist/esm/operations/importPipelines.d.ts +0 -81
- package/dist/esm/operations/importPipelines.d.ts.map +0 -1
- package/dist/esm/operations/importPipelines.js +0 -349
- package/dist/esm/operations/importPipelines.js.map +0 -1
- package/dist/esm/operations/pipelineRuns.d.ts +0 -81
- package/dist/esm/operations/pipelineRuns.d.ts.map +0 -1
- package/dist/esm/operations/pipelineRuns.js +0 -349
- package/dist/esm/operations/pipelineRuns.js.map +0 -1
- package/dist/esm/operationsInterfaces/archiveVersions.d.ts +0 -66
- package/dist/esm/operationsInterfaces/archiveVersions.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/archiveVersions.js +0 -9
- package/dist/esm/operationsInterfaces/archiveVersions.js.map +0 -1
- package/dist/esm/operationsInterfaces/archives.d.ts +0 -72
- package/dist/esm/operationsInterfaces/archives.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/archives.js +0 -9
- package/dist/esm/operationsInterfaces/archives.js.map +0 -1
- package/dist/esm/operationsInterfaces/exportPipelines.d.ts +0 -56
- package/dist/esm/operationsInterfaces/exportPipelines.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/exportPipelines.js +0 -9
- package/dist/esm/operationsInterfaces/exportPipelines.js.map +0 -1
- package/dist/esm/operationsInterfaces/importPipelines.d.ts +0 -56
- package/dist/esm/operationsInterfaces/importPipelines.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/importPipelines.js +0 -9
- package/dist/esm/operationsInterfaces/importPipelines.js.map +0 -1
- package/dist/esm/operationsInterfaces/pipelineRuns.d.ts +0 -56
- package/dist/esm/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/pipelineRuns.js +0 -9
- package/dist/esm/operationsInterfaces/pipelineRuns.js.map +0 -1
- package/dist/react-native/operations/archiveVersions.d.ts +0 -95
- package/dist/react-native/operations/archiveVersions.d.ts.map +0 -1
- package/dist/react-native/operations/archiveVersions.js +0 -401
- package/dist/react-native/operations/archiveVersions.js.map +0 -1
- package/dist/react-native/operations/archives.d.ts +0 -99
- package/dist/react-native/operations/archives.d.ts.map +0 -1
- package/dist/react-native/operations/archives.js +0 -421
- package/dist/react-native/operations/archives.js.map +0 -1
- package/dist/react-native/operations/exportPipelines.d.ts +0 -81
- package/dist/react-native/operations/exportPipelines.d.ts.map +0 -1
- package/dist/react-native/operations/exportPipelines.js +0 -349
- package/dist/react-native/operations/exportPipelines.js.map +0 -1
- package/dist/react-native/operations/importPipelines.d.ts +0 -81
- package/dist/react-native/operations/importPipelines.d.ts.map +0 -1
- package/dist/react-native/operations/importPipelines.js +0 -349
- package/dist/react-native/operations/importPipelines.js.map +0 -1
- package/dist/react-native/operations/pipelineRuns.d.ts +0 -81
- package/dist/react-native/operations/pipelineRuns.d.ts.map +0 -1
- package/dist/react-native/operations/pipelineRuns.js +0 -349
- package/dist/react-native/operations/pipelineRuns.js.map +0 -1
- package/dist/react-native/operationsInterfaces/archiveVersions.d.ts +0 -66
- package/dist/react-native/operationsInterfaces/archiveVersions.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/archiveVersions.js +0 -9
- package/dist/react-native/operationsInterfaces/archiveVersions.js.map +0 -1
- package/dist/react-native/operationsInterfaces/archives.d.ts +0 -72
- package/dist/react-native/operationsInterfaces/archives.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/archives.js +0 -9
- package/dist/react-native/operationsInterfaces/archives.js.map +0 -1
- package/dist/react-native/operationsInterfaces/exportPipelines.d.ts +0 -56
- package/dist/react-native/operationsInterfaces/exportPipelines.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/exportPipelines.js +0 -9
- package/dist/react-native/operationsInterfaces/exportPipelines.js.map +0 -1
- package/dist/react-native/operationsInterfaces/importPipelines.d.ts +0 -56
- package/dist/react-native/operationsInterfaces/importPipelines.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/importPipelines.js +0 -9
- package/dist/react-native/operationsInterfaces/importPipelines.js.map +0 -1
- package/dist/react-native/operationsInterfaces/pipelineRuns.d.ts +0 -56
- package/dist/react-native/operationsInterfaces/pipelineRuns.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/pipelineRuns.js +0 -9
- package/dist/react-native/operationsInterfaces/pipelineRuns.js.map +0 -1
- package/review/arm-containerregistry-node.api.md +0 -3486
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.AgentPoolsImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -54,7 +49,7 @@ class AgentPoolsImpl {
|
|
|
54
49
|
let continuationToken = settings?.continuationToken;
|
|
55
50
|
if (!continuationToken) {
|
|
56
51
|
result = await this._list(resourceGroupName, registryName, options);
|
|
57
|
-
|
|
52
|
+
const page = result.value || [];
|
|
58
53
|
continuationToken = result.nextLink;
|
|
59
54
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
55
|
yield page;
|
|
@@ -62,7 +57,7 @@ class AgentPoolsImpl {
|
|
|
62
57
|
while (continuationToken) {
|
|
63
58
|
result = await this._listNext(resourceGroupName, registryName, continuationToken, options);
|
|
64
59
|
continuationToken = result.nextLink;
|
|
65
|
-
|
|
60
|
+
const page = result.value || [];
|
|
66
61
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
62
|
yield page;
|
|
68
63
|
}
|
|
@@ -132,7 +127,6 @@ class AgentPoolsImpl {
|
|
|
132
127
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
133
128
|
restoreFrom: options?.resumeFrom,
|
|
134
129
|
intervalInMs: options?.updateIntervalInMs,
|
|
135
|
-
resourceLocationConfig: "azure-async-operation",
|
|
136
130
|
});
|
|
137
131
|
await poller.poll();
|
|
138
132
|
return poller;
|
|
@@ -192,7 +186,6 @@ class AgentPoolsImpl {
|
|
|
192
186
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
193
187
|
restoreFrom: options?.resumeFrom,
|
|
194
188
|
intervalInMs: options?.updateIntervalInMs,
|
|
195
|
-
resourceLocationConfig: "location",
|
|
196
189
|
});
|
|
197
190
|
await poller.poll();
|
|
198
191
|
return poller;
|
|
@@ -258,7 +251,6 @@ class AgentPoolsImpl {
|
|
|
258
251
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
259
252
|
restoreFrom: options?.resumeFrom,
|
|
260
253
|
intervalInMs: options?.updateIntervalInMs,
|
|
261
|
-
resourceLocationConfig: "azure-async-operation",
|
|
262
254
|
});
|
|
263
255
|
await poller.poll();
|
|
264
256
|
return poller;
|
|
@@ -316,10 +308,10 @@ const getOperationSpec = {
|
|
|
316
308
|
bodyMapper: Mappers.AgentPool,
|
|
317
309
|
},
|
|
318
310
|
default: {
|
|
319
|
-
bodyMapper: Mappers.
|
|
311
|
+
bodyMapper: Mappers.ErrorResponseForContainerRegistry,
|
|
320
312
|
},
|
|
321
313
|
},
|
|
322
|
-
queryParameters: [Parameters.
|
|
314
|
+
queryParameters: [Parameters.apiVersion1],
|
|
323
315
|
urlParameters: [
|
|
324
316
|
Parameters.$host,
|
|
325
317
|
Parameters.subscriptionId,
|
|
@@ -347,11 +339,11 @@ const createOperationSpec = {
|
|
|
347
339
|
bodyMapper: Mappers.AgentPool,
|
|
348
340
|
},
|
|
349
341
|
default: {
|
|
350
|
-
bodyMapper: Mappers.
|
|
342
|
+
bodyMapper: Mappers.ErrorResponseForContainerRegistry,
|
|
351
343
|
},
|
|
352
344
|
},
|
|
353
345
|
requestBody: Parameters.agentPool,
|
|
354
|
-
queryParameters: [Parameters.
|
|
346
|
+
queryParameters: [Parameters.apiVersion1],
|
|
355
347
|
urlParameters: [
|
|
356
348
|
Parameters.$host,
|
|
357
349
|
Parameters.subscriptionId,
|
|
@@ -367,23 +359,15 @@ const deleteOperationSpec = {
|
|
|
367
359
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}",
|
|
368
360
|
httpMethod: "DELETE",
|
|
369
361
|
responses: {
|
|
370
|
-
200: {
|
|
371
|
-
|
|
372
|
-
},
|
|
373
|
-
|
|
374
|
-
headersMapper: Mappers.AgentPoolsDeleteHeaders,
|
|
375
|
-
},
|
|
376
|
-
202: {
|
|
377
|
-
headersMapper: Mappers.AgentPoolsDeleteHeaders,
|
|
378
|
-
},
|
|
379
|
-
204: {
|
|
380
|
-
headersMapper: Mappers.AgentPoolsDeleteHeaders,
|
|
381
|
-
},
|
|
362
|
+
200: {},
|
|
363
|
+
201: {},
|
|
364
|
+
202: {},
|
|
365
|
+
204: {},
|
|
382
366
|
default: {
|
|
383
|
-
bodyMapper: Mappers.
|
|
367
|
+
bodyMapper: Mappers.ErrorResponseForContainerRegistry,
|
|
384
368
|
},
|
|
385
369
|
},
|
|
386
|
-
queryParameters: [Parameters.
|
|
370
|
+
queryParameters: [Parameters.apiVersion1],
|
|
387
371
|
urlParameters: [
|
|
388
372
|
Parameters.$host,
|
|
389
373
|
Parameters.subscriptionId,
|
|
@@ -411,11 +395,11 @@ const updateOperationSpec = {
|
|
|
411
395
|
bodyMapper: Mappers.AgentPool,
|
|
412
396
|
},
|
|
413
397
|
default: {
|
|
414
|
-
bodyMapper: Mappers.
|
|
398
|
+
bodyMapper: Mappers.ErrorResponseForContainerRegistry,
|
|
415
399
|
},
|
|
416
400
|
},
|
|
417
401
|
requestBody: Parameters.updateParameters,
|
|
418
|
-
queryParameters: [Parameters.
|
|
402
|
+
queryParameters: [Parameters.apiVersion1],
|
|
419
403
|
urlParameters: [
|
|
420
404
|
Parameters.$host,
|
|
421
405
|
Parameters.subscriptionId,
|
|
@@ -435,10 +419,10 @@ const listOperationSpec = {
|
|
|
435
419
|
bodyMapper: Mappers.AgentPoolListResult,
|
|
436
420
|
},
|
|
437
421
|
default: {
|
|
438
|
-
bodyMapper: Mappers.
|
|
422
|
+
bodyMapper: Mappers.ErrorResponseForContainerRegistry,
|
|
439
423
|
},
|
|
440
424
|
},
|
|
441
|
-
queryParameters: [Parameters.
|
|
425
|
+
queryParameters: [Parameters.apiVersion1],
|
|
442
426
|
urlParameters: [
|
|
443
427
|
Parameters.$host,
|
|
444
428
|
Parameters.subscriptionId,
|
|
@@ -456,10 +440,10 @@ const getQueueStatusOperationSpec = {
|
|
|
456
440
|
bodyMapper: Mappers.AgentPoolQueueStatus,
|
|
457
441
|
},
|
|
458
442
|
default: {
|
|
459
|
-
bodyMapper: Mappers.
|
|
443
|
+
bodyMapper: Mappers.ErrorResponseForContainerRegistry,
|
|
460
444
|
},
|
|
461
445
|
},
|
|
462
|
-
queryParameters: [Parameters.
|
|
446
|
+
queryParameters: [Parameters.apiVersion1],
|
|
463
447
|
urlParameters: [
|
|
464
448
|
Parameters.$host,
|
|
465
449
|
Parameters.subscriptionId,
|
|
@@ -478,14 +462,14 @@ const listNextOperationSpec = {
|
|
|
478
462
|
bodyMapper: Mappers.AgentPoolListResult,
|
|
479
463
|
},
|
|
480
464
|
default: {
|
|
481
|
-
bodyMapper: Mappers.
|
|
465
|
+
bodyMapper: Mappers.ErrorResponseForContainerRegistry,
|
|
482
466
|
},
|
|
483
467
|
},
|
|
484
468
|
urlParameters: [
|
|
485
469
|
Parameters.$host,
|
|
470
|
+
Parameters.nextLink,
|
|
486
471
|
Parameters.subscriptionId,
|
|
487
472
|
Parameters.registryName,
|
|
488
|
-
Parameters.nextLink,
|
|
489
473
|
Parameters.resourceGroupName1,
|
|
490
474
|
],
|
|
491
475
|
headerParameters: [Parameters.accept],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentPools.js","sourceRoot":"","sources":["../../../src/operations/agentPools.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAoB9C,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;I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CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,+KAA+K;IACrL,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { AgentPools } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n AgentPool,\n AgentPoolsListNextOptionalParams,\n AgentPoolsListOptionalParams,\n AgentPoolsListResponse,\n AgentPoolsGetOptionalParams,\n AgentPoolsGetResponse,\n AgentPoolsCreateOptionalParams,\n AgentPoolsCreateResponse,\n AgentPoolsDeleteOptionalParams,\n AgentPoolsDeleteResponse,\n AgentPoolUpdateParameters,\n AgentPoolsUpdateOptionalParams,\n AgentPoolsUpdateResponse,\n AgentPoolsGetQueueStatusOptionalParams,\n AgentPoolsGetQueueStatusResponse,\n AgentPoolsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AgentPools operations. */\nexport class AgentPoolsImpl implements AgentPools {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class AgentPools class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the agent pools for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: AgentPoolsListOptionalParams,\n ): PagedAsyncIterableIterator<AgentPool> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: AgentPoolsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AgentPool[]> {\n let result: AgentPoolsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n registryName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: AgentPoolsListOptionalParams,\n ): AsyncIterableIterator<AgentPool> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the detailed information for a given agent pool.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsGetOptionalParams,\n ): Promise<AgentPoolsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, agentPoolName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates an agent pool for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param agentPool The parameters of an agent pool that needs to scheduled.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n agentPool: AgentPool,\n options?: AgentPoolsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsCreateResponse>,\n AgentPoolsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n agentPoolName,\n agentPool,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsCreateResponse,\n OperationState<AgentPoolsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates an agent pool for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param agentPool The parameters of an agent pool that needs to scheduled.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n agentPool: AgentPool,\n options?: AgentPoolsCreateOptionalParams,\n ): Promise<AgentPoolsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n agentPoolName,\n agentPool,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a specified agent pool resource.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsDeleteResponse>,\n AgentPoolsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, registryName, agentPoolName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsDeleteResponse,\n OperationState<AgentPoolsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a specified agent pool resource.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<AgentPoolsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n agentPoolName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an agent pool with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param updateParameters The parameters for updating an agent pool.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n updateParameters: AgentPoolUpdateParameters,\n options?: AgentPoolsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsUpdateResponse>,\n AgentPoolsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n agentPoolName,\n updateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsUpdateResponse,\n OperationState<AgentPoolsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates an agent pool with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param updateParameters The parameters for updating an agent pool.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n updateParameters: AgentPoolUpdateParameters,\n options?: AgentPoolsUpdateOptionalParams,\n ): Promise<AgentPoolsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n registryName,\n agentPoolName,\n updateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Lists all the agent pools for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: AgentPoolsListOptionalParams,\n ): Promise<AgentPoolsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the count of queued runs for a given agent pool.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n getQueueStatus(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsGetQueueStatusOptionalParams,\n ): Promise<AgentPoolsGetQueueStatusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, agentPoolName, options },\n getQueueStatusOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: AgentPoolsListNextOptionalParams,\n ): Promise<AgentPoolsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n 201: {\n bodyMapper: Mappers.AgentPool,\n },\n 202: {\n bodyMapper: Mappers.AgentPool,\n },\n 204: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.agentPool,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.agentPoolName,\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.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.AgentPoolsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n 201: {\n bodyMapper: Mappers.AgentPool,\n },\n 202: {\n bodyMapper: Mappers.AgentPool,\n },\n 204: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.updateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getQueueStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}/listQueueStatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolQueueStatus,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.nextLink,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"agentPools.js","sourceRoot":"","sources":["../../../src/operations/agentPools.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAmB9C,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ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EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,kBAAkB;KAC9B;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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { AgentPools } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n AgentPool,\n AgentPoolsListNextOptionalParams,\n AgentPoolsListOptionalParams,\n AgentPoolsListResponse,\n AgentPoolsGetOptionalParams,\n AgentPoolsGetResponse,\n AgentPoolsCreateOptionalParams,\n AgentPoolsCreateResponse,\n AgentPoolsDeleteOptionalParams,\n AgentPoolUpdateParameters,\n AgentPoolsUpdateOptionalParams,\n AgentPoolsUpdateResponse,\n AgentPoolsGetQueueStatusOptionalParams,\n AgentPoolsGetQueueStatusResponse,\n AgentPoolsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AgentPools operations. */\nexport class AgentPoolsImpl implements AgentPools {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class AgentPools class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the agent pools for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: AgentPoolsListOptionalParams,\n ): PagedAsyncIterableIterator<AgentPool> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, registryName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: AgentPoolsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AgentPool[]> {\n let result: AgentPoolsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, registryName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: AgentPoolsListOptionalParams,\n ): AsyncIterableIterator<AgentPool> {\n for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the detailed information for a given agent pool.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsGetOptionalParams,\n ): Promise<AgentPoolsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, agentPoolName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates an agent pool for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param agentPool The parameters of an agent pool that needs to scheduled.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n agentPool: AgentPool,\n options?: AgentPoolsCreateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<AgentPoolsCreateResponse>, AgentPoolsCreateResponse>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsCreateResponse> => {\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 registryName,\n agentPoolName,\n agentPool,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsCreateResponse,\n OperationState<AgentPoolsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates an agent pool for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param agentPool The parameters of an agent pool that needs to scheduled.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n agentPool: AgentPool,\n options?: AgentPoolsCreateOptionalParams,\n ): Promise<AgentPoolsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n agentPoolName,\n agentPool,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a specified agent pool resource.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, registryName, agentPoolName, options },\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 specified agent pool resource.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, registryName, agentPoolName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an agent pool with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param updateParameters The parameters for updating an agent pool.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n updateParameters: AgentPoolUpdateParameters,\n options?: AgentPoolsUpdateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<AgentPoolsUpdateResponse>, AgentPoolsUpdateResponse>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AgentPoolsUpdateResponse> => {\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 registryName,\n agentPoolName,\n updateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n AgentPoolsUpdateResponse,\n OperationState<AgentPoolsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates an agent pool with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param updateParameters The parameters for updating an agent pool.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n updateParameters: AgentPoolUpdateParameters,\n options?: AgentPoolsUpdateOptionalParams,\n ): Promise<AgentPoolsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n registryName,\n agentPoolName,\n updateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Lists all the agent pools for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: AgentPoolsListOptionalParams,\n ): Promise<AgentPoolsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the count of queued runs for a given agent pool.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n getQueueStatus(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsGetQueueStatusOptionalParams,\n ): Promise<AgentPoolsGetQueueStatusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, agentPoolName, options },\n getQueueStatusOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: AgentPoolsListNextOptionalParams,\n ): Promise<AgentPoolsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n 201: {\n bodyMapper: Mappers.AgentPool,\n },\n 202: {\n bodyMapper: Mappers.AgentPool,\n },\n 204: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n requestBody: Parameters.agentPool,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.agentPoolName,\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.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPool,\n },\n 201: {\n bodyMapper: Mappers.AgentPool,\n },\n 202: {\n bodyMapper: Mappers.AgentPool,\n },\n 204: {\n bodyMapper: Mappers.AgentPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n requestBody: Parameters.updateParameters,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getQueueStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}/listQueueStatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolQueueStatus,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.agentPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AgentPoolListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { CacheRules } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { ContainerRegistryManagementClient } from "../containerRegistryManagementClient.js";
|
|
4
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { CacheRule, CacheRulesListOptionalParams, CacheRulesGetOptionalParams, CacheRulesGetResponse, CacheRulesCreateOptionalParams, CacheRulesCreateResponse,
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { CacheRules } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { ContainerRegistryManagementClient } from "../containerRegistryManagementClient.js";
|
|
4
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import type { CacheRule, CacheRulesListOptionalParams, CacheRulesGetOptionalParams, CacheRulesGetResponse, CacheRulesCreateOptionalParams, CacheRulesCreateResponse, CacheRuleUpdateParameters, CacheRulesUpdateOptionalParams, CacheRulesUpdateResponse, CacheRulesDeleteOptionalParams, CacheRulesDeleteResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing CacheRules operations. */
|
|
7
7
|
export declare class CacheRulesImpl implements CacheRules {
|
|
8
8
|
private readonly client;
|
|
@@ -54,39 +54,39 @@ export declare class CacheRulesImpl implements CacheRules {
|
|
|
54
54
|
*/
|
|
55
55
|
beginCreateAndWait(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams): Promise<CacheRulesCreateResponse>;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Updates a cache rule for a container registry with the specified parameters.
|
|
58
58
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
59
59
|
* @param registryName The name of the container registry.
|
|
60
60
|
* @param cacheRuleName The name of the cache rule.
|
|
61
|
+
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
|
61
62
|
* @param options The options parameters.
|
|
62
63
|
*/
|
|
63
|
-
|
|
64
|
+
beginUpdate(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CacheRulesUpdateResponse>, CacheRulesUpdateResponse>>;
|
|
64
65
|
/**
|
|
65
|
-
*
|
|
66
|
+
* Updates a cache rule for a container registry with the specified parameters.
|
|
66
67
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
68
|
* @param registryName The name of the container registry.
|
|
68
69
|
* @param cacheRuleName The name of the cache rule.
|
|
70
|
+
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
|
69
71
|
* @param options The options parameters.
|
|
70
72
|
*/
|
|
71
|
-
|
|
73
|
+
beginUpdateAndWait(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams): Promise<CacheRulesUpdateResponse>;
|
|
72
74
|
/**
|
|
73
|
-
*
|
|
75
|
+
* Deletes a cache rule resource from a container registry.
|
|
74
76
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
77
|
* @param registryName The name of the container registry.
|
|
76
78
|
* @param cacheRuleName The name of the cache rule.
|
|
77
|
-
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
|
78
79
|
* @param options The options parameters.
|
|
79
80
|
*/
|
|
80
|
-
|
|
81
|
+
beginDelete(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<CacheRulesDeleteResponse>, CacheRulesDeleteResponse>>;
|
|
81
82
|
/**
|
|
82
|
-
*
|
|
83
|
+
* Deletes a cache rule resource from a container registry.
|
|
83
84
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
84
85
|
* @param registryName The name of the container registry.
|
|
85
86
|
* @param cacheRuleName The name of the cache rule.
|
|
86
|
-
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
|
87
87
|
* @param options The options parameters.
|
|
88
88
|
*/
|
|
89
|
-
|
|
89
|
+
beginDeleteAndWait(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams): Promise<CacheRulesDeleteResponse>;
|
|
90
90
|
/**
|
|
91
91
|
* ListNext
|
|
92
92
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cacheRules.d.ts","sourceRoot":"","sources":["../../../src/operations/cacheRules.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cacheRules.d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under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.CacheRulesImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -54,7 +49,7 @@ class CacheRulesImpl {
|
|
|
54
49
|
let continuationToken = settings?.continuationToken;
|
|
55
50
|
if (!continuationToken) {
|
|
56
51
|
result = await this._list(resourceGroupName, registryName, options);
|
|
57
|
-
|
|
52
|
+
const page = result.value || [];
|
|
58
53
|
continuationToken = result.nextLink;
|
|
59
54
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
55
|
yield page;
|
|
@@ -62,7 +57,7 @@ class CacheRulesImpl {
|
|
|
62
57
|
while (continuationToken) {
|
|
63
58
|
result = await this._listNext(resourceGroupName, registryName, continuationToken, options);
|
|
64
59
|
continuationToken = result.nextLink;
|
|
65
|
-
|
|
60
|
+
const page = result.value || [];
|
|
66
61
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
62
|
yield page;
|
|
68
63
|
}
|
|
@@ -159,13 +154,14 @@ class CacheRulesImpl {
|
|
|
159
154
|
return poller.pollUntilDone();
|
|
160
155
|
}
|
|
161
156
|
/**
|
|
162
|
-
*
|
|
157
|
+
* Updates a cache rule for a container registry with the specified parameters.
|
|
163
158
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
164
159
|
* @param registryName The name of the container registry.
|
|
165
160
|
* @param cacheRuleName The name of the cache rule.
|
|
161
|
+
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
|
166
162
|
* @param options The options parameters.
|
|
167
163
|
*/
|
|
168
|
-
async
|
|
164
|
+
async beginUpdate(resourceGroupName, registryName, cacheRuleName, cacheRuleUpdateParameters, options) {
|
|
169
165
|
const directSendOperation = async (args, spec) => {
|
|
170
166
|
return this.client.sendOperationRequest(args, spec);
|
|
171
167
|
};
|
|
@@ -195,37 +191,43 @@ class CacheRulesImpl {
|
|
|
195
191
|
};
|
|
196
192
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
197
193
|
sendOperationFn,
|
|
198
|
-
args: {
|
|
199
|
-
|
|
194
|
+
args: {
|
|
195
|
+
resourceGroupName,
|
|
196
|
+
registryName,
|
|
197
|
+
cacheRuleName,
|
|
198
|
+
cacheRuleUpdateParameters,
|
|
199
|
+
options,
|
|
200
|
+
},
|
|
201
|
+
spec: updateOperationSpec,
|
|
200
202
|
});
|
|
201
203
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
202
204
|
restoreFrom: options?.resumeFrom,
|
|
203
205
|
intervalInMs: options?.updateIntervalInMs,
|
|
204
|
-
resourceLocationConfig: "
|
|
206
|
+
resourceLocationConfig: "azure-async-operation",
|
|
205
207
|
});
|
|
206
208
|
await poller.poll();
|
|
207
209
|
return poller;
|
|
208
210
|
}
|
|
209
211
|
/**
|
|
210
|
-
*
|
|
212
|
+
* Updates a cache rule for a container registry with the specified parameters.
|
|
211
213
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
212
214
|
* @param registryName The name of the container registry.
|
|
213
215
|
* @param cacheRuleName The name of the cache rule.
|
|
216
|
+
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
|
214
217
|
* @param options The options parameters.
|
|
215
218
|
*/
|
|
216
|
-
async
|
|
217
|
-
const poller = await this.
|
|
219
|
+
async beginUpdateAndWait(resourceGroupName, registryName, cacheRuleName, cacheRuleUpdateParameters, options) {
|
|
220
|
+
const poller = await this.beginUpdate(resourceGroupName, registryName, cacheRuleName, cacheRuleUpdateParameters, options);
|
|
218
221
|
return poller.pollUntilDone();
|
|
219
222
|
}
|
|
220
223
|
/**
|
|
221
|
-
*
|
|
224
|
+
* Deletes a cache rule resource from a container registry.
|
|
222
225
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
223
226
|
* @param registryName The name of the container registry.
|
|
224
227
|
* @param cacheRuleName The name of the cache rule.
|
|
225
|
-
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
|
226
228
|
* @param options The options parameters.
|
|
227
229
|
*/
|
|
228
|
-
async
|
|
230
|
+
async beginDelete(resourceGroupName, registryName, cacheRuleName, options) {
|
|
229
231
|
const directSendOperation = async (args, spec) => {
|
|
230
232
|
return this.client.sendOperationRequest(args, spec);
|
|
231
233
|
};
|
|
@@ -255,33 +257,26 @@ class CacheRulesImpl {
|
|
|
255
257
|
};
|
|
256
258
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
257
259
|
sendOperationFn,
|
|
258
|
-
args: {
|
|
259
|
-
|
|
260
|
-
registryName,
|
|
261
|
-
cacheRuleName,
|
|
262
|
-
cacheRuleUpdateParameters,
|
|
263
|
-
options,
|
|
264
|
-
},
|
|
265
|
-
spec: updateOperationSpec,
|
|
260
|
+
args: { resourceGroupName, registryName, cacheRuleName, options },
|
|
261
|
+
spec: deleteOperationSpec,
|
|
266
262
|
});
|
|
267
263
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
268
264
|
restoreFrom: options?.resumeFrom,
|
|
269
265
|
intervalInMs: options?.updateIntervalInMs,
|
|
270
|
-
resourceLocationConfig: "
|
|
266
|
+
resourceLocationConfig: "location",
|
|
271
267
|
});
|
|
272
268
|
await poller.poll();
|
|
273
269
|
return poller;
|
|
274
270
|
}
|
|
275
271
|
/**
|
|
276
|
-
*
|
|
272
|
+
* Deletes a cache rule resource from a container registry.
|
|
277
273
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
278
274
|
* @param registryName The name of the container registry.
|
|
279
275
|
* @param cacheRuleName The name of the cache rule.
|
|
280
|
-
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
|
281
276
|
* @param options The options parameters.
|
|
282
277
|
*/
|
|
283
|
-
async
|
|
284
|
-
const poller = await this.
|
|
278
|
+
async beginDeleteAndWait(resourceGroupName, registryName, cacheRuleName, options) {
|
|
279
|
+
const poller = await this.beginDelete(resourceGroupName, registryName, cacheRuleName, options);
|
|
285
280
|
return poller.pollUntilDone();
|
|
286
281
|
}
|
|
287
282
|
/**
|
|
@@ -374,26 +369,27 @@ const createOperationSpec = {
|
|
|
374
369
|
mediaType: "json",
|
|
375
370
|
serializer,
|
|
376
371
|
};
|
|
377
|
-
const
|
|
372
|
+
const updateOperationSpec = {
|
|
378
373
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}",
|
|
379
|
-
httpMethod: "
|
|
374
|
+
httpMethod: "PATCH",
|
|
380
375
|
responses: {
|
|
381
376
|
200: {
|
|
382
|
-
|
|
377
|
+
bodyMapper: Mappers.CacheRule,
|
|
383
378
|
},
|
|
384
379
|
201: {
|
|
385
|
-
|
|
380
|
+
bodyMapper: Mappers.CacheRule,
|
|
386
381
|
},
|
|
387
382
|
202: {
|
|
388
|
-
|
|
383
|
+
bodyMapper: Mappers.CacheRule,
|
|
389
384
|
},
|
|
390
385
|
204: {
|
|
391
|
-
|
|
386
|
+
bodyMapper: Mappers.CacheRule,
|
|
392
387
|
},
|
|
393
388
|
default: {
|
|
394
389
|
bodyMapper: Mappers.ErrorResponse,
|
|
395
390
|
},
|
|
396
391
|
},
|
|
392
|
+
requestBody: Parameters.cacheRuleUpdateParameters,
|
|
397
393
|
queryParameters: [Parameters.apiVersion],
|
|
398
394
|
urlParameters: [
|
|
399
395
|
Parameters.$host,
|
|
@@ -402,30 +398,30 @@ const deleteOperationSpec = {
|
|
|
402
398
|
Parameters.registryName,
|
|
403
399
|
Parameters.cacheRuleName,
|
|
404
400
|
],
|
|
405
|
-
headerParameters: [Parameters.accept],
|
|
401
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
402
|
+
mediaType: "json",
|
|
406
403
|
serializer,
|
|
407
404
|
};
|
|
408
|
-
const
|
|
405
|
+
const deleteOperationSpec = {
|
|
409
406
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}",
|
|
410
|
-
httpMethod: "
|
|
407
|
+
httpMethod: "DELETE",
|
|
411
408
|
responses: {
|
|
412
409
|
200: {
|
|
413
|
-
|
|
410
|
+
headersMapper: Mappers.CacheRulesDeleteHeaders,
|
|
414
411
|
},
|
|
415
412
|
201: {
|
|
416
|
-
|
|
413
|
+
headersMapper: Mappers.CacheRulesDeleteHeaders,
|
|
417
414
|
},
|
|
418
415
|
202: {
|
|
419
|
-
|
|
416
|
+
headersMapper: Mappers.CacheRulesDeleteHeaders,
|
|
420
417
|
},
|
|
421
418
|
204: {
|
|
422
|
-
|
|
419
|
+
headersMapper: Mappers.CacheRulesDeleteHeaders,
|
|
423
420
|
},
|
|
424
421
|
default: {
|
|
425
422
|
bodyMapper: Mappers.ErrorResponse,
|
|
426
423
|
},
|
|
427
424
|
},
|
|
428
|
-
requestBody: Parameters.cacheRuleUpdateParameters,
|
|
429
425
|
queryParameters: [Parameters.apiVersion],
|
|
430
426
|
urlParameters: [
|
|
431
427
|
Parameters.$host,
|
|
@@ -434,8 +430,7 @@ const updateOperationSpec = {
|
|
|
434
430
|
Parameters.registryName,
|
|
435
431
|
Parameters.cacheRuleName,
|
|
436
432
|
],
|
|
437
|
-
headerParameters: [Parameters.accept
|
|
438
|
-
mediaType: "json",
|
|
433
|
+
headerParameters: [Parameters.accept],
|
|
439
434
|
serializer,
|
|
440
435
|
};
|
|
441
436
|
const listNextOperationSpec = {
|
|
@@ -451,10 +446,10 @@ const listNextOperationSpec = {
|
|
|
451
446
|
},
|
|
452
447
|
urlParameters: [
|
|
453
448
|
Parameters.$host,
|
|
449
|
+
Parameters.nextLink,
|
|
454
450
|
Parameters.subscriptionId,
|
|
455
451
|
Parameters.resourceGroupName,
|
|
456
452
|
Parameters.registryName,
|
|
457
|
-
Parameters.nextLink,
|
|
458
453
|
],
|
|
459
454
|
headerParameters: [Parameters.accept],
|
|
460
455
|
serializer,
|