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