@azure/arm-containerregistry 11.0.0-alpha.20250225.1 → 11.0.0-alpha.20250227.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 +217 -7
- package/README.md +2 -3
- package/dist/browser/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/browser/containerRegistryManagementClient.js +6 -6
- package/dist/browser/containerRegistryManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +8 -1
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +44 -0
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +14 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +1 -0
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +2261 -2201
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.js +148 -148
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/agentPools.d.ts.map +1 -1
- package/dist/browser/operations/agentPools.js +56 -56
- package/dist/browser/operations/agentPools.js.map +1 -1
- package/dist/browser/operations/archiveVersions.d.ts.map +1 -1
- package/dist/browser/operations/archiveVersions.js +45 -45
- package/dist/browser/operations/archiveVersions.js.map +1 -1
- package/dist/browser/operations/archives.d.ts.map +1 -1
- package/dist/browser/operations/archives.js +49 -49
- package/dist/browser/operations/archives.js.map +1 -1
- package/dist/browser/operations/cacheRules.d.ts.map +1 -1
- package/dist/browser/operations/cacheRules.js +55 -55
- package/dist/browser/operations/cacheRules.js.map +1 -1
- package/dist/browser/operations/connectedRegistries.d.ts.map +1 -1
- package/dist/browser/operations/connectedRegistries.js +59 -59
- package/dist/browser/operations/connectedRegistries.js.map +1 -1
- package/dist/browser/operations/credentialSets.d.ts.map +1 -1
- package/dist/browser/operations/credentialSets.js +55 -55
- package/dist/browser/operations/credentialSets.js.map +1 -1
- package/dist/browser/operations/exportPipelines.d.ts.map +1 -1
- package/dist/browser/operations/exportPipelines.js +38 -38
- package/dist/browser/operations/exportPipelines.js.map +1 -1
- package/dist/browser/operations/importPipelines.d.ts.map +1 -1
- package/dist/browser/operations/importPipelines.js +38 -38
- package/dist/browser/operations/importPipelines.js.map +1 -1
- package/dist/browser/operations/operations.js +7 -7
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/pipelineRuns.d.ts.map +1 -1
- package/dist/browser/operations/pipelineRuns.js +38 -38
- package/dist/browser/operations/pipelineRuns.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +34 -34
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/registries.d.ts.map +1 -1
- package/dist/browser/operations/registries.js +117 -117
- package/dist/browser/operations/registries.js.map +1 -1
- package/dist/browser/operations/replications.d.ts.map +1 -1
- package/dist/browser/operations/replications.js +44 -44
- package/dist/browser/operations/replications.js.map +1 -1
- package/dist/browser/operations/runs.d.ts.map +1 -1
- package/dist/browser/operations/runs.js +43 -43
- package/dist/browser/operations/runs.js.map +1 -1
- package/dist/browser/operations/scopeMaps.d.ts.map +1 -1
- package/dist/browser/operations/scopeMaps.js +51 -51
- package/dist/browser/operations/scopeMaps.js.map +1 -1
- package/dist/browser/operations/taskRuns.d.ts.map +1 -1
- package/dist/browser/operations/taskRuns.js +55 -55
- package/dist/browser/operations/taskRuns.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts.map +1 -1
- package/dist/browser/operations/tasks.js +56 -56
- package/dist/browser/operations/tasks.js.map +1 -1
- package/dist/browser/operations/tokens.d.ts.map +1 -1
- package/dist/browser/operations/tokens.js +51 -51
- package/dist/browser/operations/tokens.js.map +1 -1
- package/dist/browser/operations/webhooks.d.ts.map +1 -1
- package/dist/browser/operations/webhooks.js +61 -61
- package/dist/browser/operations/webhooks.js.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/browser/operationsInterfaces/archiveVersions.js.map +1 -1
- package/dist/browser/operationsInterfaces/archives.js.map +1 -1
- package/dist/browser/operationsInterfaces/cacheRules.js.map +1 -1
- package/dist/browser/operationsInterfaces/connectedRegistries.js.map +1 -1
- package/dist/browser/operationsInterfaces/credentialSets.js.map +1 -1
- package/dist/browser/operationsInterfaces/exportPipelines.js.map +1 -1
- package/dist/browser/operationsInterfaces/importPipelines.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/pipelineRuns.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operationsInterfaces/registries.js.map +1 -1
- package/dist/browser/operationsInterfaces/replications.js.map +1 -1
- package/dist/browser/operationsInterfaces/runs.js.map +1 -1
- package/dist/browser/operationsInterfaces/scopeMaps.js.map +1 -1
- package/dist/browser/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/tokens.js.map +1 -1
- package/dist/browser/operationsInterfaces/webhooks.js.map +1 -1
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/commonjs/containerRegistryManagementClient.js +5 -5
- package/dist/commonjs/containerRegistryManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +8 -1
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +44 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +16 -2
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +1 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +2266 -2206
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.js +147 -147
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operations/agentPools.js +55 -55
- package/dist/commonjs/operations/agentPools.js.map +1 -1
- package/dist/commonjs/operations/archiveVersions.d.ts.map +1 -1
- package/dist/commonjs/operations/archiveVersions.js +44 -44
- package/dist/commonjs/operations/archiveVersions.js.map +1 -1
- package/dist/commonjs/operations/archives.d.ts.map +1 -1
- package/dist/commonjs/operations/archives.js +48 -48
- package/dist/commonjs/operations/archives.js.map +1 -1
- package/dist/commonjs/operations/cacheRules.d.ts.map +1 -1
- package/dist/commonjs/operations/cacheRules.js +54 -54
- package/dist/commonjs/operations/cacheRules.js.map +1 -1
- package/dist/commonjs/operations/connectedRegistries.d.ts.map +1 -1
- package/dist/commonjs/operations/connectedRegistries.js +58 -58
- package/dist/commonjs/operations/connectedRegistries.js.map +1 -1
- package/dist/commonjs/operations/credentialSets.d.ts.map +1 -1
- package/dist/commonjs/operations/credentialSets.js +54 -54
- package/dist/commonjs/operations/credentialSets.js.map +1 -1
- package/dist/commonjs/operations/exportPipelines.d.ts.map +1 -1
- package/dist/commonjs/operations/exportPipelines.js +37 -37
- package/dist/commonjs/operations/exportPipelines.js.map +1 -1
- package/dist/commonjs/operations/importPipelines.d.ts.map +1 -1
- package/dist/commonjs/operations/importPipelines.js +37 -37
- package/dist/commonjs/operations/importPipelines.js.map +1 -1
- package/dist/commonjs/operations/operations.js +7 -7
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/pipelineRuns.d.ts.map +1 -1
- package/dist/commonjs/operations/pipelineRuns.js +37 -37
- package/dist/commonjs/operations/pipelineRuns.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +33 -33
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/registries.d.ts.map +1 -1
- package/dist/commonjs/operations/registries.js +116 -116
- package/dist/commonjs/operations/registries.js.map +1 -1
- package/dist/commonjs/operations/replications.d.ts.map +1 -1
- package/dist/commonjs/operations/replications.js +43 -43
- package/dist/commonjs/operations/replications.js.map +1 -1
- package/dist/commonjs/operations/runs.d.ts.map +1 -1
- package/dist/commonjs/operations/runs.js +42 -42
- package/dist/commonjs/operations/runs.js.map +1 -1
- package/dist/commonjs/operations/scopeMaps.d.ts.map +1 -1
- package/dist/commonjs/operations/scopeMaps.js +50 -50
- package/dist/commonjs/operations/scopeMaps.js.map +1 -1
- package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
- package/dist/commonjs/operations/taskRuns.js +54 -54
- package/dist/commonjs/operations/taskRuns.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts.map +1 -1
- package/dist/commonjs/operations/tasks.js +55 -55
- package/dist/commonjs/operations/tasks.js.map +1 -1
- package/dist/commonjs/operations/tokens.d.ts.map +1 -1
- package/dist/commonjs/operations/tokens.js +50 -50
- package/dist/commonjs/operations/tokens.js.map +1 -1
- package/dist/commonjs/operations/webhooks.d.ts.map +1 -1
- package/dist/commonjs/operations/webhooks.js +60 -60
- package/dist/commonjs/operations/webhooks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/archiveVersions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/archives.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/cacheRules.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/connectedRegistries.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/credentialSets.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/exportPipelines.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/importPipelines.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/pipelineRuns.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/registries.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/replications.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/runs.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/scopeMaps.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tokens.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/webhooks.js.map +1 -1
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/esm/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/esm/containerRegistryManagementClient.js +6 -6
- package/dist/esm/containerRegistryManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +8 -1
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +44 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +14 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +1 -0
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +2261 -2201
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.js +148 -148
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/agentPools.d.ts.map +1 -1
- package/dist/esm/operations/agentPools.js +56 -56
- package/dist/esm/operations/agentPools.js.map +1 -1
- package/dist/esm/operations/archiveVersions.d.ts.map +1 -1
- package/dist/esm/operations/archiveVersions.js +45 -45
- package/dist/esm/operations/archiveVersions.js.map +1 -1
- package/dist/esm/operations/archives.d.ts.map +1 -1
- package/dist/esm/operations/archives.js +49 -49
- package/dist/esm/operations/archives.js.map +1 -1
- package/dist/esm/operations/cacheRules.d.ts.map +1 -1
- package/dist/esm/operations/cacheRules.js +55 -55
- package/dist/esm/operations/cacheRules.js.map +1 -1
- package/dist/esm/operations/connectedRegistries.d.ts.map +1 -1
- package/dist/esm/operations/connectedRegistries.js +59 -59
- package/dist/esm/operations/connectedRegistries.js.map +1 -1
- package/dist/esm/operations/credentialSets.d.ts.map +1 -1
- package/dist/esm/operations/credentialSets.js +55 -55
- package/dist/esm/operations/credentialSets.js.map +1 -1
- package/dist/esm/operations/exportPipelines.d.ts.map +1 -1
- package/dist/esm/operations/exportPipelines.js +38 -38
- package/dist/esm/operations/exportPipelines.js.map +1 -1
- package/dist/esm/operations/importPipelines.d.ts.map +1 -1
- package/dist/esm/operations/importPipelines.js +38 -38
- package/dist/esm/operations/importPipelines.js.map +1 -1
- package/dist/esm/operations/operations.js +7 -7
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/pipelineRuns.d.ts.map +1 -1
- package/dist/esm/operations/pipelineRuns.js +38 -38
- package/dist/esm/operations/pipelineRuns.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +34 -34
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/registries.d.ts.map +1 -1
- package/dist/esm/operations/registries.js +117 -117
- package/dist/esm/operations/registries.js.map +1 -1
- package/dist/esm/operations/replications.d.ts.map +1 -1
- package/dist/esm/operations/replications.js +44 -44
- package/dist/esm/operations/replications.js.map +1 -1
- package/dist/esm/operations/runs.d.ts.map +1 -1
- package/dist/esm/operations/runs.js +43 -43
- package/dist/esm/operations/runs.js.map +1 -1
- package/dist/esm/operations/scopeMaps.d.ts.map +1 -1
- package/dist/esm/operations/scopeMaps.js +51 -51
- package/dist/esm/operations/scopeMaps.js.map +1 -1
- package/dist/esm/operations/taskRuns.d.ts.map +1 -1
- package/dist/esm/operations/taskRuns.js +55 -55
- package/dist/esm/operations/taskRuns.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts.map +1 -1
- package/dist/esm/operations/tasks.js +56 -56
- package/dist/esm/operations/tasks.js.map +1 -1
- package/dist/esm/operations/tokens.d.ts.map +1 -1
- package/dist/esm/operations/tokens.js +51 -51
- package/dist/esm/operations/tokens.js.map +1 -1
- package/dist/esm/operations/webhooks.d.ts.map +1 -1
- package/dist/esm/operations/webhooks.js +61 -61
- package/dist/esm/operations/webhooks.js.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/esm/operationsInterfaces/archiveVersions.js.map +1 -1
- package/dist/esm/operationsInterfaces/archives.js.map +1 -1
- package/dist/esm/operationsInterfaces/cacheRules.js.map +1 -1
- package/dist/esm/operationsInterfaces/connectedRegistries.js.map +1 -1
- package/dist/esm/operationsInterfaces/credentialSets.js.map +1 -1
- package/dist/esm/operationsInterfaces/exportPipelines.js.map +1 -1
- package/dist/esm/operationsInterfaces/importPipelines.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/pipelineRuns.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operationsInterfaces/registries.js.map +1 -1
- package/dist/esm/operationsInterfaces/replications.js.map +1 -1
- package/dist/esm/operationsInterfaces/runs.js.map +1 -1
- package/dist/esm/operationsInterfaces/scopeMaps.js.map +1 -1
- package/dist/esm/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/tokens.js.map +1 -1
- package/dist/esm/operationsInterfaces/webhooks.js.map +1 -1
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/react-native/containerRegistryManagementClient.js +6 -6
- package/dist/react-native/containerRegistryManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +8 -1
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +44 -0
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +14 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +1 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +2261 -2201
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.js +148 -148
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/agentPools.d.ts.map +1 -1
- package/dist/react-native/operations/agentPools.js +56 -56
- package/dist/react-native/operations/agentPools.js.map +1 -1
- package/dist/react-native/operations/archiveVersions.d.ts.map +1 -1
- package/dist/react-native/operations/archiveVersions.js +45 -45
- package/dist/react-native/operations/archiveVersions.js.map +1 -1
- package/dist/react-native/operations/archives.d.ts.map +1 -1
- package/dist/react-native/operations/archives.js +49 -49
- package/dist/react-native/operations/archives.js.map +1 -1
- package/dist/react-native/operations/cacheRules.d.ts.map +1 -1
- package/dist/react-native/operations/cacheRules.js +55 -55
- package/dist/react-native/operations/cacheRules.js.map +1 -1
- package/dist/react-native/operations/connectedRegistries.d.ts.map +1 -1
- package/dist/react-native/operations/connectedRegistries.js +59 -59
- package/dist/react-native/operations/connectedRegistries.js.map +1 -1
- package/dist/react-native/operations/credentialSets.d.ts.map +1 -1
- package/dist/react-native/operations/credentialSets.js +55 -55
- package/dist/react-native/operations/credentialSets.js.map +1 -1
- package/dist/react-native/operations/exportPipelines.d.ts.map +1 -1
- package/dist/react-native/operations/exportPipelines.js +38 -38
- package/dist/react-native/operations/exportPipelines.js.map +1 -1
- package/dist/react-native/operations/importPipelines.d.ts.map +1 -1
- package/dist/react-native/operations/importPipelines.js +38 -38
- package/dist/react-native/operations/importPipelines.js.map +1 -1
- package/dist/react-native/operations/operations.js +7 -7
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/pipelineRuns.d.ts.map +1 -1
- package/dist/react-native/operations/pipelineRuns.js +38 -38
- package/dist/react-native/operations/pipelineRuns.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +34 -34
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/registries.d.ts.map +1 -1
- package/dist/react-native/operations/registries.js +117 -117
- package/dist/react-native/operations/registries.js.map +1 -1
- package/dist/react-native/operations/replications.d.ts.map +1 -1
- package/dist/react-native/operations/replications.js +44 -44
- package/dist/react-native/operations/replications.js.map +1 -1
- package/dist/react-native/operations/runs.d.ts.map +1 -1
- package/dist/react-native/operations/runs.js +43 -43
- package/dist/react-native/operations/runs.js.map +1 -1
- package/dist/react-native/operations/scopeMaps.d.ts.map +1 -1
- package/dist/react-native/operations/scopeMaps.js +51 -51
- package/dist/react-native/operations/scopeMaps.js.map +1 -1
- package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
- package/dist/react-native/operations/taskRuns.js +55 -55
- package/dist/react-native/operations/taskRuns.js.map +1 -1
- package/dist/react-native/operations/tasks.d.ts.map +1 -1
- package/dist/react-native/operations/tasks.js +56 -56
- package/dist/react-native/operations/tasks.js.map +1 -1
- package/dist/react-native/operations/tokens.d.ts.map +1 -1
- package/dist/react-native/operations/tokens.js +51 -51
- package/dist/react-native/operations/tokens.js.map +1 -1
- package/dist/react-native/operations/webhooks.d.ts.map +1 -1
- package/dist/react-native/operations/webhooks.js +61 -61
- package/dist/react-native/operations/webhooks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/react-native/operationsInterfaces/archiveVersions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/archives.js.map +1 -1
- package/dist/react-native/operationsInterfaces/cacheRules.js.map +1 -1
- package/dist/react-native/operationsInterfaces/connectedRegistries.js.map +1 -1
- package/dist/react-native/operationsInterfaces/credentialSets.js.map +1 -1
- package/dist/react-native/operationsInterfaces/exportPipelines.js.map +1 -1
- package/dist/react-native/operationsInterfaces/importPipelines.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/pipelineRuns.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operationsInterfaces/registries.js.map +1 -1
- package/dist/react-native/operationsInterfaces/replications.js.map +1 -1
- package/dist/react-native/operationsInterfaces/runs.js.map +1 -1
- package/dist/react-native/operationsInterfaces/scopeMaps.js.map +1 -1
- package/dist/react-native/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tokens.js.map +1 -1
- package/dist/react-native/operationsInterfaces/webhooks.js.map +1 -1
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +12 -10
- package/review/arm-containerregistry.api.md +24 -0
@@ -45,7 +45,7 @@ class PipelineRunsImpl {
|
|
45
45
|
throw new Error("maxPageSize is not supported by this operation.");
|
46
46
|
}
|
47
47
|
return this.listPagingPage(resourceGroupName, registryName, options, settings);
|
48
|
-
}
|
48
|
+
},
|
49
49
|
};
|
50
50
|
}
|
51
51
|
listPagingPage(resourceGroupName, registryName, options, settings) {
|
@@ -134,8 +134,8 @@ class PipelineRunsImpl {
|
|
134
134
|
rawResponse: {
|
135
135
|
statusCode: currentRawResponse.status,
|
136
136
|
body: currentRawResponse.parsedBody,
|
137
|
-
headers: currentRawResponse.headers.toJSON()
|
138
|
-
}
|
137
|
+
headers: currentRawResponse.headers.toJSON(),
|
138
|
+
},
|
139
139
|
};
|
140
140
|
};
|
141
141
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
@@ -145,14 +145,14 @@ class PipelineRunsImpl {
|
|
145
145
|
registryName,
|
146
146
|
pipelineRunName,
|
147
147
|
pipelineRunCreateParameters,
|
148
|
-
options
|
148
|
+
options,
|
149
149
|
},
|
150
|
-
spec: createOperationSpec
|
150
|
+
spec: createOperationSpec,
|
151
151
|
});
|
152
152
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
153
153
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
154
154
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
155
|
-
resourceLocationConfig: "azure-async-operation"
|
155
|
+
resourceLocationConfig: "azure-async-operation",
|
156
156
|
});
|
157
157
|
await poller.poll();
|
158
158
|
return poller;
|
@@ -195,19 +195,19 @@ class PipelineRunsImpl {
|
|
195
195
|
rawResponse: {
|
196
196
|
statusCode: currentRawResponse.status,
|
197
197
|
body: currentRawResponse.parsedBody,
|
198
|
-
headers: currentRawResponse.headers.toJSON()
|
199
|
-
}
|
198
|
+
headers: currentRawResponse.headers.toJSON(),
|
199
|
+
},
|
200
200
|
};
|
201
201
|
};
|
202
202
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
203
203
|
sendOperationFn,
|
204
204
|
args: { resourceGroupName, registryName, pipelineRunName, options },
|
205
|
-
spec: deleteOperationSpec
|
205
|
+
spec: deleteOperationSpec,
|
206
206
|
});
|
207
207
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
208
208
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
209
209
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
210
|
-
resourceLocationConfig: "location"
|
210
|
+
resourceLocationConfig: "location",
|
211
211
|
});
|
212
212
|
await poller.poll();
|
213
213
|
return poller;
|
@@ -242,32 +242,32 @@ const listOperationSpec = {
|
|
242
242
|
httpMethod: "GET",
|
243
243
|
responses: {
|
244
244
|
200: {
|
245
|
-
bodyMapper: Mappers.PipelineRunListResult
|
245
|
+
bodyMapper: Mappers.PipelineRunListResult,
|
246
246
|
},
|
247
247
|
default: {
|
248
|
-
bodyMapper: Mappers.ErrorResponse
|
249
|
-
}
|
248
|
+
bodyMapper: Mappers.ErrorResponse,
|
249
|
+
},
|
250
250
|
},
|
251
251
|
queryParameters: [Parameters.apiVersion],
|
252
252
|
urlParameters: [
|
253
253
|
Parameters.$host,
|
254
254
|
Parameters.subscriptionId,
|
255
255
|
Parameters.resourceGroupName,
|
256
|
-
Parameters.registryName
|
256
|
+
Parameters.registryName,
|
257
257
|
],
|
258
258
|
headerParameters: [Parameters.accept],
|
259
|
-
serializer
|
259
|
+
serializer,
|
260
260
|
};
|
261
261
|
const getOperationSpec = {
|
262
262
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
|
263
263
|
httpMethod: "GET",
|
264
264
|
responses: {
|
265
265
|
200: {
|
266
|
-
bodyMapper: Mappers.PipelineRun
|
266
|
+
bodyMapper: Mappers.PipelineRun,
|
267
267
|
},
|
268
268
|
default: {
|
269
|
-
bodyMapper: Mappers.ErrorResponse
|
270
|
-
}
|
269
|
+
bodyMapper: Mappers.ErrorResponse,
|
270
|
+
},
|
271
271
|
},
|
272
272
|
queryParameters: [Parameters.apiVersion],
|
273
273
|
urlParameters: [
|
@@ -275,30 +275,30 @@ const getOperationSpec = {
|
|
275
275
|
Parameters.subscriptionId,
|
276
276
|
Parameters.resourceGroupName,
|
277
277
|
Parameters.registryName,
|
278
|
-
Parameters.pipelineRunName
|
278
|
+
Parameters.pipelineRunName,
|
279
279
|
],
|
280
280
|
headerParameters: [Parameters.accept],
|
281
|
-
serializer
|
281
|
+
serializer,
|
282
282
|
};
|
283
283
|
const createOperationSpec = {
|
284
284
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
|
285
285
|
httpMethod: "PUT",
|
286
286
|
responses: {
|
287
287
|
200: {
|
288
|
-
bodyMapper: Mappers.PipelineRun
|
288
|
+
bodyMapper: Mappers.PipelineRun,
|
289
289
|
},
|
290
290
|
201: {
|
291
|
-
bodyMapper: Mappers.PipelineRun
|
291
|
+
bodyMapper: Mappers.PipelineRun,
|
292
292
|
},
|
293
293
|
202: {
|
294
|
-
bodyMapper: Mappers.PipelineRun
|
294
|
+
bodyMapper: Mappers.PipelineRun,
|
295
295
|
},
|
296
296
|
204: {
|
297
|
-
bodyMapper: Mappers.PipelineRun
|
297
|
+
bodyMapper: Mappers.PipelineRun,
|
298
298
|
},
|
299
299
|
default: {
|
300
|
-
bodyMapper: Mappers.ErrorResponse
|
301
|
-
}
|
300
|
+
bodyMapper: Mappers.ErrorResponse,
|
301
|
+
},
|
302
302
|
},
|
303
303
|
requestBody: Parameters.pipelineRunCreateParameters,
|
304
304
|
queryParameters: [Parameters.apiVersion],
|
@@ -307,11 +307,11 @@ const createOperationSpec = {
|
|
307
307
|
Parameters.subscriptionId,
|
308
308
|
Parameters.resourceGroupName,
|
309
309
|
Parameters.registryName,
|
310
|
-
Parameters.pipelineRunName
|
310
|
+
Parameters.pipelineRunName,
|
311
311
|
],
|
312
312
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
313
313
|
mediaType: "json",
|
314
|
-
serializer
|
314
|
+
serializer,
|
315
315
|
};
|
316
316
|
const deleteOperationSpec = {
|
317
317
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
|
@@ -322,8 +322,8 @@ const deleteOperationSpec = {
|
|
322
322
|
202: {},
|
323
323
|
204: {},
|
324
324
|
default: {
|
325
|
-
bodyMapper: Mappers.ErrorResponse
|
326
|
-
}
|
325
|
+
bodyMapper: Mappers.ErrorResponse,
|
326
|
+
},
|
327
327
|
},
|
328
328
|
queryParameters: [Parameters.apiVersion],
|
329
329
|
urlParameters: [
|
@@ -331,30 +331,30 @@ const deleteOperationSpec = {
|
|
331
331
|
Parameters.subscriptionId,
|
332
332
|
Parameters.resourceGroupName,
|
333
333
|
Parameters.registryName,
|
334
|
-
Parameters.pipelineRunName
|
334
|
+
Parameters.pipelineRunName,
|
335
335
|
],
|
336
336
|
headerParameters: [Parameters.accept],
|
337
|
-
serializer
|
337
|
+
serializer,
|
338
338
|
};
|
339
339
|
const listNextOperationSpec = {
|
340
340
|
path: "{nextLink}",
|
341
341
|
httpMethod: "GET",
|
342
342
|
responses: {
|
343
343
|
200: {
|
344
|
-
bodyMapper: Mappers.PipelineRunListResult
|
344
|
+
bodyMapper: Mappers.PipelineRunListResult,
|
345
345
|
},
|
346
346
|
default: {
|
347
|
-
bodyMapper: Mappers.ErrorResponse
|
348
|
-
}
|
347
|
+
bodyMapper: Mappers.ErrorResponse,
|
348
|
+
},
|
349
349
|
},
|
350
350
|
urlParameters: [
|
351
351
|
Parameters.$host,
|
352
352
|
Parameters.subscriptionId,
|
353
353
|
Parameters.resourceGroupName,
|
354
354
|
Parameters.registryName,
|
355
|
-
Parameters.nextLink
|
355
|
+
Parameters.nextLink,
|
356
356
|
],
|
357
357
|
headerParameters: [Parameters.accept],
|
358
|
-
serializer
|
358
|
+
serializer,
|
359
359
|
};
|
360
360
|
//# sourceMappingURL=pipelineRuns.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipelineRuns.js","sourceRoot":"","sources":["../../../src/operations/pipelineRuns.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,C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AU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PipelineRuns } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PipelineRun,\n PipelineRunsListNextOptionalParams,\n PipelineRunsListOptionalParams,\n PipelineRunsListResponse,\n PipelineRunsGetOptionalParams,\n PipelineRunsGetResponse,\n PipelineRunsCreateOptionalParams,\n PipelineRunsCreateResponse,\n PipelineRunsDeleteOptionalParams,\n PipelineRunsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PipelineRuns operations. */\nexport class PipelineRunsImpl implements PipelineRuns {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class PipelineRuns class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the pipeline runs for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams\n ): PagedAsyncIterableIterator<PipelineRun> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<PipelineRun[]> {\n let result: PipelineRunsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n registryName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams\n ): AsyncIterableIterator<PipelineRun> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the pipeline runs for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams\n ): Promise<PipelineRunsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec\n );\n }\n\n /**\n * Gets the detailed information for a given pipeline run.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsGetOptionalParams\n ): Promise<PipelineRunsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, pipelineRunName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates a pipeline run for a container registry with the specified parameters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param pipelineRunCreateParameters The parameters for creating a pipeline run.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n pipelineRunCreateParameters: PipelineRun,\n options?: PipelineRunsCreateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<PipelineRunsCreateResponse>,\n PipelineRunsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<PipelineRunsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n pipelineRunName,\n pipelineRunCreateParameters,\n options\n },\n spec: createOperationSpec\n });\n const poller = await createHttpPoller<\n PipelineRunsCreateResponse,\n OperationState<PipelineRunsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a pipeline run for a container registry with the specified parameters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param pipelineRunCreateParameters The parameters for creating a pipeline run.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n pipelineRunCreateParameters: PipelineRun,\n options?: PipelineRunsCreateOptionalParams\n ): Promise<PipelineRunsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n pipelineRunName,\n pipelineRunCreateParameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a pipeline run from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, registryName, pipelineRunName, options },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a pipeline run from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n pipelineRunName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: PipelineRunsListNextOptionalParams\n ): Promise<PipelineRunsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRunListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRun\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRun\n },\n 201: {\n bodyMapper: Mappers.PipelineRun\n },\n 202: {\n bodyMapper: Mappers.PipelineRun\n },\n 204: {\n bodyMapper: Mappers.PipelineRun\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.pipelineRunCreateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRunListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
1
|
+
{"version":3,"file":"pipelineRuns.js","sourceRoot":"","sources":["../../../src/operations/pipelineRuns.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,YAAoB,EACpB,OAAwC,EACxC,QAAuB;;YAEvB,IAAI,MAAgC,CAAC;YACrC,IAAI,iBAAiB,GAAG,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AAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PipelineRuns } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PipelineRun,\n PipelineRunsListNextOptionalParams,\n PipelineRunsListOptionalParams,\n PipelineRunsListResponse,\n PipelineRunsGetOptionalParams,\n PipelineRunsGetResponse,\n PipelineRunsCreateOptionalParams,\n PipelineRunsCreateResponse,\n PipelineRunsDeleteOptionalParams,\n PipelineRunsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PipelineRuns operations. */\nexport class PipelineRunsImpl implements PipelineRuns {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class PipelineRuns class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the pipeline runs for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams,\n ): PagedAsyncIterableIterator<PipelineRun> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PipelineRun[]> {\n let result: PipelineRunsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n registryName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams,\n ): AsyncIterableIterator<PipelineRun> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the pipeline runs for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: PipelineRunsListOptionalParams,\n ): Promise<PipelineRunsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the detailed information for a given pipeline run.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsGetOptionalParams,\n ): Promise<PipelineRunsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, pipelineRunName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates a pipeline run for a container registry with the specified parameters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param pipelineRunCreateParameters The parameters for creating a pipeline run.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n pipelineRunCreateParameters: PipelineRun,\n options?: PipelineRunsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PipelineRunsCreateResponse>,\n PipelineRunsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PipelineRunsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n pipelineRunName,\n pipelineRunCreateParameters,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n PipelineRunsCreateResponse,\n OperationState<PipelineRunsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a pipeline run for a container registry with the specified parameters\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param pipelineRunCreateParameters The parameters for creating a pipeline run.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n pipelineRunCreateParameters: PipelineRun,\n options?: PipelineRunsCreateOptionalParams,\n ): Promise<PipelineRunsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n pipelineRunName,\n pipelineRunCreateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a pipeline run from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, registryName, pipelineRunName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a pipeline run from a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param pipelineRunName The name of the pipeline run.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n pipelineRunName: string,\n options?: PipelineRunsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n pipelineRunName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: PipelineRunsListNextOptionalParams,\n ): Promise<PipelineRunsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRunListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRun,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRun,\n },\n 201: {\n bodyMapper: Mappers.PipelineRun,\n },\n 202: {\n bodyMapper: Mappers.PipelineRun,\n },\n 204: {\n bodyMapper: Mappers.PipelineRun,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.pipelineRunCreateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.pipelineRunName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PipelineRunListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAI9E,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,yBAAyB,EAEzB,4CAA4C,EAE5C,2CAA2C,EAC3C,qCAAqC,EACrC,sDAAsD,EACtD,gDAAgD,EAChD,8CAA8C,EAE/C,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;
|
1
|
+
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAI9E,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,yBAAyB,EAEzB,4CAA4C,EAE5C,2CAA2C,EAC3C,qCAAqC,EACrC,sDAAsD,EACtD,gDAAgD,EAChD,8CAA8C,EAE/C,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IAErC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,yBAAyB,CAAC;YAuBzC,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;;OAOG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gDAAgD,CAAC,EAChE,gDAAgD,CACjD,CACF;IA8DD;;;;;;;OAOG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;IAW5D;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IA0DxD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
@@ -45,7 +45,7 @@ class PrivateEndpointConnectionsImpl {
|
|
45
45
|
throw new Error("maxPageSize is not supported by this operation.");
|
46
46
|
}
|
47
47
|
return this.listPagingPage(resourceGroupName, registryName, options, settings);
|
48
|
-
}
|
48
|
+
},
|
49
49
|
};
|
50
50
|
}
|
51
51
|
listPagingPage(resourceGroupName, registryName, options, settings) {
|
@@ -109,7 +109,7 @@ class PrivateEndpointConnectionsImpl {
|
|
109
109
|
resourceGroupName,
|
110
110
|
registryName,
|
111
111
|
privateEndpointConnectionName,
|
112
|
-
options
|
112
|
+
options,
|
113
113
|
}, getOperationSpec);
|
114
114
|
}
|
115
115
|
/**
|
@@ -139,8 +139,8 @@ class PrivateEndpointConnectionsImpl {
|
|
139
139
|
rawResponse: {
|
140
140
|
statusCode: currentRawResponse.status,
|
141
141
|
body: currentRawResponse.parsedBody,
|
142
|
-
headers: currentRawResponse.headers.toJSON()
|
143
|
-
}
|
142
|
+
headers: currentRawResponse.headers.toJSON(),
|
143
|
+
},
|
144
144
|
};
|
145
145
|
};
|
146
146
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
@@ -150,14 +150,14 @@ class PrivateEndpointConnectionsImpl {
|
|
150
150
|
registryName,
|
151
151
|
privateEndpointConnectionName,
|
152
152
|
privateEndpointConnection,
|
153
|
-
options
|
153
|
+
options,
|
154
154
|
},
|
155
|
-
spec: createOrUpdateOperationSpec
|
155
|
+
spec: createOrUpdateOperationSpec,
|
156
156
|
});
|
157
157
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
158
158
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
159
159
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
160
|
-
resourceLocationConfig: "azure-async-operation"
|
160
|
+
resourceLocationConfig: "azure-async-operation",
|
161
161
|
});
|
162
162
|
await poller.poll();
|
163
163
|
return poller;
|
@@ -200,8 +200,8 @@ class PrivateEndpointConnectionsImpl {
|
|
200
200
|
rawResponse: {
|
201
201
|
statusCode: currentRawResponse.status,
|
202
202
|
body: currentRawResponse.parsedBody,
|
203
|
-
headers: currentRawResponse.headers.toJSON()
|
204
|
-
}
|
203
|
+
headers: currentRawResponse.headers.toJSON(),
|
204
|
+
},
|
205
205
|
};
|
206
206
|
};
|
207
207
|
const lro = (0, lroImpl_js_1.createLroSpec)({
|
@@ -210,14 +210,14 @@ class PrivateEndpointConnectionsImpl {
|
|
210
210
|
resourceGroupName,
|
211
211
|
registryName,
|
212
212
|
privateEndpointConnectionName,
|
213
|
-
options
|
213
|
+
options,
|
214
214
|
},
|
215
|
-
spec: deleteOperationSpec
|
215
|
+
spec: deleteOperationSpec,
|
216
216
|
});
|
217
217
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
218
218
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
219
219
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
220
|
-
resourceLocationConfig: "location"
|
220
|
+
resourceLocationConfig: "location",
|
221
221
|
});
|
222
222
|
await poller.poll();
|
223
223
|
return poller;
|
@@ -252,26 +252,26 @@ const listOperationSpec = {
|
|
252
252
|
httpMethod: "GET",
|
253
253
|
responses: {
|
254
254
|
200: {
|
255
|
-
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
256
|
-
}
|
255
|
+
bodyMapper: Mappers.PrivateEndpointConnectionListResult,
|
256
|
+
},
|
257
257
|
},
|
258
258
|
queryParameters: [Parameters.apiVersion],
|
259
259
|
urlParameters: [
|
260
260
|
Parameters.$host,
|
261
261
|
Parameters.subscriptionId,
|
262
262
|
Parameters.resourceGroupName,
|
263
|
-
Parameters.registryName
|
263
|
+
Parameters.registryName,
|
264
264
|
],
|
265
265
|
headerParameters: [Parameters.accept],
|
266
|
-
serializer
|
266
|
+
serializer,
|
267
267
|
};
|
268
268
|
const getOperationSpec = {
|
269
269
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
270
270
|
httpMethod: "GET",
|
271
271
|
responses: {
|
272
272
|
200: {
|
273
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
274
|
-
}
|
273
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
274
|
+
},
|
275
275
|
},
|
276
276
|
queryParameters: [Parameters.apiVersion],
|
277
277
|
urlParameters: [
|
@@ -279,27 +279,27 @@ const getOperationSpec = {
|
|
279
279
|
Parameters.subscriptionId,
|
280
280
|
Parameters.resourceGroupName,
|
281
281
|
Parameters.registryName,
|
282
|
-
Parameters.privateEndpointConnectionName
|
282
|
+
Parameters.privateEndpointConnectionName,
|
283
283
|
],
|
284
284
|
headerParameters: [Parameters.accept],
|
285
|
-
serializer
|
285
|
+
serializer,
|
286
286
|
};
|
287
287
|
const createOrUpdateOperationSpec = {
|
288
288
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
289
289
|
httpMethod: "PUT",
|
290
290
|
responses: {
|
291
291
|
200: {
|
292
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
292
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
293
293
|
},
|
294
294
|
201: {
|
295
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
295
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
296
296
|
},
|
297
297
|
202: {
|
298
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
298
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
299
299
|
},
|
300
300
|
204: {
|
301
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
302
|
-
}
|
301
|
+
bodyMapper: Mappers.PrivateEndpointConnection,
|
302
|
+
},
|
303
303
|
},
|
304
304
|
requestBody: Parameters.privateEndpointConnection,
|
305
305
|
queryParameters: [Parameters.apiVersion],
|
@@ -308,11 +308,11 @@ const createOrUpdateOperationSpec = {
|
|
308
308
|
Parameters.subscriptionId,
|
309
309
|
Parameters.resourceGroupName,
|
310
310
|
Parameters.registryName,
|
311
|
-
Parameters.privateEndpointConnectionName
|
311
|
+
Parameters.privateEndpointConnectionName,
|
312
312
|
],
|
313
313
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
314
314
|
mediaType: "json",
|
315
|
-
serializer
|
315
|
+
serializer,
|
316
316
|
};
|
317
317
|
const deleteOperationSpec = {
|
318
318
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
@@ -324,26 +324,26 @@ const deleteOperationSpec = {
|
|
324
324
|
Parameters.subscriptionId,
|
325
325
|
Parameters.resourceGroupName,
|
326
326
|
Parameters.registryName,
|
327
|
-
Parameters.privateEndpointConnectionName
|
327
|
+
Parameters.privateEndpointConnectionName,
|
328
328
|
],
|
329
|
-
serializer
|
329
|
+
serializer,
|
330
330
|
};
|
331
331
|
const listNextOperationSpec = {
|
332
332
|
path: "{nextLink}",
|
333
333
|
httpMethod: "GET",
|
334
334
|
responses: {
|
335
335
|
200: {
|
336
|
-
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
337
|
-
}
|
336
|
+
bodyMapper: Mappers.PrivateEndpointConnectionListResult,
|
337
|
+
},
|
338
338
|
},
|
339
339
|
urlParameters: [
|
340
340
|
Parameters.$host,
|
341
341
|
Parameters.subscriptionId,
|
342
342
|
Parameters.resourceGroupName,
|
343
343
|
Parameters.registryName,
|
344
|
-
Parameters.nextLink
|
344
|
+
Parameters.nextLink,
|
345
345
|
],
|
346
346
|
headerParameters: [Parameters.accept],
|
347
|
-
serializer
|
347
|
+
serializer,
|
348
348
|
};
|
349
349
|
//# sourceMappingURL=privateEndpointConnections.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAa,8BAA8B;IAIzC;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GA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,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListNextOptionalParams,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * List all private endpoint connections in a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n registryName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * List all private endpoint connections in a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec\n );\n }\n\n /**\n * Get the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Update the state of specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,\n PrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options\n },\n spec: createOrUpdateOperationSpec\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the state of specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options\n },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: PrivateEndpointConnectionsListNextOptionalParams\n ): Promise<PrivateEndpointConnectionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection\n }\n },\n requestBody: Parameters.privateEndpointConnection,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName\n ],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAa,8BAA8B;IAKzC;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAA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,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,+LAA+L;IACrM,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE;IACjD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;IACD,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListNextOptionalParams,\n PrivateEndpointConnectionsListOptionalParams,\n PrivateEndpointConnectionsListResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PrivateEndpointConnections operations. */\nexport class PrivateEndpointConnectionsImpl\n implements PrivateEndpointConnections\n{\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * List all private endpoint connections in a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, registryName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: PrivateEndpointConnectionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n registryName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List all private endpoint connections in a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: PrivateEndpointConnectionsListOptionalParams,\n ): Promise<PrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,\n PrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the state of specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param privateEndpointConnection The parameters for creating a private endpoint connection.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n privateEndpointConnection,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified private endpoint connection associated with the container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: PrivateEndpointConnectionsListNextOptionalParams,\n ): Promise<PrivateEndpointConnectionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n },\n requestBody: Parameters.privateEndpointConnection,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.privateEndpointConnectionName,\n ],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.registryName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|