@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,38 @@
|
|
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 { PipelineRuns } 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
|
+
PipelineRun,
|
19
|
+
PipelineRunsListNextOptionalParams,
|
20
|
+
PipelineRunsListOptionalParams,
|
21
|
+
PipelineRunsListResponse,
|
22
|
+
PipelineRunsGetOptionalParams,
|
23
|
+
PipelineRunsGetResponse,
|
24
|
+
PipelineRunsCreateOptionalParams,
|
25
|
+
PipelineRunsCreateResponse,
|
26
|
+
PipelineRunsDeleteOptionalParams,
|
27
|
+
PipelineRunsListNextResponse
|
28
|
+
} from "../models";
|
16
29
|
|
17
|
-
|
18
|
-
|
30
|
+
/// <reference lib="esnext.asynciterable" />
|
31
|
+
/** Class containing PipelineRuns operations. */
|
32
|
+
export class PipelineRunsImpl implements PipelineRuns {
|
19
33
|
private readonly client: ContainerRegistryManagementClientContext;
|
20
34
|
|
21
35
|
/**
|
22
|
-
*
|
23
|
-
* @param
|
36
|
+
* Initialize a new instance of the class PipelineRuns class.
|
37
|
+
* @param client Reference to the service client
|
24
38
|
*/
|
25
39
|
constructor(client: ContainerRegistryManagementClientContext) {
|
26
40
|
this.client = client;
|
@@ -30,68 +44,171 @@ export class PipelineRuns {
|
|
30
44
|
* Lists all the pipeline runs for the specified container registry.
|
31
45
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
32
46
|
* @param registryName The name of the container registry.
|
33
|
-
* @param
|
34
|
-
* @returns Promise<Models.PipelineRunsListResponse>
|
47
|
+
* @param options The options parameters.
|
35
48
|
*/
|
36
|
-
list(
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
49
|
+
public list(
|
50
|
+
resourceGroupName: string,
|
51
|
+
registryName: string,
|
52
|
+
options?: PipelineRunsListOptionalParams
|
53
|
+
): PagedAsyncIterableIterator<PipelineRun> {
|
54
|
+
const iter = this.listPagingAll(resourceGroupName, registryName, options);
|
55
|
+
return {
|
56
|
+
next() {
|
57
|
+
return iter.next();
|
58
|
+
},
|
59
|
+
[Symbol.asyncIterator]() {
|
60
|
+
return this;
|
61
|
+
},
|
62
|
+
byPage: () => {
|
63
|
+
return this.listPagingPage(resourceGroupName, registryName, options);
|
64
|
+
}
|
65
|
+
};
|
66
|
+
}
|
67
|
+
|
68
|
+
private async *listPagingPage(
|
69
|
+
resourceGroupName: string,
|
70
|
+
registryName: string,
|
71
|
+
options?: PipelineRunsListOptionalParams
|
72
|
+
): AsyncIterableIterator<PipelineRun[]> {
|
73
|
+
let result = await this._list(resourceGroupName, registryName, options);
|
74
|
+
yield result.value || [];
|
75
|
+
let continuationToken = result.nextLink;
|
76
|
+
while (continuationToken) {
|
77
|
+
result = await this._listNext(
|
53
78
|
resourceGroupName,
|
54
79
|
registryName,
|
80
|
+
continuationToken,
|
55
81
|
options
|
56
|
-
|
57
|
-
|
58
|
-
|
82
|
+
);
|
83
|
+
continuationToken = result.nextLink;
|
84
|
+
yield result.value || [];
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
private async *listPagingAll(
|
89
|
+
resourceGroupName: string,
|
90
|
+
registryName: string,
|
91
|
+
options?: PipelineRunsListOptionalParams
|
92
|
+
): AsyncIterableIterator<PipelineRun> {
|
93
|
+
for await (const page of this.listPagingPage(
|
94
|
+
resourceGroupName,
|
95
|
+
registryName,
|
96
|
+
options
|
97
|
+
)) {
|
98
|
+
yield* page;
|
99
|
+
}
|
59
100
|
}
|
60
101
|
|
61
102
|
/**
|
62
|
-
*
|
103
|
+
* Lists all the pipeline runs for the specified container registry.
|
63
104
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
64
105
|
* @param registryName The name of the container registry.
|
65
|
-
* @param
|
66
|
-
* @param [options] The optional parameters
|
67
|
-
* @returns Promise<Models.PipelineRunsGetResponse>
|
106
|
+
* @param options The options parameters.
|
68
107
|
*/
|
69
|
-
|
108
|
+
private _list(
|
109
|
+
resourceGroupName: string,
|
110
|
+
registryName: string,
|
111
|
+
options?: PipelineRunsListOptionalParams
|
112
|
+
): Promise<PipelineRunsListResponse> {
|
113
|
+
return this.client.sendOperationRequest(
|
114
|
+
{ resourceGroupName, registryName, options },
|
115
|
+
listOperationSpec
|
116
|
+
);
|
117
|
+
}
|
118
|
+
|
70
119
|
/**
|
120
|
+
* Gets the detailed information for a given pipeline run.
|
71
121
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
72
122
|
* @param registryName The name of the container registry.
|
73
123
|
* @param pipelineRunName The name of the pipeline run.
|
74
|
-
* @param
|
124
|
+
* @param options The options parameters.
|
75
125
|
*/
|
76
|
-
get(
|
126
|
+
get(
|
127
|
+
resourceGroupName: string,
|
128
|
+
registryName: string,
|
129
|
+
pipelineRunName: string,
|
130
|
+
options?: PipelineRunsGetOptionalParams
|
131
|
+
): Promise<PipelineRunsGetResponse> {
|
132
|
+
return this.client.sendOperationRequest(
|
133
|
+
{ resourceGroupName, registryName, pipelineRunName, options },
|
134
|
+
getOperationSpec
|
135
|
+
);
|
136
|
+
}
|
137
|
+
|
77
138
|
/**
|
139
|
+
* Creates a pipeline run for a container registry with the specified parameters
|
78
140
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
79
141
|
* @param registryName The name of the container registry.
|
80
142
|
* @param pipelineRunName The name of the pipeline run.
|
81
|
-
* @param
|
82
|
-
* @param
|
143
|
+
* @param pipelineRunCreateParameters The parameters for creating a pipeline run.
|
144
|
+
* @param options The options parameters.
|
83
145
|
*/
|
84
|
-
|
85
|
-
|
86
|
-
|
146
|
+
async beginCreate(
|
147
|
+
resourceGroupName: string,
|
148
|
+
registryName: string,
|
149
|
+
pipelineRunName: string,
|
150
|
+
pipelineRunCreateParameters: PipelineRun,
|
151
|
+
options?: PipelineRunsCreateOptionalParams
|
152
|
+
): Promise<
|
153
|
+
PollerLike<
|
154
|
+
PollOperationState<PipelineRunsCreateResponse>,
|
155
|
+
PipelineRunsCreateResponse
|
156
|
+
>
|
157
|
+
> {
|
158
|
+
const directSendOperation = async (
|
159
|
+
args: coreClient.OperationArguments,
|
160
|
+
spec: coreClient.OperationSpec
|
161
|
+
): Promise<PipelineRunsCreateResponse> => {
|
162
|
+
return this.client.sendOperationRequest(args, spec);
|
163
|
+
};
|
164
|
+
const sendOperation = async (
|
165
|
+
args: coreClient.OperationArguments,
|
166
|
+
spec: coreClient.OperationSpec
|
167
|
+
) => {
|
168
|
+
let currentRawResponse:
|
169
|
+
| coreClient.FullOperationResponse
|
170
|
+
| undefined = undefined;
|
171
|
+
const providedCallback = args.options?.onResponse;
|
172
|
+
const callback: coreClient.RawResponseCallback = (
|
173
|
+
rawResponse: coreClient.FullOperationResponse,
|
174
|
+
flatResponse: unknown
|
175
|
+
) => {
|
176
|
+
currentRawResponse = rawResponse;
|
177
|
+
providedCallback?.(rawResponse, flatResponse);
|
178
|
+
};
|
179
|
+
const updatedArgs = {
|
180
|
+
...args,
|
181
|
+
options: {
|
182
|
+
...args.options,
|
183
|
+
onResponse: callback
|
184
|
+
}
|
185
|
+
};
|
186
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
187
|
+
return {
|
188
|
+
flatResponse,
|
189
|
+
rawResponse: {
|
190
|
+
statusCode: currentRawResponse!.status,
|
191
|
+
body: currentRawResponse!.parsedBody,
|
192
|
+
headers: currentRawResponse!.headers.toJSON()
|
193
|
+
}
|
194
|
+
};
|
195
|
+
};
|
196
|
+
|
197
|
+
const lro = new LroImpl(
|
198
|
+
sendOperation,
|
87
199
|
{
|
88
200
|
resourceGroupName,
|
89
201
|
registryName,
|
90
202
|
pipelineRunName,
|
203
|
+
pipelineRunCreateParameters,
|
91
204
|
options
|
92
205
|
},
|
93
|
-
|
94
|
-
|
206
|
+
createOperationSpec
|
207
|
+
);
|
208
|
+
return new LroEngine(lro, {
|
209
|
+
resumeFrom: options?.resumeFrom,
|
210
|
+
intervalInMs: options?.updateIntervalInMs
|
211
|
+
});
|
95
212
|
}
|
96
213
|
|
97
214
|
/**
|
@@ -100,12 +217,23 @@ export class PipelineRuns {
|
|
100
217
|
* @param registryName The name of the container registry.
|
101
218
|
* @param pipelineRunName The name of the pipeline run.
|
102
219
|
* @param pipelineRunCreateParameters The parameters for creating a pipeline run.
|
103
|
-
* @param
|
104
|
-
* @returns Promise<Models.PipelineRunsCreateResponse>
|
220
|
+
* @param options The options parameters.
|
105
221
|
*/
|
106
|
-
|
107
|
-
|
108
|
-
|
222
|
+
async beginCreateAndWait(
|
223
|
+
resourceGroupName: string,
|
224
|
+
registryName: string,
|
225
|
+
pipelineRunName: string,
|
226
|
+
pipelineRunCreateParameters: PipelineRun,
|
227
|
+
options?: PipelineRunsCreateOptionalParams
|
228
|
+
): Promise<PipelineRunsCreateResponse> {
|
229
|
+
const poller = await this.beginCreate(
|
230
|
+
resourceGroupName,
|
231
|
+
registryName,
|
232
|
+
pipelineRunName,
|
233
|
+
pipelineRunCreateParameters,
|
234
|
+
options
|
235
|
+
);
|
236
|
+
return poller.pollUntilDone();
|
109
237
|
}
|
110
238
|
|
111
239
|
/**
|
@@ -113,34 +241,62 @@ export class PipelineRuns {
|
|
113
241
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
114
242
|
* @param registryName The name of the container registry.
|
115
243
|
* @param pipelineRunName The name of the pipeline run.
|
116
|
-
* @param
|
117
|
-
* @returns Promise<msRest.RestResponse>
|
244
|
+
* @param options The options parameters.
|
118
245
|
*/
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
246
|
+
async beginDelete(
|
247
|
+
resourceGroupName: string,
|
248
|
+
registryName: string,
|
249
|
+
pipelineRunName: string,
|
250
|
+
options?: PipelineRunsDeleteOptionalParams
|
251
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
252
|
+
const directSendOperation = async (
|
253
|
+
args: coreClient.OperationArguments,
|
254
|
+
spec: coreClient.OperationSpec
|
255
|
+
): Promise<void> => {
|
256
|
+
return this.client.sendOperationRequest(args, spec);
|
257
|
+
};
|
258
|
+
const sendOperation = async (
|
259
|
+
args: coreClient.OperationArguments,
|
260
|
+
spec: coreClient.OperationSpec
|
261
|
+
) => {
|
262
|
+
let currentRawResponse:
|
263
|
+
| coreClient.FullOperationResponse
|
264
|
+
| undefined = undefined;
|
265
|
+
const providedCallback = args.options?.onResponse;
|
266
|
+
const callback: coreClient.RawResponseCallback = (
|
267
|
+
rawResponse: coreClient.FullOperationResponse,
|
268
|
+
flatResponse: unknown
|
269
|
+
) => {
|
270
|
+
currentRawResponse = rawResponse;
|
271
|
+
providedCallback?.(rawResponse, flatResponse);
|
272
|
+
};
|
273
|
+
const updatedArgs = {
|
274
|
+
...args,
|
275
|
+
options: {
|
276
|
+
...args.options,
|
277
|
+
onResponse: callback
|
278
|
+
}
|
279
|
+
};
|
280
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
281
|
+
return {
|
282
|
+
flatResponse,
|
283
|
+
rawResponse: {
|
284
|
+
statusCode: currentRawResponse!.status,
|
285
|
+
body: currentRawResponse!.parsedBody,
|
286
|
+
headers: currentRawResponse!.headers.toJSON()
|
287
|
+
}
|
288
|
+
};
|
289
|
+
};
|
123
290
|
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
beginCreate(resourceGroupName: string, registryName: string, pipelineRunName: string, pipelineRunCreateParameters: Models.PipelineRun, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
134
|
-
return this.client.sendLRORequest(
|
135
|
-
{
|
136
|
-
resourceGroupName,
|
137
|
-
registryName,
|
138
|
-
pipelineRunName,
|
139
|
-
pipelineRunCreateParameters,
|
140
|
-
options
|
141
|
-
},
|
142
|
-
beginCreateOperationSpec,
|
143
|
-
options);
|
291
|
+
const lro = new LroImpl(
|
292
|
+
sendOperation,
|
293
|
+
{ resourceGroupName, registryName, pipelineRunName, options },
|
294
|
+
deleteOperationSpec
|
295
|
+
);
|
296
|
+
return new LroEngine(lro, {
|
297
|
+
resumeFrom: options?.resumeFrom,
|
298
|
+
intervalInMs: options?.updateIntervalInMs
|
299
|
+
});
|
144
300
|
}
|
145
301
|
|
146
302
|
/**
|
@@ -148,125 +304,88 @@ export class PipelineRuns {
|
|
148
304
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
149
305
|
* @param registryName The name of the container registry.
|
150
306
|
* @param pipelineRunName The name of the pipeline run.
|
151
|
-
* @param
|
152
|
-
* @returns Promise<msRestAzure.LROPoller>
|
307
|
+
* @param options The options parameters.
|
153
308
|
*/
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
309
|
+
async beginDeleteAndWait(
|
310
|
+
resourceGroupName: string,
|
311
|
+
registryName: string,
|
312
|
+
pipelineRunName: string,
|
313
|
+
options?: PipelineRunsDeleteOptionalParams
|
314
|
+
): Promise<void> {
|
315
|
+
const poller = await this.beginDelete(
|
316
|
+
resourceGroupName,
|
317
|
+
registryName,
|
318
|
+
pipelineRunName,
|
319
|
+
options
|
320
|
+
);
|
321
|
+
return poller.pollUntilDone();
|
164
322
|
}
|
165
323
|
|
166
324
|
/**
|
167
|
-
*
|
168
|
-
* @param
|
169
|
-
* @param
|
170
|
-
* @
|
171
|
-
|
172
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.PipelineRunsListNextResponse>;
|
173
|
-
/**
|
174
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
175
|
-
* @param callback The callback
|
176
|
-
*/
|
177
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.PipelineRunListResult>): void;
|
178
|
-
/**
|
179
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
180
|
-
* @param options The optional parameters
|
181
|
-
* @param callback The callback
|
325
|
+
* ListNext
|
326
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
327
|
+
* @param registryName The name of the container registry.
|
328
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
329
|
+
* @param options The options parameters.
|
182
330
|
*/
|
183
|
-
|
184
|
-
|
331
|
+
private _listNext(
|
332
|
+
resourceGroupName: string,
|
333
|
+
registryName: string,
|
334
|
+
nextLink: string,
|
335
|
+
options?: PipelineRunsListNextOptionalParams
|
336
|
+
): Promise<PipelineRunsListNextResponse> {
|
185
337
|
return this.client.sendOperationRequest(
|
186
|
-
{
|
187
|
-
|
188
|
-
|
189
|
-
},
|
190
|
-
listNextOperationSpec,
|
191
|
-
callback) as Promise<Models.PipelineRunsListNextResponse>;
|
338
|
+
{ resourceGroupName, registryName, nextLink, options },
|
339
|
+
listNextOperationSpec
|
340
|
+
);
|
192
341
|
}
|
193
342
|
}
|
194
|
-
|
195
343
|
// Operation Specifications
|
196
|
-
const serializer =
|
197
|
-
|
344
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
345
|
+
|
346
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
347
|
+
path:
|
348
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns",
|
198
349
|
httpMethod: "GET",
|
199
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns",
|
200
|
-
urlParameters: [
|
201
|
-
Parameters.subscriptionId,
|
202
|
-
Parameters.resourceGroupName,
|
203
|
-
Parameters.registryName
|
204
|
-
],
|
205
|
-
queryParameters: [
|
206
|
-
Parameters.apiVersion0
|
207
|
-
],
|
208
|
-
headerParameters: [
|
209
|
-
Parameters.acceptLanguage
|
210
|
-
],
|
211
350
|
responses: {
|
212
351
|
200: {
|
213
352
|
bodyMapper: Mappers.PipelineRunListResult
|
214
|
-
},
|
215
|
-
default: {
|
216
|
-
bodyMapper: Mappers.CloudError
|
217
353
|
}
|
218
354
|
},
|
219
|
-
|
220
|
-
};
|
221
|
-
|
222
|
-
const getOperationSpec: msRest.OperationSpec = {
|
223
|
-
httpMethod: "GET",
|
224
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
|
355
|
+
queryParameters: [Parameters.apiVersion],
|
225
356
|
urlParameters: [
|
357
|
+
Parameters.$host,
|
226
358
|
Parameters.subscriptionId,
|
227
359
|
Parameters.resourceGroupName,
|
228
|
-
Parameters.registryName
|
229
|
-
Parameters.pipelineRunName
|
230
|
-
],
|
231
|
-
queryParameters: [
|
232
|
-
Parameters.apiVersion0
|
233
|
-
],
|
234
|
-
headerParameters: [
|
235
|
-
Parameters.acceptLanguage
|
360
|
+
Parameters.registryName
|
236
361
|
],
|
362
|
+
headerParameters: [Parameters.accept],
|
363
|
+
serializer
|
364
|
+
};
|
365
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
366
|
+
path:
|
367
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
|
368
|
+
httpMethod: "GET",
|
237
369
|
responses: {
|
238
370
|
200: {
|
239
371
|
bodyMapper: Mappers.PipelineRun
|
240
|
-
},
|
241
|
-
default: {
|
242
|
-
bodyMapper: Mappers.CloudError
|
243
372
|
}
|
244
373
|
},
|
245
|
-
|
246
|
-
};
|
247
|
-
|
248
|
-
const beginCreateOperationSpec: msRest.OperationSpec = {
|
249
|
-
httpMethod: "PUT",
|
250
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
|
374
|
+
queryParameters: [Parameters.apiVersion],
|
251
375
|
urlParameters: [
|
376
|
+
Parameters.$host,
|
252
377
|
Parameters.subscriptionId,
|
253
378
|
Parameters.resourceGroupName,
|
254
379
|
Parameters.registryName,
|
255
380
|
Parameters.pipelineRunName
|
256
381
|
],
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
parameterPath: "pipelineRunCreateParameters",
|
265
|
-
mapper: {
|
266
|
-
...Mappers.PipelineRun,
|
267
|
-
required: true
|
268
|
-
}
|
269
|
-
},
|
382
|
+
headerParameters: [Parameters.accept],
|
383
|
+
serializer
|
384
|
+
};
|
385
|
+
const createOperationSpec: coreClient.OperationSpec = {
|
386
|
+
path:
|
387
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
|
388
|
+
httpMethod: "PUT",
|
270
389
|
responses: {
|
271
390
|
200: {
|
272
391
|
bodyMapper: Mappers.PipelineRun
|
@@ -274,59 +393,57 @@ const beginCreateOperationSpec: msRest.OperationSpec = {
|
|
274
393
|
201: {
|
275
394
|
bodyMapper: Mappers.PipelineRun
|
276
395
|
},
|
277
|
-
|
278
|
-
bodyMapper: Mappers.
|
396
|
+
202: {
|
397
|
+
bodyMapper: Mappers.PipelineRun
|
398
|
+
},
|
399
|
+
204: {
|
400
|
+
bodyMapper: Mappers.PipelineRun
|
279
401
|
}
|
280
402
|
},
|
403
|
+
requestBody: Parameters.pipelineRunCreateParameters,
|
404
|
+
queryParameters: [Parameters.apiVersion],
|
405
|
+
urlParameters: [
|
406
|
+
Parameters.$host,
|
407
|
+
Parameters.subscriptionId,
|
408
|
+
Parameters.resourceGroupName,
|
409
|
+
Parameters.registryName,
|
410
|
+
Parameters.pipelineRunName
|
411
|
+
],
|
412
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
413
|
+
mediaType: "json",
|
281
414
|
serializer
|
282
415
|
};
|
283
|
-
|
284
|
-
|
416
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
417
|
+
path:
|
418
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
|
285
419
|
httpMethod: "DELETE",
|
286
|
-
|
420
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
421
|
+
queryParameters: [Parameters.apiVersion],
|
287
422
|
urlParameters: [
|
423
|
+
Parameters.$host,
|
288
424
|
Parameters.subscriptionId,
|
289
425
|
Parameters.resourceGroupName,
|
290
426
|
Parameters.registryName,
|
291
427
|
Parameters.pipelineRunName
|
292
428
|
],
|
293
|
-
queryParameters: [
|
294
|
-
Parameters.apiVersion0
|
295
|
-
],
|
296
|
-
headerParameters: [
|
297
|
-
Parameters.acceptLanguage
|
298
|
-
],
|
299
|
-
responses: {
|
300
|
-
200: {},
|
301
|
-
202: {},
|
302
|
-
204: {},
|
303
|
-
default: {
|
304
|
-
bodyMapper: Mappers.CloudError
|
305
|
-
}
|
306
|
-
},
|
307
429
|
serializer
|
308
430
|
};
|
309
|
-
|
310
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
311
|
-
httpMethod: "GET",
|
312
|
-
baseUrl: "https://management.azure.com",
|
431
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
313
432
|
path: "{nextLink}",
|
314
|
-
|
315
|
-
Parameters.nextPageLink
|
316
|
-
],
|
317
|
-
queryParameters: [
|
318
|
-
Parameters.apiVersion0
|
319
|
-
],
|
320
|
-
headerParameters: [
|
321
|
-
Parameters.acceptLanguage
|
322
|
-
],
|
433
|
+
httpMethod: "GET",
|
323
434
|
responses: {
|
324
435
|
200: {
|
325
436
|
bodyMapper: Mappers.PipelineRunListResult
|
326
|
-
},
|
327
|
-
default: {
|
328
|
-
bodyMapper: Mappers.CloudError
|
329
437
|
}
|
330
438
|
},
|
439
|
+
queryParameters: [Parameters.apiVersion],
|
440
|
+
urlParameters: [
|
441
|
+
Parameters.$host,
|
442
|
+
Parameters.subscriptionId,
|
443
|
+
Parameters.resourceGroupName,
|
444
|
+
Parameters.registryName,
|
445
|
+
Parameters.nextLink
|
446
|
+
],
|
447
|
+
headerParameters: [Parameters.accept],
|
331
448
|
serializer
|
332
449
|
};
|