@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,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.OperationsImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -16,6 +11,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
16
11
|
/// <reference lib="esnext.asynciterable" />
|
|
17
12
|
/** Class containing Operations operations. */
|
|
18
13
|
class OperationsImpl {
|
|
14
|
+
client;
|
|
19
15
|
/**
|
|
20
16
|
* Initialize a new instance of the class Operations class.
|
|
21
17
|
* @param client Reference to the service client
|
|
@@ -24,7 +20,7 @@ class OperationsImpl {
|
|
|
24
20
|
this.client = client;
|
|
25
21
|
}
|
|
26
22
|
/**
|
|
27
|
-
*
|
|
23
|
+
* List the operations for the provider
|
|
28
24
|
* @param options The options parameters.
|
|
29
25
|
*/
|
|
30
26
|
list(options) {
|
|
@@ -37,55 +33,38 @@ class OperationsImpl {
|
|
|
37
33
|
return this;
|
|
38
34
|
},
|
|
39
35
|
byPage: (settings) => {
|
|
40
|
-
if (settings
|
|
36
|
+
if (settings?.maxPageSize) {
|
|
41
37
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
38
|
}
|
|
43
39
|
return this.listPagingPage(options, settings);
|
|
44
40
|
},
|
|
45
41
|
};
|
|
46
42
|
}
|
|
47
|
-
listPagingPage(options, settings) {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
});
|
|
43
|
+
async *listPagingPage(options, settings) {
|
|
44
|
+
let result;
|
|
45
|
+
let continuationToken = settings?.continuationToken;
|
|
46
|
+
if (!continuationToken) {
|
|
47
|
+
result = await this._list(options);
|
|
48
|
+
const page = result.value || [];
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
51
|
+
yield page;
|
|
52
|
+
}
|
|
53
|
+
while (continuationToken) {
|
|
54
|
+
result = await this._listNext(continuationToken, options);
|
|
55
|
+
continuationToken = result.nextLink;
|
|
56
|
+
const page = result.value || [];
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
66
60
|
}
|
|
67
|
-
listPagingAll(options) {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
-
_c = _f.value;
|
|
73
|
-
_d = false;
|
|
74
|
-
const page = _c;
|
|
75
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
-
finally {
|
|
80
|
-
try {
|
|
81
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
82
|
-
}
|
|
83
|
-
finally { if (e_1) throw e_1.error; }
|
|
84
|
-
}
|
|
85
|
-
});
|
|
61
|
+
async *listPagingAll(options) {
|
|
62
|
+
for await (const page of this.listPagingPage(options)) {
|
|
63
|
+
yield* page;
|
|
64
|
+
}
|
|
86
65
|
}
|
|
87
66
|
/**
|
|
88
|
-
*
|
|
67
|
+
* List the operations for the provider
|
|
89
68
|
* @param options The options parameters.
|
|
90
69
|
*/
|
|
91
70
|
_list(options) {
|
|
@@ -110,6 +89,9 @@ const listOperationSpec = {
|
|
|
110
89
|
200: {
|
|
111
90
|
bodyMapper: Mappers.OperationListResult,
|
|
112
91
|
},
|
|
92
|
+
default: {
|
|
93
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
94
|
+
},
|
|
113
95
|
},
|
|
114
96
|
queryParameters: [Parameters.apiVersion],
|
|
115
97
|
urlParameters: [Parameters.$host],
|
|
@@ -123,6 +105,9 @@ const listNextOperationSpec = {
|
|
|
123
105
|
200: {
|
|
124
106
|
bodyMapper: Mappers.OperationListResult,
|
|
125
107
|
},
|
|
108
|
+
default: {
|
|
109
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
110
|
+
},
|
|
126
111
|
},
|
|
127
112
|
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
128
113
|
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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,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,E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AI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACK,SAAS,CACf,QAAgB,EAChB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,qBAAqB,CAAC,CAAC;IACxF,CAAC;CACF;AApFD,wCAoFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,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,YA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AAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.PrivateEndpointConnectionsImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -18,6 +13,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
18
13
|
/// <reference lib="esnext.asynciterable" />
|
|
19
14
|
/** Class containing PrivateEndpointConnections operations. */
|
|
20
15
|
class PrivateEndpointConnectionsImpl {
|
|
16
|
+
client;
|
|
21
17
|
/**
|
|
22
18
|
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
23
19
|
* @param client Reference to the service client
|
|
@@ -41,52 +37,35 @@ class PrivateEndpointConnectionsImpl {
|
|
|
41
37
|
return this;
|
|
42
38
|
},
|
|
43
39
|
byPage: (settings) => {
|
|
44
|
-
if (settings
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
45
41
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
42
|
}
|
|
47
43
|
return this.listPagingPage(resourceGroupName, registryName, options, settings);
|
|
48
44
|
},
|
|
49
45
|
};
|
|
50
46
|
}
|
|
51
|
-
listPagingPage(resourceGroupName, registryName, options, settings) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
});
|
|
47
|
+
async *listPagingPage(resourceGroupName, registryName, options, settings) {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings?.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = await this._list(resourceGroupName, registryName, options);
|
|
52
|
+
const page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
55
|
+
yield page;
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = await this._listNext(resourceGroupName, registryName, continuationToken, options);
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
const page = result.value || [];
|
|
61
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
62
|
+
yield page;
|
|
63
|
+
}
|
|
70
64
|
}
|
|
71
|
-
listPagingAll(resourceGroupName, registryName, options) {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, registryName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
76
|
-
_c = _f.value;
|
|
77
|
-
_d = false;
|
|
78
|
-
const page = _c;
|
|
79
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
83
|
-
finally {
|
|
84
|
-
try {
|
|
85
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
86
|
-
}
|
|
87
|
-
finally { if (e_1) throw e_1.error; }
|
|
88
|
-
}
|
|
89
|
-
});
|
|
65
|
+
async *listPagingAll(resourceGroupName, registryName, options) {
|
|
66
|
+
for await (const page of this.listPagingPage(resourceGroupName, registryName, options)) {
|
|
67
|
+
yield* page;
|
|
68
|
+
}
|
|
90
69
|
}
|
|
91
70
|
/**
|
|
92
71
|
* List all private endpoint connections in a container registry.
|
|
@@ -125,14 +104,19 @@ class PrivateEndpointConnectionsImpl {
|
|
|
125
104
|
return this.client.sendOperationRequest(args, spec);
|
|
126
105
|
};
|
|
127
106
|
const sendOperationFn = async (args, spec) => {
|
|
128
|
-
var _a;
|
|
129
107
|
let currentRawResponse = undefined;
|
|
130
|
-
const providedCallback =
|
|
108
|
+
const providedCallback = args.options?.onResponse;
|
|
131
109
|
const callback = (rawResponse, flatResponse) => {
|
|
132
110
|
currentRawResponse = rawResponse;
|
|
133
|
-
providedCallback
|
|
111
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
112
|
+
};
|
|
113
|
+
const updatedArgs = {
|
|
114
|
+
...args,
|
|
115
|
+
options: {
|
|
116
|
+
...args.options,
|
|
117
|
+
onResponse: callback,
|
|
118
|
+
},
|
|
134
119
|
};
|
|
135
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
136
120
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
137
121
|
return {
|
|
138
122
|
flatResponse,
|
|
@@ -155,8 +139,8 @@ class PrivateEndpointConnectionsImpl {
|
|
|
155
139
|
spec: createOrUpdateOperationSpec,
|
|
156
140
|
});
|
|
157
141
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
158
|
-
restoreFrom: options
|
|
159
|
-
intervalInMs: options
|
|
142
|
+
restoreFrom: options?.resumeFrom,
|
|
143
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
160
144
|
resourceLocationConfig: "azure-async-operation",
|
|
161
145
|
});
|
|
162
146
|
await poller.poll();
|
|
@@ -186,14 +170,19 @@ class PrivateEndpointConnectionsImpl {
|
|
|
186
170
|
return this.client.sendOperationRequest(args, spec);
|
|
187
171
|
};
|
|
188
172
|
const sendOperationFn = async (args, spec) => {
|
|
189
|
-
var _a;
|
|
190
173
|
let currentRawResponse = undefined;
|
|
191
|
-
const providedCallback =
|
|
174
|
+
const providedCallback = args.options?.onResponse;
|
|
192
175
|
const callback = (rawResponse, flatResponse) => {
|
|
193
176
|
currentRawResponse = rawResponse;
|
|
194
|
-
providedCallback
|
|
177
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
178
|
+
};
|
|
179
|
+
const updatedArgs = {
|
|
180
|
+
...args,
|
|
181
|
+
options: {
|
|
182
|
+
...args.options,
|
|
183
|
+
onResponse: callback,
|
|
184
|
+
},
|
|
195
185
|
};
|
|
196
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
197
186
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
198
187
|
return {
|
|
199
188
|
flatResponse,
|
|
@@ -215,8 +204,8 @@ class PrivateEndpointConnectionsImpl {
|
|
|
215
204
|
spec: deleteOperationSpec,
|
|
216
205
|
});
|
|
217
206
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
218
|
-
restoreFrom: options
|
|
219
|
-
intervalInMs: options
|
|
207
|
+
restoreFrom: options?.resumeFrom,
|
|
208
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
220
209
|
resourceLocationConfig: "location",
|
|
221
210
|
});
|
|
222
211
|
await poller.poll();
|
|
@@ -254,6 +243,9 @@ const listOperationSpec = {
|
|
|
254
243
|
200: {
|
|
255
244
|
bodyMapper: Mappers.PrivateEndpointConnectionListResult,
|
|
256
245
|
},
|
|
246
|
+
default: {
|
|
247
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
248
|
+
},
|
|
257
249
|
},
|
|
258
250
|
queryParameters: [Parameters.apiVersion],
|
|
259
251
|
urlParameters: [
|
|
@@ -272,6 +264,9 @@ const getOperationSpec = {
|
|
|
272
264
|
200: {
|
|
273
265
|
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
274
266
|
},
|
|
267
|
+
default: {
|
|
268
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
269
|
+
},
|
|
275
270
|
},
|
|
276
271
|
queryParameters: [Parameters.apiVersion],
|
|
277
272
|
urlParameters: [
|
|
@@ -300,6 +295,9 @@ const createOrUpdateOperationSpec = {
|
|
|
300
295
|
204: {
|
|
301
296
|
bodyMapper: Mappers.PrivateEndpointConnection,
|
|
302
297
|
},
|
|
298
|
+
default: {
|
|
299
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
300
|
+
},
|
|
303
301
|
},
|
|
304
302
|
requestBody: Parameters.privateEndpointConnection,
|
|
305
303
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -317,7 +315,15 @@ const createOrUpdateOperationSpec = {
|
|
|
317
315
|
const deleteOperationSpec = {
|
|
318
316
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
319
317
|
httpMethod: "DELETE",
|
|
320
|
-
responses: {
|
|
318
|
+
responses: {
|
|
319
|
+
200: {},
|
|
320
|
+
201: {},
|
|
321
|
+
202: {},
|
|
322
|
+
204: {},
|
|
323
|
+
default: {
|
|
324
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
325
|
+
},
|
|
326
|
+
},
|
|
321
327
|
queryParameters: [Parameters.apiVersion],
|
|
322
328
|
urlParameters: [
|
|
323
329
|
Parameters.$host,
|
|
@@ -326,6 +332,7 @@ const deleteOperationSpec = {
|
|
|
326
332
|
Parameters.registryName,
|
|
327
333
|
Parameters.privateEndpointConnectionName,
|
|
328
334
|
],
|
|
335
|
+
headerParameters: [Parameters.accept],
|
|
329
336
|
serializer,
|
|
330
337
|
};
|
|
331
338
|
const listNextOperationSpec = {
|
|
@@ -335,13 +342,16 @@ const listNextOperationSpec = {
|
|
|
335
342
|
200: {
|
|
336
343
|
bodyMapper: Mappers.PrivateEndpointConnectionListResult,
|
|
337
344
|
},
|
|
345
|
+
default: {
|
|
346
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
347
|
+
},
|
|
338
348
|
},
|
|
339
349
|
urlParameters: [
|
|
340
350
|
Parameters.$host,
|
|
351
|
+
Parameters.nextLink,
|
|
341
352
|
Parameters.subscriptionId,
|
|
342
353
|
Parameters.resourceGroupName,
|
|
343
354
|
Parameters.registryName,
|
|
344
|
-
Parameters.nextLink,
|
|
345
355
|
],
|
|
346
356
|
headerParameters: [Parameters.accept],
|
|
347
357
|
serializer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAa,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,iDAAi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AAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,+LAA+L;IACrM,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE;IACjD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;IACD,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,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAa,8BAA8B;IACxB,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACjF,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,iBAAyB,EACzB,YAAoB,EACpB,OAAsD,EACtD,QAAuB;QAEvB,IAAI,MAA8C,CAAC;QACnD,IAAI,iBAAiB,GAAG,QAAQ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UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,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"]}
|