@azure/arm-containerregistry 9.0.0 → 10.0.0-alpha.20211214.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/CHANGELOG.md +25 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +66 -84
- package/dist/index.js +12663 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/containerRegistryManagementClient.d.ts +29 -0
- package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -0
- package/dist-esm/src/containerRegistryManagementClient.js +36 -0
- package/dist-esm/src/containerRegistryManagementClient.js.map +1 -0
- package/dist-esm/src/containerRegistryManagementClientContext.d.ts +15 -0
- package/dist-esm/src/containerRegistryManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/containerRegistryManagementClientContext.js +48 -0
- package/dist-esm/src/containerRegistryManagementClientContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +3429 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +341 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +177 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +2391 -2652
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +54 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +428 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/agentPools.d.ts +107 -0
- package/dist-esm/src/operations/agentPools.d.ts.map +1 -0
- package/dist-esm/src/operations/agentPools.js +455 -0
- package/dist-esm/src/operations/agentPools.js.map +1 -0
- package/dist-esm/src/operations/connectedRegistries.d.ts +115 -0
- package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -0
- package/dist-esm/src/operations/connectedRegistries.js +503 -0
- package/dist-esm/src/operations/connectedRegistries.js.map +1 -0
- package/dist-esm/src/operations/exportPipelines.d.ts +81 -0
- package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -0
- package/dist-esm/src/operations/exportPipelines.js +316 -0
- package/dist-esm/src/operations/exportPipelines.js.map +1 -0
- package/dist-esm/src/operations/importPipelines.d.ts +81 -0
- package/dist-esm/src/operations/importPipelines.d.ts.map +1 -0
- package/dist-esm/src/operations/importPipelines.js +316 -0
- package/dist-esm/src/operations/importPipelines.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +114 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/pipelineRuns.d.ts +81 -0
- package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -0
- package/dist-esm/src/operations/pipelineRuns.js +316 -0
- package/dist-esm/src/operations/pipelineRuns.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +326 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/registries.d.ts +217 -0
- package/dist-esm/src/operations/registries.d.ts.map +1 -0
- package/dist-esm/src/operations/registries.js +956 -0
- package/dist-esm/src/operations/registries.js.map +1 -0
- package/dist-esm/src/operations/replications.d.ts +99 -0
- package/dist-esm/src/operations/replications.d.ts.map +1 -0
- package/dist-esm/src/operations/replications.js +405 -0
- package/dist-esm/src/operations/replications.js.map +1 -0
- package/dist-esm/src/operations/runs.d.ts +89 -0
- package/dist-esm/src/operations/runs.d.ts.map +1 -0
- package/dist-esm/src/operations/runs.js +363 -0
- package/dist-esm/src/operations/runs.js.map +1 -0
- package/dist-esm/src/operations/scopeMaps.d.ts +99 -0
- package/dist-esm/src/operations/scopeMaps.d.ts.map +1 -0
- package/dist-esm/src/operations/scopeMaps.js +405 -0
- package/dist-esm/src/operations/scopeMaps.js.map +1 -0
- package/dist-esm/src/operations/taskRuns.d.ts +107 -0
- package/dist-esm/src/operations/taskRuns.d.ts.map +1 -0
- package/dist-esm/src/operations/taskRuns.js +455 -0
- package/dist-esm/src/operations/taskRuns.js.map +1 -0
- package/dist-esm/src/operations/tasks.d.ts +107 -0
- package/dist-esm/src/operations/tasks.d.ts.map +1 -0
- package/dist-esm/src/operations/tasks.js +461 -0
- package/dist-esm/src/operations/tasks.js.map +1 -0
- package/dist-esm/src/operations/tokens.d.ts +99 -0
- package/dist-esm/src/operations/tokens.d.ts.map +1 -0
- package/dist-esm/src/operations/tokens.js +405 -0
- package/dist-esm/src/operations/tokens.js.map +1 -0
- package/dist-esm/src/operations/webhooks.d.ts +142 -0
- package/dist-esm/src/operations/webhooks.d.ts.map +1 -0
- package/dist-esm/src/operations/webhooks.js +574 -0
- package/dist-esm/src/operations/webhooks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/agentPools.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/agentPools.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/agentPools.js +9 -0
- package/dist-esm/src/operationsInterfaces/agentPools.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts +90 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js +9 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.js +9 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.js +9 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +23 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js +9 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/registries.d.ts +163 -0
- package/dist-esm/src/operationsInterfaces/registries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/registries.js +9 -0
- package/dist-esm/src/operationsInterfaces/registries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replications.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/replications.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replications.js +9 -0
- package/dist-esm/src/operationsInterfaces/replications.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/runs.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/runs.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/runs.js} +2 -1
- package/dist-esm/src/operationsInterfaces/runs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.js +9 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.js +9 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tokens.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/tokens.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tokens.js +9 -0
- package/dist-esm/src/operationsInterfaces/tokens.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webhooks.d.ts +98 -0
- package/dist-esm/src/operationsInterfaces/webhooks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webhooks.js +9 -0
- package/dist-esm/src/operationsInterfaces/webhooks.js.map +1 -0
- package/dist-esm/test/containerregistry_examples.d.ts +4 -0
- package/dist-esm/test/containerregistry_examples.d.ts.map +1 -0
- package/dist-esm/test/containerregistry_examples.js +329 -0
- package/dist-esm/test/containerregistry_examples.js.map +1 -0
- package/package.json +63 -21
- package/review/arm-containerregistry.api.md +2919 -0
- package/rollup.config.js +181 -30
- package/src/containerRegistryManagementClient.ts +76 -59
- package/src/containerRegistryManagementClientContext.ts +43 -40
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +2806 -5317
- package/src/models/mappers.ts +2531 -2790
- package/src/models/parameters.ts +335 -124
- package/src/operations/agentPools.ts +465 -285
- package/src/operations/connectedRegistries.ts +507 -253
- package/src/operations/exportPipelines.ts +318 -201
- package/src/operations/importPipelines.ts +318 -201
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +82 -76
- package/src/operations/pipelineRuns.ts +318 -201
- package/src/operations/privateEndpointConnections.ts +322 -196
- package/src/operations/registries.ts +1008 -744
- package/src/operations/replications.ts +418 -238
- package/src/operations/runs.ts +348 -239
- package/src/operations/scopeMaps.ts +418 -238
- package/src/operations/taskRuns.ts +462 -282
- package/src/operations/tasks.ts +451 -271
- package/src/operations/tokens.ts +412 -238
- package/src/operations/webhooks.ts +604 -414
- package/src/operationsInterfaces/agentPools.ts +162 -0
- package/src/operationsInterfaces/connectedRegistries.ts +174 -0
- package/src/operationsInterfaces/exportPipelines.ts +109 -0
- package/src/operationsInterfaces/importPipelines.ts +109 -0
- package/src/operationsInterfaces/index.ts +23 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/pipelineRuns.ts +109 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
- package/src/operationsInterfaces/registries.ts +317 -0
- package/src/operationsInterfaces/replications.ts +147 -0
- package/src/operationsInterfaces/runs.ts +122 -0
- package/src/operationsInterfaces/scopeMaps.ts +147 -0
- package/src/operationsInterfaces/taskRuns.ts +162 -0
- package/src/operationsInterfaces/tasks.ts +156 -0
- package/src/operationsInterfaces/tokens.ts +141 -0
- package/src/operationsInterfaces/webhooks.ts +193 -0
- package/tsconfig.json +3 -3
- package/types/arm-containerregistry.d.ts +5001 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-containerregistry.js +0 -12452
- package/dist/arm-containerregistry.js.map +0 -1
- package/dist/arm-containerregistry.min.js +0 -1
- package/dist/arm-containerregistry.min.js.map +0 -1
- package/esm/containerRegistryManagementClient.d.ts +0 -38
- package/esm/containerRegistryManagementClient.d.ts.map +0 -1
- package/esm/containerRegistryManagementClient.js +0 -51
- package/esm/containerRegistryManagementClient.js.map +0 -1
- package/esm/containerRegistryManagementClientContext.d.ts +0 -21
- package/esm/containerRegistryManagementClientContext.d.ts.map +0 -1
- package/esm/containerRegistryManagementClientContext.js +0 -59
- package/esm/containerRegistryManagementClientContext.js.map +0 -1
- package/esm/models/agentPoolsMappers.d.ts +0 -2
- package/esm/models/agentPoolsMappers.d.ts.map +0 -1
- package/esm/models/agentPoolsMappers.js +0 -9
- package/esm/models/agentPoolsMappers.js.map +0 -1
- package/esm/models/connectedRegistriesMappers.d.ts +0 -2
- package/esm/models/connectedRegistriesMappers.d.ts.map +0 -1
- package/esm/models/connectedRegistriesMappers.js +0 -9
- package/esm/models/connectedRegistriesMappers.js.map +0 -1
- package/esm/models/exportPipelinesMappers.d.ts +0 -2
- package/esm/models/exportPipelinesMappers.d.ts.map +0 -1
- package/esm/models/exportPipelinesMappers.js +0 -9
- package/esm/models/exportPipelinesMappers.js.map +0 -1
- package/esm/models/importPipelinesMappers.d.ts +0 -2
- package/esm/models/importPipelinesMappers.d.ts.map +0 -1
- package/esm/models/importPipelinesMappers.js +0 -9
- package/esm/models/importPipelinesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -6004
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -179
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -24
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -301
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/pipelineRunsMappers.d.ts +0 -2
- package/esm/models/pipelineRunsMappers.d.ts.map +0 -1
- package/esm/models/pipelineRunsMappers.js +0 -9
- package/esm/models/pipelineRunsMappers.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/registriesMappers.d.ts +0 -2
- package/esm/models/registriesMappers.d.ts.map +0 -1
- package/esm/models/registriesMappers.js +0 -9
- package/esm/models/registriesMappers.js.map +0 -1
- package/esm/models/replicationsMappers.d.ts +0 -2
- package/esm/models/replicationsMappers.d.ts.map +0 -1
- package/esm/models/replicationsMappers.js +0 -9
- package/esm/models/replicationsMappers.js.map +0 -1
- package/esm/models/runsMappers.d.ts +0 -2
- package/esm/models/runsMappers.d.ts.map +0 -1
- package/esm/models/runsMappers.js +0 -9
- package/esm/models/runsMappers.js.map +0 -1
- package/esm/models/scopeMapsMappers.d.ts +0 -2
- package/esm/models/scopeMapsMappers.d.ts.map +0 -1
- package/esm/models/scopeMapsMappers.js +0 -9
- package/esm/models/scopeMapsMappers.js.map +0 -1
- package/esm/models/taskRunsMappers.d.ts +0 -2
- package/esm/models/taskRunsMappers.d.ts.map +0 -1
- package/esm/models/taskRunsMappers.js +0 -9
- package/esm/models/taskRunsMappers.js.map +0 -1
- package/esm/models/tasksMappers.d.ts +0 -2
- package/esm/models/tasksMappers.d.ts.map +0 -1
- package/esm/models/tasksMappers.js +0 -9
- package/esm/models/tasksMappers.js.map +0 -1
- package/esm/models/tokensMappers.d.ts +0 -2
- package/esm/models/tokensMappers.d.ts.map +0 -1
- package/esm/models/tokensMappers.js +0 -9
- package/esm/models/tokensMappers.js.map +0 -1
- package/esm/models/webhooksMappers.d.ts +0 -2
- package/esm/models/webhooksMappers.d.ts.map +0 -1
- package/esm/models/webhooksMappers.js +0 -9
- package/esm/models/webhooksMappers.js.map +0 -1
- package/esm/operations/agentPools.d.ts +0 -159
- package/esm/operations/agentPools.d.ts.map +0 -1
- package/esm/operations/agentPools.js +0 -332
- package/esm/operations/agentPools.js.map +0 -1
- package/esm/operations/connectedRegistries.d.ts +0 -153
- package/esm/operations/connectedRegistries.d.ts.map +0 -1
- package/esm/operations/connectedRegistries.js +0 -353
- package/esm/operations/connectedRegistries.js.map +0 -1
- package/esm/operations/exportPipelines.d.ts +0 -115
- package/esm/operations/exportPipelines.d.ts.map +0 -1
- package/esm/operations/exportPipelines.js +0 -236
- package/esm/operations/exportPipelines.js.map +0 -1
- package/esm/operations/importPipelines.d.ts +0 -115
- package/esm/operations/importPipelines.d.ts.map +0 -1
- package/esm/operations/importPipelines.js +0 -236
- package/esm/operations/importPipelines.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/pipelineRuns.d.ts +0 -115
- package/esm/operations/pipelineRuns.d.ts.map +0 -1
- package/esm/operations/pipelineRuns.js +0 -236
- package/esm/operations/pipelineRuns.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -117
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -238
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/registries.d.ts +0 -358
- package/esm/operations/registries.d.ts.map +0 -1
- package/esm/operations/registries.js +0 -729
- package/esm/operations/registries.js.map +0 -1
- package/esm/operations/replications.d.ts +0 -135
- package/esm/operations/replications.d.ts.map +0 -1
- package/esm/operations/replications.js +0 -299
- package/esm/operations/replications.js.map +0 -1
- package/esm/operations/runs.d.ts +0 -139
- package/esm/operations/runs.d.ts.map +0 -1
- package/esm/operations/runs.js +0 -272
- package/esm/operations/runs.js.map +0 -1
- package/esm/operations/scopeMaps.d.ts +0 -135
- package/esm/operations/scopeMaps.d.ts.map +0 -1
- package/esm/operations/scopeMaps.js +0 -299
- package/esm/operations/scopeMaps.js.map +0 -1
- package/esm/operations/taskRuns.d.ts +0 -159
- package/esm/operations/taskRuns.d.ts.map +0 -1
- package/esm/operations/taskRuns.js +0 -332
- package/esm/operations/taskRuns.js.map +0 -1
- package/esm/operations/tasks.d.ts +0 -159
- package/esm/operations/tasks.d.ts.map +0 -1
- package/esm/operations/tasks.js +0 -332
- package/esm/operations/tasks.js.map +0 -1
- package/esm/operations/tokens.d.ts +0 -135
- package/esm/operations/tokens.d.ts.map +0 -1
- package/esm/operations/tokens.js +0 -299
- package/esm/operations/tokens.js.map +0 -1
- package/esm/operations/webhooks.d.ts +0 -225
- package/esm/operations/webhooks.d.ts.map +0 -1
- package/esm/operations/webhooks.js +0 -427
- package/esm/operations/webhooks.js.map +0 -1
- package/src/models/agentPoolsMappers.ts +0 -102
- package/src/models/connectedRegistriesMappers.ts +0 -102
- package/src/models/exportPipelinesMappers.ts +0 -98
- package/src/models/importPipelinesMappers.ts +0 -98
- package/src/models/operationsMappers.ts +0 -18
- package/src/models/pipelineRunsMappers.ts +0 -98
- package/src/models/privateEndpointConnectionsMappers.ts +0 -98
- package/src/models/registriesMappers.ts +0 -117
- package/src/models/replicationsMappers.ts +0 -99
- package/src/models/runsMappers.ts +0 -102
- package/src/models/scopeMapsMappers.ts +0 -99
- package/src/models/taskRunsMappers.ts +0 -101
- package/src/models/tasksMappers.ts +0 -112
- package/src/models/tokensMappers.ts +0 -99
- package/src/models/webhooksMappers.ts +0 -111
@@ -3,24 +3,39 @@
|
|
3
3
|
* Licensed under the MIT License.
|
4
4
|
*
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
7
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
7
|
*/
|
9
8
|
|
10
|
-
import
|
11
|
-
import
|
12
|
-
import * as
|
13
|
-
import * as Mappers from "../models/
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { PrivateEndpointConnections } from "../operationsInterfaces";
|
11
|
+
import * as coreClient from "@azure/core-client";
|
12
|
+
import * as Mappers from "../models/mappers";
|
14
13
|
import * as Parameters from "../models/parameters";
|
15
14
|
import { ContainerRegistryManagementClientContext } from "../containerRegistryManagementClientContext";
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
16
|
+
import { LroImpl } from "../lroImpl";
|
17
|
+
import {
|
18
|
+
PrivateEndpointConnection,
|
19
|
+
PrivateEndpointConnectionsListNextOptionalParams,
|
20
|
+
PrivateEndpointConnectionsListOptionalParams,
|
21
|
+
PrivateEndpointConnectionsListResponse,
|
22
|
+
PrivateEndpointConnectionsGetOptionalParams,
|
23
|
+
PrivateEndpointConnectionsGetResponse,
|
24
|
+
PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
|
25
|
+
PrivateEndpointConnectionsCreateOrUpdateResponse,
|
26
|
+
PrivateEndpointConnectionsDeleteOptionalParams,
|
27
|
+
PrivateEndpointConnectionsListNextResponse
|
28
|
+
} from "../models";
|
16
29
|
|
17
|
-
|
18
|
-
|
30
|
+
/// <reference lib="esnext.asynciterable" />
|
31
|
+
/** Class containing PrivateEndpointConnections operations. */
|
32
|
+
export class PrivateEndpointConnectionsImpl
|
33
|
+
implements PrivateEndpointConnections {
|
19
34
|
private readonly client: ContainerRegistryManagementClientContext;
|
20
35
|
|
21
36
|
/**
|
22
|
-
*
|
23
|
-
* @param
|
37
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
38
|
+
* @param client Reference to the service client
|
24
39
|
*/
|
25
40
|
constructor(client: ContainerRegistryManagementClientContext) {
|
26
41
|
this.client = client;
|
@@ -30,83 +45,201 @@ export class PrivateEndpointConnections {
|
|
30
45
|
* List all private endpoint connections in a container registry.
|
31
46
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
32
47
|
* @param registryName The name of the container registry.
|
33
|
-
* @param
|
34
|
-
* @returns Promise<Models.PrivateEndpointConnectionsListResponse>
|
48
|
+
* @param options The options parameters.
|
35
49
|
*/
|
36
|
-
list(
|
50
|
+
public list(
|
51
|
+
resourceGroupName: string,
|
52
|
+
registryName: string,
|
53
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
54
|
+
): PagedAsyncIterableIterator<PrivateEndpointConnection> {
|
55
|
+
const iter = this.listPagingAll(resourceGroupName, registryName, options);
|
56
|
+
return {
|
57
|
+
next() {
|
58
|
+
return iter.next();
|
59
|
+
},
|
60
|
+
[Symbol.asyncIterator]() {
|
61
|
+
return this;
|
62
|
+
},
|
63
|
+
byPage: () => {
|
64
|
+
return this.listPagingPage(resourceGroupName, registryName, options);
|
65
|
+
}
|
66
|
+
};
|
67
|
+
}
|
68
|
+
|
69
|
+
private async *listPagingPage(
|
70
|
+
resourceGroupName: string,
|
71
|
+
registryName: string,
|
72
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
73
|
+
): AsyncIterableIterator<PrivateEndpointConnection[]> {
|
74
|
+
let result = await this._list(resourceGroupName, registryName, options);
|
75
|
+
yield result.value || [];
|
76
|
+
let continuationToken = result.nextLink;
|
77
|
+
while (continuationToken) {
|
78
|
+
result = await this._listNext(
|
79
|
+
resourceGroupName,
|
80
|
+
registryName,
|
81
|
+
continuationToken,
|
82
|
+
options
|
83
|
+
);
|
84
|
+
continuationToken = result.nextLink;
|
85
|
+
yield result.value || [];
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
private async *listPagingAll(
|
90
|
+
resourceGroupName: string,
|
91
|
+
registryName: string,
|
92
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
93
|
+
): AsyncIterableIterator<PrivateEndpointConnection> {
|
94
|
+
for await (const page of this.listPagingPage(
|
95
|
+
resourceGroupName,
|
96
|
+
registryName,
|
97
|
+
options
|
98
|
+
)) {
|
99
|
+
yield* page;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
37
103
|
/**
|
104
|
+
* List all private endpoint connections in a container registry.
|
38
105
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
39
106
|
* @param registryName The name of the container registry.
|
40
|
-
* @param
|
107
|
+
* @param options The options parameters.
|
41
108
|
*/
|
42
|
-
|
109
|
+
private _list(
|
110
|
+
resourceGroupName: string,
|
111
|
+
registryName: string,
|
112
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
113
|
+
): Promise<PrivateEndpointConnectionsListResponse> {
|
114
|
+
return this.client.sendOperationRequest(
|
115
|
+
{ resourceGroupName, registryName, options },
|
116
|
+
listOperationSpec
|
117
|
+
);
|
118
|
+
}
|
119
|
+
|
43
120
|
/**
|
121
|
+
* Get the specified private endpoint connection associated with the container registry.
|
44
122
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
45
123
|
* @param registryName The name of the container registry.
|
46
|
-
* @param
|
47
|
-
* @param
|
124
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
125
|
+
* @param options The options parameters.
|
48
126
|
*/
|
49
|
-
|
50
|
-
|
127
|
+
get(
|
128
|
+
resourceGroupName: string,
|
129
|
+
registryName: string,
|
130
|
+
privateEndpointConnectionName: string,
|
131
|
+
options?: PrivateEndpointConnectionsGetOptionalParams
|
132
|
+
): Promise<PrivateEndpointConnectionsGetResponse> {
|
51
133
|
return this.client.sendOperationRequest(
|
52
134
|
{
|
53
135
|
resourceGroupName,
|
54
136
|
registryName,
|
137
|
+
privateEndpointConnectionName,
|
55
138
|
options
|
56
139
|
},
|
57
|
-
|
58
|
-
|
140
|
+
getOperationSpec
|
141
|
+
);
|
59
142
|
}
|
60
143
|
|
61
144
|
/**
|
62
|
-
*
|
63
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
64
|
-
* @param registryName The name of the container registry.
|
65
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
66
|
-
* @param [options] The optional parameters
|
67
|
-
* @returns Promise<Models.PrivateEndpointConnectionsGetResponse>
|
68
|
-
*/
|
69
|
-
get(resourceGroupName: string, registryName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsGetResponse>;
|
70
|
-
/**
|
71
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
72
|
-
* @param registryName The name of the container registry.
|
73
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
74
|
-
* @param callback The callback
|
75
|
-
*/
|
76
|
-
get(resourceGroupName: string, registryName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
|
77
|
-
/**
|
145
|
+
* Update the state of specified private endpoint connection associated with the container registry.
|
78
146
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
79
147
|
* @param registryName The name of the container registry.
|
80
148
|
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
81
|
-
* @param
|
82
|
-
* @param
|
149
|
+
* @param privateEndpointConnection The parameters for creating a private endpoint connection.
|
150
|
+
* @param options The options parameters.
|
83
151
|
*/
|
84
|
-
|
85
|
-
|
86
|
-
|
152
|
+
async beginCreateOrUpdate(
|
153
|
+
resourceGroupName: string,
|
154
|
+
registryName: string,
|
155
|
+
privateEndpointConnectionName: string,
|
156
|
+
privateEndpointConnection: PrivateEndpointConnection,
|
157
|
+
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
158
|
+
): Promise<
|
159
|
+
PollerLike<
|
160
|
+
PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,
|
161
|
+
PrivateEndpointConnectionsCreateOrUpdateResponse
|
162
|
+
>
|
163
|
+
> {
|
164
|
+
const directSendOperation = async (
|
165
|
+
args: coreClient.OperationArguments,
|
166
|
+
spec: coreClient.OperationSpec
|
167
|
+
): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> => {
|
168
|
+
return this.client.sendOperationRequest(args, spec);
|
169
|
+
};
|
170
|
+
const sendOperation = async (
|
171
|
+
args: coreClient.OperationArguments,
|
172
|
+
spec: coreClient.OperationSpec
|
173
|
+
) => {
|
174
|
+
let currentRawResponse:
|
175
|
+
| coreClient.FullOperationResponse
|
176
|
+
| undefined = undefined;
|
177
|
+
const providedCallback = args.options?.onResponse;
|
178
|
+
const callback: coreClient.RawResponseCallback = (
|
179
|
+
rawResponse: coreClient.FullOperationResponse,
|
180
|
+
flatResponse: unknown
|
181
|
+
) => {
|
182
|
+
currentRawResponse = rawResponse;
|
183
|
+
providedCallback?.(rawResponse, flatResponse);
|
184
|
+
};
|
185
|
+
const updatedArgs = {
|
186
|
+
...args,
|
187
|
+
options: {
|
188
|
+
...args.options,
|
189
|
+
onResponse: callback
|
190
|
+
}
|
191
|
+
};
|
192
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
193
|
+
return {
|
194
|
+
flatResponse,
|
195
|
+
rawResponse: {
|
196
|
+
statusCode: currentRawResponse!.status,
|
197
|
+
body: currentRawResponse!.parsedBody,
|
198
|
+
headers: currentRawResponse!.headers.toJSON()
|
199
|
+
}
|
200
|
+
};
|
201
|
+
};
|
202
|
+
|
203
|
+
const lro = new LroImpl(
|
204
|
+
sendOperation,
|
87
205
|
{
|
88
206
|
resourceGroupName,
|
89
207
|
registryName,
|
90
208
|
privateEndpointConnectionName,
|
209
|
+
privateEndpointConnection,
|
91
210
|
options
|
92
211
|
},
|
93
|
-
|
94
|
-
|
212
|
+
createOrUpdateOperationSpec
|
213
|
+
);
|
214
|
+
return new LroEngine(lro, {
|
215
|
+
resumeFrom: options?.resumeFrom,
|
216
|
+
intervalInMs: options?.updateIntervalInMs
|
217
|
+
});
|
95
218
|
}
|
96
219
|
|
97
220
|
/**
|
98
|
-
* Update the state of specified private endpoint connection associated with the container
|
99
|
-
* registry.
|
221
|
+
* Update the state of specified private endpoint connection associated with the container registry.
|
100
222
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
101
223
|
* @param registryName The name of the container registry.
|
102
224
|
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
103
225
|
* @param privateEndpointConnection The parameters for creating a private endpoint connection.
|
104
|
-
* @param
|
105
|
-
* @returns Promise<Models.PrivateEndpointConnectionsCreateOrUpdateResponse>
|
226
|
+
* @param options The options parameters.
|
106
227
|
*/
|
107
|
-
|
108
|
-
|
109
|
-
|
228
|
+
async beginCreateOrUpdateAndWait(
|
229
|
+
resourceGroupName: string,
|
230
|
+
registryName: string,
|
231
|
+
privateEndpointConnectionName: string,
|
232
|
+
privateEndpointConnection: PrivateEndpointConnection,
|
233
|
+
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
234
|
+
): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> {
|
235
|
+
const poller = await this.beginCreateOrUpdate(
|
236
|
+
resourceGroupName,
|
237
|
+
registryName,
|
238
|
+
privateEndpointConnectionName,
|
239
|
+
privateEndpointConnection,
|
240
|
+
options
|
241
|
+
);
|
242
|
+
return poller.pollUntilDone();
|
110
243
|
}
|
111
244
|
|
112
245
|
/**
|
@@ -114,35 +247,67 @@ export class PrivateEndpointConnections {
|
|
114
247
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
115
248
|
* @param registryName The name of the container registry.
|
116
249
|
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
117
|
-
* @param
|
118
|
-
* @returns Promise<msRest.RestResponse>
|
250
|
+
* @param options The options parameters.
|
119
251
|
*/
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
252
|
+
async beginDelete(
|
253
|
+
resourceGroupName: string,
|
254
|
+
registryName: string,
|
255
|
+
privateEndpointConnectionName: string,
|
256
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
257
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
258
|
+
const directSendOperation = async (
|
259
|
+
args: coreClient.OperationArguments,
|
260
|
+
spec: coreClient.OperationSpec
|
261
|
+
): Promise<void> => {
|
262
|
+
return this.client.sendOperationRequest(args, spec);
|
263
|
+
};
|
264
|
+
const sendOperation = async (
|
265
|
+
args: coreClient.OperationArguments,
|
266
|
+
spec: coreClient.OperationSpec
|
267
|
+
) => {
|
268
|
+
let currentRawResponse:
|
269
|
+
| coreClient.FullOperationResponse
|
270
|
+
| undefined = undefined;
|
271
|
+
const providedCallback = args.options?.onResponse;
|
272
|
+
const callback: coreClient.RawResponseCallback = (
|
273
|
+
rawResponse: coreClient.FullOperationResponse,
|
274
|
+
flatResponse: unknown
|
275
|
+
) => {
|
276
|
+
currentRawResponse = rawResponse;
|
277
|
+
providedCallback?.(rawResponse, flatResponse);
|
278
|
+
};
|
279
|
+
const updatedArgs = {
|
280
|
+
...args,
|
281
|
+
options: {
|
282
|
+
...args.options,
|
283
|
+
onResponse: callback
|
284
|
+
}
|
285
|
+
};
|
286
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
287
|
+
return {
|
288
|
+
flatResponse,
|
289
|
+
rawResponse: {
|
290
|
+
statusCode: currentRawResponse!.status,
|
291
|
+
body: currentRawResponse!.parsedBody,
|
292
|
+
headers: currentRawResponse!.headers.toJSON()
|
293
|
+
}
|
294
|
+
};
|
295
|
+
};
|
124
296
|
|
125
|
-
|
126
|
-
|
127
|
-
* registry.
|
128
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
129
|
-
* @param registryName The name of the container registry.
|
130
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
131
|
-
* @param privateEndpointConnection The parameters for creating a private endpoint connection.
|
132
|
-
* @param [options] The optional parameters
|
133
|
-
* @returns Promise<msRestAzure.LROPoller>
|
134
|
-
*/
|
135
|
-
beginCreateOrUpdate(resourceGroupName: string, registryName: string, privateEndpointConnectionName: string, privateEndpointConnection: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
136
|
-
return this.client.sendLRORequest(
|
297
|
+
const lro = new LroImpl(
|
298
|
+
sendOperation,
|
137
299
|
{
|
138
300
|
resourceGroupName,
|
139
301
|
registryName,
|
140
302
|
privateEndpointConnectionName,
|
141
|
-
privateEndpointConnection,
|
142
303
|
options
|
143
304
|
},
|
144
|
-
|
145
|
-
|
305
|
+
deleteOperationSpec
|
306
|
+
);
|
307
|
+
return new LroEngine(lro, {
|
308
|
+
resumeFrom: options?.resumeFrom,
|
309
|
+
intervalInMs: options?.updateIntervalInMs
|
310
|
+
});
|
146
311
|
}
|
147
312
|
|
148
313
|
/**
|
@@ -150,125 +315,88 @@ export class PrivateEndpointConnections {
|
|
150
315
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
151
316
|
* @param registryName The name of the container registry.
|
152
317
|
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
153
|
-
* @param
|
154
|
-
* @returns Promise<msRestAzure.LROPoller>
|
318
|
+
* @param options The options parameters.
|
155
319
|
*/
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
320
|
+
async beginDeleteAndWait(
|
321
|
+
resourceGroupName: string,
|
322
|
+
registryName: string,
|
323
|
+
privateEndpointConnectionName: string,
|
324
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
325
|
+
): Promise<void> {
|
326
|
+
const poller = await this.beginDelete(
|
327
|
+
resourceGroupName,
|
328
|
+
registryName,
|
329
|
+
privateEndpointConnectionName,
|
330
|
+
options
|
331
|
+
);
|
332
|
+
return poller.pollUntilDone();
|
166
333
|
}
|
167
334
|
|
168
335
|
/**
|
169
|
-
*
|
170
|
-
* @param
|
171
|
-
* @param
|
172
|
-
* @
|
173
|
-
|
174
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsListNextResponse>;
|
175
|
-
/**
|
176
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
177
|
-
* @param callback The callback
|
178
|
-
*/
|
179
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>): void;
|
180
|
-
/**
|
181
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
182
|
-
* @param options The optional parameters
|
183
|
-
* @param callback The callback
|
336
|
+
* ListNext
|
337
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
338
|
+
* @param registryName The name of the container registry.
|
339
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
340
|
+
* @param options The options parameters.
|
184
341
|
*/
|
185
|
-
|
186
|
-
|
342
|
+
private _listNext(
|
343
|
+
resourceGroupName: string,
|
344
|
+
registryName: string,
|
345
|
+
nextLink: string,
|
346
|
+
options?: PrivateEndpointConnectionsListNextOptionalParams
|
347
|
+
): Promise<PrivateEndpointConnectionsListNextResponse> {
|
187
348
|
return this.client.sendOperationRequest(
|
188
|
-
{
|
189
|
-
|
190
|
-
|
191
|
-
},
|
192
|
-
listNextOperationSpec,
|
193
|
-
callback) as Promise<Models.PrivateEndpointConnectionsListNextResponse>;
|
349
|
+
{ resourceGroupName, registryName, nextLink, options },
|
350
|
+
listNextOperationSpec
|
351
|
+
);
|
194
352
|
}
|
195
353
|
}
|
196
|
-
|
197
354
|
// Operation Specifications
|
198
|
-
const serializer =
|
199
|
-
|
355
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
356
|
+
|
357
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
358
|
+
path:
|
359
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections",
|
200
360
|
httpMethod: "GET",
|
201
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections",
|
202
|
-
urlParameters: [
|
203
|
-
Parameters.subscriptionId,
|
204
|
-
Parameters.resourceGroupName,
|
205
|
-
Parameters.registryName
|
206
|
-
],
|
207
|
-
queryParameters: [
|
208
|
-
Parameters.apiVersion0
|
209
|
-
],
|
210
|
-
headerParameters: [
|
211
|
-
Parameters.acceptLanguage
|
212
|
-
],
|
213
361
|
responses: {
|
214
362
|
200: {
|
215
363
|
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
216
|
-
},
|
217
|
-
default: {
|
218
|
-
bodyMapper: Mappers.CloudError
|
219
364
|
}
|
220
365
|
},
|
221
|
-
|
222
|
-
};
|
223
|
-
|
224
|
-
const getOperationSpec: msRest.OperationSpec = {
|
225
|
-
httpMethod: "GET",
|
226
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
366
|
+
queryParameters: [Parameters.apiVersion],
|
227
367
|
urlParameters: [
|
368
|
+
Parameters.$host,
|
228
369
|
Parameters.subscriptionId,
|
229
370
|
Parameters.resourceGroupName,
|
230
|
-
Parameters.registryName
|
231
|
-
Parameters.privateEndpointConnectionName
|
232
|
-
],
|
233
|
-
queryParameters: [
|
234
|
-
Parameters.apiVersion0
|
235
|
-
],
|
236
|
-
headerParameters: [
|
237
|
-
Parameters.acceptLanguage
|
371
|
+
Parameters.registryName
|
238
372
|
],
|
373
|
+
headerParameters: [Parameters.accept],
|
374
|
+
serializer
|
375
|
+
};
|
376
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
377
|
+
path:
|
378
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
379
|
+
httpMethod: "GET",
|
239
380
|
responses: {
|
240
381
|
200: {
|
241
382
|
bodyMapper: Mappers.PrivateEndpointConnection
|
242
|
-
},
|
243
|
-
default: {
|
244
|
-
bodyMapper: Mappers.CloudError
|
245
383
|
}
|
246
384
|
},
|
247
|
-
|
248
|
-
};
|
249
|
-
|
250
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
251
|
-
httpMethod: "PUT",
|
252
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
385
|
+
queryParameters: [Parameters.apiVersion],
|
253
386
|
urlParameters: [
|
387
|
+
Parameters.$host,
|
254
388
|
Parameters.subscriptionId,
|
255
389
|
Parameters.resourceGroupName,
|
256
390
|
Parameters.registryName,
|
257
391
|
Parameters.privateEndpointConnectionName
|
258
392
|
],
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
parameterPath: "privateEndpointConnection",
|
267
|
-
mapper: {
|
268
|
-
...Mappers.PrivateEndpointConnection,
|
269
|
-
required: true
|
270
|
-
}
|
271
|
-
},
|
393
|
+
headerParameters: [Parameters.accept],
|
394
|
+
serializer
|
395
|
+
};
|
396
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
397
|
+
path:
|
398
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
399
|
+
httpMethod: "PUT",
|
272
400
|
responses: {
|
273
401
|
200: {
|
274
402
|
bodyMapper: Mappers.PrivateEndpointConnection
|
@@ -276,59 +404,57 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
276
404
|
201: {
|
277
405
|
bodyMapper: Mappers.PrivateEndpointConnection
|
278
406
|
},
|
279
|
-
|
280
|
-
bodyMapper: Mappers.
|
407
|
+
202: {
|
408
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
409
|
+
},
|
410
|
+
204: {
|
411
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
281
412
|
}
|
282
413
|
},
|
414
|
+
requestBody: Parameters.privateEndpointConnection,
|
415
|
+
queryParameters: [Parameters.apiVersion],
|
416
|
+
urlParameters: [
|
417
|
+
Parameters.$host,
|
418
|
+
Parameters.subscriptionId,
|
419
|
+
Parameters.resourceGroupName,
|
420
|
+
Parameters.registryName,
|
421
|
+
Parameters.privateEndpointConnectionName
|
422
|
+
],
|
423
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
424
|
+
mediaType: "json",
|
283
425
|
serializer
|
284
426
|
};
|
285
|
-
|
286
|
-
|
427
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
428
|
+
path:
|
429
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
287
430
|
httpMethod: "DELETE",
|
288
|
-
|
431
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
432
|
+
queryParameters: [Parameters.apiVersion],
|
289
433
|
urlParameters: [
|
434
|
+
Parameters.$host,
|
290
435
|
Parameters.subscriptionId,
|
291
436
|
Parameters.resourceGroupName,
|
292
437
|
Parameters.registryName,
|
293
438
|
Parameters.privateEndpointConnectionName
|
294
439
|
],
|
295
|
-
queryParameters: [
|
296
|
-
Parameters.apiVersion0
|
297
|
-
],
|
298
|
-
headerParameters: [
|
299
|
-
Parameters.acceptLanguage
|
300
|
-
],
|
301
|
-
responses: {
|
302
|
-
200: {},
|
303
|
-
202: {},
|
304
|
-
204: {},
|
305
|
-
default: {
|
306
|
-
bodyMapper: Mappers.CloudError
|
307
|
-
}
|
308
|
-
},
|
309
440
|
serializer
|
310
441
|
};
|
311
|
-
|
312
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
313
|
-
httpMethod: "GET",
|
314
|
-
baseUrl: "https://management.azure.com",
|
442
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
315
443
|
path: "{nextLink}",
|
316
|
-
|
317
|
-
Parameters.nextPageLink
|
318
|
-
],
|
319
|
-
queryParameters: [
|
320
|
-
Parameters.apiVersion0
|
321
|
-
],
|
322
|
-
headerParameters: [
|
323
|
-
Parameters.acceptLanguage
|
324
|
-
],
|
444
|
+
httpMethod: "GET",
|
325
445
|
responses: {
|
326
446
|
200: {
|
327
447
|
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
328
|
-
},
|
329
|
-
default: {
|
330
|
-
bodyMapper: Mappers.CloudError
|
331
448
|
}
|
332
449
|
},
|
450
|
+
queryParameters: [Parameters.apiVersion],
|
451
|
+
urlParameters: [
|
452
|
+
Parameters.$host,
|
453
|
+
Parameters.subscriptionId,
|
454
|
+
Parameters.resourceGroupName,
|
455
|
+
Parameters.registryName,
|
456
|
+
Parameters.nextLink
|
457
|
+
],
|
458
|
+
headerParameters: [Parameters.accept],
|
333
459
|
serializer
|
334
460
|
};
|