@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,41 @@
|
|
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 { Replications } 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
|
+
Replication,
|
19
|
+
ReplicationsListNextOptionalParams,
|
20
|
+
ReplicationsListOptionalParams,
|
21
|
+
ReplicationsListResponse,
|
22
|
+
ReplicationsGetOptionalParams,
|
23
|
+
ReplicationsGetResponse,
|
24
|
+
ReplicationsCreateOptionalParams,
|
25
|
+
ReplicationsCreateResponse,
|
26
|
+
ReplicationsDeleteOptionalParams,
|
27
|
+
ReplicationUpdateParameters,
|
28
|
+
ReplicationsUpdateOptionalParams,
|
29
|
+
ReplicationsUpdateResponse,
|
30
|
+
ReplicationsListNextResponse
|
31
|
+
} from "../models";
|
16
32
|
|
17
|
-
|
18
|
-
|
33
|
+
/// <reference lib="esnext.asynciterable" />
|
34
|
+
/** Class containing Replications operations. */
|
35
|
+
export class ReplicationsImpl implements Replications {
|
19
36
|
private readonly client: ContainerRegistryManagementClientContext;
|
20
37
|
|
21
38
|
/**
|
22
|
-
*
|
23
|
-
* @param
|
39
|
+
* Initialize a new instance of the class Replications class.
|
40
|
+
* @param client Reference to the service client
|
24
41
|
*/
|
25
42
|
constructor(client: ContainerRegistryManagementClientContext) {
|
26
43
|
this.client = client;
|
@@ -30,68 +47,171 @@ export class Replications {
|
|
30
47
|
* Lists all the replications for the specified container registry.
|
31
48
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
32
49
|
* @param registryName The name of the container registry.
|
33
|
-
* @param
|
34
|
-
* @returns Promise<Models.ReplicationsListResponse>
|
50
|
+
* @param options The options parameters.
|
35
51
|
*/
|
36
|
-
list(
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
52
|
+
public list(
|
53
|
+
resourceGroupName: string,
|
54
|
+
registryName: string,
|
55
|
+
options?: ReplicationsListOptionalParams
|
56
|
+
): PagedAsyncIterableIterator<Replication> {
|
57
|
+
const iter = this.listPagingAll(resourceGroupName, registryName, options);
|
58
|
+
return {
|
59
|
+
next() {
|
60
|
+
return iter.next();
|
61
|
+
},
|
62
|
+
[Symbol.asyncIterator]() {
|
63
|
+
return this;
|
64
|
+
},
|
65
|
+
byPage: () => {
|
66
|
+
return this.listPagingPage(resourceGroupName, registryName, options);
|
67
|
+
}
|
68
|
+
};
|
69
|
+
}
|
70
|
+
|
71
|
+
private async *listPagingPage(
|
72
|
+
resourceGroupName: string,
|
73
|
+
registryName: string,
|
74
|
+
options?: ReplicationsListOptionalParams
|
75
|
+
): AsyncIterableIterator<Replication[]> {
|
76
|
+
let result = await this._list(resourceGroupName, registryName, options);
|
77
|
+
yield result.value || [];
|
78
|
+
let continuationToken = result.nextLink;
|
79
|
+
while (continuationToken) {
|
80
|
+
result = await this._listNext(
|
53
81
|
resourceGroupName,
|
54
82
|
registryName,
|
83
|
+
continuationToken,
|
55
84
|
options
|
56
|
-
|
57
|
-
|
58
|
-
|
85
|
+
);
|
86
|
+
continuationToken = result.nextLink;
|
87
|
+
yield result.value || [];
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
private async *listPagingAll(
|
92
|
+
resourceGroupName: string,
|
93
|
+
registryName: string,
|
94
|
+
options?: ReplicationsListOptionalParams
|
95
|
+
): AsyncIterableIterator<Replication> {
|
96
|
+
for await (const page of this.listPagingPage(
|
97
|
+
resourceGroupName,
|
98
|
+
registryName,
|
99
|
+
options
|
100
|
+
)) {
|
101
|
+
yield* page;
|
102
|
+
}
|
59
103
|
}
|
60
104
|
|
61
105
|
/**
|
62
|
-
*
|
106
|
+
* Lists all the replications for the specified container registry.
|
63
107
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
64
108
|
* @param registryName The name of the container registry.
|
65
|
-
* @param
|
66
|
-
* @param [options] The optional parameters
|
67
|
-
* @returns Promise<Models.ReplicationsGetResponse>
|
109
|
+
* @param options The options parameters.
|
68
110
|
*/
|
69
|
-
|
111
|
+
private _list(
|
112
|
+
resourceGroupName: string,
|
113
|
+
registryName: string,
|
114
|
+
options?: ReplicationsListOptionalParams
|
115
|
+
): Promise<ReplicationsListResponse> {
|
116
|
+
return this.client.sendOperationRequest(
|
117
|
+
{ resourceGroupName, registryName, options },
|
118
|
+
listOperationSpec
|
119
|
+
);
|
120
|
+
}
|
121
|
+
|
70
122
|
/**
|
123
|
+
* Gets the properties of the specified replication.
|
71
124
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
72
125
|
* @param registryName The name of the container registry.
|
73
126
|
* @param replicationName The name of the replication.
|
74
|
-
* @param
|
127
|
+
* @param options The options parameters.
|
75
128
|
*/
|
76
|
-
get(
|
129
|
+
get(
|
130
|
+
resourceGroupName: string,
|
131
|
+
registryName: string,
|
132
|
+
replicationName: string,
|
133
|
+
options?: ReplicationsGetOptionalParams
|
134
|
+
): Promise<ReplicationsGetResponse> {
|
135
|
+
return this.client.sendOperationRequest(
|
136
|
+
{ resourceGroupName, registryName, replicationName, options },
|
137
|
+
getOperationSpec
|
138
|
+
);
|
139
|
+
}
|
140
|
+
|
77
141
|
/**
|
142
|
+
* Creates a replication for a container registry with the specified parameters.
|
78
143
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
79
144
|
* @param registryName The name of the container registry.
|
80
145
|
* @param replicationName The name of the replication.
|
81
|
-
* @param
|
82
|
-
* @param
|
146
|
+
* @param replication The parameters for creating a replication.
|
147
|
+
* @param options The options parameters.
|
83
148
|
*/
|
84
|
-
|
85
|
-
|
86
|
-
|
149
|
+
async beginCreate(
|
150
|
+
resourceGroupName: string,
|
151
|
+
registryName: string,
|
152
|
+
replicationName: string,
|
153
|
+
replication: Replication,
|
154
|
+
options?: ReplicationsCreateOptionalParams
|
155
|
+
): Promise<
|
156
|
+
PollerLike<
|
157
|
+
PollOperationState<ReplicationsCreateResponse>,
|
158
|
+
ReplicationsCreateResponse
|
159
|
+
>
|
160
|
+
> {
|
161
|
+
const directSendOperation = async (
|
162
|
+
args: coreClient.OperationArguments,
|
163
|
+
spec: coreClient.OperationSpec
|
164
|
+
): Promise<ReplicationsCreateResponse> => {
|
165
|
+
return this.client.sendOperationRequest(args, spec);
|
166
|
+
};
|
167
|
+
const sendOperation = async (
|
168
|
+
args: coreClient.OperationArguments,
|
169
|
+
spec: coreClient.OperationSpec
|
170
|
+
) => {
|
171
|
+
let currentRawResponse:
|
172
|
+
| coreClient.FullOperationResponse
|
173
|
+
| undefined = undefined;
|
174
|
+
const providedCallback = args.options?.onResponse;
|
175
|
+
const callback: coreClient.RawResponseCallback = (
|
176
|
+
rawResponse: coreClient.FullOperationResponse,
|
177
|
+
flatResponse: unknown
|
178
|
+
) => {
|
179
|
+
currentRawResponse = rawResponse;
|
180
|
+
providedCallback?.(rawResponse, flatResponse);
|
181
|
+
};
|
182
|
+
const updatedArgs = {
|
183
|
+
...args,
|
184
|
+
options: {
|
185
|
+
...args.options,
|
186
|
+
onResponse: callback
|
187
|
+
}
|
188
|
+
};
|
189
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
190
|
+
return {
|
191
|
+
flatResponse,
|
192
|
+
rawResponse: {
|
193
|
+
statusCode: currentRawResponse!.status,
|
194
|
+
body: currentRawResponse!.parsedBody,
|
195
|
+
headers: currentRawResponse!.headers.toJSON()
|
196
|
+
}
|
197
|
+
};
|
198
|
+
};
|
199
|
+
|
200
|
+
const lro = new LroImpl(
|
201
|
+
sendOperation,
|
87
202
|
{
|
88
203
|
resourceGroupName,
|
89
204
|
registryName,
|
90
205
|
replicationName,
|
206
|
+
replication,
|
91
207
|
options
|
92
208
|
},
|
93
|
-
|
94
|
-
|
209
|
+
createOperationSpec
|
210
|
+
);
|
211
|
+
return new LroEngine(lro, {
|
212
|
+
resumeFrom: options?.resumeFrom,
|
213
|
+
intervalInMs: options?.updateIntervalInMs
|
214
|
+
});
|
95
215
|
}
|
96
216
|
|
97
217
|
/**
|
@@ -100,12 +220,23 @@ export class Replications {
|
|
100
220
|
* @param registryName The name of the container registry.
|
101
221
|
* @param replicationName The name of the replication.
|
102
222
|
* @param replication The parameters for creating a replication.
|
103
|
-
* @param
|
104
|
-
* @returns Promise<Models.ReplicationsCreateResponse>
|
223
|
+
* @param options The options parameters.
|
105
224
|
*/
|
106
|
-
|
107
|
-
|
108
|
-
|
225
|
+
async beginCreateAndWait(
|
226
|
+
resourceGroupName: string,
|
227
|
+
registryName: string,
|
228
|
+
replicationName: string,
|
229
|
+
replication: Replication,
|
230
|
+
options?: ReplicationsCreateOptionalParams
|
231
|
+
): Promise<ReplicationsCreateResponse> {
|
232
|
+
const poller = await this.beginCreate(
|
233
|
+
resourceGroupName,
|
234
|
+
registryName,
|
235
|
+
replicationName,
|
236
|
+
replication,
|
237
|
+
options
|
238
|
+
);
|
239
|
+
return poller.pollUntilDone();
|
109
240
|
}
|
110
241
|
|
111
242
|
/**
|
@@ -113,68 +244,160 @@ export class Replications {
|
|
113
244
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
114
245
|
* @param registryName The name of the container registry.
|
115
246
|
* @param replicationName The name of the replication.
|
116
|
-
* @param
|
117
|
-
* @returns Promise<msRest.RestResponse>
|
247
|
+
* @param options The options parameters.
|
118
248
|
*/
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
249
|
+
async beginDelete(
|
250
|
+
resourceGroupName: string,
|
251
|
+
registryName: string,
|
252
|
+
replicationName: string,
|
253
|
+
options?: ReplicationsDeleteOptionalParams
|
254
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
255
|
+
const directSendOperation = async (
|
256
|
+
args: coreClient.OperationArguments,
|
257
|
+
spec: coreClient.OperationSpec
|
258
|
+
): Promise<void> => {
|
259
|
+
return this.client.sendOperationRequest(args, spec);
|
260
|
+
};
|
261
|
+
const sendOperation = async (
|
262
|
+
args: coreClient.OperationArguments,
|
263
|
+
spec: coreClient.OperationSpec
|
264
|
+
) => {
|
265
|
+
let currentRawResponse:
|
266
|
+
| coreClient.FullOperationResponse
|
267
|
+
| undefined = undefined;
|
268
|
+
const providedCallback = args.options?.onResponse;
|
269
|
+
const callback: coreClient.RawResponseCallback = (
|
270
|
+
rawResponse: coreClient.FullOperationResponse,
|
271
|
+
flatResponse: unknown
|
272
|
+
) => {
|
273
|
+
currentRawResponse = rawResponse;
|
274
|
+
providedCallback?.(rawResponse, flatResponse);
|
275
|
+
};
|
276
|
+
const updatedArgs = {
|
277
|
+
...args,
|
278
|
+
options: {
|
279
|
+
...args.options,
|
280
|
+
onResponse: callback
|
281
|
+
}
|
282
|
+
};
|
283
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
284
|
+
return {
|
285
|
+
flatResponse,
|
286
|
+
rawResponse: {
|
287
|
+
statusCode: currentRawResponse!.status,
|
288
|
+
body: currentRawResponse!.parsedBody,
|
289
|
+
headers: currentRawResponse!.headers.toJSON()
|
290
|
+
}
|
291
|
+
};
|
292
|
+
};
|
123
293
|
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
update(resourceGroupName: string, registryName: string, replicationName: string, replicationUpdateParameters: Models.ReplicationUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationsUpdateResponse> {
|
134
|
-
return this.beginUpdate(resourceGroupName,registryName,replicationName,replicationUpdateParameters,options)
|
135
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationsUpdateResponse>;
|
294
|
+
const lro = new LroImpl(
|
295
|
+
sendOperation,
|
296
|
+
{ resourceGroupName, registryName, replicationName, options },
|
297
|
+
deleteOperationSpec
|
298
|
+
);
|
299
|
+
return new LroEngine(lro, {
|
300
|
+
resumeFrom: options?.resumeFrom,
|
301
|
+
intervalInMs: options?.updateIntervalInMs
|
302
|
+
});
|
136
303
|
}
|
137
304
|
|
138
305
|
/**
|
139
|
-
*
|
306
|
+
* Deletes a replication from a container registry.
|
140
307
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
141
308
|
* @param registryName The name of the container registry.
|
142
309
|
* @param replicationName The name of the replication.
|
143
|
-
* @param
|
144
|
-
* @param [options] The optional parameters
|
145
|
-
* @returns Promise<msRestAzure.LROPoller>
|
310
|
+
* @param options The options parameters.
|
146
311
|
*/
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
options
|
312
|
+
async beginDeleteAndWait(
|
313
|
+
resourceGroupName: string,
|
314
|
+
registryName: string,
|
315
|
+
replicationName: string,
|
316
|
+
options?: ReplicationsDeleteOptionalParams
|
317
|
+
): Promise<void> {
|
318
|
+
const poller = await this.beginDelete(
|
319
|
+
resourceGroupName,
|
320
|
+
registryName,
|
321
|
+
replicationName,
|
322
|
+
options
|
323
|
+
);
|
324
|
+
return poller.pollUntilDone();
|
158
325
|
}
|
159
326
|
|
160
327
|
/**
|
161
|
-
*
|
328
|
+
* Updates a replication for a container registry with the specified parameters.
|
162
329
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
163
330
|
* @param registryName The name of the container registry.
|
164
331
|
* @param replicationName The name of the replication.
|
165
|
-
* @param
|
166
|
-
* @
|
332
|
+
* @param replicationUpdateParameters The parameters for updating a replication.
|
333
|
+
* @param options The options parameters.
|
167
334
|
*/
|
168
|
-
|
169
|
-
|
335
|
+
async beginUpdate(
|
336
|
+
resourceGroupName: string,
|
337
|
+
registryName: string,
|
338
|
+
replicationName: string,
|
339
|
+
replicationUpdateParameters: ReplicationUpdateParameters,
|
340
|
+
options?: ReplicationsUpdateOptionalParams
|
341
|
+
): Promise<
|
342
|
+
PollerLike<
|
343
|
+
PollOperationState<ReplicationsUpdateResponse>,
|
344
|
+
ReplicationsUpdateResponse
|
345
|
+
>
|
346
|
+
> {
|
347
|
+
const directSendOperation = async (
|
348
|
+
args: coreClient.OperationArguments,
|
349
|
+
spec: coreClient.OperationSpec
|
350
|
+
): Promise<ReplicationsUpdateResponse> => {
|
351
|
+
return this.client.sendOperationRequest(args, spec);
|
352
|
+
};
|
353
|
+
const sendOperation = async (
|
354
|
+
args: coreClient.OperationArguments,
|
355
|
+
spec: coreClient.OperationSpec
|
356
|
+
) => {
|
357
|
+
let currentRawResponse:
|
358
|
+
| coreClient.FullOperationResponse
|
359
|
+
| undefined = undefined;
|
360
|
+
const providedCallback = args.options?.onResponse;
|
361
|
+
const callback: coreClient.RawResponseCallback = (
|
362
|
+
rawResponse: coreClient.FullOperationResponse,
|
363
|
+
flatResponse: unknown
|
364
|
+
) => {
|
365
|
+
currentRawResponse = rawResponse;
|
366
|
+
providedCallback?.(rawResponse, flatResponse);
|
367
|
+
};
|
368
|
+
const updatedArgs = {
|
369
|
+
...args,
|
370
|
+
options: {
|
371
|
+
...args.options,
|
372
|
+
onResponse: callback
|
373
|
+
}
|
374
|
+
};
|
375
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
376
|
+
return {
|
377
|
+
flatResponse,
|
378
|
+
rawResponse: {
|
379
|
+
statusCode: currentRawResponse!.status,
|
380
|
+
body: currentRawResponse!.parsedBody,
|
381
|
+
headers: currentRawResponse!.headers.toJSON()
|
382
|
+
}
|
383
|
+
};
|
384
|
+
};
|
385
|
+
|
386
|
+
const lro = new LroImpl(
|
387
|
+
sendOperation,
|
170
388
|
{
|
171
389
|
resourceGroupName,
|
172
390
|
registryName,
|
173
391
|
replicationName,
|
392
|
+
replicationUpdateParameters,
|
174
393
|
options
|
175
394
|
},
|
176
|
-
|
177
|
-
|
395
|
+
updateOperationSpec
|
396
|
+
);
|
397
|
+
return new LroEngine(lro, {
|
398
|
+
resumeFrom: options?.resumeFrom,
|
399
|
+
intervalInMs: options?.updateIntervalInMs
|
400
|
+
});
|
178
401
|
}
|
179
402
|
|
180
403
|
/**
|
@@ -183,126 +406,90 @@ export class Replications {
|
|
183
406
|
* @param registryName The name of the container registry.
|
184
407
|
* @param replicationName The name of the replication.
|
185
408
|
* @param replicationUpdateParameters The parameters for updating a replication.
|
186
|
-
* @param
|
187
|
-
* @returns Promise<msRestAzure.LROPoller>
|
409
|
+
* @param options The options parameters.
|
188
410
|
*/
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
411
|
+
async beginUpdateAndWait(
|
412
|
+
resourceGroupName: string,
|
413
|
+
registryName: string,
|
414
|
+
replicationName: string,
|
415
|
+
replicationUpdateParameters: ReplicationUpdateParameters,
|
416
|
+
options?: ReplicationsUpdateOptionalParams
|
417
|
+
): Promise<ReplicationsUpdateResponse> {
|
418
|
+
const poller = await this.beginUpdate(
|
419
|
+
resourceGroupName,
|
420
|
+
registryName,
|
421
|
+
replicationName,
|
422
|
+
replicationUpdateParameters,
|
423
|
+
options
|
424
|
+
);
|
425
|
+
return poller.pollUntilDone();
|
200
426
|
}
|
201
427
|
|
202
428
|
/**
|
203
|
-
*
|
204
|
-
* @param
|
205
|
-
* @param
|
206
|
-
* @
|
207
|
-
|
208
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationsListNextResponse>;
|
209
|
-
/**
|
210
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
211
|
-
* @param callback The callback
|
212
|
-
*/
|
213
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ReplicationListResult>): void;
|
214
|
-
/**
|
215
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
216
|
-
* @param options The optional parameters
|
217
|
-
* @param callback The callback
|
429
|
+
* ListNext
|
430
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
431
|
+
* @param registryName The name of the container registry.
|
432
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
433
|
+
* @param options The options parameters.
|
218
434
|
*/
|
219
|
-
|
220
|
-
|
435
|
+
private _listNext(
|
436
|
+
resourceGroupName: string,
|
437
|
+
registryName: string,
|
438
|
+
nextLink: string,
|
439
|
+
options?: ReplicationsListNextOptionalParams
|
440
|
+
): Promise<ReplicationsListNextResponse> {
|
221
441
|
return this.client.sendOperationRequest(
|
222
|
-
{
|
223
|
-
|
224
|
-
|
225
|
-
},
|
226
|
-
listNextOperationSpec,
|
227
|
-
callback) as Promise<Models.ReplicationsListNextResponse>;
|
442
|
+
{ resourceGroupName, registryName, nextLink, options },
|
443
|
+
listNextOperationSpec
|
444
|
+
);
|
228
445
|
}
|
229
446
|
}
|
230
|
-
|
231
447
|
// Operation Specifications
|
232
|
-
const serializer =
|
233
|
-
|
448
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
449
|
+
|
450
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
451
|
+
path:
|
452
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications",
|
234
453
|
httpMethod: "GET",
|
235
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications",
|
236
|
-
urlParameters: [
|
237
|
-
Parameters.subscriptionId,
|
238
|
-
Parameters.resourceGroupName,
|
239
|
-
Parameters.registryName
|
240
|
-
],
|
241
|
-
queryParameters: [
|
242
|
-
Parameters.apiVersion0
|
243
|
-
],
|
244
|
-
headerParameters: [
|
245
|
-
Parameters.acceptLanguage
|
246
|
-
],
|
247
454
|
responses: {
|
248
455
|
200: {
|
249
456
|
bodyMapper: Mappers.ReplicationListResult
|
250
|
-
},
|
251
|
-
default: {
|
252
|
-
bodyMapper: Mappers.CloudError
|
253
457
|
}
|
254
458
|
},
|
255
|
-
|
256
|
-
};
|
257
|
-
|
258
|
-
const getOperationSpec: msRest.OperationSpec = {
|
259
|
-
httpMethod: "GET",
|
260
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}",
|
459
|
+
queryParameters: [Parameters.apiVersion],
|
261
460
|
urlParameters: [
|
461
|
+
Parameters.$host,
|
262
462
|
Parameters.subscriptionId,
|
263
463
|
Parameters.resourceGroupName,
|
264
|
-
Parameters.registryName
|
265
|
-
Parameters.replicationName
|
266
|
-
],
|
267
|
-
queryParameters: [
|
268
|
-
Parameters.apiVersion0
|
269
|
-
],
|
270
|
-
headerParameters: [
|
271
|
-
Parameters.acceptLanguage
|
464
|
+
Parameters.registryName
|
272
465
|
],
|
466
|
+
headerParameters: [Parameters.accept],
|
467
|
+
serializer
|
468
|
+
};
|
469
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
470
|
+
path:
|
471
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}",
|
472
|
+
httpMethod: "GET",
|
273
473
|
responses: {
|
274
474
|
200: {
|
275
475
|
bodyMapper: Mappers.Replication
|
276
|
-
},
|
277
|
-
default: {
|
278
|
-
bodyMapper: Mappers.CloudError
|
279
476
|
}
|
280
477
|
},
|
281
|
-
|
282
|
-
};
|
283
|
-
|
284
|
-
const beginCreateOperationSpec: msRest.OperationSpec = {
|
285
|
-
httpMethod: "PUT",
|
286
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}",
|
478
|
+
queryParameters: [Parameters.apiVersion],
|
287
479
|
urlParameters: [
|
480
|
+
Parameters.$host,
|
288
481
|
Parameters.subscriptionId,
|
289
482
|
Parameters.resourceGroupName,
|
290
483
|
Parameters.registryName,
|
291
484
|
Parameters.replicationName
|
292
485
|
],
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
parameterPath: "replication",
|
301
|
-
mapper: {
|
302
|
-
...Mappers.Replication,
|
303
|
-
required: true
|
304
|
-
}
|
305
|
-
},
|
486
|
+
headerParameters: [Parameters.accept],
|
487
|
+
serializer
|
488
|
+
};
|
489
|
+
const createOperationSpec: coreClient.OperationSpec = {
|
490
|
+
path:
|
491
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}",
|
492
|
+
httpMethod: "PUT",
|
306
493
|
responses: {
|
307
494
|
200: {
|
308
495
|
bodyMapper: Mappers.Replication
|
@@ -310,61 +497,45 @@ const beginCreateOperationSpec: msRest.OperationSpec = {
|
|
310
497
|
201: {
|
311
498
|
bodyMapper: Mappers.Replication
|
312
499
|
},
|
313
|
-
|
314
|
-
bodyMapper: Mappers.
|
500
|
+
202: {
|
501
|
+
bodyMapper: Mappers.Replication
|
502
|
+
},
|
503
|
+
204: {
|
504
|
+
bodyMapper: Mappers.Replication
|
315
505
|
}
|
316
506
|
},
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
321
|
-
httpMethod: "DELETE",
|
322
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}",
|
507
|
+
requestBody: Parameters.replication,
|
508
|
+
queryParameters: [Parameters.apiVersion],
|
323
509
|
urlParameters: [
|
510
|
+
Parameters.$host,
|
324
511
|
Parameters.subscriptionId,
|
325
512
|
Parameters.resourceGroupName,
|
326
513
|
Parameters.registryName,
|
327
514
|
Parameters.replicationName
|
328
515
|
],
|
329
|
-
|
330
|
-
|
331
|
-
],
|
332
|
-
headerParameters: [
|
333
|
-
Parameters.acceptLanguage
|
334
|
-
],
|
335
|
-
responses: {
|
336
|
-
200: {},
|
337
|
-
202: {},
|
338
|
-
204: {},
|
339
|
-
default: {
|
340
|
-
bodyMapper: Mappers.CloudError
|
341
|
-
}
|
342
|
-
},
|
516
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
517
|
+
mediaType: "json",
|
343
518
|
serializer
|
344
519
|
};
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
520
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
521
|
+
path:
|
522
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}",
|
523
|
+
httpMethod: "DELETE",
|
524
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
525
|
+
queryParameters: [Parameters.apiVersion],
|
349
526
|
urlParameters: [
|
527
|
+
Parameters.$host,
|
350
528
|
Parameters.subscriptionId,
|
351
529
|
Parameters.resourceGroupName,
|
352
530
|
Parameters.registryName,
|
353
531
|
Parameters.replicationName
|
354
532
|
],
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
requestBody: {
|
362
|
-
parameterPath: "replicationUpdateParameters",
|
363
|
-
mapper: {
|
364
|
-
...Mappers.ReplicationUpdateParameters,
|
365
|
-
required: true
|
366
|
-
}
|
367
|
-
},
|
533
|
+
serializer
|
534
|
+
};
|
535
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
536
|
+
path:
|
537
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}",
|
538
|
+
httpMethod: "PATCH",
|
368
539
|
responses: {
|
369
540
|
200: {
|
370
541
|
bodyMapper: Mappers.Replication
|
@@ -372,33 +543,42 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
|
|
372
543
|
201: {
|
373
544
|
bodyMapper: Mappers.Replication
|
374
545
|
},
|
375
|
-
|
376
|
-
bodyMapper: Mappers.
|
546
|
+
202: {
|
547
|
+
bodyMapper: Mappers.Replication
|
548
|
+
},
|
549
|
+
204: {
|
550
|
+
bodyMapper: Mappers.Replication
|
377
551
|
}
|
378
552
|
},
|
553
|
+
requestBody: Parameters.replicationUpdateParameters,
|
554
|
+
queryParameters: [Parameters.apiVersion],
|
555
|
+
urlParameters: [
|
556
|
+
Parameters.$host,
|
557
|
+
Parameters.subscriptionId,
|
558
|
+
Parameters.resourceGroupName,
|
559
|
+
Parameters.registryName,
|
560
|
+
Parameters.replicationName
|
561
|
+
],
|
562
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
563
|
+
mediaType: "json",
|
379
564
|
serializer
|
380
565
|
};
|
381
|
-
|
382
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
383
|
-
httpMethod: "GET",
|
384
|
-
baseUrl: "https://management.azure.com",
|
566
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
385
567
|
path: "{nextLink}",
|
386
|
-
|
387
|
-
Parameters.nextPageLink
|
388
|
-
],
|
389
|
-
queryParameters: [
|
390
|
-
Parameters.apiVersion0
|
391
|
-
],
|
392
|
-
headerParameters: [
|
393
|
-
Parameters.acceptLanguage
|
394
|
-
],
|
568
|
+
httpMethod: "GET",
|
395
569
|
responses: {
|
396
570
|
200: {
|
397
571
|
bodyMapper: Mappers.ReplicationListResult
|
398
|
-
},
|
399
|
-
default: {
|
400
|
-
bodyMapper: Mappers.CloudError
|
401
572
|
}
|
402
573
|
},
|
574
|
+
queryParameters: [Parameters.apiVersion],
|
575
|
+
urlParameters: [
|
576
|
+
Parameters.$host,
|
577
|
+
Parameters.subscriptionId,
|
578
|
+
Parameters.resourceGroupName,
|
579
|
+
Parameters.registryName,
|
580
|
+
Parameters.nextLink
|
581
|
+
],
|
582
|
+
headerParameters: [Parameters.accept],
|
403
583
|
serializer
|
404
584
|
};
|