@azure/arm-containerregistry 11.0.0-beta.5 → 12.0.0-alpha.20251224.3
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 +3 -3
- 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 +1377 -1914
- 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 +74 -114
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +2829 -3438
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +12 -23
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +58 -175
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/agentPools.d.ts +41 -41
- package/dist/browser/operations/agentPools.d.ts.map +1 -1
- package/dist/browser/operations/agentPools.js +155 -162
- 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 +53 -53
- package/dist/browser/operations/registries.d.ts.map +1 -1
- package/dist/browser/operations/registries.js +390 -373
- 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 +22 -22
- package/dist/browser/operations/runs.d.ts.map +1 -1
- package/dist/browser/operations/runs.js +65 -87
- 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 +35 -35
- package/dist/browser/operations/taskRuns.d.ts.map +1 -1
- package/dist/browser/operations/taskRuns.js +125 -137
- package/dist/browser/operations/taskRuns.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts +25 -25
- package/dist/browser/operations/tasks.d.ts.map +1 -1
- package/dist/browser/operations/tasks.js +76 -98
- 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 +31 -31
- 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 +48 -48
- 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 +16 -16
- 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 +25 -25
- 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 +19 -19
- 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 +1377 -1914
- 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 +74 -114
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +2832 -3442
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +12 -23
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +59 -176
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/agentPools.d.ts +41 -41
- package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operations/agentPools.js +154 -160
- 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 +53 -53
- package/dist/commonjs/operations/registries.d.ts.map +1 -1
- package/dist/commonjs/operations/registries.js +389 -371
- 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 +22 -22
- package/dist/commonjs/operations/runs.d.ts.map +1 -1
- package/dist/commonjs/operations/runs.js +65 -86
- 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 +35 -35
- package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
- package/dist/commonjs/operations/taskRuns.js +124 -135
- package/dist/commonjs/operations/taskRuns.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts +25 -25
- package/dist/commonjs/operations/tasks.d.ts.map +1 -1
- package/dist/commonjs/operations/tasks.js +76 -97
- 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 +31 -31
- 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 +48 -48
- 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 +16 -16
- 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 +25 -25
- 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 +19 -19
- 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 +1377 -1914
- 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 +74 -114
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +2829 -3438
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +12 -23
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +58 -175
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/agentPools.d.ts +41 -41
- package/dist/esm/operations/agentPools.d.ts.map +1 -1
- package/dist/esm/operations/agentPools.js +155 -162
- 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 +53 -53
- package/dist/esm/operations/registries.d.ts.map +1 -1
- package/dist/esm/operations/registries.js +390 -373
- 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 +22 -22
- package/dist/esm/operations/runs.d.ts.map +1 -1
- package/dist/esm/operations/runs.js +65 -87
- 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 +35 -35
- package/dist/esm/operations/taskRuns.d.ts.map +1 -1
- package/dist/esm/operations/taskRuns.js +125 -137
- package/dist/esm/operations/taskRuns.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts +25 -25
- package/dist/esm/operations/tasks.d.ts.map +1 -1
- package/dist/esm/operations/tasks.js +76 -98
- 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 +31 -31
- 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 +48 -48
- 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 +16 -16
- 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 +25 -25
- 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 +19 -19
- 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 +1377 -1914
- 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 +74 -114
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +2829 -3438
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +12 -23
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +58 -175
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/agentPools.d.ts +41 -41
- package/dist/react-native/operations/agentPools.d.ts.map +1 -1
- package/dist/react-native/operations/agentPools.js +155 -162
- 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 +53 -53
- package/dist/react-native/operations/registries.d.ts.map +1 -1
- package/dist/react-native/operations/registries.js +390 -373
- 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 +22 -22
- package/dist/react-native/operations/runs.d.ts.map +1 -1
- package/dist/react-native/operations/runs.js +65 -87
- 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 +35 -35
- package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
- package/dist/react-native/operations/taskRuns.js +125 -137
- package/dist/react-native/operations/taskRuns.js.map +1 -1
- package/dist/react-native/operations/tasks.d.ts +25 -25
- package/dist/react-native/operations/tasks.d.ts.map +1 -1
- package/dist/react-native/operations/tasks.js +76 -98
- 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 +31 -31
- 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 +48 -48
- 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 +16 -16
- 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 +25 -25
- 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 +19 -19
- 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 +58 -67
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,KAAK,EACV,mBAAmB,EAEnB,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,mBAAmB,CAAC;YAkBnC,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAMlB"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
9
3
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
4
|
import * as coreClient from "@azure/core-client";
|
|
11
5
|
import * as Mappers from "../models/mappers.js";
|
|
@@ -13,6 +7,7 @@ import * as Parameters from "../models/parameters.js";
|
|
|
13
7
|
/// <reference lib="esnext.asynciterable" />
|
|
14
8
|
/** Class containing Operations operations. */
|
|
15
9
|
export class OperationsImpl {
|
|
10
|
+
client;
|
|
16
11
|
/**
|
|
17
12
|
* Initialize a new instance of the class Operations class.
|
|
18
13
|
* @param client Reference to the service client
|
|
@@ -21,7 +16,7 @@ export class OperationsImpl {
|
|
|
21
16
|
this.client = client;
|
|
22
17
|
}
|
|
23
18
|
/**
|
|
24
|
-
*
|
|
19
|
+
* List the operations for the provider
|
|
25
20
|
* @param options The options parameters.
|
|
26
21
|
*/
|
|
27
22
|
list(options) {
|
|
@@ -34,55 +29,38 @@ export class OperationsImpl {
|
|
|
34
29
|
return this;
|
|
35
30
|
},
|
|
36
31
|
byPage: (settings) => {
|
|
37
|
-
if (settings
|
|
32
|
+
if (settings?.maxPageSize) {
|
|
38
33
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
34
|
}
|
|
40
35
|
return this.listPagingPage(options, settings);
|
|
41
36
|
},
|
|
42
37
|
};
|
|
43
38
|
}
|
|
44
|
-
listPagingPage(options, settings) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
});
|
|
39
|
+
async *listPagingPage(options, settings) {
|
|
40
|
+
let result;
|
|
41
|
+
let continuationToken = settings?.continuationToken;
|
|
42
|
+
if (!continuationToken) {
|
|
43
|
+
result = await this._list(options);
|
|
44
|
+
const page = result.value || [];
|
|
45
|
+
continuationToken = result.nextLink;
|
|
46
|
+
setContinuationToken(page, continuationToken);
|
|
47
|
+
yield page;
|
|
48
|
+
}
|
|
49
|
+
while (continuationToken) {
|
|
50
|
+
result = await this._listNext(continuationToken, options);
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
const page = result.value || [];
|
|
53
|
+
setContinuationToken(page, continuationToken);
|
|
54
|
+
yield page;
|
|
55
|
+
}
|
|
63
56
|
}
|
|
64
|
-
listPagingAll(options) {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
69
|
-
_c = _f.value;
|
|
70
|
-
_d = false;
|
|
71
|
-
const page = _c;
|
|
72
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
76
|
-
finally {
|
|
77
|
-
try {
|
|
78
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
79
|
-
}
|
|
80
|
-
finally { if (e_1) throw e_1.error; }
|
|
81
|
-
}
|
|
82
|
-
});
|
|
57
|
+
async *listPagingAll(options) {
|
|
58
|
+
for await (const page of this.listPagingPage(options)) {
|
|
59
|
+
yield* page;
|
|
60
|
+
}
|
|
83
61
|
}
|
|
84
62
|
/**
|
|
85
|
-
*
|
|
63
|
+
* List the operations for the provider
|
|
86
64
|
* @param options The options parameters.
|
|
87
65
|
*/
|
|
88
66
|
_list(options) {
|
|
@@ -106,6 +84,9 @@ const listOperationSpec = {
|
|
|
106
84
|
200: {
|
|
107
85
|
bodyMapper: Mappers.OperationListResult,
|
|
108
86
|
},
|
|
87
|
+
default: {
|
|
88
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
89
|
+
},
|
|
109
90
|
},
|
|
110
91
|
queryParameters: [Parameters.apiVersion],
|
|
111
92
|
urlParameters: [Parameters.$host],
|
|
@@ -119,6 +100,9 @@ const listNextOperationSpec = {
|
|
|
119
100
|
200: {
|
|
120
101
|
bodyMapper: Mappers.OperationListResult,
|
|
121
102
|
},
|
|
103
|
+
default: {
|
|
104
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
105
|
+
},
|
|
122
106
|
},
|
|
123
107
|
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
124
108
|
headerParameters: [Parameters.accept],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,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,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,OAAsC,EACtC,QAAuB;QAEvB,IAAI,MAA8B,CAAC;QACnC,IAAI,iBAAiB,GAAG,QAAQ,EAAE,iBAAiB,CAAC;QACpD,IAAI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AE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,mDAAmD;IACzD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,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 { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport type {\n OperationDefinition,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<OperationDefinition> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<OperationDefinition[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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(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 options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<OperationDefinition> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n private _list(options?: OperationsListOptionalParams): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\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 nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ContainerRegistry/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { PrivateEndpointConnections } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { ContainerRegistryManagementClient } from "../containerRegistryManagementClient.js";
|
|
4
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { PrivateEndpointConnections } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { ContainerRegistryManagementClient } from "../containerRegistryManagementClient.js";
|
|
4
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import type { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models/index.js";
|
|
6
6
|
/** Class containing PrivateEndpointConnections operations. */
|
|
7
7
|
export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
|
|
8
8
|
private readonly client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,yBAAyB,EAEzB,4CAA4C,EAE5C,2CAA2C,EAC3C,qCAAqC,EACrC,sDAAsD,EACtD,gDAAgD,EAChD,8CAA8C,EAE/C,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BAA+B,YAAW,0BAA0B;IAC/E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,yBAAyB,CAAC;YAkBzC,cAAc;YAwBd,aAAa;IAU5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;;OAOG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gDAAgD,CAAC,EAChE,gDAAgD,CACjD,CACF;IA6DD;;;;;;;OAOG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;IAW5D;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAyDxD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
9
3
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
4
|
import * as coreClient from "@azure/core-client";
|
|
11
5
|
import * as Mappers from "../models/mappers.js";
|
|
12
6
|
import * as Parameters from "../models/parameters.js";
|
|
13
|
-
import { createHttpPoller
|
|
7
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
14
8
|
import { createLroSpec } from "../lroImpl.js";
|
|
15
9
|
/// <reference lib="esnext.asynciterable" />
|
|
16
10
|
/** Class containing PrivateEndpointConnections operations. */
|
|
17
11
|
export class PrivateEndpointConnectionsImpl {
|
|
12
|
+
client;
|
|
18
13
|
/**
|
|
19
14
|
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
20
15
|
* @param client Reference to the service client
|
|
@@ -38,52 +33,35 @@ export class PrivateEndpointConnectionsImpl {
|
|
|
38
33
|
return this;
|
|
39
34
|
},
|
|
40
35
|
byPage: (settings) => {
|
|
41
|
-
if (settings
|
|
36
|
+
if (settings?.maxPageSize) {
|
|
42
37
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
38
|
}
|
|
44
39
|
return this.listPagingPage(resourceGroupName, registryName, options, settings);
|
|
45
40
|
},
|
|
46
41
|
};
|
|
47
42
|
}
|
|
48
|
-
listPagingPage(resourceGroupName, registryName, options, settings) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
});
|
|
43
|
+
async *listPagingPage(resourceGroupName, registryName, options, settings) {
|
|
44
|
+
let result;
|
|
45
|
+
let continuationToken = settings?.continuationToken;
|
|
46
|
+
if (!continuationToken) {
|
|
47
|
+
result = await this._list(resourceGroupName, registryName, options);
|
|
48
|
+
const page = result.value || [];
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
setContinuationToken(page, continuationToken);
|
|
51
|
+
yield page;
|
|
52
|
+
}
|
|
53
|
+
while (continuationToken) {
|
|
54
|
+
result = await this._listNext(resourceGroupName, registryName, continuationToken, options);
|
|
55
|
+
continuationToken = result.nextLink;
|
|
56
|
+
const page = result.value || [];
|
|
57
|
+
setContinuationToken(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
67
60
|
}
|
|
68
|
-
listPagingAll(resourceGroupName, registryName, options) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, registryName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
73
|
-
_c = _f.value;
|
|
74
|
-
_d = false;
|
|
75
|
-
const page = _c;
|
|
76
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
80
|
-
finally {
|
|
81
|
-
try {
|
|
82
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
83
|
-
}
|
|
84
|
-
finally { if (e_1) throw e_1.error; }
|
|
85
|
-
}
|
|
86
|
-
});
|
|
61
|
+
async *listPagingAll(resourceGroupName, registryName, options) {
|
|
62
|
+
for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) {
|
|
63
|
+
yield* page;
|
|
64
|
+
}
|
|
87
65
|
}
|
|
88
66
|
/**
|
|
89
67
|
* List all private endpoint connections in a container registry.
|
|
@@ -122,14 +100,19 @@ export class PrivateEndpointConnectionsImpl {
|
|
|
122
100
|
return this.client.sendOperationRequest(args, spec);
|
|
123
101
|
};
|
|
124
102
|
const sendOperationFn = async (args, spec) => {
|
|
125
|
-
var _a;
|
|
126
103
|
let currentRawResponse = undefined;
|
|
127
|
-
const providedCallback =
|
|
104
|
+
const providedCallback = args.options?.onResponse;
|
|
128
105
|
const callback = (rawResponse, flatResponse) => {
|
|
129
106
|
currentRawResponse = rawResponse;
|
|
130
|
-
providedCallback
|
|
107
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
108
|
+
};
|
|
109
|
+
const updatedArgs = {
|
|
110
|
+
...args,
|
|
111
|
+
options: {
|
|
112
|
+
...args.options,
|
|
113
|
+
onResponse: callback,
|
|
114
|
+
},
|
|
131
115
|
};
|
|
132
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
133
116
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
134
117
|
return {
|
|
135
118
|
flatResponse,
|
|
@@ -152,8 +135,8 @@ export class PrivateEndpointConnectionsImpl {
|
|
|
152
135
|
spec: createOrUpdateOperationSpec,
|
|
153
136
|
});
|
|
154
137
|
const poller = await createHttpPoller(lro, {
|
|
155
|
-
restoreFrom: options
|
|
156
|
-
intervalInMs: options
|
|
138
|
+
restoreFrom: options?.resumeFrom,
|
|
139
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
157
140
|
resourceLocationConfig: "azure-async-operation",
|
|
158
141
|
});
|
|
159
142
|
await poller.poll();
|
|
@@ -183,14 +166,19 @@ export class PrivateEndpointConnectionsImpl {
|
|
|
183
166
|
return this.client.sendOperationRequest(args, spec);
|
|
184
167
|
};
|
|
185
168
|
const sendOperationFn = async (args, spec) => {
|
|
186
|
-
var _a;
|
|
187
169
|
let currentRawResponse = undefined;
|
|
188
|
-
const providedCallback =
|
|
170
|
+
const providedCallback = args.options?.onResponse;
|
|
189
171
|
const callback = (rawResponse, flatResponse) => {
|
|
190
172
|
currentRawResponse = rawResponse;
|
|
191
|
-
providedCallback
|
|
173
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
174
|
+
};
|
|
175
|
+
const updatedArgs = {
|
|
176
|
+
...args,
|
|
177
|
+
options: {
|
|
178
|
+
...args.options,
|
|
179
|
+
onResponse: callback,
|
|
180
|
+
},
|
|
192
181
|
};
|
|
193
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
194
182
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
195
183
|
return {
|
|
196
184
|
flatResponse,
|
|
@@ -212,8 +200,8 @@ export class PrivateEndpointConnectionsImpl {
|
|
|
212
200
|
spec: deleteOperationSpec,
|
|
213
201
|
});
|
|
214
202
|
const poller = await createHttpPoller(lro, {
|
|
215
|
-
restoreFrom: options
|
|
216
|
-
intervalInMs: options
|
|
203
|
+
restoreFrom: options?.resumeFrom,
|
|
204
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
217
205
|
resourceLocationConfig: "location",
|
|
218
206
|
});
|
|
219
207
|
await poller.poll();
|
|
@@ -250,6 +238,9 @@ const listOperationSpec = {
|
|
|
250
238
|
200: {
|
|
251
239
|
bodyMapper: Mappers.PrivateEndpointConnectionListResult,
|
|
252
240
|
},
|
|
241
|
+
default: {
|
|
242
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
243
|
+
},
|
|
253
244
|
},
|
|
254
245
|
queryParameters: [Parameters.apiVersion],
|
|
255
246
|
urlParameters: [
|
|
@@ -268,6 +259,9 @@ const getOperationSpec = {
|
|
|
268
259
|
200: {
|
|
269
260
|
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
270
261
|
},
|
|
262
|
+
default: {
|
|
263
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
264
|
+
},
|
|
271
265
|
},
|
|
272
266
|
queryParameters: [Parameters.apiVersion],
|
|
273
267
|
urlParameters: [
|
|
@@ -296,6 +290,9 @@ const createOrUpdateOperationSpec = {
|
|
|
296
290
|
204: {
|
|
297
291
|
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
298
292
|
},
|
|
293
|
+
default: {
|
|
294
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
295
|
+
},
|
|
299
296
|
},
|
|
300
297
|
requestBody: Parameters.privateEndpointConnection,
|
|
301
298
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -313,7 +310,15 @@ const createOrUpdateOperationSpec = {
|
|
|
313
310
|
const deleteOperationSpec = {
|
|
314
311
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
315
312
|
httpMethod: "DELETE",
|
|
316
|
-
responses: {
|
|
313
|
+
responses: {
|
|
314
|
+
200: {},
|
|
315
|
+
201: {},
|
|
316
|
+
202: {},
|
|
317
|
+
204: {},
|
|
318
|
+
default: {
|
|
319
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
320
|
+
},
|
|
321
|
+
},
|
|
317
322
|
queryParameters: [Parameters.apiVersion],
|
|
318
323
|
urlParameters: [
|
|
319
324
|
Parameters.$host,
|
|
@@ -322,6 +327,7 @@ const deleteOperationSpec = {
|
|
|
322
327
|
Parameters.registryName,
|
|
323
328
|
Parameters.privateEndpointConnectionName,
|
|
324
329
|
],
|
|
330
|
+
headerParameters: [Parameters.accept],
|
|
325
331
|
serializer,
|
|
326
332
|
};
|
|
327
333
|
const listNextOperationSpec = {
|
|
@@ -331,13 +337,16 @@ const listNextOperationSpec = {
|
|
|
331
337
|
200: {
|
|
332
338
|
bodyMapper: Mappers.PrivateEndpointConnectionListResult,
|
|
333
339
|
},
|
|
340
|
+
default: {
|
|
341
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
342
|
+
},
|
|
334
343
|
},
|
|
335
344
|
urlParameters: [
|
|
336
345
|
Parameters.$host,
|
|
346
|
+
Parameters.nextLink,
|
|
337
347
|
Parameters.subscriptionId,
|
|
338
348
|
Parameters.resourceGroupName,
|
|
339
349
|
Parameters.registryName,
|
|
340
|
-
Parameters.nextLink,
|
|
341
350
|
],
|
|
342
351
|
headerParameters: [Parameters.accept],
|
|
343
352
|
serializer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAKzC;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAsD;QAEtD,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,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iB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AC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;IACD,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,mCAAmC;SACxD;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 { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListNextOptionalParams,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections\n{\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * List all private endpoint connections in 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 options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\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?: PrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListResponse;\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?: PrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List all private endpoint connections in 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 options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified private endpoint connection associated with the 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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of specified private endpoint connection associated with the 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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,\n PrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> => {\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 privateEndpointConnectionName,\n privateEndpointConnection,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>\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 * Update the state of specified private endpoint connection associated with the 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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the 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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\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 privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the 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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\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?: PrivateEndpointConnectionsListNextOptionalParams,\n ): Promise<PrivateEndpointConnectionsListNextResponse> {\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}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\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}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n },\n requestBody: Parameters.privateEndpointConnection,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\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.privateEndpointConnectionName,\n ],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\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":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,k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,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,mCAAmC;SACxD;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 { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { 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 PrivateEndpointConnection,\n PrivateEndpointConnectionsListNextOptionalParams,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * List all private endpoint connections in 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 options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\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?: PrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListResponse;\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?: PrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) {\n yield* page;\n }\n }\n\n /**\n * List all private endpoint connections in 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 options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified private endpoint connection associated with the 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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of specified private endpoint connection associated with the 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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,\n PrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> => {\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 privateEndpointConnectionName,\n privateEndpointConnection,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>\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 * Update the state of specified private endpoint connection associated with the 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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the 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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the 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 privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\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?: PrivateEndpointConnectionsListNextOptionalParams,\n ): Promise<PrivateEndpointConnectionsListNextResponse> {\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}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\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}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\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.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.privateEndpointConnection,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\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.privateEndpointConnectionName,\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.PrivateEndpointConnectionListResult,\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"]}
|