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