@azure/arm-containerregistry 11.0.0-beta.5 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/browser/containerRegistryManagementClient.d.ts +5 -13
- package/dist/browser/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/browser/containerRegistryManagementClient.js +34 -50
- 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 +9 -10
- 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 +2689 -3259
- 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 +77 -95
- 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 +100 -107
- 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 +118 -120
- 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 +100 -107
- 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 +33 -49
- 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 +71 -62
- 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 +403 -329
- 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 +122 -105
- 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 +158 -63
- 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 +107 -114
- 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 +114 -78
- 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 +222 -79
- 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 +107 -114
- 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 +169 -157
- 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 +4 -11
- 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 +33 -49
- 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 +9 -10
- 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 +2692 -3263
- 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 +76 -93
- 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 +99 -105
- 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 +117 -118
- 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 +99 -105
- 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 +33 -48
- 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 +70 -60
- 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 +402 -327
- 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 +121 -103
- 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 +158 -62
- 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 +106 -112
- 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 +113 -76
- 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 +222 -78
- 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 +106 -112
- 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 +168 -155
- 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 +4 -11
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/containerRegistryManagementClient.d.ts +5 -13
- package/dist/esm/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/esm/containerRegistryManagementClient.js +34 -50
- 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 +9 -10
- 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 +2689 -3259
- 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 +77 -95
- 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 +100 -107
- 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 +118 -120
- 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 +100 -107
- 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 +33 -49
- 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 +71 -62
- 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 +403 -329
- 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 +122 -105
- 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 +158 -63
- 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 +107 -114
- 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 +114 -78
- 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 +222 -79
- 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 +107 -114
- 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 +169 -157
- 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 +4 -11
- 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 +34 -50
- 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 +9 -10
- 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 +2689 -3259
- 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 +77 -95
- 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 +100 -107
- 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 +118 -120
- 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 +100 -107
- 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 +33 -49
- 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 +71 -62
- 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 +403 -329
- 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 +122 -105
- 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 +158 -63
- 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 +107 -114
- 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 +114 -78
- 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 +222 -79
- 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 +107 -114
- 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 +169 -157
- 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 +4 -11
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +56 -65
- 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 -408
- 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 -428
- 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 -356
- 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 -356
- 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 -356
- 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 -412
- 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 -432
- 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 -360
- 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 -360
- 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 -360
- 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 -408
- 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 -428
- 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 -356
- 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 -356
- 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 -356
- 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 -408
- 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 -428
- 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 -356
- 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 -356
- 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 -356
- 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.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.ReplicationsImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -18,6 +13,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
18
13
|
/// <reference lib="esnext.asynciterable" />
|
|
19
14
|
/** Class containing Replications operations. */
|
|
20
15
|
class ReplicationsImpl {
|
|
16
|
+
client;
|
|
21
17
|
/**
|
|
22
18
|
* Initialize a new instance of the class Replications class.
|
|
23
19
|
* @param client Reference to the service client
|
|
@@ -41,52 +37,35 @@ class ReplicationsImpl {
|
|
|
41
37
|
return this;
|
|
42
38
|
},
|
|
43
39
|
byPage: (settings) => {
|
|
44
|
-
if (settings
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
45
41
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
42
|
}
|
|
47
43
|
return this.listPagingPage(resourceGroupName, registryName, options, settings);
|
|
48
44
|
},
|
|
49
45
|
};
|
|
50
46
|
}
|
|
51
|
-
listPagingPage(resourceGroupName, registryName, options, settings) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
});
|
|
47
|
+
async *listPagingPage(resourceGroupName, registryName, options, settings) {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings?.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = await this._list(resourceGroupName, registryName, options);
|
|
52
|
+
const page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
55
|
+
yield page;
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = await this._listNext(resourceGroupName, registryName, continuationToken, options);
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
const page = result.value || [];
|
|
61
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
62
|
+
yield page;
|
|
63
|
+
}
|
|
70
64
|
}
|
|
71
|
-
listPagingAll(resourceGroupName, registryName, options) {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, registryName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
76
|
-
_c = _f.value;
|
|
77
|
-
_d = false;
|
|
78
|
-
const page = _c;
|
|
79
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
83
|
-
finally {
|
|
84
|
-
try {
|
|
85
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
86
|
-
}
|
|
87
|
-
finally { if (e_1) throw e_1.error; }
|
|
88
|
-
}
|
|
89
|
-
});
|
|
65
|
+
async *listPagingAll(resourceGroupName, registryName, options) {
|
|
66
|
+
for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) {
|
|
67
|
+
yield* page;
|
|
68
|
+
}
|
|
90
69
|
}
|
|
91
70
|
/**
|
|
92
71
|
* Lists all the replications for the specified container registry.
|
|
@@ -120,14 +99,19 @@ class ReplicationsImpl {
|
|
|
120
99
|
return this.client.sendOperationRequest(args, spec);
|
|
121
100
|
};
|
|
122
101
|
const sendOperationFn = async (args, spec) => {
|
|
123
|
-
var _a;
|
|
124
102
|
let currentRawResponse = undefined;
|
|
125
|
-
const providedCallback =
|
|
103
|
+
const providedCallback = args.options?.onResponse;
|
|
126
104
|
const callback = (rawResponse, flatResponse) => {
|
|
127
105
|
currentRawResponse = rawResponse;
|
|
128
|
-
providedCallback
|
|
106
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
107
|
+
};
|
|
108
|
+
const updatedArgs = {
|
|
109
|
+
...args,
|
|
110
|
+
options: {
|
|
111
|
+
...args.options,
|
|
112
|
+
onResponse: callback,
|
|
113
|
+
},
|
|
129
114
|
};
|
|
130
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
131
115
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
132
116
|
return {
|
|
133
117
|
flatResponse,
|
|
@@ -150,8 +134,8 @@ class ReplicationsImpl {
|
|
|
150
134
|
spec: createOperationSpec,
|
|
151
135
|
});
|
|
152
136
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
153
|
-
restoreFrom: options
|
|
154
|
-
intervalInMs: options
|
|
137
|
+
restoreFrom: options?.resumeFrom,
|
|
138
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
155
139
|
resourceLocationConfig: "azure-async-operation",
|
|
156
140
|
});
|
|
157
141
|
await poller.poll();
|
|
@@ -170,25 +154,31 @@ class ReplicationsImpl {
|
|
|
170
154
|
return poller.pollUntilDone();
|
|
171
155
|
}
|
|
172
156
|
/**
|
|
173
|
-
*
|
|
157
|
+
* Updates a replication for a container registry with the specified parameters.
|
|
174
158
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
175
159
|
* @param registryName The name of the container registry.
|
|
176
160
|
* @param replicationName The name of the replication.
|
|
161
|
+
* @param replicationUpdateParameters The parameters for updating a replication.
|
|
177
162
|
* @param options The options parameters.
|
|
178
163
|
*/
|
|
179
|
-
async
|
|
164
|
+
async beginUpdate(resourceGroupName, registryName, replicationName, replicationUpdateParameters, options) {
|
|
180
165
|
const directSendOperation = async (args, spec) => {
|
|
181
166
|
return this.client.sendOperationRequest(args, spec);
|
|
182
167
|
};
|
|
183
168
|
const sendOperationFn = async (args, spec) => {
|
|
184
|
-
var _a;
|
|
185
169
|
let currentRawResponse = undefined;
|
|
186
|
-
const providedCallback =
|
|
170
|
+
const providedCallback = args.options?.onResponse;
|
|
187
171
|
const callback = (rawResponse, flatResponse) => {
|
|
188
172
|
currentRawResponse = rawResponse;
|
|
189
|
-
providedCallback
|
|
173
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
174
|
+
};
|
|
175
|
+
const updatedArgs = {
|
|
176
|
+
...args,
|
|
177
|
+
options: {
|
|
178
|
+
...args.options,
|
|
179
|
+
onResponse: callback,
|
|
180
|
+
},
|
|
190
181
|
};
|
|
191
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
192
182
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
193
183
|
return {
|
|
194
184
|
flatResponse,
|
|
@@ -201,49 +191,60 @@ class ReplicationsImpl {
|
|
|
201
191
|
};
|
|
202
192
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
203
193
|
sendOperationFn,
|
|
204
|
-
args: {
|
|
205
|
-
|
|
194
|
+
args: {
|
|
195
|
+
resourceGroupName,
|
|
196
|
+
registryName,
|
|
197
|
+
replicationName,
|
|
198
|
+
replicationUpdateParameters,
|
|
199
|
+
options,
|
|
200
|
+
},
|
|
201
|
+
spec: updateOperationSpec,
|
|
206
202
|
});
|
|
207
203
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
208
|
-
restoreFrom: options
|
|
209
|
-
intervalInMs: options
|
|
210
|
-
resourceLocationConfig: "
|
|
204
|
+
restoreFrom: options?.resumeFrom,
|
|
205
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
206
|
+
resourceLocationConfig: "azure-async-operation",
|
|
211
207
|
});
|
|
212
208
|
await poller.poll();
|
|
213
209
|
return poller;
|
|
214
210
|
}
|
|
215
211
|
/**
|
|
216
|
-
*
|
|
212
|
+
* Updates a replication for a container registry with the specified parameters.
|
|
217
213
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
218
214
|
* @param registryName The name of the container registry.
|
|
219
215
|
* @param replicationName The name of the replication.
|
|
216
|
+
* @param replicationUpdateParameters The parameters for updating a replication.
|
|
220
217
|
* @param options The options parameters.
|
|
221
218
|
*/
|
|
222
|
-
async
|
|
223
|
-
const poller = await this.
|
|
219
|
+
async beginUpdateAndWait(resourceGroupName, registryName, replicationName, replicationUpdateParameters, options) {
|
|
220
|
+
const poller = await this.beginUpdate(resourceGroupName, registryName, replicationName, replicationUpdateParameters, options);
|
|
224
221
|
return poller.pollUntilDone();
|
|
225
222
|
}
|
|
226
223
|
/**
|
|
227
|
-
*
|
|
224
|
+
* Deletes a replication from a container registry.
|
|
228
225
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
229
226
|
* @param registryName The name of the container registry.
|
|
230
227
|
* @param replicationName The name of the replication.
|
|
231
|
-
* @param replicationUpdateParameters The parameters for updating a replication.
|
|
232
228
|
* @param options The options parameters.
|
|
233
229
|
*/
|
|
234
|
-
async
|
|
230
|
+
async beginDelete(resourceGroupName, registryName, replicationName, options) {
|
|
235
231
|
const directSendOperation = async (args, spec) => {
|
|
236
232
|
return this.client.sendOperationRequest(args, spec);
|
|
237
233
|
};
|
|
238
234
|
const sendOperationFn = async (args, spec) => {
|
|
239
|
-
var _a;
|
|
240
235
|
let currentRawResponse = undefined;
|
|
241
|
-
const providedCallback =
|
|
236
|
+
const providedCallback = args.options?.onResponse;
|
|
242
237
|
const callback = (rawResponse, flatResponse) => {
|
|
243
238
|
currentRawResponse = rawResponse;
|
|
244
|
-
providedCallback
|
|
239
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
240
|
+
};
|
|
241
|
+
const updatedArgs = {
|
|
242
|
+
...args,
|
|
243
|
+
options: {
|
|
244
|
+
...args.options,
|
|
245
|
+
onResponse: callback,
|
|
246
|
+
},
|
|
245
247
|
};
|
|
246
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
247
248
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
248
249
|
return {
|
|
249
250
|
flatResponse,
|
|
@@ -256,33 +257,26 @@ class ReplicationsImpl {
|
|
|
256
257
|
};
|
|
257
258
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
258
259
|
sendOperationFn,
|
|
259
|
-
args: {
|
|
260
|
-
|
|
261
|
-
registryName,
|
|
262
|
-
replicationName,
|
|
263
|
-
replicationUpdateParameters,
|
|
264
|
-
options,
|
|
265
|
-
},
|
|
266
|
-
spec: updateOperationSpec,
|
|
260
|
+
args: { resourceGroupName, registryName, replicationName, options },
|
|
261
|
+
spec: deleteOperationSpec,
|
|
267
262
|
});
|
|
268
263
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
269
|
-
restoreFrom: options
|
|
270
|
-
intervalInMs: options
|
|
271
|
-
resourceLocationConfig: "
|
|
264
|
+
restoreFrom: options?.resumeFrom,
|
|
265
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
266
|
+
resourceLocationConfig: "location",
|
|
272
267
|
});
|
|
273
268
|
await poller.poll();
|
|
274
269
|
return poller;
|
|
275
270
|
}
|
|
276
271
|
/**
|
|
277
|
-
*
|
|
272
|
+
* Deletes a replication from a container registry.
|
|
278
273
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
279
274
|
* @param registryName The name of the container registry.
|
|
280
275
|
* @param replicationName The name of the replication.
|
|
281
|
-
* @param replicationUpdateParameters The parameters for updating a replication.
|
|
282
276
|
* @param options The options parameters.
|
|
283
277
|
*/
|
|
284
|
-
async
|
|
285
|
-
const poller = await this.
|
|
278
|
+
async beginDeleteAndWait(resourceGroupName, registryName, replicationName, options) {
|
|
279
|
+
const poller = await this.beginDelete(resourceGroupName, registryName, replicationName, options);
|
|
286
280
|
return poller.pollUntilDone();
|
|
287
281
|
}
|
|
288
282
|
/**
|
|
@@ -306,6 +300,9 @@ const listOperationSpec = {
|
|
|
306
300
|
200: {
|
|
307
301
|
bodyMapper: Mappers.ReplicationListResult,
|
|
308
302
|
},
|
|
303
|
+
default: {
|
|
304
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
305
|
+
},
|
|
309
306
|
},
|
|
310
307
|
queryParameters: [Parameters.apiVersion],
|
|
311
308
|
urlParameters: [
|
|
@@ -324,6 +321,9 @@ const getOperationSpec = {
|
|
|
324
321
|
200: {
|
|
325
322
|
bodyMapper: Mappers.Replication,
|
|
326
323
|
},
|
|
324
|
+
default: {
|
|
325
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
326
|
+
},
|
|
327
327
|
},
|
|
328
328
|
queryParameters: [Parameters.apiVersion],
|
|
329
329
|
urlParameters: [
|
|
@@ -352,6 +352,9 @@ const createOperationSpec = {
|
|
|
352
352
|
204: {
|
|
353
353
|
bodyMapper: Mappers.Replication,
|
|
354
354
|
},
|
|
355
|
+
default: {
|
|
356
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
357
|
+
},
|
|
355
358
|
},
|
|
356
359
|
requestBody: Parameters.replication,
|
|
357
360
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -366,20 +369,6 @@ const createOperationSpec = {
|
|
|
366
369
|
mediaType: "json",
|
|
367
370
|
serializer,
|
|
368
371
|
};
|
|
369
|
-
const deleteOperationSpec = {
|
|
370
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}",
|
|
371
|
-
httpMethod: "DELETE",
|
|
372
|
-
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
373
|
-
queryParameters: [Parameters.apiVersion],
|
|
374
|
-
urlParameters: [
|
|
375
|
-
Parameters.$host,
|
|
376
|
-
Parameters.subscriptionId,
|
|
377
|
-
Parameters.resourceGroupName,
|
|
378
|
-
Parameters.registryName,
|
|
379
|
-
Parameters.replicationName,
|
|
380
|
-
],
|
|
381
|
-
serializer,
|
|
382
|
-
};
|
|
383
372
|
const updateOperationSpec = {
|
|
384
373
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}",
|
|
385
374
|
httpMethod: "PATCH",
|
|
@@ -396,6 +385,9 @@ const updateOperationSpec = {
|
|
|
396
385
|
204: {
|
|
397
386
|
bodyMapper: Mappers.Replication,
|
|
398
387
|
},
|
|
388
|
+
default: {
|
|
389
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
390
|
+
},
|
|
399
391
|
},
|
|
400
392
|
requestBody: Parameters.replicationUpdateParameters,
|
|
401
393
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -410,6 +402,29 @@ const updateOperationSpec = {
|
|
|
410
402
|
mediaType: "json",
|
|
411
403
|
serializer,
|
|
412
404
|
};
|
|
405
|
+
const deleteOperationSpec = {
|
|
406
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}",
|
|
407
|
+
httpMethod: "DELETE",
|
|
408
|
+
responses: {
|
|
409
|
+
200: {},
|
|
410
|
+
201: {},
|
|
411
|
+
202: {},
|
|
412
|
+
204: {},
|
|
413
|
+
default: {
|
|
414
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
415
|
+
},
|
|
416
|
+
},
|
|
417
|
+
queryParameters: [Parameters.apiVersion],
|
|
418
|
+
urlParameters: [
|
|
419
|
+
Parameters.$host,
|
|
420
|
+
Parameters.subscriptionId,
|
|
421
|
+
Parameters.resourceGroupName,
|
|
422
|
+
Parameters.registryName,
|
|
423
|
+
Parameters.replicationName,
|
|
424
|
+
],
|
|
425
|
+
headerParameters: [Parameters.accept],
|
|
426
|
+
serializer,
|
|
427
|
+
};
|
|
413
428
|
const listNextOperationSpec = {
|
|
414
429
|
path: "{nextLink}",
|
|
415
430
|
httpMethod: "GET",
|
|
@@ -417,13 +432,16 @@ const listNextOperationSpec = {
|
|
|
417
432
|
200: {
|
|
418
433
|
bodyMapper: Mappers.ReplicationListResult,
|
|
419
434
|
},
|
|
435
|
+
default: {
|
|
436
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
437
|
+
},
|
|
420
438
|
},
|
|
421
439
|
urlParameters: [
|
|
422
440
|
Parameters.$host,
|
|
441
|
+
Parameters.nextLink,
|
|
423
442
|
Parameters.subscriptionId,
|
|
424
443
|
Parameters.resourceGroupName,
|
|
425
444
|
Parameters.registryName,
|
|
426
|
-
Parameters.nextLink,
|
|
427
445
|
],
|
|
428
446
|
headerParameters: [Parameters.accept],
|
|
429
447
|
serializer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replications.js","sourceRoot":"","sources":["../../../src/operations/replications.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAiB9C,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAwC;QAExC,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,QA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;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,2BAA2B;IACnD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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,qBAAqB;SAC1C;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;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 { Replications } 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 Replication,\n ReplicationsListNextOptionalParams,\n ReplicationsListOptionalParams,\n ReplicationsListResponse,\n ReplicationsGetOptionalParams,\n ReplicationsGetResponse,\n ReplicationsCreateOptionalParams,\n ReplicationsCreateResponse,\n ReplicationsDeleteOptionalParams,\n ReplicationUpdateParameters,\n ReplicationsUpdateOptionalParams,\n ReplicationsUpdateResponse,\n ReplicationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Replications operations. */\nexport class ReplicationsImpl implements Replications {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class Replications 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 replications for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\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?: ReplicationsListOptionalParams,\n ): PagedAsyncIterableIterator<Replication> {\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?: ReplicationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Replication[]> {\n let result: ReplicationsListResponse;\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?: ReplicationsListOptionalParams,\n ): AsyncIterableIterator<Replication> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the replications for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\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?: ReplicationsListOptionalParams,\n ): Promise<ReplicationsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the properties of the specified replication.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n options?: ReplicationsGetOptionalParams,\n ): Promise<ReplicationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, replicationName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates a replication for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param replication The parameters for creating a replication.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n replication: Replication,\n options?: ReplicationsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationsCreateResponse>,\n ReplicationsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationsCreateResponse> => {\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 replicationName,\n replication,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationsCreateResponse,\n OperationState<ReplicationsCreateResponse>\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 a replication for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param replication The parameters for creating a replication.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n replication: Replication,\n options?: ReplicationsCreateOptionalParams,\n ): Promise<ReplicationsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n replicationName,\n replication,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a replication from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n options?: ReplicationsDeleteOptionalParams,\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 =\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, replicationName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(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 replication from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n options?: ReplicationsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n replicationName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a replication for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param replicationUpdateParameters The parameters for updating a replication.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n replicationUpdateParameters: ReplicationUpdateParameters,\n options?: ReplicationsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationsUpdateResponse>,\n ReplicationsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationsUpdateResponse> => {\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 replicationName,\n replicationUpdateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationsUpdateResponse,\n OperationState<ReplicationsUpdateResponse>\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 a replication for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param replicationUpdateParameters The parameters for updating a replication.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n replicationUpdateParameters: ReplicationUpdateParameters,\n options?: ReplicationsUpdateOptionalParams,\n ): Promise<ReplicationsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n registryName,\n replicationName,\n replicationUpdateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\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?: ReplicationsListNextOptionalParams,\n ): Promise<ReplicationsListNextResponse> {\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 listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReplicationListResult,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Replication,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.replicationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Replication,\n },\n 201: {\n bodyMapper: Mappers.Replication,\n },\n 202: {\n bodyMapper: Mappers.Replication,\n },\n 204: {\n bodyMapper: Mappers.Replication,\n },\n },\n requestBody: Parameters.replication,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.replicationName,\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}/replications/{replicationName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.replicationName,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Replication,\n },\n 201: {\n bodyMapper: Mappers.Replication,\n },\n 202: {\n bodyMapper: Mappers.Replication,\n },\n 204: {\n bodyMapper: Mappers.Replication,\n },\n },\n requestBody: Parameters.replicationUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.replicationName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReplicationListResult,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"replications.js","sourceRoot":"","sources":["../../../src/operations/replications.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAiB9C,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,gBAAgB;IACV,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,OAAwC;QAExC,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACjF,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,iBAAyB,EACzB,YAAoB,EACpB,OAAwC,EACxC,QAAuB;QAEvB,IAA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B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,eAAe;KAC3B;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,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Replications } 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 Replication,\n ReplicationsListNextOptionalParams,\n ReplicationsListOptionalParams,\n ReplicationsListResponse,\n ReplicationsGetOptionalParams,\n ReplicationsGetResponse,\n ReplicationsCreateOptionalParams,\n ReplicationsCreateResponse,\n ReplicationUpdateParameters,\n ReplicationsUpdateOptionalParams,\n ReplicationsUpdateResponse,\n ReplicationsDeleteOptionalParams,\n ReplicationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Replications operations. */\nexport class ReplicationsImpl implements Replications {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class Replications 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 replications for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\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?: ReplicationsListOptionalParams,\n ): PagedAsyncIterableIterator<Replication> {\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?: ReplicationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Replication[]> {\n let result: ReplicationsListResponse;\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?: ReplicationsListOptionalParams,\n ): AsyncIterableIterator<Replication> {\n for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the replications for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\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?: ReplicationsListOptionalParams,\n ): Promise<ReplicationsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the properties of the specified replication.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n options?: ReplicationsGetOptionalParams,\n ): Promise<ReplicationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, replicationName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates a replication for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param replication The parameters for creating a replication.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n replication: Replication,\n options?: ReplicationsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ReplicationsCreateResponse>, ReplicationsCreateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationsCreateResponse> => {\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 replicationName,\n replication,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationsCreateResponse,\n OperationState<ReplicationsCreateResponse>\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 a replication for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param replication The parameters for creating a replication.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n replication: Replication,\n options?: ReplicationsCreateOptionalParams,\n ): Promise<ReplicationsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n replicationName,\n replication,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a replication for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param replicationUpdateParameters The parameters for updating a replication.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n replicationUpdateParameters: ReplicationUpdateParameters,\n options?: ReplicationsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ReplicationsUpdateResponse>, ReplicationsUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationsUpdateResponse> => {\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 replicationName,\n replicationUpdateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationsUpdateResponse,\n OperationState<ReplicationsUpdateResponse>\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 a replication for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param replicationUpdateParameters The parameters for updating a replication.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n replicationUpdateParameters: ReplicationUpdateParameters,\n options?: ReplicationsUpdateOptionalParams,\n ): Promise<ReplicationsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n registryName,\n replicationName,\n replicationUpdateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a replication from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n options?: ReplicationsDeleteOptionalParams,\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, replicationName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(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 replication from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param replicationName The name of the replication.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n replicationName: string,\n options?: ReplicationsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n replicationName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\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?: ReplicationsListNextOptionalParams,\n ): Promise<ReplicationsListNextResponse> {\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 listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReplicationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Replication,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.replicationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Replication,\n },\n 201: {\n bodyMapper: Mappers.Replication,\n },\n 202: {\n bodyMapper: Mappers.Replication,\n },\n 204: {\n bodyMapper: Mappers.Replication,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.replication,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.replicationName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Replication,\n },\n 201: {\n bodyMapper: Mappers.Replication,\n },\n 202: {\n bodyMapper: Mappers.Replication,\n },\n 204: {\n bodyMapper: Mappers.Replication,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.replicationUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.replicationName,\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}/replications/{replicationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.replicationName,\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.ReplicationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Runs } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { ContainerRegistryManagementClient } from "../containerRegistryManagementClient.js";
|
|
4
|
-
import {
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { Runs } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { ContainerRegistryManagementClient } from "../containerRegistryManagementClient.js";
|
|
4
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import type { Run, RunsListOptionalParams, RunsGetOptionalParams, RunsGetResponse, RunUpdateParameters, RunsUpdateOptionalParams, RunsUpdateResponse, RunsGetLogSasUrlOptionalParams, RunsGetLogSasUrlResponse, RunsCancelOptionalParams } from "../models/index.js";
|
|
5
6
|
/** Class containing Runs operations. */
|
|
6
7
|
export declare class RunsImpl implements Runs {
|
|
7
8
|
private readonly client;
|
|
@@ -42,7 +43,16 @@ export declare class RunsImpl implements Runs {
|
|
|
42
43
|
* @param runUpdateParameters The run update properties.
|
|
43
44
|
* @param options The options parameters.
|
|
44
45
|
*/
|
|
45
|
-
|
|
46
|
+
beginUpdate(resourceGroupName: string, registryName: string, runId: string, runUpdateParameters: RunUpdateParameters, options?: RunsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<RunsUpdateResponse>, RunsUpdateResponse>>;
|
|
47
|
+
/**
|
|
48
|
+
* Patch the run properties.
|
|
49
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
50
|
+
* @param registryName The name of the container registry.
|
|
51
|
+
* @param runId The run ID.
|
|
52
|
+
* @param runUpdateParameters The run update properties.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
beginUpdateAndWait(resourceGroupName: string, registryName: string, runId: string, runUpdateParameters: RunUpdateParameters, options?: RunsUpdateOptionalParams): Promise<RunsUpdateResponse>;
|
|
46
56
|
/**
|
|
47
57
|
* Gets a link to download the run logs.
|
|
48
58
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
@@ -58,7 +68,15 @@ export declare class RunsImpl implements Runs {
|
|
|
58
68
|
* @param runId The run ID.
|
|
59
69
|
* @param options The options parameters.
|
|
60
70
|
*/
|
|
61
|
-
|
|
71
|
+
beginCancel(resourceGroupName: string, registryName: string, runId: string, options?: RunsCancelOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
72
|
+
/**
|
|
73
|
+
* Cancel an existing run.
|
|
74
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
75
|
+
* @param registryName The name of the container registry.
|
|
76
|
+
* @param runId The run ID.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
beginCancelAndWait(resourceGroupName: string, registryName: string, runId: string, options?: RunsCancelOptionalParams): Promise<void>;
|
|
62
80
|
/**
|
|
63
81
|
* ListNext
|
|
64
82
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../src/operations/runs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../src/operations/runs.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,GAAG,EAEH,sBAAsB,EAEtB,qBA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