From 58ef2b4e2fbc1d06adf92b19eabe2a49c32dcce7 Mon Sep 17 00:00:00 2001 From: ZiWei Chen Date: Fri, 5 Sep 2025 17:52:37 +0800 Subject: [PATCH 01/41] convert containerregistry --- .../Registry/Archive.tsp | 85 + .../Registry/ArchiveVersion.tsp | 61 + .../Registry/CacheRule.tsp | 77 + .../Registry/ConnectedRegistry.tsp | 96 + .../Registry/CredentialSet.tsp | 84 + .../Registry/ExportPipeline.tsp | 77 + .../Registry/ImportPipeline.tsp | 77 + .../Registry/PipelineRun.tsp | 65 + .../Registry/PrivateEndpointConnection.tsp | 67 + .../Registry/PrivateLinkResource.tsp | 52 + .../Registry/Registry.tsp | 168 + .../Registry/Replication.tsp | 82 + .../Registry/ScopeMap.tsp | 81 + .../Registry/Token.tsp | 81 + .../Registry/Webhook.tsp | 108 + .../Registry/back-compatible.tsp | 144 + .../Registry/client.tsp | 11 + .../2025-05-01-preview/ArchiveCreate.json | 61 + .../2025-05-01-preview/ArchiveDelete.json | 20 + .../2025-05-01-preview/ArchiveGet.json | 37 + .../2025-05-01-preview/ArchiveList.json | 41 + .../2025-05-01-preview/ArchiveUpdate.json | 44 + .../ArchiveVersionCreate.json | 38 + .../ArchiveVersionDelete.json | 21 + .../2025-05-01-preview/ArchiveVersionGet.json | 34 + .../ArchiveVersionList.json | 38 + .../2025-05-01-preview/CacheRuleCreate.json | 51 + .../2025-05-01-preview/CacheRuleDelete.json | 19 + .../2025-05-01-preview/CacheRuleGet.json | 27 + .../2025-05-01-preview/CacheRuleList.json | 30 + .../2025-05-01-preview/CacheRuleUpdate.json | 49 + .../ConnectedRegistryCreate.json | 112 + .../ConnectedRegistryDeactivate.json | 19 + .../ConnectedRegistryDelete.json | 20 + .../ConnectedRegistryGet.json | 49 + .../ConnectedRegistryList.json | 52 + .../ConnectedRegistryUpdate.json | 109 + .../CredentialSetCreate.json | 85 + .../CredentialSetDelete.json | 19 + .../2025-05-01-preview/CredentialSetGet.json | 40 + .../2025-05-01-preview/CredentialSetList.json | 43 + .../CredentialSetUpdate.json | 81 + .../ExportPipelineCreate.json | 80 + .../ExportPipelineDelete.json | 20 + .../2025-05-01-preview/ExportPipelineGet.json | 37 + .../ExportPipelineList.json | 40 + .../ImportImageByManifestDigest.json | 31 + .../2025-05-01-preview/ImportImageByTag.json | 31 + .../ImportImageFromPublicRegistry.json | 31 + .../ImportPipelineCreate.json | 107 + .../ImportPipelineDelete.json | 20 + .../2025-05-01-preview/ImportPipelineGet.json | 48 + .../ImportPipelineList.json | 51 + .../2025-05-01-preview/OperationList.json | 24 + .../PipelineRunCreate_Export.json | 91 + .../PipelineRunCreate_Import.json | 90 + .../2025-05-01-preview/PipelineRunDelete.json | 20 + .../2025-05-01-preview/PipelineRunGet.json | 43 + .../2025-05-01-preview/PipelineRunList.json | 74 + ...ivateEndpointConnectionCreateOrUpdate.json | 60 + .../PrivateEndpointConnectionDelete.json | 20 + .../PrivateEndpointConnectionGet.json | 31 + .../PrivateEndpointConnectionList.json | 34 + .../RegistryCheckNameAvailable.json | 22 + .../RegistryCheckNameNotAvailable.json | 23 + .../2025-05-01-preview/RegistryCreate.json | 138 + .../RegistryCreateAbac.json | 138 + .../RegistryCreateDomainNameLabelScope.json | 138 + .../RegistryCreateZoneRedundant.json | 141 + .../2025-05-01-preview/RegistryDelete.json | 19 + .../RegistryGenerateCredentials.json | 38 + .../2025-05-01-preview/RegistryGet.json | 69 + .../RegistryGetPrivateLinkResource.json | 30 + .../2025-05-01-preview/RegistryList.json | 71 + .../RegistryListByResourceGroup.json | 72 + .../RegistryListCredentials.json | 27 + .../RegistryListPrivateLinkResources.json | 33 + .../RegistryListUsages.json | 30 + .../RegistryRegenerateCredential.json | 30 + .../2025-05-01-preview/RegistryUpdate.json | 141 + .../2025-05-01-preview/ReplicationCreate.json | 64 + .../ReplicationCreateZoneRedundant.json | 68 + .../2025-05-01-preview/ReplicationDelete.json | 20 + .../2025-05-01-preview/ReplicationGet.json | 34 + .../2025-05-01-preview/ReplicationList.json | 37 + .../2025-05-01-preview/ReplicationUpdate.json | 63 + .../2025-05-01-preview/ScopeMapCreate.json | 57 + .../2025-05-01-preview/ScopeMapDelete.json | 20 + .../2025-05-01-preview/ScopeMapGet.json | 29 + .../2025-05-01-preview/ScopeMapList.json | 32 + .../2025-05-01-preview/ScopeMapUpdate.json | 57 + .../2025-05-01-preview/TokenCreate.json | 74 + .../2025-05-01-preview/TokenDelete.json | 20 + .../examples/2025-05-01-preview/TokenGet.json | 26 + .../2025-05-01-preview/TokenList.json | 29 + .../2025-05-01-preview/TokenUpdate.json | 71 + .../2025-05-01-preview/WebhookCreate.json | 71 + .../2025-05-01-preview/WebhookDelete.json | 20 + .../2025-05-01-preview/WebhookGet.json | 32 + .../WebhookGetCallbackConfig.json | 21 + .../2025-05-01-preview/WebhookList.json | 35 + .../2025-05-01-preview/WebhookListEvents.json | 65 + .../2025-05-01-preview/WebhookPing.json | 18 + .../2025-05-01-preview/WebhookUpdate.json | 70 + .../Registry/main.tsp | 58 + .../Registry/models.tsp | 3363 ++++++ .../oldswagger/containerregistry.json | 8096 ++++++++++++++ .../Registry/output/API_CHANGES.md | 264 + .../Registry/output/diff.json | 1405 +++ .../Registry/output/newNormalizedSwagger.json | 7086 +++++++++++++ .../Registry/output/oldNormalizedSwagger.json | 7135 +++++++++++++ .../2025-05-01-preview/containerregistry.json | 9385 ++++++++++------- .../examples/ArchiveCreate.json | 36 +- .../examples/ArchiveDelete.json | 14 +- .../examples/ArchiveGet.json | 36 +- .../examples/ArchiveList.json | 38 +- .../examples/ArchiveUpdate.json | 38 +- .../examples/ArchiveVersionCreate.json | 26 +- .../examples/ArchiveVersionDelete.json | 16 +- .../examples/ArchiveVersionGet.json | 32 +- .../examples/ArchiveVersionList.json | 34 +- .../examples/CacheRuleCreate.json | 42 +- .../examples/CacheRuleDelete.json | 12 +- .../examples/CacheRuleGet.json | 20 +- .../examples/CacheRuleList.json | 18 +- .../examples/CacheRuleUpdate.json | 36 +- .../examples/ConnectedRegistryCreate.json | 106 +- .../examples/ConnectedRegistryDeactivate.json | 12 +- .../examples/ConnectedRegistryDelete.json | 12 +- .../examples/ConnectedRegistryGet.json | 42 +- .../examples/ConnectedRegistryList.json | 40 +- .../examples/ConnectedRegistryUpdate.json | 104 +- .../examples/CredentialSetCreate.json | 68 +- .../examples/CredentialSetDelete.json | 12 +- .../examples/CredentialSetGet.json | 28 +- .../examples/CredentialSetList.json | 26 +- .../examples/CredentialSetUpdate.json | 56 +- .../examples/ExportPipelineCreate.json | 88 +- .../examples/ExportPipelineDelete.json | 12 +- .../examples/ExportPipelineGet.json | 38 +- .../examples/ExportPipelineList.json | 36 +- .../examples/ImportImageByManifestDigest.json | 18 +- .../examples/ImportImageByTag.json | 18 +- .../ImportImageFromPublicRegistry.json | 18 +- .../examples/ImportPipelineCreate.json | 112 +- .../examples/ImportPipelineDelete.json | 12 +- .../examples/ImportPipelineGet.json | 50 +- .../examples/ImportPipelineList.json | 48 +- .../examples/OperationList.json | 12 +- .../examples/PipelineRunCreate_Export.json | 82 +- .../examples/PipelineRunCreate_Import.json | 86 +- .../examples/PipelineRunDelete.json | 12 +- .../examples/PipelineRunGet.json | 36 +- .../examples/PipelineRunList.json | 60 +- ...ivateEndpointConnectionCreateOrUpdate.json | 46 +- .../PrivateEndpointConnectionDelete.json | 12 +- .../PrivateEndpointConnectionGet.json | 22 +- .../PrivateEndpointConnectionList.json | 20 +- .../examples/RegistryCheckNameAvailable.json | 14 +- .../RegistryCheckNameNotAvailable.json | 18 +- .../examples/RegistryCreate.json | 142 +- .../examples/RegistryCreateAbac.json | 142 +- .../RegistryCreateDomainNameLabelScope.json | 142 +- .../examples/RegistryCreateZoneRedundant.json | 148 +- .../examples/RegistryDelete.json | 10 +- .../examples/RegistryGenerateCredentials.json | 26 +- .../examples/RegistryGet.json | 70 +- .../RegistryGetPrivateLinkResource.json | 14 +- .../examples/RegistryList.json | 66 +- .../examples/RegistryListByResourceGroup.json | 70 +- .../examples/RegistryListCredentials.json | 14 +- .../RegistryListPrivateLinkResources.json | 12 +- .../examples/RegistryListUsages.json | 14 +- .../RegistryRegenerateCredential.json | 18 +- .../examples/RegistryUpdate.json | 148 +- .../examples/ReplicationCreate.json | 40 +- .../ReplicationCreateZoneRedundant.json | 46 +- .../examples/ReplicationDelete.json | 12 +- .../examples/ReplicationGet.json | 22 +- .../examples/ReplicationList.json | 20 +- .../examples/ReplicationUpdate.json | 38 +- .../examples/ScopeMapCreate.json | 28 +- .../examples/ScopeMapDelete.json | 12 +- .../examples/ScopeMapGet.json | 16 +- .../examples/ScopeMapList.json | 14 +- .../examples/ScopeMapUpdate.json | 26 +- .../examples/TokenCreate.json | 54 +- .../examples/TokenDelete.json | 10 +- .../2025-05-01-preview/examples/TokenGet.json | 14 +- .../examples/TokenList.json | 14 +- .../examples/TokenUpdate.json | 40 +- .../examples/WebhookCreate.json | 64 +- .../examples/WebhookDelete.json | 10 +- .../examples/WebhookGet.json | 24 +- .../examples/WebhookGetCallbackConfig.json | 14 +- .../examples/WebhookList.json | 24 +- .../examples/WebhookListEvents.json | 46 +- .../examples/WebhookPing.json | 10 +- .../examples/WebhookUpdate.json | 60 +- .../Registry/readme.typescript.md | 20 - .../Registry/tspconfig.yaml | 54 + .../RegistryTasks/AgentPool.tsp | 80 + .../RegistryTasks/Run.tsp | 76 + .../RegistryTasks/Task.tsp | 74 + .../RegistryTasks/TaskRun.tsp | 90 + .../RegistryTasks/back-compatible.tsp | 37 + .../2025-03-01-preview/AgentPoolsCreate.json | 52 + .../2025-03-01-preview/AgentPoolsDelete.json | 19 + .../2025-03-01-preview/AgentPoolsGet.json | 27 + .../AgentPoolsGetQueueStatus.json | 18 + .../2025-03-01-preview/AgentPoolsList.json | 31 + .../2025-03-01-preview/AgentPoolsUpdate.json | 46 + .../TasksCreate_WithLoginIdentity.json | 250 + ...sksCreate_WithSystemAndUserIdentities.json | 256 + .../TasksCreate_WithSystemIdentity.json | 235 + .../TasksCreate_WithUserIdentities.json | 261 + ...sUpdate_WithKeyVaultCustomCredentials.json | 145 + .../TasksUpdate_WithLoginIdentity.json | 132 + .../TasksUpdate_WithMSICustomCredentials.json | 135 + .../RegistriesGetBuildSourceUploadUrl.json | 18 + .../RegistriesScheduleRun.json | 55 + .../RegistriesScheduleRun_EncodedTaskRun.json | 48 + .../RegistriesScheduleRun_FileTaskRun.json | 49 + ...uleRun_FileTask_WithCustomCredentials.json | 61 + .../RegistriesScheduleRun_Task.json | 58 + ...riesScheduleRun_WithCustomCredentials.json | 83 + ...RegistriesScheduleRun_WithLogTemplate.json | 56 + .../2025-03-01-preview/RunsCancel.json | 14 + .../examples/2025-03-01-preview/RunsGet.json | 65 + .../2025-03-01-preview/RunsGetLogSasUrl.json | 18 + .../examples/2025-03-01-preview/RunsList.json | 70 + .../2025-03-01-preview/RunsUpdate.json | 68 + .../2025-03-01-preview/TaskRunsCreate.json | 115 + .../2025-03-01-preview/TaskRunsDelete.json | 15 + .../2025-03-01-preview/TaskRunsGet.json | 58 + .../TaskRunsGetDetails.json | 58 + .../2025-03-01-preview/TaskRunsList.json | 61 + .../2025-03-01-preview/TaskRunsUpdate.json | 116 + .../2025-03-01-preview/TasksCreate.json | 241 + .../TasksCreate_QuickTask.json | 69 + .../2025-03-01-preview/TasksDelete.json | 15 + .../examples/2025-03-01-preview/TasksGet.json | 96 + .../2025-03-01-preview/TasksGetDetails.json | 110 + .../2025-03-01-preview/TasksList.json | 99 + .../2025-03-01-preview/TasksUpdate.json | 145 + .../TasksUpdate_QuickTask.json | 43 + ...sksUpdate_WithOpaqueCustomCredentials.json | 142 + .../RegistryTasks/main.tsp | 45 + .../RegistryTasks/models.tsp | 2024 ++++ .../RegistryTasks/routes.tsp | 62 + .../RegistryTasks/tspconfig.yaml | 15 + .../containerregistry_build.json | 3699 +++++++ .../examples/AgentPoolsCreate.json | 52 + .../examples/AgentPoolsDelete.json | 19 + .../examples/AgentPoolsGet.json | 27 + .../examples/AgentPoolsGetQueueStatus.json | 18 + .../examples/AgentPoolsList.json | 31 + .../examples/AgentPoolsUpdate.json | 46 + .../TasksCreate_WithLoginIdentity.json | 250 + ...sksCreate_WithSystemAndUserIdentities.json | 256 + .../TasksCreate_WithSystemIdentity.json | 235 + .../TasksCreate_WithUserIdentities.json | 261 + ...sUpdate_WithKeyVaultCustomCredentials.json | 145 + .../TasksUpdate_WithLoginIdentity.json | 132 + .../TasksUpdate_WithMSICustomCredentials.json | 135 + .../RegistriesGetBuildSourceUploadUrl.json | 18 + .../examples/RegistriesScheduleRun.json | 55 + .../RegistriesScheduleRun_EncodedTaskRun.json | 48 + .../RegistriesScheduleRun_FileTaskRun.json | 49 + ...uleRun_FileTask_WithCustomCredentials.json | 61 + .../examples/RegistriesScheduleRun_Task.json | 58 + ...riesScheduleRun_WithCustomCredentials.json | 83 + ...RegistriesScheduleRun_WithLogTemplate.json | 56 + .../examples/RunsCancel.json | 14 + .../2025-03-01-preview/examples/RunsGet.json | 65 + .../examples/RunsGetLogSasUrl.json | 18 + .../2025-03-01-preview/examples/RunsList.json | 70 + .../examples/RunsUpdate.json | 68 + .../examples/TaskRunsCreate.json | 115 + .../examples/TaskRunsDelete.json | 15 + .../examples/TaskRunsGet.json | 58 + .../examples/TaskRunsGetDetails.json | 58 + .../examples/TaskRunsList.json | 61 + .../examples/TaskRunsUpdate.json | 116 + .../examples/TasksCreate.json | 241 + .../examples/TasksCreate_QuickTask.json | 69 + .../examples/TasksDelete.json | 15 + .../2025-03-01-preview/examples/TasksGet.json | 96 + .../examples/TasksGetDetails.json | 110 + .../examples/TasksList.json | 99 + .../examples/TasksUpdate.json | 145 + .../examples/TasksUpdate_QuickTask.json | 43 + ...sksUpdate_WithOpaqueCustomCredentials.json | 142 + .../2025-05-01-preview/containerregistry.json | 9375 ++++++++++++++++ .../examples/ArchiveCreate.json | 61 + .../examples/ArchiveDelete.json | 20 + .../examples/ArchiveGet.json | 37 + .../examples/ArchiveList.json | 41 + .../examples/ArchiveUpdate.json | 44 + .../examples/ArchiveVersionCreate.json | 38 + .../examples/ArchiveVersionDelete.json | 21 + .../examples/ArchiveVersionGet.json | 34 + .../examples/ArchiveVersionList.json | 38 + .../examples/CacheRuleCreate.json | 51 + .../examples/CacheRuleDelete.json | 19 + .../examples/CacheRuleGet.json | 27 + .../examples/CacheRuleList.json | 30 + .../examples/CacheRuleUpdate.json | 49 + .../examples/ConnectedRegistryCreate.json | 112 + .../examples/ConnectedRegistryDeactivate.json | 19 + .../examples/ConnectedRegistryDelete.json | 20 + .../examples/ConnectedRegistryGet.json | 49 + .../examples/ConnectedRegistryList.json | 52 + .../examples/ConnectedRegistryUpdate.json | 109 + .../examples/CredentialSetCreate.json | 85 + .../examples/CredentialSetDelete.json | 19 + .../examples/CredentialSetGet.json | 40 + .../examples/CredentialSetList.json | 43 + .../examples/CredentialSetUpdate.json | 81 + .../examples/ExportPipelineCreate.json | 80 + .../examples/ExportPipelineDelete.json | 20 + .../examples/ExportPipelineGet.json | 37 + .../examples/ExportPipelineList.json | 40 + .../examples/ImportImageByManifestDigest.json | 31 + .../examples/ImportImageByTag.json | 31 + .../ImportImageFromPublicRegistry.json | 31 + .../examples/ImportPipelineCreate.json | 107 + .../examples/ImportPipelineDelete.json | 20 + .../examples/ImportPipelineGet.json | 48 + .../examples/ImportPipelineList.json | 51 + .../examples/OperationList.json | 24 + .../examples/PipelineRunCreate_Export.json | 91 + .../examples/PipelineRunCreate_Import.json | 90 + .../examples/PipelineRunDelete.json | 20 + .../examples/PipelineRunGet.json | 43 + .../examples/PipelineRunList.json | 74 + ...ivateEndpointConnectionCreateOrUpdate.json | 60 + .../PrivateEndpointConnectionDelete.json | 20 + .../PrivateEndpointConnectionGet.json | 31 + .../PrivateEndpointConnectionList.json | 34 + .../examples/RegistryCheckNameAvailable.json | 22 + .../RegistryCheckNameNotAvailable.json | 23 + .../examples/RegistryCreate.json | 138 + .../examples/RegistryCreateAbac.json | 138 + .../RegistryCreateDomainNameLabelScope.json | 138 + .../examples/RegistryCreateZoneRedundant.json | 141 + .../examples/RegistryDelete.json | 19 + .../examples/RegistryGenerateCredentials.json | 38 + .../examples/RegistryGet.json | 69 + .../RegistryGetPrivateLinkResource.json | 30 + .../examples/RegistryList.json | 71 + .../examples/RegistryListByResourceGroup.json | 72 + .../examples/RegistryListCredentials.json | 27 + .../RegistryListPrivateLinkResources.json | 33 + .../examples/RegistryListUsages.json | 30 + .../RegistryRegenerateCredential.json | 30 + .../examples/RegistryUpdate.json | 141 + .../examples/ReplicationCreate.json | 64 + .../ReplicationCreateZoneRedundant.json | 68 + .../examples/ReplicationDelete.json | 20 + .../examples/ReplicationGet.json | 34 + .../examples/ReplicationList.json | 37 + .../examples/ReplicationUpdate.json | 63 + .../examples/ScopeMapCreate.json | 57 + .../examples/ScopeMapDelete.json | 20 + .../examples/ScopeMapGet.json | 29 + .../examples/ScopeMapList.json | 32 + .../examples/ScopeMapUpdate.json | 57 + .../examples/TokenCreate.json | 74 + .../examples/TokenDelete.json | 20 + .../2025-05-01-preview/examples/TokenGet.json | 26 + .../examples/TokenList.json | 29 + .../examples/TokenUpdate.json | 71 + .../examples/WebhookCreate.json | 71 + .../examples/WebhookDelete.json | 20 + .../examples/WebhookGet.json | 32 + .../examples/WebhookGetCallbackConfig.json | 21 + .../examples/WebhookList.json | 35 + .../examples/WebhookListEvents.json | 65 + .../examples/WebhookPing.json | 18 + .../examples/WebhookUpdate.json | 70 + 381 files changed, 67515 insertions(+), 5748 deletions(-) create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CacheRule.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CredentialSet.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateEndpointConnection.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Replication.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ScopeMap.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Token.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Webhook.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/client.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDeactivate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByManifestDigest.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByTag.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageFromPublicRegistry.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/OperationList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Export.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Import.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionCreateOrUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameAvailable.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateAbac.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateDomainNameLabelScope.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateZoneRedundant.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGenerateCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGetPrivateLinkResource.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListByResourceGroup.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListPrivateLinkResources.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListUsages.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryRegenerateCredential.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreateZoneRedundant.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGetCallbackConfig.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookListEvents.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookPing.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/oldswagger/containerregistry.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/API_CHANGES.md create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/diff.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/newNormalizedSwagger.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/oldNormalizedSwagger.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/readme.typescript.md create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Run.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGetQueueStatus.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithLoginIdentity.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemIdentity.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithUserIdentities.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithLoginIdentity.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesGetBuildSourceUploadUrl.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_EncodedTaskRun.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTaskRun.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTask_WithCustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_Task.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithCustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithLogTemplate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsCancel.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGetLogSasUrl.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGetDetails.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate_QuickTask.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGetDetails.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_QuickTask.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_WithOpaqueCustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/routes.tsp create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/containerregistry_build.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsCancel.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGetDetails.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/containerregistry.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByTag.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/OperationList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListUsages.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookListEvents.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookPing.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookUpdate.json diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp new file mode 100644 index 000000000000..6322d7f0ba07 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp @@ -0,0 +1,85 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; + +/** + * Package type resource for organizing archives + */ +@parentResource(Registry) +model ArchivePackageType is Azure.ResourceManager.ProxyResource<{}> { + @key("packageType") + @path + @minLength(3) + @maxLength(50) + @pattern("^[a-zA-Z]*$") + @segment("packages") + @doc("The package type.") + name: string; +} + +/** + * An object that represents a archive for a container registry. + */ +@parentResource(ArchivePackageType) +model Archive is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Archive, + KeyName = "archiveName", + SegmentName = "archives", + NamePattern = "^[a-zA-Z0-9-]*$" + >; +} + +@armResourceOperations +interface Archives { + /** + * Gets the properties of the archive. + */ + get is ArmResourceRead; + + /** + * Creates a archive for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates a archive for a container registry with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync; + + /** + * Deletes a archive from a container registry. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all archives for the specified container registry and package type. + */ + @list + list is ArmResourceListByParent< + Archive, + Response = ArmResponse + >; +} + +@@maxLength(Archive.name, 200); +@@minLength(Archive.name, 5); +@@doc(Archive.name, "The name of the archive resource."); +@@doc(Archive.properties, "The properties of the archive."); +@@doc(Archives.create::parameters.resource, + "The parameters for creating a archive." +); +@@doc(Archives.update::parameters.properties, + "The parameters for updating a archive." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp new file mode 100644 index 000000000000..2ffd4610d9fa --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp @@ -0,0 +1,61 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Archive.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents an export pipeline for a container registry. + */ +@parentResource(Archive) +model ArchiveVersion + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ArchiveVersion, + KeyName = "archiveVersionName", + SegmentName = "versions", + NamePattern = "^[a-zA-Z0-9-]*$" + >; +} + +@armResourceOperations +interface ArchiveVersions { + /** + * Gets the properties of the archive version. + */ + get is ArmResourceRead; + + /** + * Creates a archive for a container registry with the specified parameters. + */ + create is Azure.ResourceManager.Legacy.CreateOrUpdateAsync< + ArchiveVersion, + Request = void + >; + + /** + * Deletes a archive version from a container registry. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all archive versions for the specified container registry, repository type and archive name. + */ + @list + list is ArmResourceListByParent< + ArchiveVersion, + Response = ArmResponse + >; +} + +@@maxLength(ArchiveVersion.name, 200); +@@minLength(ArchiveVersion.name, 5); +@@doc(ArchiveVersion.name, "The name of the archive version resource."); +@@doc(ArchiveVersion.properties, "The properties of the archive."); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CacheRule.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CacheRule.tsp new file mode 100644 index 000000000000..7618563cd555 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CacheRule.tsp @@ -0,0 +1,77 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents a cache rule for a container registry. + */ +@parentResource(Registry) +model CacheRule is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = CacheRule, + KeyName = "cacheRuleName", + SegmentName = "cacheRules", + NamePattern = "^[a-zA-Z0-9-]*$" + >; +} + +@armResourceOperations +interface CacheRules { + /** + * Gets the properties of the specified cache rule resource. + */ + get is ArmResourceRead; + + /** + * Creates a cache rule for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates a cache rule for a container registry with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + CacheRule, + PatchModel = CacheRuleUpdateParameters, + Response = ArmResponse | ArmResourceCreatedResponse< + CacheRule, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + > + >; + + /** + * Deletes a cache rule resource from a container registry. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all cache rule resources for the specified container registry. + */ + @list + list is ArmResourceListByParent< + CacheRule, + Response = ArmResponse + >; +} + +@@maxLength(CacheRule.name, 50); +@@minLength(CacheRule.name, 5); +@@doc(CacheRule.name, "The name of the cache rule."); +@@doc(CacheRule.properties, "The properties of the cache rule."); +@@doc(CacheRules.create::parameters.resource, + "The parameters for creating a cache rule." +); +@@doc(CacheRules.update::parameters.properties, + "The parameters for updating a cache rule." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp new file mode 100644 index 000000000000..5176f57a57a8 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp @@ -0,0 +1,96 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents a connected registry for a container registry. + */ +@parentResource(Registry) +model ConnectedRegistry + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ConnectedRegistry, + KeyName = "connectedRegistryName", + SegmentName = "connectedRegistries", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +@armResourceOperations +interface ConnectedRegistries { + /** + * Gets the properties of the connected registry. + */ + get is ArmResourceRead; + + /** + * Creates a connected registry for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates a connected registry with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + ConnectedRegistry, + PatchModel = ConnectedRegistryUpdateParameters, + Response = ArmResponse | ArmResourceCreatedResponse< + ConnectedRegistry, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + > + >; + + /** + * Deletes a connected registry from a container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + delete is ArmResourceDeleteWithoutOkAsync< + ConnectedRegistry, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * Lists all connected registries for the specified container registry. + */ + @list + list is ArmResourceListByParent< + ConnectedRegistry, + Parameters = { + /** + * An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq. + */ + @query("$filter") + $filter?: string; + }, + Response = ArmResponse + >; + + /** + * Deactivates the connected registry instance. + */ + deactivate is ArmResourceActionAsync; +} + +@@maxLength(ConnectedRegistry.name, 50); +@@minLength(ConnectedRegistry.name, 5); +@@doc(ConnectedRegistry.name, "The name of the connected registry."); +@@doc(ConnectedRegistry.properties, + "The properties of the connected registry." +); +@@doc(ConnectedRegistries.create::parameters.resource, + "The parameters for creating a connectedRegistry." +); +@@doc(ConnectedRegistries.update::parameters.properties, + "The parameters for updating a connectedRegistry." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CredentialSet.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CredentialSet.tsp new file mode 100644 index 000000000000..b1ccdd0dc957 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CredentialSet.tsp @@ -0,0 +1,84 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents a credential set resource for a container registry. + */ +@parentResource(Registry) +model CredentialSet + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = CredentialSet, + KeyName = "credentialSetName", + SegmentName = "credentialSets", + NamePattern = "^[a-zA-Z0-9-]*$" + >; + + /** + * Identities associated with the resource. This is used to access the KeyVault secrets. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + identity?: IdentityProperties; +} + +@armResourceOperations +interface CredentialSets { + /** + * Gets the properties of the specified credential set resource. + */ + get is ArmResourceRead; + + /** + * Creates a credential set for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates a credential set for a container registry with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + CredentialSet, + PatchModel = CredentialSetUpdateParameters, + Response = ArmResponse | ArmResourceCreatedResponse< + CredentialSet, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + > + >; + + /** + * Deletes a credential set from a container registry. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all credential set resources for the specified container registry. + */ + @list + list is ArmResourceListByParent< + CredentialSet, + Response = ArmResponse + >; +} + +@@maxLength(CredentialSet.name, 50); +@@minLength(CredentialSet.name, 5); +@@doc(CredentialSet.name, "The name of the credential set."); +@@doc(CredentialSet.properties, "The properties of the credential set."); +@@doc(CredentialSets.create::parameters.resource, + "The parameters for creating a credential set." +); +@@doc(CredentialSets.update::parameters.properties, + "The parameters for updating a credential set." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp new file mode 100644 index 000000000000..fc3636d7e7f6 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp @@ -0,0 +1,77 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents an export pipeline for a container registry. + */ +@parentResource(Registry) +model ExportPipeline + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ExportPipeline, + KeyName = "exportPipelineName", + SegmentName = "exportPipelines", + NamePattern = "^[a-zA-Z0-9]*$" + >; + + /** + * The location of the export pipeline. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + location?: string; + + /** + * The identity of the export pipeline. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + identity?: IdentityProperties; +} + +@armResourceOperations +interface ExportPipelines { + /** + * Gets the properties of the export pipeline. + */ + get is ArmResourceRead; + + /** + * Creates an export pipeline for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Deletes an export pipeline from a container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + delete is ArmResourceDeleteWithoutOkAsync< + ExportPipeline, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * Lists all export pipelines for the specified container registry. + */ + @list + list is ArmResourceListByParent< + ExportPipeline, + Response = ArmResponse + >; +} + +@@maxLength(ExportPipeline.name, 50); +@@minLength(ExportPipeline.name, 5); +@@doc(ExportPipeline.name, "The name of the export pipeline."); +@@doc(ExportPipeline.properties, "The properties of the export pipeline."); +@@doc(ExportPipelines.create::parameters.resource, + "The parameters for creating an export pipeline." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp new file mode 100644 index 000000000000..f3c2cde04fb4 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp @@ -0,0 +1,77 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents an import pipeline for a container registry. + */ +@parentResource(Registry) +model ImportPipeline + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ImportPipeline, + KeyName = "importPipelineName", + SegmentName = "importPipelines", + NamePattern = "^[a-zA-Z0-9]*$" + >; + + /** + * The location of the import pipeline. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + location?: string; + + /** + * The identity of the import pipeline. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + identity?: IdentityProperties; +} + +@armResourceOperations +interface ImportPipelines { + /** + * Gets the properties of the import pipeline. + */ + get is ArmResourceRead; + + /** + * Creates an import pipeline for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Deletes an import pipeline from a container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + delete is ArmResourceDeleteWithoutOkAsync< + ImportPipeline, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * Lists all import pipelines for the specified container registry. + */ + @list + list is ArmResourceListByParent< + ImportPipeline, + Response = ArmResponse + >; +} + +@@maxLength(ImportPipeline.name, 50); +@@minLength(ImportPipeline.name, 5); +@@doc(ImportPipeline.name, "The name of the import pipeline."); +@@doc(ImportPipeline.properties, "The properties of the import pipeline."); +@@doc(ImportPipelines.create::parameters.resource, + "The parameters for creating an import pipeline." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp new file mode 100644 index 000000000000..20ae2f1f52f0 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp @@ -0,0 +1,65 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents a pipeline run for a container registry. + */ +@parentResource(Registry) +model PipelineRun + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PipelineRun, + KeyName = "pipelineRunName", + SegmentName = "pipelineRuns", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +@armResourceOperations +interface PipelineRuns { + /** + * Gets the detailed information for a given pipeline run. + */ + get is ArmResourceRead; + + /** + * Creates a pipeline run for a container registry with the specified parameters + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Deletes a pipeline run from a container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + delete is ArmResourceDeleteWithoutOkAsync< + PipelineRun, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * Lists all the pipeline runs for the specified container registry. + */ + @list + list is ArmResourceListByParent< + PipelineRun, + Response = ArmResponse + >; +} + +@@maxLength(PipelineRun.name, 50); +@@minLength(PipelineRun.name, 5); +@@doc(PipelineRun.name, "The name of the pipeline run."); +@@doc(PipelineRun.properties, "The properties of a pipeline run."); +@@doc(PipelineRuns.create::parameters.resource, + "The parameters for creating a pipeline run." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateEndpointConnection.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateEndpointConnection.tsp new file mode 100644 index 000000000000..9704027745ea --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateEndpointConnection.tsp @@ -0,0 +1,67 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents a private endpoint connection for a container registry. + */ +@parentResource(Registry) +model PrivateEndpointConnection + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PrivateEndpointConnection, + KeyName = "privateEndpointConnectionName", + SegmentName = "privateEndpointConnections", + NamePattern = "" + >; +} + +@armResourceOperations +interface PrivateEndpointConnections { + /** + * Get the specified private endpoint connection associated with the container registry. + */ + get is ArmResourceRead; + + /** + * Update the state of specified private endpoint connection associated with the container registry. + */ + createOrUpdate is ArmResourceCreateOrReplaceAsync; + + /** + * Deletes the specified private endpoint connection associated with the container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + delete is ArmResourceDeleteWithoutOkAsync< + PrivateEndpointConnection, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * List all private endpoint connections in a container registry. + */ + @list + list is ArmResourceListByParent< + PrivateEndpointConnection, + Response = ArmResponse + >; +} + +@@doc(PrivateEndpointConnection.name, + "The name of the private endpoint connection." +); +@@doc(PrivateEndpointConnection.properties, + "The properties of a private endpoint connection." +); +@@doc(PrivateEndpointConnections.createOrUpdate::parameters.resource, + "The parameters for creating a private endpoint connection." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp new file mode 100644 index 000000000000..0dacf578ab74 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp @@ -0,0 +1,52 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * A resource that supports private link capabilities. + */ +@parentResource(Registry) +model PrivateLinkResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PrivateLinkResource, + KeyName = "groupName", + SegmentName = "privateLinkResources", + NamePattern = "" + >; +} + +@armResourceOperations +interface PrivateLinkResources { + /** + * Gets a private link resource by a specified group name for a container registry. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Registries_GetPrivateLinkResource") + getPrivateLinkResource is ArmResourceRead; + + /** + * Lists the private link resources for a container registry. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Registries_ListPrivateLinkResources") + @list + listPrivateLinkResources is ArmResourceListByParent< + PrivateLinkResource, + Response = ArmResponse + >; +} + +@@doc(PrivateLinkResource.name, "The name of the private link resource."); +@@doc(PrivateLinkResource.properties, + "A resource that supports private link capabilities." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp new file mode 100644 index 000000000000..602846c715ed --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp @@ -0,0 +1,168 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents a container registry. + */ +model Registry is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Registry, + KeyName = "registryName", + SegmentName = "registries", + NamePattern = "^[a-zA-Z0-9]*$" + >; + + /** + * The SKU of the container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + sku: Sku; + + /** + * The identity of the container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + identity?: IdentityProperties; +} + +@armResourceOperations +interface Registries { + /** + * Gets the properties of the specified container registry. + */ + get is ArmResourceRead; + + /** + * Creates a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates a container registry with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + Registry, + PatchModel = RegistryUpdateParameters, + Response = ArmResponse | ArmResourceCreatedResponse< + Registry, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + > + >; + + /** + * Deletes a container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + delete is ArmResourceDeleteWithoutOkAsync< + Registry, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * Lists all the container registries under the specified resource group. + */ + @list + listByResourceGroup is ArmResourceListByParent< + Registry, + Response = ArmResponse + >; + + /** + * Lists all the container registries under the specified subscription. + */ + @list + list is ArmListBySubscription< + Registry, + Response = ArmResponse + >; + + /** + * Copies an image to this container registry from the specified container registry. + */ + importImage is ArmResourceActionAsync< + Registry, + ImportImageParameters, + OkResponse + >; + + /** + * Gets the quota usages for the specified container registry. + */ + @list + @get + listUsages is ArmResourceActionSync< + Registry, + void, + ArmResponse + >; + + /** + * Lists the login credentials for the specified container registry. + */ + listCredentials is ArmResourceActionSync< + Registry, + void, + ArmResponse + >; + + /** + * Regenerates one of the login credentials for the specified container registry. + */ + regenerateCredential is ArmResourceActionSync< + Registry, + RegenerateCredentialParameters, + ArmResponse + >; + + /** + * Generate keys for a token of a specified container registry. + */ + generateCredentials is ArmResourceActionAsync< + Registry, + GenerateCredentialsParameters, + GenerateCredentialsResult + >; + + /** + * Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Registries_CheckNameAvailability") + @autoRoute + checkNameAvailability is ArmProviderActionSync< + Request = RegistryNameCheckRequest, + Response = RegistryNameStatus, + Scope = SubscriptionActionScope + >; +} + +@@maxLength(Registry.name, 50); +@@minLength(Registry.name, 5); +@@doc(Registry.name, "The name of the container registry."); +@@doc(Registry.properties, "The properties of the container registry."); +@@doc(Registries.create::parameters.resource, + "The parameters for creating a container registry." +); +@@doc(Registries.update::parameters.properties, + "The parameters for updating a container registry." +); +@@doc(Registries.importImage::parameters.body, + "The parameters specifying the image to copy and the source container registry." +); +@@doc(Registries.regenerateCredential::parameters.body, + "Specifies name of the password which should be regenerated -- password or password2." +); +@@doc(Registries.generateCredentials::parameters.body, + "The parameters for generating credentials." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Replication.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Replication.tsp new file mode 100644 index 000000000000..aabd241a66ad --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Replication.tsp @@ -0,0 +1,82 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents a replication for a container registry. + */ +@parentResource(Registry) +model Replication + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Replication, + KeyName = "replicationName", + SegmentName = "replications", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +@armResourceOperations +interface Replications { + /** + * Gets the properties of the specified replication. + */ + get is ArmResourceRead; + + /** + * Creates a replication for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates a replication for a container registry with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + Replication, + PatchModel = ReplicationUpdateParameters, + Response = ArmResponse | ArmResourceCreatedResponse< + Replication, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + > + >; + + /** + * Deletes a replication from a container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + delete is ArmResourceDeleteWithoutOkAsync< + Replication, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * Lists all the replications for the specified container registry. + */ + @list + list is ArmResourceListByParent< + Replication, + Response = ArmResponse + >; +} + +@@maxLength(Replication.name, 50); +@@minLength(Replication.name, 5); +@@doc(Replication.name, "The name of the replication."); +@@doc(Replication.properties, "The properties of the replication."); +@@doc(Replications.create::parameters.resource, + "The parameters for creating a replication." +); +@@doc(Replications.update::parameters.properties, + "The parameters for updating a replication." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ScopeMap.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ScopeMap.tsp new file mode 100644 index 000000000000..43b055ff555b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ScopeMap.tsp @@ -0,0 +1,81 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents a scope map for a container registry. + */ +@parentResource(Registry) +model ScopeMap is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ScopeMap, + KeyName = "scopeMapName", + SegmentName = "scopeMaps", + NamePattern = "^[a-zA-Z0-9-_]*$" + >; +} + +@armResourceOperations +interface ScopeMaps { + /** + * Gets the properties of the specified scope map. + */ + get is ArmResourceRead; + + /** + * Creates a scope map for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates a scope map with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + ScopeMap, + PatchModel = ScopeMapUpdateParameters, + Response = ArmResponse | ArmResourceCreatedResponse< + ScopeMap, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + > + >; + + /** + * Deletes a scope map from a container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + delete is ArmResourceDeleteWithoutOkAsync< + ScopeMap, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * Lists all the scope maps for the specified container registry. + */ + @list + list is ArmResourceListByParent< + ScopeMap, + Response = ArmResponse + >; +} + +@@maxLength(ScopeMap.name, 50); +@@minLength(ScopeMap.name, 5); +@@doc(ScopeMap.name, "The name of the scope map."); +@@doc(ScopeMap.properties, "The properties of the scope map."); +@@doc(ScopeMaps.create::parameters.resource, + "The parameters for creating a scope map." +); +@@doc(ScopeMaps.update::parameters.properties, + "The parameters for updating a scope map." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Token.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Token.tsp new file mode 100644 index 000000000000..f2ffadc1ef93 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Token.tsp @@ -0,0 +1,81 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents a token for a container registry. + */ +@parentResource(Registry) +model Token is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Token, + KeyName = "tokenName", + SegmentName = "tokens", + NamePattern = "^[a-zA-Z0-9-]*$" + >; +} + +@armResourceOperations +interface Tokens { + /** + * Gets the properties of the specified token. + */ + get is ArmResourceRead; + + /** + * Creates a token for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates a token with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + Token, + PatchModel = TokenUpdateParameters, + Response = ArmResponse | ArmResourceCreatedResponse< + Token, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + > + >; + + /** + * Deletes a token from a container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + delete is ArmResourceDeleteWithoutOkAsync< + Token, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * Lists all the tokens for the specified container registry. + */ + @list + list is ArmResourceListByParent< + Token, + Response = ArmResponse + >; +} + +@@maxLength(Token.name, 50); +@@minLength(Token.name, 5); +@@doc(Token.name, "The name of the token."); +@@doc(Token.properties, "The properties of the token."); +@@doc(Tokens.create::parameters.resource, + "The parameters for creating a token." +); +@@doc(Tokens.update::parameters.properties, + "The parameters for updating a token." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Webhook.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Webhook.tsp new file mode 100644 index 000000000000..a302c2d3aa84 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Webhook.tsp @@ -0,0 +1,108 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Registry.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * An object that represents a webhook for a container registry. + */ +@parentResource(Registry) +model Webhook is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Webhook, + KeyName = "webhookName", + SegmentName = "webhooks", + NamePattern = "^[a-zA-Z0-9]*$" + >; +} + +@armResourceOperations +interface Webhooks { + /** + * Gets the properties of the specified webhook. + */ + get is ArmResourceRead; + + /** + * Creates a webhook for a container registry with the specified parameters. + */ + create is Azure.ResourceManager.Legacy.CreateOrUpdateAsync< + Webhook, + Request = WebhookCreateParameters + >; + + /** + * Updates a webhook with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + Webhook, + PatchModel = WebhookUpdateParameters, + Response = ArmResponse | ArmResourceCreatedResponse< + Webhook, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + > + >; + + /** + * Deletes a webhook from a container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + delete is ArmResourceDeleteWithoutOkAsync< + Webhook, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse + >; + + /** + * Lists all the webhooks for the specified container registry. + */ + @list + list is ArmResourceListByParent< + Webhook, + Response = ArmResponse + >; + + /** + * Triggers a ping event to be sent to the webhook. + */ + ping is ArmResourceActionSync>; + + /** + * Lists recent events for the specified webhook. + */ + @list + listEvents is ArmResourceActionSync< + Webhook, + void, + ArmResponse + >; + + /** + * Gets the configuration of service URI and custom headers for the webhook. + */ + getCallbackConfig is ArmResourceActionSync< + Webhook, + void, + ArmResponse + >; +} + +@@maxLength(Webhook.name, 50); +@@minLength(Webhook.name, 5); +@@doc(Webhook.name, "The name of the webhook."); +@@doc(Webhook.properties, "The properties of the webhook."); +@@doc(Webhooks.create::parameters.resource, + "The parameters for creating a webhook." +); +@@doc(Webhooks.update::parameters.properties, + "The parameters for updating a webhook." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp new file mode 100644 index 000000000000..cb89545de937 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp @@ -0,0 +1,144 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.ContainerRegistry; + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ArchiveUpdateParameters.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(CacheRuleUpdateParameters.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ConnectedRegistryUpdateParameters.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(CredentialSetUpdateParameters.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(OperationDefinition.properties); + +@@clientName(IPRule.value, "IPAddressOrRange"); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(RegistryUpdateParameters.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ReplicationUpdateParameters.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ScopeMapUpdateParameters.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(TokenUpdateParameters.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(WebhookCreateParameters.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(WebhookUpdateParameters.properties); + +@@clientName(Archives.create::parameters.resource, "archiveCreateParameters"); +@@clientName(Archives.update::parameters.properties, "archiveUpdateParameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(Archive.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ArchiveVersion.properties); + +@@clientName(CacheRules.create::parameters.resource, + "cacheRuleCreateParameters" +); +@@clientName(CacheRules.update::parameters.properties, + "cacheRuleUpdateParameters" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(CacheRule.properties); + +@@clientName(ConnectedRegistries.create::parameters.resource, + "connectedRegistryCreateParameters" +); +@@clientName(ConnectedRegistries.update::parameters.properties, + "connectedRegistryUpdateParameters" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ConnectedRegistry.properties); + +@@clientName(CredentialSets.create::parameters.resource, + "credentialSetCreateParameters" +); +@@clientName(CredentialSets.update::parameters.properties, + "credentialSetUpdateParameters" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(CredentialSet.properties); + +@@clientName(ExportPipelines.create::parameters.resource, + "exportPipelineCreateParameters" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ExportPipeline.properties); + +@@clientName(ImportPipelines.create::parameters.resource, + "importPipelineCreateParameters" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ImportPipeline.properties); + +@@clientName(PipelineRuns.create::parameters.resource, + "pipelineRunCreateParameters" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(PipelineRun.properties); + +@@clientName(PrivateEndpointConnections.createOrUpdate::parameters.resource, + "privateEndpointConnection" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(PrivateEndpointConnection.properties); + +@@clientName(Registries.create::parameters.resource, "registry"); +@@clientName(Registries.update::parameters.properties, + "registryUpdateParameters" +); +@@clientName(Registries.importImage::parameters.body, "parameters"); +@@clientName(Registries.checkNameAvailability::parameters.body, + "registryNameCheckRequest" +); +@@clientName(Registries.regenerateCredential::parameters.body, + "regenerateCredentialParameters" +); +@@clientName(Registries.generateCredentials::parameters.body, + "generateCredentialsParameters" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(Registry.properties); + +@@clientLocation(PrivateLinkResources.getPrivateLinkResource, Registries); +@@clientLocation(PrivateLinkResources.listPrivateLinkResources, Registries); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(PrivateLinkResource.properties); + +@@clientName(Replications.create::parameters.resource, "replication"); +@@clientName(Replications.update::parameters.properties, + "replicationUpdateParameters" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(Replication.properties); + +@@clientName(ScopeMaps.create::parameters.resource, "scopeMapCreateParameters"); +@@clientName(ScopeMaps.update::parameters.properties, + "scopeMapUpdateParameters" +); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(ScopeMap.properties); + +@@clientName(Tokens.create::parameters.resource, "tokenCreateParameters"); +@@clientName(Tokens.update::parameters.properties, "tokenUpdateParameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(Token.properties); + +@@clientName(Webhooks.create::parameters.resource, "webhookCreateParameters"); +@@clientName(Webhooks.update::parameters.properties, "webhookUpdateParameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(Webhook.properties); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/client.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/client.tsp new file mode 100644 index 000000000000..8156cd6bfb0d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/client.tsp @@ -0,0 +1,11 @@ +import "@azure-tools/typespec-client-generator-core"; +import "./main.tsp"; + +using Azure.ClientGenerator.Core; + +namespace Microsoft.ContainerRegistry; + +@@clientName(Microsoft.ContainerRegistry, + "ContainerRegistryManagementClient", + "javascript" +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveCreate.json new file mode 100644 index 000000000000..dc04c33cefdf --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveCreate.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveCreateParameters": { + "properties": { + "packageSource": { + "type": "remote", + "url": "string" + }, + "publishedVersion": "string", + "repositoryEndpointPrefix": "string" + } + }, + "archiveName": "myArchiveName", + "packageType": "rpm", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName", + "properties": { + "packageSource": { + "type": "remote", + "url": "string" + }, + "provisioningState": "Succeeded", + "publishedVersion": "string", + "repositoryEndpoint": "string", + "repositoryEndpointPrefix": "string" + } + } + }, + "201": { + "body": { + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives/myArchiveName", + "properties": { + "packageSource": { + "type": "remote", + "url": "string" + }, + "provisioningState": "Succeeded", + "publishedVersion": "string", + "repositoryEndpoint": "string", + "repositoryEndpointPrefix": "string" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + } + } + }, + "operationId": "Archives_Create", + "title": "ArchiveCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveDelete.json new file mode 100644 index 000000000000..9aba0f664905 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Archives_Delete", + "title": "ArchiveDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveGet.json new file mode 100644 index 000000000000..476b471dff97 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/packages/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", + "properties": { + "packageSource": { + "type": "string", + "url": "string" + }, + "provisioningState": "Creating", + "publishedVersion": "string" + }, + "systemData": { + "createdAt": "2023-02-24T00:13:46.836Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-02-24T00:13:46.836Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Archives_Get", + "title": "ArchiveGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json new file mode 100644 index 000000000000..f3fbd3b88ba5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "name": "string", + "type": "string", + "id": "string", + "properties": { + "packageSource": { + "type": "string", + "url": "string" + }, + "provisioningState": "Creating", + "publishedVersion": "string" + }, + "systemData": { + "createdAt": "2023-02-24T00:22:47.311Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-02-24T00:22:47.311Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Archives_List", + "title": "ArchiveList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveUpdate.json new file mode 100644 index 000000000000..d2e7aa9a6a42 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveUpdate.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "archiveUpdateParameters": { + "properties": { + "publishedVersion": "string" + } + }, + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/packages/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", + "properties": { + "packageSource": { + "type": "remote", + "url": "string" + }, + "provisioningState": "Creating", + "publishedVersion": "string", + "repositoryEndpoint": "string", + "repositoryEndpointPrefix": "string" + }, + "systemData": { + "createdAt": "2023-06-09T23:41:38.720Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-06-09T23:41:38.720Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Archives_Update", + "title": "ArchiveUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionCreate.json new file mode 100644 index 000000000000..bf3e7bae50d0 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionCreate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName", + "packageType": "rpm", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myArchiveVersionName", + "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", + "properties": { + "provisioningState": "Succeeded" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archoveversion-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + } + } + }, + "operationId": "ArchiveVersions_Create", + "title": "ArchiveVersionCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionDelete.json new file mode 100644 index 000000000000..c7dfd5b3f787 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName", + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + } + }, + "204": {} + }, + "operationId": "ArchiveVersions_Delete", + "title": "ArchiveVersionDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionGet.json new file mode 100644 index 000000000000..562336e2bad0 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName", + "packageType": "rpm", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/packages/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", + "properties": { + "archiveVersionErrorMessage": "string", + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2023-02-24T00:13:46.836Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-02-24T00:13:46.836Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ArchiveVersions_Get", + "title": "ArchiveVersionGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json new file mode 100644 index 000000000000..591543bc2709 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "name": "string", + "type": "string", + "id": "string", + "properties": { + "archiveVersionErrorMessage": "string", + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2023-02-24T00:22:47.311Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-02-24T00:22:47.311Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ArchiveVersions_List", + "title": "ArchiveVersionList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleCreate.json new file mode 100644 index 000000000000..75d48bd44545 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleCreate.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "cacheRuleCreateParameters": { + "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + }, + "cacheRuleName": "myCacheRule", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Succeeded", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + } + }, + "201": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Creating", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "CacheRules_Create", + "title": "CacheRuleCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleDelete.json new file mode 100644 index 000000000000..1e6684d297c4 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "cacheRuleName": "myCacheRule", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "CacheRules_Delete", + "title": "CacheRuleDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleGet.json new file mode 100644 index 000000000000..995f262c5dd8 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "cacheRuleName": "myCacheRule", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Succeeded", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + } + } + }, + "operationId": "CacheRules_Get", + "title": "CacheRuleGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleList.json new file mode 100644 index 000000000000..a0699412ee9a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Succeeded", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + } + ] + } + } + }, + "operationId": "CacheRules_List", + "title": "CacheRuleList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleUpdate.json new file mode 100644 index 000000000000..cb06ebf79a1d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleUpdate.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "cacheRuleName": "myCacheRule", + "cacheRuleUpdateParameters": { + "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2" + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", + "provisioningState": "Succeeded", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + } + }, + "201": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", + "provisioningState": "Updating", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "CacheRules_Update", + "title": "CacheRuleUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryCreate.json new file mode 100644 index 000000000000..c502d14686f7 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryCreate.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "connectedRegistryCreateParameters": { + "properties": { + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + }, + "connectedRegistryName": "myConnectedRegistry", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "activation": { + "status": "Inactive" + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Disabled", + "logLevel": "Information" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + } + }, + "201": { + "body": { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "activation": { + "status": "Inactive" + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Disabled", + "logLevel": "Information" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ConnectedRegistries_Create", + "title": "ConnectedRegistryCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDeactivate.json new file mode 100644 index 000000000000..6e189a00e328 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDeactivate.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "connectedRegistryName": "myConnectedRegistry", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ConnectedRegistries_Deactivate", + "title": "ConnectedRegistryDeactivate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDelete.json new file mode 100644 index 000000000000..a2eba1b22be4 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "connectedRegistryName": "myConnectedRegistry", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "ConnectedRegistries_Delete", + "title": "ConnectedRegistryDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryGet.json new file mode 100644 index 000000000000..f1ce8a3fcb5a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryGet.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "connectedRegistryName": "myConnectedRegistry", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "activation": { + "status": "Inactive" + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Disabled", + "logLevel": "Information" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + } + } + }, + "operationId": "ConnectedRegistries_Get", + "title": "ConnectedRegistryGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryList.json new file mode 100644 index 000000000000..803edeb1e126 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "activation": { + "status": "Inactive" + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Disabled", + "logLevel": "Information" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + } + ] + } + } + }, + "operationId": "ConnectedRegistries_List", + "title": "ConnectedRegistryList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryUpdate.json new file mode 100644 index 000000000000..f2b68454277c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryUpdate.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "connectedRegistryName": "myScopeMap", + "connectedRegistryUpdateParameters": { + "properties": { + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Enabled", + "logLevel": "Debug" + }, + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "syncProperties": { + "messageTtl": "P30D", + "schedule": "0 0 */10 * *", + "syncWindow": "P2D" + } + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Enabled", + "logLevel": "Debug" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P30D", + "schedule": "0 0 */10 * *", + "syncWindow": "P2D", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + } + }, + "201": { + "body": { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Enabled", + "logLevel": "Debug" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P30D", + "schedule": "0 0 */10 * *", + "syncWindow": "P2D", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ConnectedRegistries_Update", + "title": "ConnectedRegistryUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetCreate.json new file mode 100644 index 000000000000..c2b6391738a5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetCreate.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "credentialSetCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } + ], + "loginServer": "docker.io" + } + }, + "credentialSetName": "myCredentialSet", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "CredentialSets_Create", + "title": "CredentialSetCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetDelete.json new file mode 100644 index 000000000000..e4058a6a6d3a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "credentialSetName": "myCredentialSet", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "CredentialSets_Delete", + "title": "CredentialSetDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetGet.json new file mode 100644 index 000000000000..42249cde643e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "credentialSetName": "myCredentialSet", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "CredentialSets_Get", + "title": "CredentialSetGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetList.json new file mode 100644 index 000000000000..75655128524d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "CredentialSets_List", + "title": "CredentialSetList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetUpdate.json new file mode 100644 index 000000000000..45d99e9e938b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetUpdate.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "credentialSetName": "myCredentialSet", + "credentialSetUpdateParameters": { + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + } + ] + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "CredentialSets_Update", + "title": "CredentialSetUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineCreate.json new file mode 100644 index 000000000000..66271fac5b88 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineCreate.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "exportPipelineCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteBlobs" + ], + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + }, + "exportPipelineName": "myExportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myExportPipeline", + "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + } + }, + "201": { + "body": { + "name": "myExportPipeline", + "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ExportPipelines_Create", + "title": "ExportPipelineCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineDelete.json new file mode 100644 index 000000000000..8ce6b112904d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "exportPipelineName": "myExportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "ExportPipelines_Delete", + "title": "ExportPipelineDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineGet.json new file mode 100644 index 000000000000..662586ed7f09 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "exportPipelineName": "myExportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myExportPipeline", + "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + } + } + }, + "operationId": "ExportPipelines_Get", + "title": "ExportPipelineGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineList.json new file mode 100644 index 000000000000..426f7146429e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myExportPipeline", + "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + } + ] + } + } + }, + "operationId": "ExportPipelines_List", + "title": "ExportPipelineList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByManifestDigest.json new file mode 100644 index 000000000000..bffb2268d135 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByManifestDigest.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "parameters": { + "mode": "Force", + "source": { + "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", + "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ] + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_ImportImage", + "title": "ImportImageByManifestDigest" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByTag.json new file mode 100644 index 000000000000..d27cdecc5311 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByTag.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "parameters": { + "mode": "Force", + "source": { + "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", + "sourceImage": "sourceRepository:sourceTag" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ] + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_ImportImage", + "title": "ImportImageByTag" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageFromPublicRegistry.json new file mode 100644 index 000000000000..62a5d60c7e4e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageFromPublicRegistry.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "parameters": { + "mode": "Force", + "source": { + "registryUri": "registry.hub.docker.com", + "sourceImage": "library/hello-world" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ] + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_ImportImage", + "title": "ImportImageFromPublicRegistry" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineCreate.json new file mode 100644 index 000000000000..d1f54159b956 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineCreate.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "importPipelineCreateParameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "source": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + }, + "importPipelineName": "myImportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myImportPipeline", + "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", + "source": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + }, + "trigger": { + "sourceTrigger": { + "status": "Enabled" + } + } + } + } + }, + "201": { + "body": { + "name": "myImportPipeline", + "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", + "source": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + }, + "trigger": { + "sourceTrigger": { + "status": "Enabled" + } + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ImportPipelines_Create", + "title": "ImportPipelineCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineDelete.json new file mode 100644 index 000000000000..d695627df8a5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "importPipelineName": "myImportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "ImportPipelines_Delete", + "title": "ImportPipelineDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineGet.json new file mode 100644 index 000000000000..b1ab529b009a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineGet.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "importPipelineName": "myImportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myImportPipeline", + "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", + "source": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + }, + "trigger": { + "sourceTrigger": { + "status": "Enabled" + } + } + } + } + } + }, + "operationId": "ImportPipelines_Get", + "title": "ImportPipelineGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineList.json new file mode 100644 index 000000000000..9671f76049d6 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myImportPipeline", + "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", + "source": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + }, + "trigger": { + "sourceTrigger": { + "status": "Enabled" + } + } + } + } + ] + } + } + }, + "operationId": "ImportPipelines_List", + "title": "ImportPipelineList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/OperationList.json new file mode 100644 index 000000000000..f1937f9c350d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/OperationList.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ContainerRegistry/locations/deleteVirtualNetworkOrSubnets/action", + "display": { + "description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted", + "operation": "Delete virtual network or subnets notifications", + "provider": "Microsoft ContainerRegistry", + "resource": "" + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Export.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Export.json new file mode 100644 index 000000000000..5d16d74802fb --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Export.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "pipelineRunCreateParameters": { + "properties": { + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "target": { + "name": "myblob.tar.gz", + "type": "AzureStorageBlob" + } + } + } + }, + "pipelineRunName": "myPipelineRun", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "progress": { + "percentage": "20" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", + "target": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + } + }, + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } + } + } + }, + "201": { + "body": { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "progress": { + "percentage": "20" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", + "target": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + } + }, + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "PipelineRuns_Create", + "title": "PipelineRunCreate_Export" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Import.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Import.json new file mode 100644 index 000000000000..93e0d2d11f38 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Import.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "pipelineRunCreateParameters": { + "properties": { + "forceUpdateTag": "2020-03-04T17:23:21.9261521+00:00", + "request": { + "catalogDigest": "sha256@", + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "source": { + "name": "myblob.tar.gz", + "type": "AzureStorageBlob" + } + } + } + }, + "pipelineRunName": "myPipelineRun", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "importedArtifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "progress": { + "percentage": "100" + }, + "source": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Succeeded" + }, + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + } + } + } + }, + "201": { + "body": { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "finishTime": "2020-03-04T17:25:21.9261521+00:00", + "importedArtifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "progress": { + "percentage": "100" + }, + "source": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Succeeded" + }, + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "PipelineRuns_Create", + "title": "PipelineRunCreate_Import" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunDelete.json new file mode 100644 index 000000000000..da55ee26c0f1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "pipelineRunName": "myPipelineRun", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "PipelineRuns_Delete", + "title": "PipelineRunDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunGet.json new file mode 100644 index 000000000000..31902e21c3bc --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "pipelineRunName": "myPipelineRun", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "progress": { + "percentage": "20" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", + "target": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + } + }, + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } + } + } + } + }, + "operationId": "PipelineRuns_Get", + "title": "PipelineRunGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunList.json new file mode 100644 index 000000000000..b2e4212f91e1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunList.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "progress": { + "percentage": "20" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", + "target": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + } + }, + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } + } + }, + { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "importedArtifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "progress": { + "percentage": "100" + }, + "source": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + }, + "startTime": "2020-03-03T17:23:21.9261521+00:00", + "status": "Succeeded" + }, + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + } + } + } + ] + } + } + }, + "operationId": "PipelineRuns_List", + "title": "PipelineRunList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionCreateOrUpdate.json new file mode 100644 index 000000000000..9ff344e76287 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionCreateOrUpdate.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "privateEndpointConnection": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "status": "Approved" + } + } + }, + "privateEndpointConnectionName": "myConnection", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "title": "PrivateEndpointConnectionCreateOrUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionDelete.json new file mode 100644 index 000000000000..bd4139622487 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "privateEndpointConnectionName": "myConnection", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "PrivateEndpointConnections_Delete", + "title": "PrivateEndpointConnectionDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionGet.json new file mode 100644 index 000000000000..943f93e6c6d1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "privateEndpointConnectionName": "myConnection", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateEndpointConnections_Get", + "title": "PrivateEndpointConnectionGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionList.json new file mode 100644 index 000000000000..04db068f7d2b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "PrivateEndpointConnections_List", + "title": "PrivateEndpointConnectionList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameAvailable.json new file mode 100644 index 000000000000..1acb07a0b671 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameAvailable.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryNameCheckRequest": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", + "resourceGroupName": "myResourceGroup" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "availableLoginServerName": "myregistry-a1b2c3d4e5f6.azurecr.io", + "nameAvailable": true + } + } + }, + "operationId": "Registries_CheckNameAvailability", + "title": "RegistryCheckNameAvailable" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json new file mode 100644 index 000000000000..74bf7e432868 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryNameCheckRequest": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", + "resourceGroupName": "myResourceGroup" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "message": "The registry myRegistry is already in use.", + "nameAvailable": false, + "reason": "AlreadyExists" + } + } + }, + "operationId": "Registries_CheckNameAvailability", + "title": "RegistryCheckNameNotAvailable" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreate.json new file mode 100644 index 000000000000..affc04259789 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreate.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registry": { + "location": "westus", + "properties": { + "adminUserEnabled": true + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key": "value" + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Creating", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Registries_Create", + "title": "RegistryCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateAbac.json new file mode 100644 index 000000000000..e22674626cd9 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateAbac.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registry": { + "location": "westus", + "properties": { + "roleAssignmentMode": "AbacRepositoryPermissions" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key": "value" + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Creating", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Registries_Create", + "title": "RegistryCreateAbac" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateDomainNameLabelScope.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateDomainNameLabelScope.json new file mode 100644 index 000000000000..2a27118c9d37 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateDomainNameLabelScope.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registry": { + "location": "westus", + "properties": { + "autoGeneratedDomainNameLabelScope": "TenantReuse" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key": "value" + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Creating", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Registries_Create", + "title": "RegistryCreateDomainNameLabelScope" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateZoneRedundant.json new file mode 100644 index 000000000000..0577e026e093 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateZoneRedundant.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registry": { + "location": "westus", + "properties": { + "zoneRedundancy": "Enabled" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key": "value" + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Enabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Creating", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Enabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_Create", + "title": "RegistryCreateZoneRedundant" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryDelete.json new file mode 100644 index 000000000000..1b4ce26eea41 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "Registries_Delete", + "title": "RegistryDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGenerateCredentials.json new file mode 100644 index 000000000000..6a12db62ede5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGenerateCredentials.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "generateCredentialsParameters": { + "expiry": "2020-12-31T15:59:59.0707808Z", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken" + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "passwords": [ + { + "name": "password1", + "expiry": "2020-12-31T15:59:59.0707808Z", + "value": "00000000000000000000000000000000" + }, + { + "name": "password2", + "expiry": "2020-12-31T15:59:59.0707808Z", + "value": "00000000000000000000000000000000" + } + ], + "username": "myToken" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_GenerateCredentials", + "title": "RegistryGenerateCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGet.json new file mode 100644 index 000000000000..db87e0484cca --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGet.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Registries_Get", + "title": "RegistryGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGetPrivateLinkResource.json new file mode 100644 index 000000000000..fc5370d8cb4a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGetPrivateLinkResource.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "groupName": "registry", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "registry", + "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", + "properties": { + "groupId": "registry", + "requiredMembers": [ + "registry", + "registry_data_myregion" + ], + "requiredZoneNames": [ + "privatelink.azurecr.io" + ] + } + } + } + }, + "operationId": "Registries_GetPrivateLinkResource", + "title": "RegistryGetPrivateLinkResource" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryList.json new file mode 100644 index 000000000000..b09dc55caca6 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryList.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + ] + } + } + }, + "operationId": "Registries_List", + "title": "RegistryList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListByResourceGroup.json new file mode 100644 index 000000000000..b5db1648e40f --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListByResourceGroup.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + ] + } + } + }, + "operationId": "Registries_ListByResourceGroup", + "title": "RegistryListByResourceGroup" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListCredentials.json new file mode 100644 index 000000000000..cad13979f5af --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListCredentials.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "passwords": [ + { + "name": "password", + "value": "00000000000000000000000000000000" + }, + { + "name": "password2", + "value": "00000000000000000000000000000000" + } + ], + "username": "myRegistry" + } + } + }, + "operationId": "Registries_ListCredentials", + "title": "RegistryListCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListPrivateLinkResources.json new file mode 100644 index 000000000000..8bcee5174f5e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListPrivateLinkResources.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "registry", + "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", + "properties": { + "groupId": "registry", + "requiredMembers": [ + "registry", + "registry_data_myregion" + ], + "requiredZoneNames": [ + "privatelink.azurecr.io" + ] + } + } + ] + } + } + }, + "operationId": "Registries_ListPrivateLinkResources", + "title": "RegistryListPrivateLinkResources" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListUsages.json new file mode 100644 index 000000000000..e9f9bd026795 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListUsages.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Size", + "currentValue": 12345678, + "limit": 107374182400, + "unit": "Bytes" + }, + { + "name": "Webhooks", + "currentValue": 2, + "limit": 10, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Registries_ListUsages", + "title": "RegistryListUsages" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryRegenerateCredential.json new file mode 100644 index 000000000000..a62ee263538d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryRegenerateCredential.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "regenerateCredentialParameters": { + "name": "password" + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "passwords": [ + { + "name": "password", + "value": "00000000000000000000000000000000" + }, + { + "name": "password2", + "value": "00000000000000000000000000000000" + } + ], + "username": "myRegistry" + } + } + }, + "operationId": "Registries_RegenerateCredential", + "title": "RegistryRegenerateCredential" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryUpdate.json new file mode 100644 index 000000000000..c33269beb299 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryUpdate.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "registryUpdateParameters": { + "properties": { + "adminUserEnabled": true, + "roleAssignmentMode": "AbacRepositoryPermissions" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key": "value" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Updating", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_Update", + "title": "RegistryUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreate.json new file mode 100644 index 000000000000..796288cf90fe --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "replication": { + "location": "eastus", + "tags": { + "key": "value" + } + }, + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Creating", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Provisioning", + "message": "The replication is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Replications_Create", + "title": "ReplicationCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreateZoneRedundant.json new file mode 100644 index 000000000000..c37cf3b8de41 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreateZoneRedundant.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "replication": { + "location": "eastus", + "properties": { + "regionEndpointEnabled": true, + "zoneRedundancy": "Enabled" + }, + "tags": { + "key": "value" + } + }, + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Enabled" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Creating", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Provisioning", + "message": "The replication is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Enabled" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Replications_Create", + "title": "ReplicationCreateZoneRedundant" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationDelete.json new file mode 100644 index 000000000000..0b32a1ee4c27 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "Replications_Delete", + "title": "ReplicationDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationGet.json new file mode 100644 index 000000000000..4d5c6423f04c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Replications_Get", + "title": "ReplicationGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationList.json new file mode 100644 index 000000000000..9c852ae198ae --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + } + ] + } + } + }, + "operationId": "Replications_List", + "title": "ReplicationList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationUpdate.json new file mode 100644 index 000000000000..3b9d0f9aa469 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationUpdate.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "replicationName": "myReplication", + "replicationUpdateParameters": { + "tags": { + "key": "value" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Updating", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Provisioning", + "message": "The replication is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Replications_Update", + "title": "ReplicationUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapCreate.json new file mode 100644 index 000000000000..0f43bbc379b5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapCreate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "scopeMapCreateParameters": { + "properties": { + "description": "Developer Scopes", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ] + } + }, + "scopeMapName": "myScopeMap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ScopeMaps_Create", + "title": "ScopeMapCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapDelete.json new file mode 100644 index 000000000000..e2dbbccfd963 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "scopeMapName": "myScopeMap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "ScopeMaps_Delete", + "title": "ScopeMapDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapGet.json new file mode 100644 index 000000000000..4df130731d3f --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapGet.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "scopeMapName": "myScopeMap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ScopeMaps_Get", + "title": "ScopeMapGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapList.json new file mode 100644 index 000000000000..45fe4ea3835a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ScopeMaps_List", + "title": "ScopeMapList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapUpdate.json new file mode 100644 index 000000000000..c9c1a5468cc7 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapUpdate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "scopeMapName": "myScopeMap", + "scopeMapUpdateParameters": { + "properties": { + "description": "Developer Scopes", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ScopeMaps_Update", + "title": "ScopeMapUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenCreate.json new file mode 100644 index 000000000000..73d5f6060763 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenCreate.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tokenCreateParameters": { + "properties": { + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + }, + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled" + } + }, + "tokenName": "myToken" + }, + "responses": { + "200": { + "body": { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "expiry": "2020-12-04T15:32:48.0707808Z", + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" + } + ] + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled" + } + } + }, + "201": { + "body": { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "expiry": "2020-12-04T15:32:48.0707808Z", + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" + } + ] + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Tokens_Create", + "title": "TokenCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenDelete.json new file mode 100644 index 000000000000..e9621195b024 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tokenName": "myToken" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "Tokens_Delete", + "title": "TokenDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenGet.json new file mode 100644 index 000000000000..354b772d26c1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tokenName": "myToken" + }, + "responses": { + "200": { + "body": { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "enabled" + } + } + } + }, + "operationId": "Tokens_Get", + "title": "TokenGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenList.json new file mode 100644 index 000000000000..541987d9de15 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenList.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "enabled" + } + } + ] + } + } + }, + "operationId": "Tokens_List", + "title": "TokenList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenUpdate.json new file mode 100644 index 000000000000..ec52fff2fff2 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenUpdate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tokenName": "myToken", + "tokenUpdateParameters": { + "properties": { + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + }, + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "status": "enabled" + } + } + }, + "201": { + "body": { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "status": "enabled" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Tokens_Update", + "title": "TokenUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookCreate.json new file mode 100644 index 000000000000..4613db166023 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookCreate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookCreateParameters": { + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "customHeaders": { + "Authorization": "******" + }, + "scope": "myRepository", + "serviceUri": "http://myservice.com", + "status": "enabled" + }, + "tags": { + "key": "value" + } + }, + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Creating", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Webhooks_Create", + "title": "WebhookCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookDelete.json new file mode 100644 index 000000000000..1a576bf58359 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "Webhooks_Delete", + "title": "WebhookDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGet.json new file mode 100644 index 000000000000..1468d1602ec9 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Webhooks_Get", + "title": "WebhookGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGetCallbackConfig.json new file mode 100644 index 000000000000..06cac76bec5c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGetCallbackConfig.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "customHeaders": { + "Authorization": "******" + }, + "serviceUri": "http://myservice.com" + } + } + }, + "operationId": "Webhooks_GetCallbackConfig", + "title": "WebhookGetCallbackConfig" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookList.json new file mode 100644 index 000000000000..15e6239a49a9 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookList.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + } + ] + } + } + }, + "operationId": "Webhooks_List", + "title": "WebhookList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookListEvents.json new file mode 100644 index 000000000000..f4e39977c108 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookListEvents.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "eventRequestMessage": { + "method": "POST", + "content": { + "action": "push", + "actor": {}, + "id": "00000000-0000-0000-0000-000000000000", + "source": { + "addr": "xtal.local:5000", + "instanceID": "00000000-0000-0000-0000-000000000000" + }, + "target": { + "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", + "length": 708, + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "repository": "hello-world", + "size": 708, + "tag": "latest", + "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf" + }, + "timestamp": "2017-03-01T23:14:37.0707808Z", + "request": { + "method": "GET", + "addr": "192.168.64.11:42961", + "host": "192.168.100.227:5000", + "id": "00000000-0000-0000-0000-000000000000", + "useragent": "curl/7.38.0" + } + }, + "headers": { + "Authorization": "******", + "Content-Length": "719", + "Content-Type": "application/json" + }, + "requestUri": "http://myservice.com", + "version": "1.1" + }, + "eventResponseMessage": { + "headers": { + "Content-Length": "0" + }, + "statusCode": "200", + "version": "1.1" + }, + "id": "00000000-0000-0000-0000-000000000000" + } + ] + } + } + }, + "operationId": "Webhooks_ListEvents", + "title": "WebhookListEvents" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookPing.json new file mode 100644 index 000000000000..7aee705896dd --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookPing.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "id": "00000000-0000-0000-0000-000000000000" + } + } + }, + "operationId": "Webhooks_Ping", + "title": "WebhookPing" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookUpdate.json new file mode 100644 index 000000000000..e10e232907fa --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookUpdate.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook", + "webhookUpdateParameters": { + "properties": { + "actions": [ + "push" + ], + "customHeaders": { + "Authorization": "******" + }, + "scope": "myRepository", + "serviceUri": "http://myservice.com", + "status": "enabled" + }, + "tags": { + "key": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Updating", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Webhooks_Update", + "title": "WebhookUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp new file mode 100644 index 000000000000..5867d0f987af --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp @@ -0,0 +1,58 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.9 + * Date: 2025-09-05T03:04:05.930Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./Archive.tsp"; +import "./ArchiveVersion.tsp"; +import "./CacheRule.tsp"; +import "./ConnectedRegistry.tsp"; +import "./CredentialSet.tsp"; +import "./ExportPipeline.tsp"; +import "./Registry.tsp"; +import "./PrivateLinkResource.tsp"; +import "./ImportPipeline.tsp"; +import "./PipelineRun.tsp"; +import "./PrivateEndpointConnection.tsp"; +import "./Replication.tsp"; +import "./ScopeMap.tsp"; +import "./Token.tsp"; +import "./Webhook.tsp"; +import "./client.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** + * The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components. + */ +@armProviderNamespace +@service(#{ title: "ContainerRegistryManagementClient" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v6) +namespace Microsoft.ContainerRegistry; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2025-05-01-preview API version. + */ + v2025_05_01_preview: "2025-05-01-preview", +} + +interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp new file mode 100644 index 000000000000..c1fc084a2950 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp @@ -0,0 +1,3363 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.Core; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; + +namespace Microsoft.ContainerRegistry; + +/** + * The type of package source for a archive. + */ +union PackageSourceType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + remote: "remote", +} + +/** + * The provisioning state of the archive at the time the operation was called. + */ +union ProvisioningState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Canceled: "Canceled", +} + +/** + * The type of identity that created the resource. + */ +union CreatedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Key: "Key", +} + +/** + * The type of identity that last modified the resource. + */ +union LastModifiedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Key: "Key", +} + +/** + * The mode of the connected registry resource that indicates the permissions of the registry. + */ +union ConnectedRegistryMode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ReadWrite: "ReadWrite", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ReadOnly: "ReadOnly", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Registry: "Registry", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Mirror: "Mirror", +} + +/** + * The current connection state of the connected registry. + */ +union ConnectionState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Online: "Online", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Offline: "Offline", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Syncing: "Syncing", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Unhealthy: "Unhealthy", +} + +/** + * The activation status of the connected registry. + */ +union ActivationStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Active: "Active", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Inactive: "Inactive", +} + +/** + * Indicates whether HTTPS is enabled for the login server. + */ +union TlsStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Disabled: "Disabled", +} + +/** + * The type of certificate location. + */ +union CertificateType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + LocalDirectory: "LocalDirectory", +} + +/** + * The verbosity of logs persisted on the connected registry. + */ +union LogLevel { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Debug: "Debug", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Information: "Information", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Warning: "Warning", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Error: "Error", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + None: "None", +} + +/** + * Indicates whether audit logs are enabled on the connected registry. + */ +union AuditLogStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Disabled: "Disabled", +} + +/** + * The name of the credential. + */ +union CredentialName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Credential1: "Credential1", +} + +/** + * The health status of credential. + */ +union CredentialHealthStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Healthy: "Healthy", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Unhealthy: "Unhealthy", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +union PipelineOptions { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + OverwriteTags: "OverwriteTags", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + OverwriteBlobs: "OverwriteBlobs", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + DeleteSourceBlobOnSuccess: "DeleteSourceBlobOnSuccess", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ContinueOnErrors: "ContinueOnErrors", +} + +/** + * When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. + */ +union ImportMode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + NoForce: "NoForce", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Force: "Force", +} + +/** + * The type of source for the import pipeline. + */ +union PipelineSourceType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + AzureStorageBlobContainer: "AzureStorageBlobContainer", +} + +/** + * The current status of the source trigger. + */ +union TriggerStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Disabled: "Disabled", +} + +/** + * The auto generated domain name label of the container registry. This value defaults to "Unsecure". + */ +union AutoGeneratedDomainNameLabelScope { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Unsecure: "Unsecure", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + TenantReuse: "TenantReuse", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + SubscriptionReuse: "SubscriptionReuse", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ResourceGroupReuse: "ResourceGroupReuse", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + NoReuse: "NoReuse", +} + +/** + * The type of the source. + */ +union PipelineRunSourceType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + AzureStorageBlob: "AzureStorageBlob", +} + +/** + * The type of the target. + */ +union PipelineRunTargetType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + AzureStorageBlob: "AzureStorageBlob", +} + +/** + * The private link service connection status. + */ +union ConnectionStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Approved: "Approved", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Pending: "Pending", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Rejected: "Rejected", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Disconnected: "Disconnected", +} + +/** + * A message indicating if changes on the service provider require any updates on the consumer. + */ +union ActionsRequired { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Recreate: "Recreate", +} + +/** + * The SKU name of the container registry. Required for registry creation. + */ +union SkuName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Classic: "Classic", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Basic: "Basic", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Standard: "Standard", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Premium: "Premium", +} + +/** + * The SKU tier based on the SKU name. + */ +union SkuTier { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Classic: "Classic", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Basic: "Basic", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Standard: "Standard", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Premium: "Premium", +} + +/** + * The default action of allow or deny when no other rules match. + */ +union DefaultAction { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Allow: "Allow", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Deny: "Deny", +} + +/** + * The action of IP ACL rule. + */ +union Action { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Allow: "Allow", +} + +/** + * The value that indicates whether the policy is enabled or not. + */ +union PolicyStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + enabled: "enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + disabled: "disabled", +} + +/** + * The type of trust policy. + */ +union TrustPolicyType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Notary: "Notary", +} + +/** + * The value that indicates whether the policy is enabled or not. + */ +union ExportPolicyStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + enabled: "enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + disabled: "disabled", +} + +/** + * The value that indicates whether the policy is enabled or not. + */ +union AzureADAuthenticationAsArmPolicyStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + enabled: "enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + disabled: "disabled", +} + +/** + * Indicates whether or not the encryption is enabled for container registry. + */ +union EncryptionStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + enabled: "enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + disabled: "disabled", +} + +/** + * Whether or not public network access is allowed for the container registry. + */ +union PublicNetworkAccess { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Disabled: "Disabled", +} + +/** + * Whether to allow trusted Azure services to access a network restricted registry. + */ +union NetworkRuleBypassOptions { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + AzureServices: "AzureServices", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + None: "None", +} + +/** + * Whether or not zone redundancy is enabled for this container registry + */ +union ZoneRedundancy { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Disabled: "Disabled", +} + +/** + * Determines whether registry artifacts are indexed for metadata search. + */ +union MetadataSearch { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Disabled: "Disabled", +} + +/** + * Determines registry role assignment mode. + */ +union RoleAssignmentMode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + AbacRepositoryPermissions: "AbacRepositoryPermissions", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + LegacyRegistryPermissions: "LegacyRegistryPermissions", +} + +/** + * The unit of measurement. + */ +union RegistryUsageUnit { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Count: "Count", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Bytes: "Bytes", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +union TokenCertificateName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + certificate1: "certificate1", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + certificate2: "certificate2", +} + +/** + * The password name "password1" or "password2" + */ +union TokenPasswordName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + password1: "password1", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + password2: "password2", +} + +/** + * The status of the token example enabled or disabled. + */ +union TokenStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + enabled: "enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + disabled: "disabled", +} + +/** + * The status of the webhook at the time the operation was called. + */ +union WebhookStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + enabled: "enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + disabled: "disabled", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +union WebhookAction { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + push: "push", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + delete: "delete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + quarantine: "quarantine", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + chart_push: "chart_push", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + chart_delete: "chart_delete", +} + +/** + * The identity type. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "For backward compatibility" +enum ResourceIdentityType { + SystemAssigned, + UserAssigned, + `SystemAssigned, UserAssigned`, + None, +} + +/** + * The password name. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "For backward compatibility" +enum PasswordName { + password, + password2, +} + +/** + * The properties of a archive. + */ +model ArchiveProperties { + /** + * The package source of the archive. + */ + packageSource?: ArchivePackageSourceProperties; + + /** + * The published version of the archive. + */ + publishedVersion?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + repositoryEndpointPrefix?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + @visibility(Lifecycle.Read) + repositoryEndpoint?: string; + + /** + * The provisioning state of the archive at the time the operation was called. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * The properties of the archive package source. + */ +model ArchivePackageSourceProperties { + /** + * The type of package source for a archive. + */ + type?: PackageSourceType; + + /** + * The external repository url. + */ + url?: string; +} + +/** + * The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + */ +model ProxyResource { + /** + * The resource ID. + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * The name of the resource. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The type of the resource. + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + @visibility(Lifecycle.Read) + systemData?: SystemData; +} + +/** + * Metadata pertaining to creation and last modification of the resource. + */ +model SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + + /** + * The type of identity that created the resource. + */ + createdByType?: CreatedByType; + + /** + * The timestamp of resource creation (UTC). + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdAt?: utcDateTime; + + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: LastModifiedByType; + + /** + * The timestamp of resource modification (UTC). + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedAt?: utcDateTime; +} + +/** + * The parameters for updating a archive. + */ +model ArchiveUpdateParameters { + /** + * The properties of the connected registry update parameters. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: ArchiveUpdateProperties; +} + +/** + * The properties of a archive. + */ +model ArchiveUpdateProperties { + /** + * The published version of the archive. + */ + publishedVersion?: string; +} + +/** + * The properties of an export pipeline. + */ +model ArchiveVersionProperties { + /** + * The provisioning state of the archive at the time the operation was called. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The detailed error message for the archive version in the case of failure. + */ + archiveVersionErrorMessage?: string; +} + +/** + * The properties of a cache rule. + */ +model CacheRuleProperties { + /** + * The ARM resource ID of the credential store which is associated with the cache rule. + */ + credentialSetResourceId?: string; + + /** + * Source repository pulled from upstream. + */ + sourceRepository?: string; + + /** + * Target repository specified in docker pull command. + * Eg: docker pull myregistry.azurecr.io/{targetRepository}:{tag} + */ + targetRepository?: string; + + /** + * The creation date of the cache rule. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationDate?: utcDateTime; + + /** + * Provisioning state of the resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * The parameters for updating a cache rule. + */ +model CacheRuleUpdateParameters { + /** + * The properties of the cache rule update parameters. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: CacheRuleUpdateProperties; +} + +/** + * The parameters for updating cache rule properties. + */ +model CacheRuleUpdateProperties { + /** + * The ARM resource ID of the credential store which is associated with the Cache rule. + */ + credentialSetResourceId?: string; +} + +/** + * The result of a request to list cache rules for a container registry. + */ +model CacheRulesListResult { + /** + * The list of cache rules. Since this list may be incomplete, the nextLink field should be used to request the next list of cache rules. + */ + @pageItems + value?: CacheRule[]; + + /** + * The URI that can be used to request the next list of cache rules. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list archives for a container registry. + */ +model ArchiveListResult { + /** + * The list of archives. Since this list may be incomplete, the nextLink field should be used to request the next list of archives. + */ + @pageItems + value?: Archive[]; + + /** + * The URI that can be used to request the next list of archives. + */ + @nextLink + nextLink?: string; +} + +/** + * The properties of a connected registry. + */ +model ConnectedRegistryProperties { + /** + * Provisioning state of the resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The mode of the connected registry resource that indicates the permissions of the registry. + */ + mode: ConnectedRegistryMode; + + /** + * The current version of ACR runtime on the connected registry. + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * The current connection state of the connected registry. + */ + @visibility(Lifecycle.Read) + connectionState?: ConnectionState; + + /** + * The last activity time of the connected registry. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastActivityTime?: utcDateTime; + + /** + * The activation properties of the connected registry. + */ + @visibility(Lifecycle.Read) + activation?: ActivationProperties; + + /** + * The parent of the connected registry. + */ + parent: ParentProperties; + + /** + * The list of the ACR token resource IDs used to authenticate clients to the connected registry. + */ + clientTokenIds?: string[]; + + /** + * The login server properties of the connected registry. + */ + loginServer?: LoginServerProperties; + + /** + * The logging properties of the connected registry. + */ + logging?: LoggingProperties; + + /** + * The list of current statuses of the connected registry. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #["correlationId"]) + statusDetails?: StatusDetailProperties[]; + + /** + * The list of notifications subscription information for the connected registry. + */ + notificationsList?: string[]; + + /** + * The garbage collection properties of the connected registry. + */ + garbageCollection?: GarbageCollectionProperties; +} + +/** + * The activation properties of the connected registry. + */ +model ActivationProperties { + /** + * The activation status of the connected registry. + */ + @visibility(Lifecycle.Read) + status?: ActivationStatus; +} + +/** + * The properties of the connected registry parent. + */ +model ParentProperties { + /** + * The resource ID of the parent to which the connected registry will be associated. + */ + id?: Azure.Core.armResourceIdentifier; + + /** + * The sync properties of the connected registry with its parent. + */ + syncProperties: SyncProperties; +} + +/** + * The sync properties of the connected registry with its parent. + */ +model SyncProperties { + /** + * The resource ID of the ACR token used to authenticate the connected registry to its parent during sync. + */ + tokenId: string; + + /** + * The cron expression indicating the schedule that the connected registry will sync with its parent. + */ + schedule?: string; + + /** + * The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. + */ + syncWindow?: duration; + + /** + * The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. + */ + messageTtl: duration; + + /** + * The last time a sync occurred between the connected registry and its parent. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastSyncTime?: utcDateTime; + + /** + * The gateway endpoint used by the connected registry to communicate with its parent. + */ + @visibility(Lifecycle.Read) + gatewayEndpoint?: string; +} + +/** + * The login server properties of the connected registry. + */ +model LoginServerProperties { + /** + * The host of the connected registry. Can be FQDN or IP. + */ + @visibility(Lifecycle.Read) + host?: string; + + /** + * The TLS properties of the connected registry login server. + */ + @visibility(Lifecycle.Read) + tls?: TlsProperties; +} + +/** + * The TLS properties of the connected registry login server. + */ +model TlsProperties { + /** + * Indicates whether HTTPS is enabled for the login server. + */ + @visibility(Lifecycle.Read) + status?: TlsStatus; + + /** + * The certificate used to configure HTTPS for the login server. + */ + @visibility(Lifecycle.Read) + certificate?: TlsCertificateProperties; +} + +/** + * The TLS certificate properties of the connected registry login server. + */ +model TlsCertificateProperties { + /** + * The type of certificate location. + */ + @visibility(Lifecycle.Read) + type?: CertificateType; + + /** + * Indicates the location of the certificates. + */ + @visibility(Lifecycle.Read) + location?: string; +} + +/** + * The logging properties of the connected registry. + */ +model LoggingProperties { + /** + * The verbosity of logs persisted on the connected registry. + */ + logLevel?: LogLevel = LogLevel.Information; + + /** + * Indicates whether audit logs are enabled on the connected registry. + */ + auditLogStatus?: AuditLogStatus = AuditLogStatus.Disabled; +} + +/** + * The status detail properties of the connected registry. + */ +model StatusDetailProperties { + /** + * The component of the connected registry corresponding to the status. + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * The HTTP status code. + */ + @visibility(Lifecycle.Read) + code?: string; + + /** + * The description of the status. + */ + @visibility(Lifecycle.Read) + description?: string; + + /** + * The timestamp of the status. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timestamp?: utcDateTime; + + /** + * The correlation ID of the status. + */ + @visibility(Lifecycle.Read) + correlationId?: string; +} + +/** + * The garbage collection properties of the connected registry. + */ +model GarbageCollectionProperties { + /** + * Indicates whether garbage collection is enabled for the connected registry. + */ + enabled?: boolean; + + /** + * The cron expression indicating the schedule that the connected registry will run garbage collection. + */ + schedule?: string; +} + +/** + * The parameters for updating a connected registry. + */ +model ConnectedRegistryUpdateParameters { + /** + * The properties of the connected registry update parameters. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: ConnectedRegistryUpdateProperties; +} + +/** + * The parameters for updating token properties. + */ +model ConnectedRegistryUpdateProperties { + /** + * The sync properties of the connected registry with its parent. + */ + syncProperties?: SyncUpdateProperties; + + /** + * The logging properties of the connected registry. + */ + logging?: LoggingProperties; + + /** + * The list of the ACR token resource IDs used to authenticate clients to the connected registry. + */ + clientTokenIds?: string[]; + + /** + * The list of notifications subscription information for the connected registry. + */ + notificationsList?: string[]; + + /** + * The garbage collection properties of the connected registry. + */ + garbageCollection?: GarbageCollectionProperties; +} + +/** + * The parameters for updating the sync properties of the connected registry with its parent. + */ +model SyncUpdateProperties { + /** + * The cron expression indicating the schedule that the connected registry will sync with its parent. + */ + schedule?: string; + + /** + * The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. + */ + syncWindow?: duration; + + /** + * The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. + */ + messageTtl?: duration; +} + +/** + * Managed identity for the resource. + */ +model IdentityProperties { + /** + * The principal ID of resource identity. + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * The tenant ID of resource. + */ + @visibility(Lifecycle.Read) + tenantId?: string; + + /** + * The identity type. + */ + type?: ResourceIdentityType; + + /** + * The list of user identities associated with the resource. The user identity + * dictionary key references will be ARM resource ids in the form: + * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ + * providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + userAssignedIdentities?: Record; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model UserIdentityProperties { + /** + * The principal id of user assigned identity. + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * The client id of user assigned identity. + */ + @visibility(Lifecycle.Read) + clientId?: string; +} + +/** + * The properties of a credential set resource. + */ +model CredentialSetProperties { + /** + * The credentials are stored for this upstream or login server. + */ + loginServer?: string; + + /** + * List of authentication credentials stored for an upstream. + * Usually consists of a primary and an optional secondary credential. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + authCredentials?: AuthCredential[]; + + /** + * The creation date of credential store resource. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationDate?: utcDateTime; + + /** + * Provisioning state of the resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * Authentication credential stored for an upstream. + */ +model AuthCredential { + /** + * The name of the credential. + */ + name?: CredentialName; + + /** + * KeyVault Secret URI for accessing the username. + */ + usernameSecretIdentifier?: string; + + /** + * KeyVault Secret URI for accessing the password. + */ + passwordSecretIdentifier?: string; + + /** + * This provides data pertaining to the health of the auth credential. + */ + @visibility(Lifecycle.Read) + credentialHealth?: CredentialHealth; +} + +/** + * The health of the auth credential. + */ +model CredentialHealth { + /** + * The health status of credential. + */ + status?: CredentialHealthStatus; + + /** + * Error code representing the health check error. + */ + errorCode?: string; + + /** + * Descriptive message representing the health check error. + */ + errorMessage?: string; +} + +/** + * The parameters for updating a credential set + */ +model CredentialSetUpdateParameters { + /** + * The properties of the credential set update parameters + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: CredentialSetUpdateProperties; + + /** + * Identities associated with the resource. This is used to access the KeyVault secrets. + */ + identity?: IdentityProperties; +} + +/** + * The parameters for updating credential set properties. + */ +model CredentialSetUpdateProperties { + /** + * List of authentication credentials stored for an upstream. + * Usually consists of a primary and an optional secondary credential. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + authCredentials?: AuthCredential[]; +} + +/** + * The properties of an export pipeline. + */ +model ExportPipelineProperties { + /** + * The target properties of the export pipeline. + */ + target: ExportPipelineTargetProperties; + + /** + * The list of all options configured for the pipeline. + */ + options?: PipelineOptions[]; + + /** + * The provisioning state of the pipeline at the time the operation was called. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * The properties of the export pipeline target. + */ +model ExportPipelineTargetProperties { + /** + * The type of target for the export pipeline. + */ + type?: string; + + /** + * The target uri of the export pipeline. + * When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName" + * When 'AzureStorageBlobContainer': "https://accountName.blob.core.windows.net/containerName" + */ + uri?: string; + + /** + * They key vault secret uri to obtain the target storage SAS token. + */ + keyVaultUri: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model ImportImageParameters { + /** + * The source of the image. + */ + source: ImportSource; + + /** + * List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted). + */ + targetTags?: string[]; + + /** + * List of strings of repository names to do a manifest only copy. No tag will be created. + */ + untaggedTargetRepositories?: string[]; + + /** + * When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. + */ + mode?: ImportMode = ImportMode.NoForce; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model ImportSource { + /** + * The resource identifier of the source Azure Container Registry. + */ + resourceId?: string; + + /** + * The address of the source registry (e.g. 'mcr.microsoft.com'). + */ + registryUri?: string; + + /** + * Credentials used when importing from a registry uri. + */ + credentials?: ImportSourceCredentials; + + @doc(""" + Repository name of the source image. + Specify an image by repository ('hello-world'). This will use the 'latest' tag. + Specify an image by tag ('hello-world:latest'). + Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123'). + """) + sourceImage: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model ImportSourceCredentials { + /** + * The username to authenticate with the source registry. + */ + username?: string; + + /** + * The password used to authenticate with the source registry. + */ + password: string; +} + +/** + * The properties of an import pipeline. + */ +model ImportPipelineProperties { + /** + * The source properties of the import pipeline. + */ + source: ImportPipelineSourceProperties; + + /** + * The properties that describe the trigger of the import pipeline. + */ + trigger?: PipelineTriggerProperties; + + /** + * The list of all options configured for the pipeline. + */ + options?: PipelineOptions[]; + + /** + * The provisioning state of the pipeline at the time the operation was called. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * The properties of the import pipeline source. + */ +model ImportPipelineSourceProperties { + /** + * The type of source for the import pipeline. + */ + type?: PipelineSourceType = PipelineSourceType.AzureStorageBlobContainer; + + /** + * The source uri of the import pipeline. + * When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName" + * When 'AzureStorageBlobContainer': "https://accountName.blob.core.windows.net/containerName" + */ + uri?: string; + + /** + * They key vault secret uri to obtain the source storage SAS token. + */ + keyVaultUri: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model PipelineTriggerProperties { + /** + * The source trigger properties of the pipeline. + */ + sourceTrigger?: PipelineSourceTriggerProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model PipelineSourceTriggerProperties { + /** + * The current status of the source trigger. + */ + status: TriggerStatus = TriggerStatus.Enabled; +} + +/** + * The definition of a container registry operation. + */ +model OperationDefinition { + /** + * The origin information of the container registry operation. + */ + origin?: string; + + /** + * Operation name: {provider}/{resource}/{operation}. + */ + name?: string; + + /** + * The display information for the container registry operation. + */ + display?: OperationDisplayDefinition; + + /** + * The properties information for the container registry operation. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: OperationPropertiesDefinition; + + /** + * This property indicates if the operation is an action or a data action + * ref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations + */ + isDataAction?: boolean; +} + +/** + * The display information for a container registry operation. + */ +model OperationDisplayDefinition { + /** + * The resource provider name: Microsoft.ContainerRegistry. + */ + provider?: string; + + /** + * The resource on which the operation is performed. + */ + resource?: string; + + /** + * The operation that users can perform. + */ + operation?: string; + + /** + * The description for the operation. + */ + description?: string; +} + +/** + * The definition of Azure Monitoring properties. + */ +model OperationPropertiesDefinition { + /** + * The definition of Azure Monitoring service. + */ + serviceSpecification?: OperationServiceSpecificationDefinition; +} + +/** + * The definition of Azure Monitoring list. + */ +model OperationServiceSpecificationDefinition { + /** + * A list of Azure Monitoring metrics definition. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + metricSpecifications?: OperationMetricSpecificationDefinition[]; + + /** + * A list of Azure Monitoring log definitions. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + logSpecifications?: OperationLogSpecificationDefinition[]; +} + +/** + * The definition of Azure Monitoring metric. + */ +model OperationMetricSpecificationDefinition { + /** + * Metric name. + */ + name?: string; + + /** + * Metric display name. + */ + displayName?: string; + + /** + * Metric description. + */ + displayDescription?: string; + + /** + * Metric unit. + */ + unit?: string; + + /** + * Metric aggregation type. + */ + aggregationType?: string; + + /** + * Internal metric name. + */ + internalMetricName?: string; +} + +/** + * The definition of Azure Monitoring log. + */ +model OperationLogSpecificationDefinition { + /** + * Log name. + */ + name?: string; + + /** + * Log display name. + */ + displayName?: string; + + /** + * Log blob duration. + */ + blobDuration?: string; +} + +/** + * A request to check whether a container registry name is available. + */ +model RegistryNameCheckRequest { + /** + * The name of the container registry. + */ + @maxLength(50) + @minLength(5) + @pattern("^[a-zA-Z0-9]*$") + name: string; + + /** + * The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'. + */ + type: "Microsoft.ContainerRegistry/registries"; + + /** + * The resource group name of the container registry. + */ + @maxLength(90) + @minLength(1) + resourceGroupName?: string; + + /** + * The auto generated domain name label of the container registry. This value defaults to "Unsecure". + */ + autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; +} + +/** + * The result of a request to check the availability of a container registry name. + */ +model RegistryNameStatus { + /** + * The complete login server name with domain name label (DNL) hash, if available + */ + availableLoginServerName?: string; + + /** + * The value that indicates whether the name is available. + */ + nameAvailable?: boolean; + + /** + * If any, the reason that the name is not available. + */ + reason?: string; + + /** + * If any, the error message that provides more detail for the reason that the name is not available. + */ + message?: string; +} + +/** + * The properties of a pipeline run. + */ +model PipelineRunProperties { + /** + * The provisioning state of a pipeline run. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The request parameters for a pipeline run. + */ + request?: PipelineRunRequest; + + /** + * The response of a pipeline run. + */ + @visibility(Lifecycle.Read) + response?: PipelineRunResponse; + + /** + * How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed. + */ + forceUpdateTag?: string; +} + +/** + * The request properties provided for a pipeline run. + */ +model PipelineRunRequest { + /** + * The resource ID of the pipeline to run. + */ + pipelineResourceId?: string; + + @doc(""" + List of source artifacts to be transferred by the pipeline. + Specify an image by repository ('hello-world'). This will use the 'latest' tag. + Specify an image by tag ('hello-world:latest'). + Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123'). + """) + artifacts?: string[]; + + /** + * The source properties of the pipeline run. + */ + source?: PipelineRunSourceProperties; + + /** + * The target properties of the pipeline run. + */ + target?: PipelineRunTargetProperties; + + /** + * The digest of the tar used to transfer the artifacts. + */ + catalogDigest?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model PipelineRunSourceProperties { + /** + * The type of the source. + */ + type?: PipelineRunSourceType = PipelineRunSourceType.AzureStorageBlob; + + /** + * The name of the source. + */ + name?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model PipelineRunTargetProperties { + /** + * The type of the target. + */ + type?: PipelineRunTargetType = PipelineRunTargetType.AzureStorageBlob; + + /** + * The name of the target. + */ + name?: string; +} + +/** + * The response properties returned for a pipeline run. + */ +model PipelineRunResponse { + /** + * The current status of the pipeline run. + */ + status?: string; + + /** + * The artifacts imported in the pipeline run. + */ + importedArtifacts?: string[]; + + /** + * The current progress of the copy operation. + */ + progress?: ProgressProperties; + + /** + * The time the pipeline run started. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * The time the pipeline run finished. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + finishTime?: utcDateTime; + + /** + * The source of the pipeline run. + */ + source?: ImportPipelineSourceProperties; + + /** + * The target of the pipeline run. + */ + target?: ExportPipelineTargetProperties; + + /** + * The digest of the tar used to transfer the artifacts. + */ + catalogDigest?: string; + + /** + * The trigger that caused the pipeline run. + */ + trigger?: PipelineTriggerDescriptor; + + /** + * The detailed error message for the pipeline run in the case of failure. + */ + pipelineRunErrorMessage?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model ProgressProperties { + /** + * The percentage complete of the copy operation. + */ + percentage?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model PipelineTriggerDescriptor { + /** + * The source trigger that caused the pipeline run. + */ + sourceTrigger?: PipelineSourceTriggerDescriptor; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model PipelineSourceTriggerDescriptor { + /** + * The timestamp when the source update happened. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timestamp?: utcDateTime; +} + +/** + * The properties of a private endpoint connection. + */ +model PrivateEndpointConnectionProperties { + /** + * The resource of private endpoint. + */ + privateEndpoint?: PrivateEndpoint; + + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + + /** + * The provisioning state of private endpoint connection resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * The Private Endpoint resource. + */ +model PrivateEndpoint { + /** + * This is private endpoint resource created with Microsoft.Network resource provider. + */ + id?: string; +} + +/** + * The state of a private link service connection. + */ +model PrivateLinkServiceConnectionState { + /** + * The private link service connection status. + */ + status?: ConnectionStatus; + + /** + * The description for connection status. For example if connection is rejected it can indicate reason for rejection. + */ + description?: string; + + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionsRequired?: ActionsRequired; +} + +/** + * The SKU of a container registry. + */ +model Sku { + /** + * The SKU name of the container registry. Required for registry creation. + */ + name: SkuName; + + /** + * The SKU tier based on the SKU name. + */ + @visibility(Lifecycle.Read) + tier?: SkuTier; +} + +/** + * The properties of a container registry. + */ +model RegistryProperties { + /** + * The URL that can be used to log into the container registry. + */ + @visibility(Lifecycle.Read) + loginServer?: string; + + /** + * The creation date of the container registry in ISO8601 format. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationDate?: utcDateTime; + + /** + * The provisioning state of the container registry at the time the operation was called. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The status of the container registry at the time the operation was called. + */ + @visibility(Lifecycle.Read) + status?: Status; + + /** + * The value that indicates whether the admin user is enabled. + */ + adminUserEnabled?: boolean; + + /** + * The network rule set for a container registry. + */ + networkRuleSet?: NetworkRuleSet; + + /** + * The policies for a container registry. + */ + policies?: Policies; + + /** + * The encryption settings of container registry. + */ + encryption?: EncryptionProperty; + + /** + * Enable a single data endpoint per region for serving data. + */ + dataEndpointEnabled?: boolean; + + /** + * List of host names that will serve data when dataEndpointEnabled is true. + */ + @visibility(Lifecycle.Read) + dataEndpointHostNames?: string[]; + + /** + * List of private endpoint connections for a container registry. + */ + @visibility(Lifecycle.Read) + privateEndpointConnections?: PrivateEndpointConnection[]; + + /** + * Whether or not public network access is allowed for the container registry. + */ + publicNetworkAccess?: PublicNetworkAccess; + + /** + * Whether to allow trusted Azure services to access a network restricted registry. + */ + networkRuleBypassOptions?: NetworkRuleBypassOptions; + + /** + * Whether or not Tasks allowed to bypass the network rules for this container registry. + */ + networkRuleBypassAllowedForTasks?: boolean; + + /** + * Whether or not zone redundancy is enabled for this container registry + */ + zoneRedundancy?: ZoneRedundancy; + + /** + * Enables registry-wide pull from unauthenticated clients. + */ + anonymousPullEnabled?: boolean; + + /** + * Determines whether registry artifacts are indexed for metadata search. + */ + metadataSearch?: MetadataSearch; + + /** + * Determines the domain name label reuse scope. + */ + autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; + + /** + * Determines registry role assignment mode. + */ + roleAssignmentMode?: RoleAssignmentMode; +} + +/** + * The status of an Azure resource at the time the operation was called. + */ +model Status { + /** + * The short label for the status. + */ + @visibility(Lifecycle.Read) + displayStatus?: string; + + /** + * The detailed message for the status, including alerts and error messages. + */ + @visibility(Lifecycle.Read) + message?: string; + + /** + * The timestamp when the status was changed to the current value. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timestamp?: utcDateTime; +} + +/** + * The network rule set for a container registry. + */ +model NetworkRuleSet { + /** + * The default action of allow or deny when no other rules match. + */ + defaultAction: DefaultAction = DefaultAction.Allow; + + /** + * The IP ACL rules. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + ipRules?: IPRule[]; +} + +/** + * IP rule with specific IP or IP range in CIDR format. + */ +model IPRule { + /** + * The action of IP ACL rule. + */ + action?: Action = Action.Allow; + + /** + * Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. + */ + value: string; +} + +/** + * The policies for a container registry. + */ +model Policies { + /** + * The quarantine policy for a container registry. + */ + quarantinePolicy?: QuarantinePolicy; + + /** + * The content trust policy for a container registry. + */ + trustPolicy?: TrustPolicy; + + /** + * The retention policy for a container registry. + */ + retentionPolicy?: RetentionPolicy; + + /** + * The export policy for a container registry. + */ + exportPolicy?: ExportPolicy; + + /** + * The policy for using Azure Resource Manager audience token for a container registry. + */ + azureADAuthenticationAsArmPolicy?: AzureADAuthenticationAsArmPolicy; + + /** + * The soft delete policy for a container registry. + */ + softDeletePolicy?: SoftDeletePolicy; +} + +/** + * The quarantine policy for a container registry. + */ +model QuarantinePolicy { + /** + * The value that indicates whether the policy is enabled or not. + */ + status?: PolicyStatus; +} + +/** + * The content trust policy for a container registry. + */ +model TrustPolicy { + /** + * The type of trust policy. + */ + type?: TrustPolicyType = TrustPolicyType.Notary; + + /** + * The value that indicates whether the policy is enabled or not. + */ + status?: PolicyStatus; +} + +/** + * The retention policy for a container registry. + */ +model RetentionPolicy { + /** + * The number of days to retain an untagged manifest after which it gets purged. + */ + days?: int32 = 7; + + /** + * The timestamp when the policy was last updated. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastUpdatedTime?: utcDateTime; + + /** + * The value that indicates whether the policy is enabled or not. + */ + status?: PolicyStatus; +} + +/** + * The export policy for a container registry. + */ +model ExportPolicy { + /** + * The value that indicates whether the policy is enabled or not. + */ + status?: ExportPolicyStatus = ExportPolicyStatus.enabled; +} + +/** + * The policy for using Azure Resource Manager audience token for a container registry. + */ +model AzureADAuthenticationAsArmPolicy { + /** + * The value that indicates whether the policy is enabled or not. + */ + status?: AzureADAuthenticationAsArmPolicyStatus = AzureADAuthenticationAsArmPolicyStatus.enabled; +} + +/** + * The soft delete policy for a container registry + */ +model SoftDeletePolicy { + /** + * The number of days after which a soft-deleted item is permanently deleted. + */ + retentionDays?: int32 = 7; + + /** + * The timestamp when the policy was last updated. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastUpdatedTime?: utcDateTime; + + /** + * The value that indicates whether the policy is enabled or not. + */ + status?: PolicyStatus; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model EncryptionProperty { + /** + * Indicates whether or not the encryption is enabled for container registry. + */ + status?: EncryptionStatus; + + /** + * Key vault properties. + */ + keyVaultProperties?: KeyVaultProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model KeyVaultProperties { + /** + * Key vault uri to access the encryption key. + */ + keyIdentifier?: string; + + /** + * The fully qualified key identifier that includes the version of the key that is actually used for encryption. + */ + @visibility(Lifecycle.Read) + versionedKeyIdentifier?: string; + + /** + * The client id of the identity which will be used to access key vault. + */ + identity?: string; + + /** + * Auto key rotation status for a CMK enabled registry. + */ + @visibility(Lifecycle.Read) + keyRotationEnabled?: boolean; + + /** + * Timestamp of the last successful key rotation. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastKeyRotationTimestamp?: utcDateTime; +} + +/** + * An Azure resource. + */ +model Resource { + /** + * The resource ID. + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * The name of the resource. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The type of the resource. + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * The location of the resource. This cannot be changed after the resource is created. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + location: string; + + /** + * The tags of the resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + tags?: Record; + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + @visibility(Lifecycle.Read) + systemData?: SystemData; +} + +/** + * The parameters for updating a container registry. + */ +model RegistryUpdateParameters { + /** + * The identity of the container registry. + */ + identity?: IdentityProperties; + + /** + * The tags for the container registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + tags?: Record; + + /** + * The SKU of the container registry. + */ + sku?: Sku; + + /** + * The properties that the container registry will be updated with. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: RegistryPropertiesUpdateParameters; +} + +/** + * The parameters for updating the properties of a container registry. + */ +model RegistryPropertiesUpdateParameters { + /** + * The value that indicates whether the admin user is enabled. + */ + adminUserEnabled?: boolean; + + /** + * The network rule set for a container registry. + */ + networkRuleSet?: NetworkRuleSet; + + /** + * The policies for a container registry. + */ + policies?: Policies; + + /** + * The encryption settings of container registry. + */ + encryption?: EncryptionProperty; + + /** + * Enable a single data endpoint per region for serving data. + */ + dataEndpointEnabled?: boolean; + + /** + * Whether or not public network access is allowed for the container registry. + */ + publicNetworkAccess?: PublicNetworkAccess; + + /** + * Whether to allow trusted Azure services to access a network restricted registry. + */ + networkRuleBypassOptions?: NetworkRuleBypassOptions; + + /** + * Whether to allow ACR Tasks service to access a network restricted registry. + */ + networkRuleBypassAllowedForTasks?: boolean; + + /** + * Enables registry-wide pull from unauthenticated clients. + */ + anonymousPullEnabled?: boolean; + + /** + * Determines whether registry artifacts are indexed for metadata search. + */ + metadataSearch?: MetadataSearch; + + /** + * Determines registry role assignment mode. + */ + roleAssignmentMode?: RoleAssignmentMode; +} + +/** + * The result of a request to get container registry quota usages. + */ +model RegistryUsageListResult { + /** + * The list of container registry quota usages. + */ + @pageItems + @OpenAPI.extension("x-ms-identifiers", #["name"]) + value?: RegistryUsage[]; +} + +/** + * The quota usage for a container registry. + */ +model RegistryUsage { + /** + * The name of the usage. + */ + name?: string; + + /** + * The limit of the usage. + */ + limit?: int64; + + /** + * The current value of the usage. + */ + currentValue?: int64; + + /** + * The unit of measurement. + */ + unit?: RegistryUsageUnit; +} + +/** + * The properties of a private link resource. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" +model PrivateLinkResourceProperties { + /** + * The private link resource group id. + */ + groupId?: string; + + /** + * The private link resource required member names. + */ + requiredMembers?: string[]; + + /** + * The private link resource Private link DNS zone name. + */ + requiredZoneNames?: string[]; +} + +/** + * The response from the ListCredentials operation. + */ +model RegistryListCredentialsResult { + /** + * The username for a container registry. + */ + username?: string; + + /** + * The list of passwords for a container registry. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + passwords?: RegistryPassword[]; +} + +/** + * The login password for the container registry. + */ +model RegistryPassword { + /** + * The password name. + */ + name?: PasswordName; + + /** + * The password value. + */ + value?: string; +} + +/** + * The parameters used to regenerate the login credential. + */ +model RegenerateCredentialParameters { + /** + * Specifies name of the password which should be regenerated -- password or password2. + */ + name: PasswordName; +} + +/** + * The properties of a replication. + */ +model ReplicationProperties { + /** + * The provisioning state of the replication at the time the operation was called. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The status of the replication at the time the operation was called. + */ + @visibility(Lifecycle.Read) + status?: Status; + + /** + * Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. + */ + regionEndpointEnabled?: boolean = true; + + /** + * Whether or not zone redundancy is enabled for this container registry replication + */ + zoneRedundancy?: ZoneRedundancy; +} + +/** + * The parameters for updating a replication. + */ +model ReplicationUpdateParameters { + /** + * The tags for the replication. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + tags?: Record; + + /** + * The parameters for updating a replication's properties + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: ReplicationUpdateParametersProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model ReplicationUpdateParametersProperties { + /** + * Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. + */ + regionEndpointEnabled?: boolean; +} + +/** + * The properties of a scope map. + */ +model ScopeMapProperties { + /** + * The user friendly description of the scope map. + */ + description?: string; + + /** + * The type of the scope map. E.g. BuildIn scope map. + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * The creation date of scope map. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationDate?: utcDateTime; + + /** + * Provisioning state of the resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The list of scoped permissions for registry artifacts. + * E.g. repositories/repository-name/content/read, + * repositories/repository-name/metadata/write + */ + actions: string[]; +} + +/** + * The properties for updating the scope map. + */ +model ScopeMapUpdateParameters { + /** + * The update parameters for scope map properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: ScopeMapPropertiesUpdateParameters; +} + +/** + * The update parameters for scope map properties. + */ +model ScopeMapPropertiesUpdateParameters { + /** + * The user friendly description of the scope map. + */ + description?: string; + + /** + * The list of scope permissions for registry artifacts. + * E.g. repositories/repository-name/pull, + * repositories/repository-name/delete + */ + actions?: string[]; +} + +/** + * The properties of a token. + */ +model TokenProperties { + /** + * The creation date of scope map. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationDate?: utcDateTime; + + /** + * Provisioning state of the resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The resource ID of the scope map to which the token will be associated with. + */ + scopeMapId?: string; + + /** + * The credentials that can be used for authenticating the token. + */ + credentials?: TokenCredentialsProperties; + + /** + * The status of the token example enabled or disabled. + */ + status?: TokenStatus; +} + +/** + * The properties of the credentials that can be used for authenticating the token. + */ +model TokenCredentialsProperties { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + @OpenAPI.extension("x-ms-identifiers", #["thumbprint"]) + certificates?: TokenCertificate[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + @OpenAPI.extension("x-ms-identifiers", #[]) + passwords?: TokenPassword[]; +} + +/** + * The properties of a certificate used for authenticating a token. + */ +model TokenCertificate { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + name?: TokenCertificateName; + + /** + * The expiry datetime of the certificate. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expiry?: utcDateTime; + + /** + * The thumbprint of the certificate. + */ + thumbprint?: string; + + /** + * Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token. + */ + encodedPemCertificate?: string; +} + +/** + * The password that will be used for authenticating the token of a container registry. + */ +model TokenPassword { + /** + * The creation datetime of the password. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationTime?: utcDateTime; + + /** + * The expiry datetime of the password. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expiry?: utcDateTime; + + /** + * The password name "password1" or "password2" + */ + name?: TokenPasswordName; + + /** + * The password value. + */ + @visibility(Lifecycle.Read) + value?: string; +} + +/** + * The parameters for updating a token. + */ +model TokenUpdateParameters { + /** + * The properties of the token update parameters. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: TokenUpdateProperties; +} + +/** + * The parameters for updating token properties. + */ +model TokenUpdateProperties { + /** + * The resource ID of the scope map to which the token will be associated with. + */ + scopeMapId?: string; + + /** + * The status of the token example enabled or disabled. + */ + status?: TokenStatus; + + /** + * The credentials that can be used for authenticating the token. + */ + credentials?: TokenCredentialsProperties; +} + +/** + * The parameters used to generate credentials for a specified token or user of a container registry. + */ +model GenerateCredentialsParameters { + /** + * The resource ID of the token for which credentials have to be generated. + */ + tokenId?: string; + + /** + * The expiry date of the generated credentials after which the credentials become invalid. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expiry?: utcDateTime; + + /** + * Specifies name of the password which should be regenerated if any -- password1 or password2. + */ + name?: TokenPasswordName; +} + +/** + * The response from the GenerateCredentials operation. + */ +model GenerateCredentialsResult { + /** + * The username for a container registry. + */ + username?: string; + + /** + * The list of passwords for a container registry. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + passwords?: TokenPassword[]; +} + +/** + * The properties of a webhook. + */ +model WebhookProperties { + /** + * The status of the webhook at the time the operation was called. + */ + status?: WebhookStatus; + + /** + * The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events. + */ + scope?: string; + + /** + * The list of actions that trigger the webhook to post notifications. + */ + actions: WebhookAction[]; + + /** + * The provisioning state of the webhook at the time the operation was called. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * The parameters for creating a webhook. + */ +model WebhookCreateParameters { + /** + * The tags for the webhook. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + tags?: Record; + + /** + * The location of the webhook. This cannot be changed after the resource is created. + */ + location: string; + + /** + * The properties that the webhook will be created with. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: WebhookPropertiesCreateParameters; +} + +/** + * The parameters for creating the properties of a webhook. + */ +model WebhookPropertiesCreateParameters { + /** + * The service URI for the webhook to post notifications. + */ + serviceUri: string; + + /** + * Custom headers that will be added to the webhook notifications. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + customHeaders?: Record; + + /** + * The status of the webhook at the time the operation was called. + */ + status?: WebhookStatus; + + /** + * The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events. + */ + scope?: string; + + /** + * The list of actions that trigger the webhook to post notifications. + */ + actions: WebhookAction[]; +} + +/** + * The parameters for updating a webhook. + */ +model WebhookUpdateParameters { + /** + * The tags for the webhook. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + tags?: Record; + + /** + * The properties that the webhook will be updated with. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: WebhookPropertiesUpdateParameters; +} + +/** + * The parameters for updating the properties of a webhook. + */ +model WebhookPropertiesUpdateParameters { + /** + * The service URI for the webhook to post notifications. + */ + serviceUri?: string; + + /** + * Custom headers that will be added to the webhook notifications. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + customHeaders?: Record; + + /** + * The status of the webhook at the time the operation was called. + */ + status?: WebhookStatus; + + /** + * The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events. + */ + scope?: string; + + /** + * The list of actions that trigger the webhook to post notifications. + */ + actions?: WebhookAction[]; +} + +/** + * The basic information of an event. + */ +model EventInfo { + /** + * The event ID. + */ + id?: string; +} + +/** + * The result of a request to list events for a webhook. + */ +model EventListResult { + /** + * The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events. + */ + @pageItems + value?: Event[]; + + /** + * The URI that can be used to request the next list of events. + */ + @nextLink + nextLink?: string; +} + +/** + * The event for a webhook. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility" +model Event extends EventInfo { + /** + * The event request message sent to the service URI. + */ + eventRequestMessage?: EventRequestMessage; + + /** + * The event response message received from the service URI. + */ + eventResponseMessage?: EventResponseMessage; +} + +/** + * The event request message sent to the service URI. + */ +model EventRequestMessage { + /** + * The content of the event request message. + */ + content?: EventContent; + + /** + * The headers of the event request message. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + headers?: Record; + + /** + * The HTTP method used to send the event request message. + */ + method?: string; + + /** + * The URI used to send the event request message. + */ + requestUri?: string; + + /** + * The HTTP message version. + */ + version?: string; +} + +/** + * The content of the event request message. + */ +model EventContent { + /** + * The event ID. + */ + id?: string; + + /** + * The time at which the event occurred. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timestamp?: utcDateTime; + + /** + * The action that encompasses the provided event. + */ + action?: string; + + /** + * The target of the event. + */ + target?: Target; + + /** + * The request that generated the event. + */ + request?: Request; + + /** + * The agent that initiated the event. For most situations, this could be from the authorization context of the request. + */ + actor?: Actor; + + /** + * The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it. + */ + source?: Source; +} + +/** + * The target of the event. + */ +model Target { + /** + * The MIME type of the referenced object. + */ + mediaType?: string; + + /** + * The number of bytes of the content. Same as Length field. + */ + size?: int64; + + /** + * The digest of the content, as defined by the Registry V2 HTTP API Specification. + */ + digest?: string; + + /** + * The number of bytes of the content. Same as Size field. + */ + length?: int64; + + /** + * The repository name. + */ + repository?: string; + + /** + * The direct URL to the content. + */ + url?: string; + + /** + * The tag name. + */ + tag?: string; + + /** + * The name of the artifact. + */ + name?: string; + + /** + * The version of the artifact. + */ + version?: string; +} + +/** + * The request that generated the event. + */ +model Request { + /** + * The ID of the request that initiated the event. + */ + id?: string; + + /** + * The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request. + */ + addr?: string; + + /** + * The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests. + */ + host?: string; + + /** + * The request method that generated the event. + */ + method?: string; + + /** + * The user agent header of the request. + */ + useragent?: string; +} + +/** + * The agent that initiated the event. For most situations, this could be from the authorization context of the request. + */ +model Actor { + /** + * The subject or username associated with the request context that generated the event. + */ + name?: string; +} + +/** + * The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it. + */ +model Source { + /** + * The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port. + */ + addr?: string; + + /** + * The running instance of an application. Changes after each restart. + */ + instanceID?: string; +} + +/** + * The event response message received from the service URI. + */ +model EventResponseMessage { + /** + * The content of the event response message. + */ + content?: string; + + /** + * The headers of the event response message. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + headers?: Record; + + /** + * The reason phrase of the event response message. + */ + reasonPhrase?: string; + + /** + * The status code of the event response message. + */ + statusCode?: string; + + /** + * The HTTP message version. + */ + version?: string; +} + +/** + * The configuration of service URI and custom headers for the webhook. + */ +model CallbackConfig { + /** + * The service URI for the webhook to post notifications. + */ + serviceUri: string; + + /** + * Custom headers that will be added to the webhook notifications. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + customHeaders?: Record; +} + +/** + * The properties of the Debian package Archive. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility" +model DebianArchiveProperties extends ArchiveProperties { + /** + * Debian distribution Name. + */ + distributionName?: string; +} + +/** + * The properties of the archive package source. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility" +model DebianArchivePackageSourceProperties + extends ArchivePackageSourceProperties { + /** + * Upstream Debian distribution Name. + */ + distributionName?: string; +} + +/** + * The properties of a storage account for a container registry. Only applicable to Classic SKU. + */ +model StorageAccountProperties { + /** + * The resource ID of the storage account. + */ + id: string; +} + +/** + * The properties of a package type. + */ +model PackageType { + /** + * The name of the package type. + */ + name?: string; + + /** + * The endpoint of the package type. + */ + @visibility(Lifecycle.Read) + endpoint?: string; +} + +/** + * The Active Directory Object that will be used for authenticating the token of a container registry. + */ +model ActiveDirectoryObject { + /** + * The user/group/application object ID for Active Directory Object that will be used for authenticating the token of a container registry. + */ + objectId?: string; + + /** + * The tenant ID of user/group/application object Active Directory Object that will be used for authenticating the token of a container registry. + */ + tenantId?: string; +} + +/** + * The result of a request to list archive versions for a container registry. + */ +model ArchiveVersionListResult { + /** + * The list of archive versions. Since this list may be incomplete, the nextLink field should be used to request the next list of archive versions. + */ + @pageItems + value?: ArchiveVersion[]; + + /** + * The URI that can be used to request the next list of archive versions. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list connected registries for a container registry. + */ +model ConnectedRegistryListResult { + /** + * The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries. + */ + @pageItems + value?: ConnectedRegistry[]; + + /** + * The URI that can be used to request the next list of connected registries. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list credential sets for a container registry. + */ +model CredentialSetListResult { + /** + * The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets. + */ + @pageItems + value?: CredentialSet[]; + + /** + * The URI that can be used to request the next list of credential sets. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list export pipelines for a container registry. + */ +model ExportPipelineListResult { + /** + * The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines. + */ + @pageItems + value?: ExportPipeline[]; + + /** + * The URI that can be used to request the next list of export pipelines. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list import pipelines for a container registry. + */ +model ImportPipelineListResult { + /** + * The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines. + */ + @pageItems + value?: ImportPipeline[]; + + /** + * The URI that can be used to request the next list of import pipelines. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list pipeline runs for a container registry. + */ +model PipelineRunListResult { + /** + * The list of pipeline runs. Since this list may be incomplete, the nextLink field should be used to request the next list of pipeline runs. + */ + @pageItems + value?: PipelineRun[]; + + /** + * The URI that can be used to request the next list of pipeline runs. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list private endpoint connections for a container registry. + */ +model PrivateEndpointConnectionListResult { + /** + * The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections. + */ + @pageItems + value?: PrivateEndpointConnection[]; + + /** + * The URI that can be used to request the next list of private endpoint connections. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list private link resources for a container registry. + */ +model PrivateLinkResourceListResult { + /** + * The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources. + */ + @pageItems + value?: PrivateLinkResource[]; + + /** + * The URI that can be used to request the next list of private link resources. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list container registries. + */ +model RegistryListResult { + /** + * The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries. + */ + @pageItems + value?: Registry[]; + + /** + * The URI that can be used to request the next list of container registries. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list replications for a container registry. + */ +model ReplicationListResult { + /** + * The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications. + */ + @pageItems + value?: Replication[]; + + /** + * The URI that can be used to request the next list of replications. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list scope maps for a container registry. + */ +model ScopeMapListResult { + /** + * The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps. + */ + @pageItems + value?: ScopeMap[]; + + /** + * The URI that can be used to request the next list of scope maps. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list tokens for a container registry. + */ +model TokenListResult { + /** + * The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens. + */ + @pageItems + value?: Token[]; + + /** + * The URI that can be used to request the next list of tokens. + */ + @nextLink + nextLink?: string; +} + +/** + * The result of a request to list webhooks for a container registry. + */ +model WebhookListResult { + /** + * The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks. + */ + @pageItems + value?: Webhook[]; + + /** + * The URI that can be used to request the next list of webhooks. + */ + @nextLink + nextLink?: string; +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/oldswagger/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/oldswagger/containerregistry.json new file mode 100644 index 000000000000..3424ea83aafd --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/oldswagger/containerregistry.json @@ -0,0 +1,8096 @@ +{ + "swagger": "2.0", + "info": { + "version": "2025-05-01-preview", + "title": "ContainerRegistryManagementClient" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { + "get": { + "tags": [ + "Archives" + ], + "description": "Lists all archives for the specified container registry and package type.", + "operationId": "Archives_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ArchiveListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveList": { + "$ref": "./examples/ArchiveList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { + "get": { + "tags": [ + "Archives" + ], + "description": "Gets the properties of the archive.", + "operationId": "Archives_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveGet": { + "$ref": "./examples/ArchiveGet.json" + } + } + }, + "put": { + "tags": [ + "Archives" + ], + "description": "Creates a archive for a container registry with the specified parameters.", + "operationId": "Archives_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + }, + { + "name": "archiveCreateParameters", + "in": "body", + "description": "The parameters for creating a archive.", + "required": true, + "schema": { + "$ref": "#/definitions/Archive" + } + } + ], + "responses": { + "200": { + "description": "ARM update operation completed successfully.", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Archive" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveCreate": { + "$ref": "./examples/ArchiveCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Archives" + ], + "description": "Deletes a archive from a container registry.", + "operationId": "Archives_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + } + ], + "responses": { + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The archive does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveDelete": { + "$ref": "./examples/ArchiveDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "Archives" + ], + "description": "Updates a archive for a container registry with the specified parameters.", + "operationId": "Archives_Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + }, + { + "name": "archiveUpdateParameters", + "in": "body", + "description": "The parameters for updating a archive.", + "required": true, + "schema": { + "$ref": "#/definitions/ArchiveUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the operation has completed successfully.", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveUpdate": { + "$ref": "./examples/ArchiveUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { + "get": { + "tags": [ + "ArchiveVersions" + ], + "description": "Lists all archive versions for the specified container registry, repository type and archive name.", + "operationId": "ArchiveVersions_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ArchiveVersionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionList": { + "$ref": "./examples/ArchiveVersionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { + "get": { + "tags": [ + "ArchiveVersions" + ], + "description": "Gets the properties of the archive version.", + "operationId": "ArchiveVersions_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + }, + { + "$ref": "#/parameters/ArchiveVersionNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionGet": { + "$ref": "./examples/ArchiveVersionGet.json" + } + } + }, + "put": { + "tags": [ + "ArchiveVersions" + ], + "description": "Creates a archive for a container registry with the specified parameters.", + "operationId": "ArchiveVersions_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + }, + { + "$ref": "#/parameters/ArchiveVersionNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM update operation completed successfully.", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionCreate": { + "$ref": "./examples/ArchiveVersionCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "ArchiveVersions" + ], + "description": "Deletes a archive version from a container registry.", + "operationId": "ArchiveVersions_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + }, + { + "$ref": "#/parameters/ArchiveVersionNameParameter" + } + ], + "responses": { + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The archive does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionDelete": { + "$ref": "./examples/ArchiveVersionDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { + "get": { + "tags": [ + "CacheRules" + ], + "description": "Lists all cache rule resources for the specified container registry.", + "operationId": "CacheRules_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CacheRulesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleList": { + "$ref": "./examples/CacheRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { + "get": { + "tags": [ + "CacheRules" + ], + "description": "Gets the properties of the specified cache rule resource.", + "operationId": "CacheRules_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/CacheRuleNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleGet": { + "$ref": "./examples/CacheRuleGet.json" + } + } + }, + "put": { + "tags": [ + "CacheRules" + ], + "description": "Creates a cache rule for a container registry with the specified parameters.", + "operationId": "CacheRules_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/CacheRuleNameParameter" + }, + { + "name": "cacheRuleCreateParameters", + "in": "body", + "description": "The parameters for creating a cache rule.", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRule" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleCreate": { + "$ref": "./examples/CacheRuleCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "CacheRules" + ], + "description": "Deletes a cache rule resource from a container registry.", + "operationId": "CacheRules_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/CacheRuleNameParameter" + } + ], + "responses": { + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The cache rule does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleDelete": { + "$ref": "./examples/CacheRuleDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "CacheRules" + ], + "description": "Updates a cache rule for a container registry with the specified parameters.", + "operationId": "CacheRules_Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/CacheRuleNameParameter" + }, + { + "name": "cacheRuleUpdateParameters", + "in": "body", + "description": "The parameters for updating a cache rule.", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRuleUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleUpdate": { + "$ref": "./examples/CacheRuleUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { + "get": { + "tags": [ + "ConnectedRegistries" + ], + "description": "Gets the properties of the connected registry.", + "operationId": "ConnectedRegistries_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ConnectedRegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryGet": { + "$ref": "./examples/ConnectedRegistryGet.json" + } + } + }, + "put": { + "tags": [ + "ConnectedRegistries" + ], + "description": "Creates a connected registry for a container registry with the specified parameters.", + "operationId": "ConnectedRegistries_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ConnectedRegistryNameParameter" + }, + { + "in": "body", + "name": "connectedRegistryCreateParameters", + "description": "The parameters for creating a connectedRegistry.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "ConnectedRegistryCreate": { + "$ref": "./examples/ConnectedRegistryCreate.json" + } + } + }, + "patch": { + "tags": [ + "ConnectedRegistries" + ], + "description": "Updates a connected registry with the specified parameters.", + "operationId": "ConnectedRegistries_Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ConnectedRegistryNameParameter" + }, + { + "in": "body", + "name": "connectedRegistryUpdateParameters", + "description": "The parameters for updating a connectedRegistry.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectedRegistryUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "ConnectedRegistryUpdate": { + "$ref": "./examples/ConnectedRegistryUpdate.json" + } + } + }, + "delete": { + "tags": [ + "ConnectedRegistries" + ], + "description": "Deletes a connected registry from a container registry.", + "operationId": "ConnectedRegistries_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ConnectedRegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The webhook does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ConnectedRegistryDelete": { + "$ref": "./examples/ConnectedRegistryDelete.json" + } + }, + "produces": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { + "get": { + "tags": [ + "ConnectedRegistries" + ], + "description": "Lists all connected registries for the specified container registry.", + "operationId": "ConnectedRegistries_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ConnectedRegistryFilterParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ConnectedRegistryListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ConnectedRegistryList": { + "$ref": "./examples/ConnectedRegistryList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { + "post": { + "tags": [ + "ConnectedRegistries" + ], + "description": "Deactivates the connected registry instance.", + "operationId": "ConnectedRegistries_Deactivate", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ConnectedRegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ConnectedRegistryDeactivate": { + "$ref": "./examples/ConnectedRegistryDeactivate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { + "get": { + "tags": [ + "CredentialSets" + ], + "description": "Lists all credential set resources for the specified container registry.", + "operationId": "CredentialSets_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CredentialSetListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetList": { + "$ref": "./examples/CredentialSetList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { + "get": { + "tags": [ + "CredentialSets" + ], + "description": "Gets the properties of the specified credential set resource.", + "operationId": "CredentialSets_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/CredentialSetNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetGet": { + "$ref": "./examples/CredentialSetGet.json" + } + } + }, + "put": { + "tags": [ + "CredentialSets" + ], + "description": "Creates a credential set for a container registry with the specified parameters.", + "operationId": "CredentialSets_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/CredentialSetNameParameter" + }, + { + "name": "credentialSetCreateParameters", + "in": "body", + "description": "The parameters for creating a credential set.", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSet" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetCreate": { + "$ref": "./examples/CredentialSetCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "CredentialSets" + ], + "description": "Deletes a credential set from a container registry.", + "operationId": "CredentialSets_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/CredentialSetNameParameter" + } + ], + "responses": { + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The credential store resource does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetDelete": { + "$ref": "./examples/CredentialSetDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "CredentialSets" + ], + "description": "Updates a credential set for a container registry with the specified parameters.", + "operationId": "CredentialSets_Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/CredentialSetNameParameter" + }, + { + "name": "credentialSetUpdateParameters", + "in": "body", + "description": "The parameters for updating a credential set.", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSetUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetUpdate": { + "$ref": "./examples/CredentialSetUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines": { + "get": { + "tags": [ + "ExportPipelines" + ], + "description": "Lists all export pipelines for the specified container registry.", + "operationId": "ExportPipelines_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ExportPipelineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineList": { + "$ref": "./examples/ExportPipelineList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { + "get": { + "tags": [ + "ExportPipelines" + ], + "description": "Gets the properties of the export pipeline.", + "operationId": "ExportPipelines_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ExportPipelineNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineGet": { + "$ref": "./examples/ExportPipelineGet.json" + } + } + }, + "put": { + "tags": [ + "ExportPipelines" + ], + "description": "Creates an export pipeline for a container registry with the specified parameters.", + "operationId": "ExportPipelines_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ExportPipelineNameParameter" + }, + { + "name": "exportPipelineCreateParameters", + "in": "body", + "description": "The parameters for creating an export pipeline.", + "required": true, + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the operation has completed successfully.", + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ExportPipeline" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineCreate": { + "$ref": "./examples/ExportPipelineCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "ExportPipelines" + ], + "description": "Deletes an export pipeline from a container registry.", + "operationId": "ExportPipelines_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ExportPipelineNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The export pipeline does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineDelete": { + "$ref": "./examples/ExportPipelineDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { + "post": { + "tags": [ + "Registries" + ], + "description": "Copies an image to this container registry from the specified container registry.", + "operationId": "Registries_ImportImage", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters specifying the image to copy and the source container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/ImportImageParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the operation has completed successfully." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "ImportImageByTag": { + "$ref": "./examples/ImportImageByTag.json" + }, + "ImportImageByManifestDigest": { + "$ref": "./examples/ImportImageByManifestDigest.json" + }, + "ImportImageFromPublicRegistry": { + "$ref": "./examples/ImportImageFromPublicRegistry.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { + "get": { + "tags": [ + "ImportPipelines" + ], + "description": "Lists all import pipelines for the specified container registry.", + "operationId": "ImportPipelines_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ImportPipelineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineList": { + "$ref": "./examples/ImportPipelineList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { + "get": { + "tags": [ + "ImportPipelines" + ], + "description": "Gets the properties of the import pipeline.", + "operationId": "ImportPipelines_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ImportPipelineNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineGet": { + "$ref": "./examples/ImportPipelineGet.json" + } + } + }, + "put": { + "tags": [ + "ImportPipelines" + ], + "description": "Creates an import pipeline for a container registry with the specified parameters.", + "operationId": "ImportPipelines_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ImportPipelineNameParameter" + }, + { + "name": "importPipelineCreateParameters", + "in": "body", + "description": "The parameters for creating an import pipeline.", + "required": true, + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the operation has completed successfully.", + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ImportPipeline" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineCreate": { + "$ref": "./examples/ImportPipelineCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "ImportPipelines" + ], + "description": "Deletes an import pipeline from a container registry.", + "operationId": "ImportPipelines_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ImportPipelineNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The import pipeline does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineDelete": { + "$ref": "./examples/ImportPipelineDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/providers/Microsoft.ContainerRegistry/operations": { + "get": { + "tags": [ + "Operation" + ], + "description": "Lists all of the available Azure Container Registry REST API operations.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + } + }, + "x-ms-examples": { + "OperationList": { + "$ref": "./examples/OperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { + "post": { + "tags": [ + "Operation" + ], + "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", + "operationId": "Registries_CheckNameAvailability", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "registryNameCheckRequest", + "in": "body", + "description": "The object containing information for the availability request.", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryNameCheckRequest" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/RegistryNameStatus" + } + } + }, + "x-ms-examples": { + "RegistryCheckNameAvailable": { + "$ref": "./examples/RegistryCheckNameAvailable.json" + }, + "RegistryCheckNameNotAvailable": { + "$ref": "./examples/RegistryCheckNameNotAvailable.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { + "get": { + "tags": [ + "PipelineRuns" + ], + "description": "Lists all the pipeline runs for the specified container registry.", + "operationId": "PipelineRuns_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well - formed and received properly.", + "schema": { + "$ref": "#/definitions/PipelineRunListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunList": { + "$ref": "./examples/PipelineRunList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { + "get": { + "tags": [ + "PipelineRuns" + ], + "description": "Gets the detailed information for a given pipeline run.", + "operationId": "PipelineRuns_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PipelineRunNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well - formed and received properly.", + "schema": { + "$ref": "#/definitions/PipelineRun" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunGet": { + "$ref": "./examples/PipelineRunGet.json" + } + } + }, + "put": { + "tags": [ + "PipelineRuns" + ], + "description": "Creates a pipeline run for a container registry with the specified parameters", + "operationId": "PipelineRuns_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PipelineRunNameParameter" + }, + { + "name": "pipelineRunCreateParameters", + "in": "body", + "description": "The parameters for creating a pipeline run.", + "required": true, + "schema": { + "$ref": "#/definitions/PipelineRun" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well - formed and received properly.", + "schema": { + "$ref": "#/definitions/PipelineRun" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/PipelineRun" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunCreate_Export": { + "$ref": "./examples/PipelineRunCreate_Export.json" + }, + "PipelineRunCreate_Import": { + "$ref": "./examples/PipelineRunCreate_Import.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "PipelineRuns" + ], + "description": "Deletes a pipeline run from a container registry.", + "operationId": "PipelineRuns_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PipelineRunNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The pipeline run does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunDelete": { + "$ref": "./examples/PipelineRunDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "List all private endpoint connections in a container registry.", + "operationId": "PrivateEndpointConnections_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionList": { + "$ref": "./examples/PrivateEndpointConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Get the specified private endpoint connection associated with the container registry.", + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionGet": { + "$ref": "./examples/PrivateEndpointConnectionGet.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Update the state of specified private endpoint connection associated with the container registry.", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "name": "privateEndpointConnection", + "in": "body", + "description": "The parameters for creating a private endpoint connection.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionCreateOrUpdate": { + "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes the specified private endpoint connection associated with the container registry.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The private endpoint connection does not exist in the subscription." + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionDelete": { + "$ref": "./examples/PrivateEndpointConnectionDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { + "get": { + "tags": [ + "Registries" + ], + "description": "Lists all the container registries under the specified subscription.", + "operationId": "Registries_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/RegistryListResult" + } + } + }, + "x-ms-examples": { + "RegistryList": { + "$ref": "./examples/RegistryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { + "get": { + "tags": [ + "Registries" + ], + "description": "Lists all the container registries under the specified resource group.", + "operationId": "Registries_ListByResourceGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/RegistryListResult" + } + } + }, + "x-ms-examples": { + "RegistryListByResourceGroup": { + "$ref": "./examples/RegistryListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { + "get": { + "tags": [ + "Registries" + ], + "description": "Gets the properties of the specified container registry.", + "operationId": "Registries_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Registry" + } + } + }, + "x-ms-examples": { + "RegistryGet": { + "$ref": "./examples/RegistryGet.json" + } + } + }, + "put": { + "tags": [ + "Registries" + ], + "description": "Creates a container registry with the specified parameters.", + "operationId": "Registries_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "name": "registry", + "in": "body", + "description": "The parameters for creating a container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/Registry" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "RegistryCreate": { + "$ref": "./examples/RegistryCreate.json" + }, + "RegistryCreateZoneRedundant": { + "$ref": "./examples/RegistryCreateZoneRedundant.json" + }, + "RegistryCreateDomainNameLabelScope": { + "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" + }, + "RegistryCreateAbac": { + "$ref": "./examples/RegistryCreateAbac.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Registries" + ], + "description": "Deletes a container registry.", + "operationId": "Registries_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The container registry does not exist in the subscription." + } + }, + "x-ms-examples": { + "RegistryDelete": { + "$ref": "./examples/RegistryDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "Registries" + ], + "description": "Updates a container registry with the specified parameters.", + "operationId": "Registries_Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "name": "registryUpdateParameters", + "in": "body", + "description": "The parameters for updating a container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "RegistryUpdate": { + "$ref": "./examples/RegistryUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { + "get": { + "tags": [ + "Registries" + ], + "description": "Gets the quota usages for the specified container registry.", + "operationId": "Registries_ListUsages", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the registry usages retrieved and returned successfully.", + "schema": { + "$ref": "#/definitions/RegistryUsageListResult" + } + } + }, + "x-ms-examples": { + "RegistryListUsages": { + "$ref": "./examples/RegistryListUsages.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { + "get": { + "tags": [ + "Registries" + ], + "description": "Lists the private link resources for a container registry.", + "operationId": "Registries_ListPrivateLinkResources", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the private link resources were retrieved and returned successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + } + }, + "x-ms-examples": { + "RegistryListPrivateLinkResources": { + "$ref": "./examples/RegistryListPrivateLinkResources.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "Registries" + ], + "description": "Gets a private link resource by a specified group name for a container registry.", + "operationId": "Registries_GetPrivateLinkResource", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/GroupNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the private link resource was retrieved and returned successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGetPrivateLinkResource": { + "$ref": "./examples/RegistryGetPrivateLinkResource.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { + "post": { + "tags": [ + "Registries" + ], + "description": "Lists the login credentials for the specified container registry.", + "operationId": "Registries_ListCredentials", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the list of credentials retrieved and returned successfully.", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" + } + } + }, + "x-ms-examples": { + "RegistryListCredentials": { + "$ref": "./examples/RegistryListCredentials.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { + "post": { + "tags": [ + "Registries" + ], + "description": "Regenerates one of the login credentials for the specified container registry.", + "operationId": "Registries_RegenerateCredential", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "name": "regenerateCredentialParameters", + "in": "body", + "description": "Specifies name of the password which should be regenerated -- password or password2.", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateCredentialParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the specified credential regenerated successfully.", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" + } + } + }, + "x-ms-examples": { + "RegistryRegenerateCredential": { + "$ref": "./examples/RegistryRegenerateCredential.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications": { + "get": { + "tags": [ + "Replications" + ], + "description": "Lists all the replications for the specified container registry.", + "operationId": "Replications_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ReplicationListResult" + } + } + }, + "x-ms-examples": { + "ReplicationList": { + "$ref": "./examples/ReplicationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { + "get": { + "tags": [ + "Replications" + ], + "description": "Gets the properties of the specified replication.", + "operationId": "Replications_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ReplicationNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Replication" + } + } + }, + "x-ms-examples": { + "ReplicationGet": { + "$ref": "./examples/ReplicationGet.json" + } + } + }, + "put": { + "tags": [ + "Replications" + ], + "description": "Creates a replication for a container registry with the specified parameters.", + "operationId": "Replications_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ReplicationNameParameter" + }, + { + "name": "replication", + "in": "body", + "description": "The parameters for creating a replication.", + "required": true, + "schema": { + "$ref": "#/definitions/Replication" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Replication" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "ReplicationCreate": { + "$ref": "./examples/ReplicationCreate.json" + }, + "ReplicationCreateZoneRedundant": { + "$ref": "./examples/ReplicationCreateZoneRedundant.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Replications" + ], + "description": "Deletes a replication from a container registry.", + "operationId": "Replications_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ReplicationNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The replication does not exist in the subscription." + } + }, + "x-ms-examples": { + "ReplicationDelete": { + "$ref": "./examples/ReplicationDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "Replications" + ], + "description": "Updates a replication for a container registry with the specified parameters.", + "operationId": "Replications_Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ReplicationNameParameter" + }, + { + "name": "replicationUpdateParameters", + "in": "body", + "description": "The parameters for updating a replication.", + "required": true, + "schema": { + "$ref": "#/definitions/ReplicationUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Replication" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "ReplicationUpdate": { + "$ref": "./examples/ReplicationUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { + "get": { + "tags": [ + "ScopeMaps" + ], + "description": "Lists all the scope maps for the specified container registry.", + "operationId": "ScopeMaps_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ScopeMapListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapList": { + "$ref": "./examples/ScopeMapList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { + "get": { + "tags": [ + "ScopeMaps" + ], + "description": "Gets the properties of the specified scope map.", + "operationId": "ScopeMaps_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ScopeMapNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapGet": { + "$ref": "./examples/ScopeMapGet.json" + } + } + }, + "put": { + "tags": [ + "ScopeMaps" + ], + "description": "Creates a scope map for a container registry with the specified parameters.", + "operationId": "ScopeMaps_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ScopeMapNameParameter" + }, + { + "name": "scopeMapCreateParameters", + "in": "body", + "description": "The parameters for creating a scope map.", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMap" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapCreate": { + "$ref": "./examples/ScopeMapCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "ScopeMaps" + ], + "description": "Deletes a scope map from a container registry.", + "operationId": "ScopeMaps_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ScopeMapNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The scopemap does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapDelete": { + "$ref": "./examples/ScopeMapDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "ScopeMaps" + ], + "description": "Updates a scope map with the specified parameters.", + "operationId": "ScopeMaps_Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ScopeMapNameParameter" + }, + { + "name": "scopeMapUpdateParameters", + "in": "body", + "description": "The parameters for updating a scope map.", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMapUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapUpdate": { + "$ref": "./examples/ScopeMapUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens": { + "get": { + "tags": [ + "Tokens" + ], + "description": "Lists all the tokens for the specified container registry.", + "operationId": "Tokens_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/TokenListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenList": { + "$ref": "./examples/TokenList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { + "get": { + "tags": [ + "Tokens" + ], + "description": "Gets the properties of the specified token.", + "operationId": "Tokens_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/TokenNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenGet": { + "$ref": "./examples/TokenGet.json" + } + } + }, + "put": { + "tags": [ + "Tokens" + ], + "description": "Creates a token for a container registry with the specified parameters.", + "operationId": "Tokens_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/TokenNameParameter" + }, + { + "name": "tokenCreateParameters", + "in": "body", + "description": "The parameters for creating a token.", + "required": true, + "schema": { + "$ref": "#/definitions/Token" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Token" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenCreate": { + "$ref": "./examples/TokenCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Tokens" + ], + "description": "Deletes a token from a container registry.", + "operationId": "Tokens_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/TokenNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The token does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenDelete": { + "$ref": "./examples/TokenDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "Tokens" + ], + "description": "Updates a token with the specified parameters.", + "operationId": "Tokens_Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/TokenNameParameter" + }, + { + "name": "tokenUpdateParameters", + "in": "body", + "description": "The parameters for updating a token.", + "required": true, + "schema": { + "$ref": "#/definitions/TokenUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Token" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenUpdate": { + "$ref": "./examples/TokenUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { + "post": { + "tags": [ + "Registries" + ], + "description": "Generate keys for a token of a specified container registry.", + "operationId": "Registries_GenerateCredentials", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "name": "generateCredentialsParameters", + "in": "body", + "description": "The parameters for generating credentials.", + "required": true, + "schema": { + "$ref": "#/definitions/GenerateCredentialsParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/GenerateCredentialsResult" + } + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGenerateCredentials": { + "$ref": "./examples/RegistryGenerateCredentials.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks": { + "get": { + "tags": [ + "Webhooks" + ], + "description": "Lists all the webhooks for the specified container registry.", + "operationId": "Webhooks_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/WebhookListResult" + } + } + }, + "x-ms-examples": { + "WebhookList": { + "$ref": "./examples/WebhookList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { + "get": { + "tags": [ + "Webhooks" + ], + "description": "Gets the properties of the specified webhook.", + "operationId": "Webhooks_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/WebhookNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Webhook" + } + } + }, + "x-ms-examples": { + "WebhookGet": { + "$ref": "./examples/WebhookGet.json" + } + } + }, + "put": { + "tags": [ + "Webhooks" + ], + "description": "Creates a webhook for a container registry with the specified parameters.", + "operationId": "Webhooks_Create", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/WebhookNameParameter" + }, + { + "name": "webhookCreateParameters", + "in": "body", + "description": "The parameters for creating a webhook.", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookCreateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Webhook" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "WebhookCreate": { + "$ref": "./examples/WebhookCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Webhooks" + ], + "description": "Deletes a webhook from a container registry.", + "operationId": "Webhooks_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/WebhookNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The webhook does not exist in the subscription." + } + }, + "x-ms-examples": { + "WebhookDelete": { + "$ref": "./examples/WebhookDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "patch": { + "tags": [ + "Webhooks" + ], + "description": "Updates a webhook with the specified parameters.", + "operationId": "Webhooks_Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/WebhookNameParameter" + }, + { + "name": "webhookUpdateParameters", + "in": "body", + "description": "The parameters for updating a webhook.", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Webhook" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "WebhookUpdate": { + "$ref": "./examples/WebhookUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { + "post": { + "tags": [ + "Webhooks" + ], + "description": "Triggers a ping event to be sent to the webhook.", + "operationId": "Webhooks_Ping", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/WebhookNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/EventInfo" + } + } + }, + "x-ms-examples": { + "WebhookPing": { + "$ref": "./examples/WebhookPing.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { + "post": { + "tags": [ + "Webhooks" + ], + "description": "Lists recent events for the specified webhook.", + "operationId": "Webhooks_ListEvents", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/WebhookNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/EventListResult" + } + } + }, + "x-ms-examples": { + "WebhookListEvents": { + "$ref": "./examples/WebhookListEvents.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { + "post": { + "tags": [ + "Webhooks" + ], + "description": "Gets the configuration of service URI and custom headers for the webhook.", + "operationId": "Webhooks_GetCallbackConfig", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/WebhookNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CallbackConfig" + } + } + }, + "x-ms-examples": { + "WebhookGetCallbackConfig": { + "$ref": "./examples/WebhookGetCallbackConfig.json" + } + } + } + } + }, + "definitions": { + "ActivationProperties": { + "description": "The activation properties of the connected registry.", + "type": "object", + "properties": { + "status": { + "description": "The activation status of the connected registry.", + "enum": [ + "Active", + "Inactive" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ActivationStatus", + "modelAsString": true + } + } + } + }, + "AzureADAuthenticationAsArmPolicy": { + "description": "The policy for using Azure Resource Manager audience token for a container registry.", + "type": "object", + "properties": { + "status": { + "description": "The value that indicates whether the policy is enabled or not.", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "AzureADAuthenticationAsArmPolicyStatus", + "modelAsString": true + } + } + } + }, + "ArchiveListResult": { + "description": "The result of a request to list archives for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of archives. Since this list may be incomplete, the nextLink field should be used to request the next list of distributions.", + "type": "array", + "items": { + "$ref": "#/definitions/Archive" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of archives.", + "type": "string" + } + } + }, + "Archive": { + "description": "An object that represents a archive for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveProperties", + "description": "The properties of the archive.", + "x-ms-client-flatten": true + } + } + }, + "ArchiveProperties": { + "description": "The properties of a archive.", + "type": "object", + "properties": { + "packageSource": { + "$ref": "#/definitions/ArchivePackageSourceProperties", + "description": "The package source of the archive." + }, + "publishedVersion": { + "description": "The published version of the archive.", + "type": "string" + }, + "repositoryEndpointPrefix": { + "type": "string" + }, + "repositoryEndpoint": { + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state of the archive at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + } + } + }, + "ArchivePackageSourceProperties": { + "description": "The properties of the archive package source.", + "type": "object", + "properties": { + "type": { + "description": "The type of package source for a archive.", + "enum": [ + "remote" + ], + "type": "string", + "x-ms-enum": { + "name": "PackageSourceType", + "modelAsString": true + } + }, + "url": { + "description": "The external repository url.", + "type": "string" + } + } + }, + "ArchiveUpdateParameters": { + "description": "The parameters for updating a archive.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveUpdateProperties", + "description": "The properties of the connected registry update parameters.", + "x-ms-client-flatten": true + } + } + }, + "ArchiveUpdateProperties": { + "description": "The properties of a archive.", + "type": "object", + "properties": { + "publishedVersion": { + "description": "The published version of the archive.", + "type": "string" + } + } + }, + "ArchiveVersionListResult": { + "description": "The result of a request to list export pipelines for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", + "type": "array", + "items": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of pipeline runs.", + "type": "string" + } + } + }, + "ArchiveVersion": { + "description": "An object that represents an export pipeline for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveVersionProperties", + "description": "The properties of the archive.", + "x-ms-client-flatten": true + } + } + }, + "ArchiveVersionProperties": { + "description": "The properties of an export pipeline.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state of the archive at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "archiveVersionErrorMessage": { + "description": "The detailed error message for the archive version in the case of failure.", + "type": "string" + } + } + }, + "CacheRulesListResult": { + "description": "The result of a request to list cache rules for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of cache rules.", + "type": "array", + "items": { + "$ref": "#/definitions/CacheRule" + } + }, + "nextLink": { + "description": "If provided, client must use NextLink URI to request next list of cache rules.", + "type": "string" + } + } + }, + "CacheRule": { + "description": "An object that represents a cache rule for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/CacheRuleProperties", + "description": "The properties of the cache rule.", + "x-ms-client-flatten": true + } + } + }, + "CacheRuleProperties": { + "description": "The properties of a cache rule.", + "type": "object", + "properties": { + "credentialSetResourceId": { + "description": "The ARM resource ID of the credential store which is associated with the cache rule.", + "type": "string" + }, + "sourceRepository": { + "description": "Source repository pulled from upstream.", + "type": "string" + }, + "targetRepository": { + "description": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}", + "type": "string" + }, + "creationDate": { + "format": "date-time", + "description": "The creation date of the cache rule.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state of the resource.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + } + } + }, + "CacheRuleUpdateParameters": { + "description": "The parameters for updating a cache rule.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CacheRuleUpdateProperties", + "description": "The properties of the cache rule update parameters.", + "x-ms-client-flatten": true + } + } + }, + "CacheRuleUpdateProperties": { + "description": "The parameters for updating cache rule properties.", + "type": "object", + "properties": { + "credentialSetResourceId": { + "description": "The ARM resource ID of the credential store which is associated with the Cache rule.", + "type": "string" + } + } + }, + "ConnectedRegistry": { + "description": "An object that represents a connected registry for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ConnectedRegistryProperties", + "description": "The properties of the connected registry.", + "x-ms-client-flatten": true + } + } + }, + "ConnectedRegistryListResult": { + "description": "The result of a request to list connected registries for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries.", + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of connected registries.", + "type": "string" + } + } + }, + "ConnectedRegistryProperties": { + "description": "The properties of a connected registry.", + "required": [ + "mode", + "parent" + ], + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning state of the resource.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "mode": { + "description": "The mode of the connected registry resource that indicates the permissions of the registry.", + "enum": [ + "ReadWrite", + "ReadOnly", + "Registry", + "Mirror" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectedRegistryMode", + "modelAsString": true + } + }, + "version": { + "description": "The current version of ACR runtime on the connected registry.", + "type": "string", + "readOnly": true + }, + "connectionState": { + "description": "The current connection state of the connected registry.", + "enum": [ + "Online", + "Offline", + "Syncing", + "Unhealthy" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ConnectionState", + "modelAsString": true + } + }, + "lastActivityTime": { + "format": "date-time", + "description": "The last activity time of the connected registry.", + "type": "string", + "readOnly": true + }, + "activation": { + "$ref": "#/definitions/ActivationProperties", + "description": "The activation properties of the connected registry.", + "readOnly": true + }, + "parent": { + "$ref": "#/definitions/ParentProperties", + "description": "The parent of the connected registry." + }, + "clientTokenIds": { + "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", + "type": "array", + "items": { + "type": "string" + } + }, + "loginServer": { + "$ref": "#/definitions/LoginServerProperties", + "description": "The login server properties of the connected registry." + }, + "logging": { + "$ref": "#/definitions/LoggingProperties", + "description": "The logging properties of the connected registry." + }, + "statusDetails": { + "description": "The list of current statuses of the connected registry.", + "type": "array", + "items": { + "$ref": "#/definitions/StatusDetailProperties" + }, + "readOnly": true, + "x-ms-identifiers": [ + "correlationId" + ] + }, + "notificationsList": { + "description": "The list of notifications subscription information for the connected registry.", + "type": "array", + "items": { + "type": "string" + } + }, + "garbageCollection": { + "$ref": "#/definitions/GarbageCollectionProperties" + } + } + }, + "ConnectedRegistryUpdateParameters": { + "description": "The parameters for updating a connected registry.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectedRegistryUpdateProperties", + "description": "The properties of the connected registry update parameters.", + "x-ms-client-flatten": true + } + } + }, + "ConnectedRegistryUpdateProperties": { + "description": "The parameters for updating token properties.", + "type": "object", + "properties": { + "syncProperties": { + "$ref": "#/definitions/SyncUpdateProperties", + "description": "The sync properties of the connected registry with its parent." + }, + "logging": { + "$ref": "#/definitions/LoggingProperties", + "description": "The logging properties of the connected registry." + }, + "clientTokenIds": { + "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", + "type": "array", + "items": { + "type": "string" + } + }, + "notificationsList": { + "description": "The list of notifications subscription information for the connected registry.", + "type": "array", + "items": { + "type": "string" + } + }, + "garbageCollection": { + "$ref": "#/definitions/GarbageCollectionProperties" + } + } + }, + "GarbageCollectionProperties": { + "description": "The garbage collection properties of the connected registry.", + "type": "object", + "properties": { + "enabled": { + "description": "Indicates whether garbage collection is enabled for the connected registry.", + "type": "boolean" + }, + "schedule": { + "description": "The cron expression indicating the schedule that the connected registry will run garbage collection.", + "type": "string" + } + } + }, + "LoggingProperties": { + "description": "The logging properties of the connected registry.", + "type": "object", + "properties": { + "logLevel": { + "description": "The verbosity of logs persisted on the connected registry.", + "default": "Information", + "enum": [ + "Debug", + "Information", + "Warning", + "Error", + "None" + ], + "type": "string", + "x-ms-enum": { + "name": "LogLevel", + "modelAsString": true + } + }, + "auditLogStatus": { + "description": "Indicates whether audit logs are enabled on the connected registry.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "AuditLogStatus", + "modelAsString": true + } + } + } + }, + "LoginServerProperties": { + "description": "The login server properties of the connected registry.", + "type": "object", + "properties": { + "host": { + "description": "The host of the connected registry. Can be FQDN or IP.", + "type": "string", + "readOnly": true + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "description": "The TLS properties of the connected registry login server.", + "readOnly": true + } + } + }, + "ParentProperties": { + "description": "The properties of the connected registry parent.", + "required": [ + "syncProperties" + ], + "type": "object", + "properties": { + "id": { + "description": "The resource ID of the parent to which the connected registry will be associated.", + "type": "string", + "format": "arm-id" + }, + "syncProperties": { + "$ref": "#/definitions/SyncProperties", + "description": "The sync properties of the connected registry with its parent." + } + } + }, + "CredentialSetListResult": { + "description": "The result of a request to list credential sets for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets.", + "type": "array", + "items": { + "$ref": "#/definitions/CredentialSet" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of credential sets.", + "type": "string" + } + } + }, + "CredentialSet": { + "description": "An object that represents a credential set resource for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." + }, + "properties": { + "$ref": "#/definitions/CredentialSetProperties", + "description": "The properties of the credential set.", + "x-ms-client-flatten": true + } + } + }, + "IdentityProperties": { + "description": "Managed identity for the resource.", + "type": "object", + "properties": { + "principalId": { + "description": "The principal ID of resource identity.", + "type": "string", + "readOnly": true + }, + "tenantId": { + "description": "The tenant ID of resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } + } + } + }, + "CredentialSetProperties": { + "description": "The properties of a credential set resource.", + "type": "object", + "properties": { + "loginServer": { + "description": "The credentials are stored for this upstream or login server.", + "type": "string" + }, + "authCredentials": { + "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", + "type": "array", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "creationDate": { + "format": "date-time", + "description": "The creation date of credential store resource.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state of the resource.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + } + } + }, + "UserIdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "description": "The principal id of user assigned identity.", + "type": "string", + "readOnly": true + }, + "clientId": { + "description": "The client id of user assigned identity.", + "type": "string", + "readOnly": true + } + } + }, + "Resource": { + "description": "An Azure resource.", + "required": [ + "location" + ], + "properties": { + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + }, + "location": { + "description": "The location of the resource. This cannot be changed after the resource is created.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "description": "The tags of the resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "type": "object", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "AuthCredential": { + "description": "Authentication credential stored for an upstream.", + "type": "object", + "properties": { + "name": { + "description": "The name of the credential.", + "enum": [ + "Credential1" + ], + "type": "string", + "x-ms-enum": { + "name": "CredentialName", + "modelAsString": true + } + }, + "usernameSecretIdentifier": { + "description": "KeyVault Secret URI for accessing the username.", + "type": "string" + }, + "passwordSecretIdentifier": { + "description": "KeyVault Secret URI for accessing the password.", + "type": "string" + }, + "credentialHealth": { + "$ref": "#/definitions/CredentialHealth", + "description": "This provides data pertaining to the health of the auth credential.", + "readOnly": true + } + } + }, + "ProxyResource": { + "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.", + "properties": { + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "type": "object", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "CredentialHealth": { + "description": "The health of the auth credential.", + "type": "object", + "properties": { + "status": { + "description": "The health status of credential.", + "enum": [ + "Healthy", + "Unhealthy" + ], + "type": "string", + "x-ms-enum": { + "name": "CredentialHealthStatus", + "modelAsString": true + } + }, + "errorCode": { + "description": "Error code representing the health check error.", + "type": "string" + }, + "errorMessage": { + "description": "Descriptive message representing the health check error.", + "type": "string" + } + } + }, + "SystemData": { + "description": "Metadata pertaining to creation and last modification of the resource.", + "type": "object", + "properties": { + "createdBy": { + "description": "The identity that created the resource.", + "type": "string" + }, + "createdByType": { + "description": "The type of identity that created the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "type": "string", + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } + }, + "createdAt": { + "format": "date-time", + "description": "The timestamp of resource creation (UTC).", + "type": "string" + }, + "lastModifiedBy": { + "description": "The identity that last modified the resource.", + "type": "string" + }, + "lastModifiedByType": { + "description": "The type of identity that last modified the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "type": "string", + "x-ms-enum": { + "name": "lastModifiedByType", + "modelAsString": true + } + }, + "lastModifiedAt": { + "format": "date-time", + "description": "The timestamp of resource modification (UTC).", + "type": "string" + } + }, + "readOnly": true + }, + "DebianArchiveProperties": { + "description": "The properties of the Debian package Archive.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ArchiveProperties" + } + ], + "properties": { + "distributionName": { + "description": "Debian distribution Name.", + "type": "string" + } + } + }, + "DebianArchivePackageSourceProperties": { + "description": "The properties of the archive package source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ArchivePackageSourceProperties" + } + ], + "properties": { + "distributionName": { + "description": "Upstream Debian distribution Name.", + "type": "string" + } + } + }, + "CredentialSetUpdateParameters": { + "description": "The parameters for updating a credential set", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CredentialSetUpdateProperties", + "description": "The properties of the credential set update parameters", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." + } + } + }, + "CredentialSetUpdateProperties": { + "description": "The parameters for updating credential set properties.", + "type": "object", + "properties": { + "authCredentials": { + "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", + "type": "array", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ExportPipelineListResult": { + "description": "The result of a request to list export pipelines for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", + "type": "array", + "items": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of pipeline runs.", + "type": "string" + } + } + }, + "ExportPipeline": { + "description": "An object that represents an export pipeline for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "location": { + "description": "The location of the export pipeline.", + "type": "string" + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the export pipeline." + }, + "properties": { + "$ref": "#/definitions/ExportPipelineProperties", + "description": "The properties of the export pipeline.", + "x-ms-client-flatten": true + } + } + }, + "ExportPipelineProperties": { + "description": "The properties of an export pipeline.", + "required": [ + "target" + ], + "type": "object", + "properties": { + "target": { + "$ref": "#/definitions/ExportPipelineTargetProperties", + "description": "The target properties of the export pipeline." + }, + "options": { + "description": "The list of all options configured for the pipeline.", + "type": "array", + "items": { + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "type": "string", + "x-ms-enum": { + "name": "PipelineOptions", + "modelAsString": true + } + } + }, + "provisioningState": { + "description": "The provisioning state of the pipeline at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + } + } + }, + "ExportPipelineTargetProperties": { + "description": "The properties of the export pipeline target.", + "required": [ + "keyVaultUri" + ], + "type": "object", + "properties": { + "type": { + "description": "The type of target for the export pipeline.", + "type": "string" + }, + "uri": { + "description": "The target uri of the export pipeline.\r\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"", + "type": "string" + }, + "keyVaultUri": { + "description": "They key vault secret uri to obtain the target storage SAS token.", + "type": "string" + } + } + }, + "ImportImageParameters": { + "required": [ + "source" + ], + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/ImportSource", + "description": "The source of the image." + }, + "targetTags": { + "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", + "type": "array", + "items": { + "type": "string" + } + }, + "untaggedTargetRepositories": { + "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", + "type": "array", + "items": { + "type": "string" + } + }, + "mode": { + "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.", + "default": "NoForce", + "enum": [ + "NoForce", + "Force" + ], + "type": "string", + "x-ms-enum": { + "name": "ImportMode", + "modelAsString": true + } + } + } + }, + "ImportSource": { + "required": [ + "sourceImage" + ], + "type": "object", + "properties": { + "resourceId": { + "description": "The resource identifier of the source Azure Container Registry.", + "type": "string" + }, + "registryUri": { + "description": "The address of the source registry (e.g. 'mcr.microsoft.com').", + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/ImportSourceCredentials", + "description": "Credentials used when importing from a registry uri." + }, + "sourceImage": { + "description": "Repository name of the source image.\r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", + "type": "string" + } + } + }, + "ImportSourceCredentials": { + "required": [ + "password" + ], + "type": "object", + "properties": { + "username": { + "description": "The username to authenticate with the source registry.", + "type": "string" + }, + "password": { + "description": "The password used to authenticate with the source registry.", + "type": "string" + } + } + }, + "ImportPipelineListResult": { + "description": "The result of a request to list import pipelines for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines.", + "type": "array", + "items": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of pipeline runs.", + "type": "string" + } + } + }, + "ImportPipeline": { + "description": "An object that represents an import pipeline for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "location": { + "description": "The location of the import pipeline.", + "type": "string" + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the import pipeline." + }, + "properties": { + "$ref": "#/definitions/ImportPipelineProperties", + "description": "The properties of the import pipeline.", + "x-ms-client-flatten": true + } + } + }, + "ImportPipelineProperties": { + "description": "The properties of an import pipeline.", + "required": [ + "source" + ], + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/ImportPipelineSourceProperties", + "description": "The source properties of the import pipeline." + }, + "trigger": { + "$ref": "#/definitions/PipelineTriggerProperties", + "description": "The properties that describe the trigger of the import pipeline." + }, + "options": { + "description": "The list of all options configured for the pipeline.", + "type": "array", + "items": { + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "type": "string", + "x-ms-enum": { + "name": "PipelineOptions", + "modelAsString": true + } + } + }, + "provisioningState": { + "description": "The provisioning state of the pipeline at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + } + } + }, + "ImportPipelineSourceProperties": { + "description": "The properties of the import pipeline source.", + "required": [ + "keyVaultUri" + ], + "type": "object", + "properties": { + "type": { + "description": "The type of source for the import pipeline.", + "default": "AzureStorageBlobContainer", + "enum": [ + "AzureStorageBlobContainer" + ], + "type": "string", + "x-ms-enum": { + "name": "PipelineSourceType", + "modelAsString": true + } + }, + "uri": { + "description": "The source uri of the import pipeline.\r\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"", + "type": "string" + }, + "keyVaultUri": { + "description": "They key vault secret uri to obtain the source storage SAS token.", + "type": "string" + } + } + }, + "PipelineTriggerProperties": { + "type": "object", + "properties": { + "sourceTrigger": { + "$ref": "#/definitions/PipelineSourceTriggerProperties", + "description": "The source trigger properties of the pipeline." + } + } + }, + "PipelineSourceTriggerProperties": { + "required": [ + "status" + ], + "type": "object", + "properties": { + "status": { + "description": "The current status of the source trigger.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true + } + } + } + }, + "OperationListResult": { + "description": "The result of a request to list container registry operations.", + "type": "object", + "properties": { + "value": { + "description": "The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "description": "The URI that can be used to request the next list of container registry operations.", + "type": "string" + } + } + }, + "OperationDefinition": { + "description": "The definition of a container registry operation.", + "type": "object", + "properties": { + "origin": { + "description": "The origin information of the container registry operation.", + "type": "string" + }, + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayDefinition", + "description": "The display information for the container registry operation." + }, + "properties": { + "$ref": "#/definitions/OperationPropertiesDefinition", + "description": "The properties information for the container registry operation.", + "x-ms-client-flatten": true + }, + "isDataAction": { + "description": "This property indicates if the operation is an action or a data action\r\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations", + "type": "boolean" + } + } + }, + "OperationDisplayDefinition": { + "description": "The display information for a container registry operation.", + "type": "object", + "properties": { + "provider": { + "description": "The resource provider name: Microsoft.ContainerRegistry.", + "type": "string" + }, + "resource": { + "description": "The resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "The operation that users can perform.", + "type": "string" + }, + "description": { + "description": "The description for the operation.", + "type": "string" + } + } + }, + "OperationPropertiesDefinition": { + "description": "The definition of Azure Monitoring properties.", + "type": "object", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/OperationServiceSpecificationDefinition", + "description": "The definition of Azure Monitoring service." + } + } + }, + "OperationServiceSpecificationDefinition": { + "description": "The definition of Azure Monitoring list.", + "type": "object", + "properties": { + "metricSpecifications": { + "description": "A list of Azure Monitoring metrics definition.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationMetricSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "logSpecifications": { + "description": "A list of Azure Monitoring log definitions.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationLogSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "OperationMetricSpecificationDefinition": { + "description": "The definition of Azure Monitoring metric.", + "type": "object", + "properties": { + "name": { + "description": "Metric name.", + "type": "string" + }, + "displayName": { + "description": "Metric display name.", + "type": "string" + }, + "displayDescription": { + "description": "Metric description.", + "type": "string" + }, + "unit": { + "description": "Metric unit.", + "type": "string" + }, + "aggregationType": { + "description": "Metric aggregation type.", + "type": "string" + }, + "internalMetricName": { + "description": "Internal metric name.", + "type": "string" + } + } + }, + "OperationLogSpecificationDefinition": { + "description": "The definition of Azure Monitoring log.", + "type": "object", + "properties": { + "name": { + "description": "Log name.", + "type": "string" + }, + "displayName": { + "description": "Log display name.", + "type": "string" + }, + "blobDuration": { + "description": "Log blob duration.", + "type": "string" + } + } + }, + "RegistryNameCheckRequest": { + "description": "A request to check whether a container registry name is available.", + "required": [ + "name", + "type" + ], + "type": "object", + "properties": { + "name": { + "description": "The name of the container registry.", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "type": "string" + }, + "type": { + "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.", + "enum": [ + "Microsoft.ContainerRegistry/registries" + ], + "type": "string", + "x-ms-enum": { + "name": "ContainerRegistryResourceType", + "modelAsString": false + } + }, + "resourceGroupName": { + "description": "The resource group name of the container registry.", + "maxLength": 90, + "minLength": 1, + "type": "string" + }, + "autoGeneratedDomainNameLabelScope": { + "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", + "default": "Unsecure", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true + } + } + } + }, + "RegistryNameStatus": { + "description": "The result of a request to check the availability of a container registry name.", + "type": "object", + "properties": { + "availableLoginServerName": { + "description": "The complete login server name with domain name label (DNL) hash, if available", + "type": "string" + }, + "nameAvailable": { + "description": "The value that indicates whether the name is available.", + "type": "boolean" + }, + "reason": { + "description": "If any, the reason that the name is not available.", + "type": "string" + }, + "message": { + "description": "If any, the error message that provides more detail for the reason that the name is not available.", + "type": "string" + } + } + }, + "PipelineRunListResult": { + "description": "The result of a request to list pipeline runs for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of pipeline runs. Since this list may be incomplete, the nextLink field should be used to request the next list of pipeline runs.", + "type": "array", + "items": { + "$ref": "#/definitions/PipelineRun" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of pipeline runs.", + "type": "string" + } + } + }, + "PipelineRun": { + "description": "An object that represents a pipeline run for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PipelineRunProperties", + "description": "The properties of a pipeline run.", + "x-ms-client-flatten": true + } + } + }, + "PipelineRunProperties": { + "description": "The properties of a pipeline run.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state of a pipeline run.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "request": { + "$ref": "#/definitions/PipelineRunRequest", + "description": "The request parameters for a pipeline run." + }, + "response": { + "$ref": "#/definitions/PipelineRunResponse", + "description": "The response of a pipeline run.", + "readOnly": true + }, + "forceUpdateTag": { + "description": "How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed.", + "type": "string" + } + } + }, + "PipelineRunRequest": { + "description": "The request properties provided for a pipeline run.", + "type": "object", + "properties": { + "pipelineResourceId": { + "description": "The resource ID of the pipeline to run.", + "type": "string" + }, + "artifacts": { + "description": "List of source artifacts to be transferred by the pipeline. \r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "$ref": "#/definitions/PipelineRunSourceProperties", + "description": "The source properties of the pipeline run." + }, + "target": { + "$ref": "#/definitions/PipelineRunTargetProperties", + "description": "The target properties of the pipeline run." + }, + "catalogDigest": { + "description": "The digest of the tar used to transfer the artifacts.", + "type": "string" + } + } + }, + "PipelineRunResponse": { + "description": "The response properties returned for a pipeline run.", + "type": "object", + "properties": { + "status": { + "description": "The current status of the pipeline run.", + "type": "string" + }, + "importedArtifacts": { + "description": "The artifacts imported in the pipeline run.", + "type": "array", + "items": { + "type": "string" + } + }, + "progress": { + "$ref": "#/definitions/ProgressProperties", + "description": "The current progress of the copy operation." + }, + "startTime": { + "format": "date-time", + "description": "The time the pipeline run started.", + "type": "string" + }, + "finishTime": { + "format": "date-time", + "description": "The time the pipeline run finished.", + "type": "string" + }, + "source": { + "$ref": "#/definitions/ImportPipelineSourceProperties", + "description": "The source of the pipeline run." + }, + "target": { + "$ref": "#/definitions/ExportPipelineTargetProperties", + "description": "The target of the pipeline run." + }, + "catalogDigest": { + "description": "The digest of the tar used to transfer the artifacts.", + "type": "string" + }, + "trigger": { + "$ref": "#/definitions/PipelineTriggerDescriptor", + "description": "The trigger that caused the pipeline run." + }, + "pipelineRunErrorMessage": { + "description": "The detailed error message for the pipeline run in the case of failure.", + "type": "string" + } + } + }, + "PipelineRunSourceProperties": { + "type": "object", + "properties": { + "type": { + "description": "The type of the source.", + "default": "AzureStorageBlob", + "enum": [ + "AzureStorageBlob" + ], + "type": "string", + "x-ms-enum": { + "name": "PipelineRunSourceType", + "modelAsString": true + } + }, + "name": { + "description": "The name of the source.", + "type": "string" + } + } + }, + "PipelineRunTargetProperties": { + "type": "object", + "properties": { + "type": { + "description": "The type of the target.", + "default": "AzureStorageBlob", + "enum": [ + "AzureStorageBlob" + ], + "type": "string", + "x-ms-enum": { + "name": "PipelineRunTargetType", + "modelAsString": true + } + }, + "name": { + "description": "The name of the target.", + "type": "string" + } + } + }, + "ProgressProperties": { + "type": "object", + "properties": { + "percentage": { + "description": "The percentage complete of the copy operation.", + "type": "string" + } + } + }, + "PipelineTriggerDescriptor": { + "type": "object", + "properties": { + "sourceTrigger": { + "$ref": "#/definitions/PipelineSourceTriggerDescriptor", + "description": "The source trigger that caused the pipeline run." + } + } + }, + "PipelineSourceTriggerDescriptor": { + "type": "object", + "properties": { + "timestamp": { + "format": "date-time", + "description": "The timestamp when the source update happened.", + "type": "string" + } + } + }, + "PrivateEndpointConnectionListResult": { + "description": "The result of a request to list private endpoint connections for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of private endpoint connections.", + "type": "string" + } + } + }, + "PrivateEndpointConnection": { + "description": "An object that represents a private endpoint connection for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "The properties of a private endpoint connection.", + "x-ms-client-flatten": true + } + } + }, + "PrivateEndpointConnectionProperties": { + "description": "The properties of a private endpoint connection.", + "type": "object", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private endpoint." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "description": "The provisioning state of private endpoint connection resource.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + } + } + }, + "PrivateEndpoint": { + "description": "The Private Endpoint resource.", + "type": "object", + "properties": { + "id": { + "description": "This is private endpoint resource created with Microsoft.Network resource provider.", + "type": "string" + } + } + }, + "PrivateLinkServiceConnectionState": { + "description": "The state of a private link service connection.", + "type": "object", + "properties": { + "status": { + "description": "The private link service connection status.", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true + } + }, + "description": { + "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection.", + "type": "string" + }, + "actionsRequired": { + "description": "A message indicating if changes on the service provider require any updates on the consumer.", + "enum": [ + "None", + "Recreate" + ], + "type": "string", + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true + } + } + } + }, + "RegistryListResult": { + "description": "The result of a request to list container registries.", + "type": "object", + "properties": { + "value": { + "description": "The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.", + "type": "array", + "items": { + "$ref": "#/definitions/Registry" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of container registries.", + "type": "string" + } + } + }, + "Registry": { + "description": "An object that represents a container registry.", + "required": [ + "sku" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the container registry." + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the container registry." + }, + "properties": { + "$ref": "#/definitions/RegistryProperties", + "description": "The properties of the container registry.", + "x-ms-client-flatten": true + } + } + }, + "Sku": { + "description": "The SKU of a container registry.", + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "description": "The SKU name of the container registry. Required for registry creation.", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "type": "string", + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, + "tier": { + "description": "The SKU tier based on the SKU name.", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + } + } + } + }, + "RegistryProperties": { + "description": "The properties of a container registry.", + "type": "object", + "properties": { + "loginServer": { + "description": "The URL that can be used to log into the container registry.", + "type": "string", + "readOnly": true + }, + "creationDate": { + "format": "date-time", + "description": "The creation date of the container registry in ISO8601 format.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state of the container registry at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "status": { + "$ref": "#/definitions/Status", + "description": "The status of the container registry at the time the operation was called.", + "readOnly": true + }, + "adminUserEnabled": { + "description": "The value that indicates whether the admin user is enabled.", + "default": false, + "type": "boolean" + }, + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "The network rule set for a container registry." + }, + "policies": { + "$ref": "#/definitions/Policies", + "description": "The policies for a container registry." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of container registry." + }, + "dataEndpointEnabled": { + "description": "Enable a single data endpoint per region for serving data.", + "type": "boolean" + }, + "dataEndpointHostNames": { + "description": "List of host names that will serve data when dataEndpointEnabled is true.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "privateEndpointConnections": { + "description": "List of private endpoint connections for a container registry.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "publicNetworkAccess": { + "description": "Whether or not public network access is allowed for the container registry.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "networkRuleBypassOptions": { + "description": "Whether to allow trusted Azure services to access a network restricted registry.", + "default": "AzureServices", + "enum": [ + "AzureServices", + "None" + ], + "type": "string", + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true + } + }, + "networkRuleBypassAllowedForTasks": { + "description": "Whether or not Tasks allowed to bypass the network rules for this container registry.", + "default": false, + "type": "boolean" + }, + "zoneRedundancy": { + "description": "Whether or not zone redundancy is enabled for this container registry", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true + } + }, + "anonymousPullEnabled": { + "description": "Enables registry-wide pull from unauthenticated clients.", + "default": false, + "type": "boolean" + }, + "metadataSearch": { + "description": "Determines whether registry artifacts are indexed for metadata search.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true + } + }, + "autoGeneratedDomainNameLabelScope": { + "description": "Determines the domain name label reuse scope.", + "default": "Unsecure", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true + } + }, + "roleAssignmentMode": { + "description": "Determines registry role assignment mode.", + "default": "LegacyRegistryPermissions", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "type": "string", + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true + } + } + } + }, + "Status": { + "description": "The status of an Azure resource at the time the operation was called.", + "type": "object", + "properties": { + "displayStatus": { + "description": "The short label for the status.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The detailed message for the status, including alerts and error messages.", + "type": "string", + "readOnly": true + }, + "timestamp": { + "format": "date-time", + "description": "The timestamp when the status was changed to the current value.", + "type": "string", + "readOnly": true + } + } + }, + "StatusDetailProperties": { + "description": "The status detail properties of the connected registry.", + "type": "object", + "properties": { + "type": { + "description": "The component of the connected registry corresponding to the status.", + "type": "string", + "readOnly": true + }, + "code": { + "description": "The HTTP status code.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "The description of the status.", + "type": "string", + "readOnly": true + }, + "timestamp": { + "format": "date-time", + "description": "The timestamp of the status.", + "type": "string", + "readOnly": true + }, + "correlationId": { + "description": "The correlation ID of the status.", + "type": "string", + "readOnly": true + } + } + }, + "StorageAccountProperties": { + "description": "The properties of a storage account for a container registry. Only applicable to Classic SKU.", + "required": [ + "id" + ], + "type": "object", + "properties": { + "id": { + "description": "The resource ID of the storage account.", + "type": "string" + } + } + }, + "SyncProperties": { + "description": "The sync properties of the connected registry with its parent.", + "required": [ + "tokenId", + "messageTtl" + ], + "type": "object", + "properties": { + "tokenId": { + "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.", + "type": "string" + }, + "schedule": { + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", + "type": "string" + }, + "syncWindow": { + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", + "type": "string" + }, + "messageTtl": { + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", + "type": "string" + }, + "lastSyncTime": { + "format": "date-time", + "description": "The last time a sync occurred between the connected registry and its parent.", + "type": "string", + "readOnly": true + }, + "gatewayEndpoint": { + "description": "The gateway endpoint used by the connected registry to communicate with its parent.", + "type": "string", + "readOnly": true + } + } + }, + "SyncUpdateProperties": { + "description": "The parameters for updating the sync properties of the connected registry with its parent.", + "type": "object", + "properties": { + "schedule": { + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", + "type": "string" + }, + "syncWindow": { + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", + "type": "string" + }, + "messageTtl": { + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", + "type": "string" + } + } + }, + "NetworkRuleSet": { + "description": "The network rule set for a container registry.", + "required": [ + "defaultAction" + ], + "type": "object", + "properties": { + "defaultAction": { + "description": "The default action of allow or deny when no other rules match.", + "default": "Allow", + "enum": [ + "Allow", + "Deny" + ], + "type": "string", + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": true + } + }, + "ipRules": { + "description": "The IP ACL rules.", + "type": "array", + "items": { + "$ref": "#/definitions/IPRule" + }, + "x-ms-identifiers": [] + } + } + }, + "Policies": { + "description": "The policies for a container registry.", + "type": "object", + "properties": { + "quarantinePolicy": { + "$ref": "#/definitions/QuarantinePolicy", + "description": "The quarantine policy for a container registry." + }, + "trustPolicy": { + "$ref": "#/definitions/TrustPolicy", + "description": "The content trust policy for a container registry." + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "The retention policy for a container registry." + }, + "exportPolicy": { + "$ref": "#/definitions/ExportPolicy", + "description": "The export policy for a container registry." + }, + "azureADAuthenticationAsArmPolicy": { + "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", + "description": "The policy for using Azure Resource Manager audience token for a container registry." + }, + "softDeletePolicy": { + "$ref": "#/definitions/SoftDeletePolicy", + "description": "The soft delete policy for a container registry." + } + } + }, + "EncryptionProperty": { + "type": "object", + "properties": { + "status": { + "description": "Indicates whether or not the encryption is enabled for container registry.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true + } + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Key vault properties." + } + } + }, + "PackageType": { + "description": "The properties of a package type.", + "type": "object", + "properties": { + "name": { + "description": "The name of the package type.", + "type": "string" + }, + "endpoint": { + "description": "The endpoint of the package type.", + "type": "string", + "readOnly": true + } + } + }, + "IPRule": { + "description": "IP rule with specific IP or IP range in CIDR format.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "action": { + "description": "The action of IP ACL rule.", + "default": "Allow", + "enum": [ + "Allow" + ], + "type": "string", + "x-ms-enum": { + "name": "Action", + "modelAsString": true + } + }, + "value": { + "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", + "type": "string", + "x-ms-client-name": "IPAddressOrRange" + } + } + }, + "QuarantinePolicy": { + "description": "The quarantine policy for a container registry.", + "type": "object", + "properties": { + "status": { + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "TrustPolicy": { + "description": "The content trust policy for a container registry.", + "type": "object", + "properties": { + "type": { + "description": "The type of trust policy.", + "default": "Notary", + "enum": [ + "Notary" + ], + "type": "string", + "x-ms-enum": { + "name": "TrustPolicyType", + "modelAsString": true + } + }, + "status": { + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "RetentionPolicy": { + "description": "The retention policy for a container registry.", + "type": "object", + "properties": { + "days": { + "format": "int32", + "description": "The number of days to retain an untagged manifest after which it gets purged.", + "default": 7, + "type": "integer" + }, + "lastUpdatedTime": { + "format": "date-time", + "description": "The timestamp when the policy was last updated.", + "type": "string", + "readOnly": true + }, + "status": { + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "ExportPolicy": { + "description": "The export policy for a container registry.", + "type": "object", + "properties": { + "status": { + "description": "The value that indicates whether the policy is enabled or not.", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "ExportPolicyStatus", + "modelAsString": true + } + } + } + }, + "SoftDeletePolicy": { + "description": "The soft delete policy for a container registry", + "type": "object", + "properties": { + "retentionDays": { + "format": "int32", + "description": "The number of days after which a soft-deleted item is permanently deleted.", + "default": 7, + "type": "integer" + }, + "lastUpdatedTime": { + "format": "date-time", + "description": "The timestamp when the policy was last updated.", + "type": "string", + "readOnly": true + }, + "status": { + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "keyIdentifier": { + "description": "Key vault uri to access the encryption key.", + "type": "string" + }, + "versionedKeyIdentifier": { + "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", + "type": "string", + "readOnly": true + }, + "identity": { + "description": "The client id of the identity which will be used to access key vault.", + "type": "string" + }, + "keyRotationEnabled": { + "description": "Auto key rotation status for a CMK enabled registry.", + "type": "boolean", + "readOnly": true + }, + "lastKeyRotationTimestamp": { + "format": "date-time", + "description": "Timestamp of the last successful key rotation.", + "type": "string", + "readOnly": true + } + } + }, + "RegistryUpdateParameters": { + "description": "The parameters for updating a container registry.", + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the container registry." + }, + "tags": { + "description": "The tags for the container registry.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the container registry." + }, + "properties": { + "$ref": "#/definitions/RegistryPropertiesUpdateParameters", + "description": "The properties that the container registry will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "RegistryPropertiesUpdateParameters": { + "description": "The parameters for updating the properties of a container registry.", + "type": "object", + "properties": { + "adminUserEnabled": { + "description": "The value that indicates whether the admin user is enabled.", + "type": "boolean" + }, + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "The network rule set for a container registry." + }, + "policies": { + "$ref": "#/definitions/Policies", + "description": "The policies for a container registry." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of container registry." + }, + "dataEndpointEnabled": { + "description": "Enable a single data endpoint per region for serving data.", + "type": "boolean" + }, + "publicNetworkAccess": { + "description": "Whether or not public network access is allowed for the container registry.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "networkRuleBypassOptions": { + "description": "Whether to allow trusted Azure services to access a network restricted registry.", + "default": "AzureServices", + "enum": [ + "AzureServices", + "None" + ], + "type": "string", + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true + } + }, + "networkRuleBypassAllowedForTasks": { + "description": "Whether to allow ACR Tasks service to access a network restricted registry.", + "type": "boolean" + }, + "anonymousPullEnabled": { + "description": "Enables registry-wide pull from unauthenticated clients.", + "type": "boolean" + }, + "metadataSearch": { + "description": "Determines whether registry artifacts are indexed for metadata search.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true + } + }, + "roleAssignmentMode": { + "description": "Determines registry role assignment mode.", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "type": "string", + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true + } + } + } + }, + "RegistryUsageListResult": { + "description": "The result of a request to get container registry quota usages.", + "type": "object", + "properties": { + "value": { + "description": "The list of container registry quota usages.", + "type": "array", + "items": { + "$ref": "#/definitions/RegistryUsage" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "RegistryUsage": { + "description": "The quota usage for a container registry.", + "type": "object", + "properties": { + "name": { + "description": "The name of the usage.", + "type": "string" + }, + "limit": { + "format": "int64", + "description": "The limit of the usage.", + "type": "integer" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the usage.", + "type": "integer" + }, + "unit": { + "description": "The unit of measurement.", + "enum": [ + "Count", + "Bytes" + ], + "type": "string", + "x-ms-enum": { + "name": "RegistryUsageUnit", + "modelAsString": true + } + } + } + }, + "PrivateLinkResourceListResult": { + "description": "The result of a request to list private link resources for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of private link resources.", + "type": "string" + } + } + }, + "PrivateLinkResource": { + "description": "A resource that supports private link capabilities.", + "type": "object", + "properties": { + "type": { + "description": "The resource type is private link resource.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "The resource ID.", + "type": "string" + }, + "name": { + "description": "The name of the resource.", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "A resource that supports private link capabilities.", + "x-ms-client-flatten": true + } + } + }, + "PrivateLinkResourceProperties": { + "description": "The properties of a private link resource.", + "type": "object", + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string" + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + } + }, + "requiredZoneNames": { + "description": "The private link resource Private link DNS zone name.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RegistryListCredentialsResult": { + "description": "The response from the ListCredentials operation.", + "type": "object", + "properties": { + "username": { + "description": "The username for a container registry.", + "type": "string" + }, + "passwords": { + "description": "The list of passwords for a container registry.", + "type": "array", + "items": { + "$ref": "#/definitions/RegistryPassword" + }, + "x-ms-identifiers": [] + } + } + }, + "RegistryPassword": { + "description": "The login password for the container registry.", + "type": "object", + "properties": { + "name": { + "description": "The password name.", + "enum": [ + "password", + "password2" + ], + "type": "string", + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + }, + "value": { + "description": "The password value.", + "type": "string" + } + } + }, + "RegenerateCredentialParameters": { + "description": "The parameters used to regenerate the login credential.", + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "description": "Specifies name of the password which should be regenerated -- password or password2.", + "enum": [ + "password", + "password2" + ], + "type": "string", + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + } + } + }, + "ReplicationListResult": { + "description": "The result of a request to list replications for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications.", + "type": "array", + "items": { + "$ref": "#/definitions/Replication" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of replications.", + "type": "string" + } + } + }, + "Replication": { + "description": "An object that represents a replication for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ReplicationProperties", + "description": "The properties of the replication.", + "x-ms-client-flatten": true + } + } + }, + "ReplicationProperties": { + "description": "The properties of a replication.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state of the replication at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "status": { + "$ref": "#/definitions/Status", + "description": "The status of the replication at the time the operation was called.", + "readOnly": true + }, + "regionEndpointEnabled": { + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", + "default": true, + "type": "boolean" + }, + "zoneRedundancy": { + "description": "Whether or not zone redundancy is enabled for this container registry replication", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true + } + } + } + }, + "ReplicationUpdateParameters": { + "description": "The parameters for updating a replication.", + "type": "object", + "properties": { + "tags": { + "description": "The tags for the replication.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ReplicationUpdateParametersProperties", + "description": "The parameters for updating a replication's properties", + "x-ms-client-flatten": true + } + } + }, + "ReplicationUpdateParametersProperties": { + "type": "object", + "properties": { + "regionEndpointEnabled": { + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", + "type": "boolean" + } + } + }, + "ScopeMapListResult": { + "description": "The result of a request to list scope maps for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.", + "type": "array", + "items": { + "$ref": "#/definitions/ScopeMap" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of scope maps.", + "type": "string" + } + } + }, + "ScopeMap": { + "description": "An object that represents a scope map for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapProperties", + "description": "The properties of the scope map.", + "x-ms-client-flatten": true + } + } + }, + "ScopeMapProperties": { + "description": "The properties of a scope map.", + "required": [ + "actions" + ], + "type": "object", + "properties": { + "description": { + "description": "The user friendly description of the scope map.", + "type": "string" + }, + "type": { + "description": "The type of the scope map. E.g. BuildIn scope map.", + "type": "string", + "readOnly": true + }, + "creationDate": { + "format": "date-time", + "description": "The creation date of scope map.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state of the resource.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "actions": { + "description": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ScopeMapUpdateParameters": { + "description": "The properties for updating the scope map.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", + "description": "The update parameters for scope map properties.", + "x-ms-client-flatten": true + } + } + }, + "ScopeMapPropertiesUpdateParameters": { + "description": "The update parameters for scope map properties.", + "type": "object", + "properties": { + "description": { + "description": "The user friendly description of the scope map.", + "type": "string" + }, + "actions": { + "description": "The list of scope permissions for registry artifacts.\r\nE.g. repositories/repository-name/pull, \r\nrepositories/repository-name/delete", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TlsCertificateProperties": { + "description": "The TLS certificate properties of the connected registry login server.", + "type": "object", + "properties": { + "type": { + "description": "The type of certificate location.", + "enum": [ + "LocalDirectory" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "CertificateType", + "modelAsString": true + } + }, + "location": { + "description": "Indicates the location of the certificates.", + "type": "string", + "readOnly": true + } + } + }, + "TlsProperties": { + "description": "The TLS properties of the connected registry login server.", + "type": "object", + "properties": { + "status": { + "description": "Indicates whether HTTPS is enabled for the login server.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "TlsStatus", + "modelAsString": true + } + }, + "certificate": { + "$ref": "#/definitions/TlsCertificateProperties", + "description": "The certificate used to configure HTTPS for the login server.", + "readOnly": true + } + } + }, + "TokenListResult": { + "description": "The result of a request to list tokens for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens.", + "type": "array", + "items": { + "$ref": "#/definitions/Token" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of tokens.", + "type": "string" + } + } + }, + "Token": { + "description": "An object that represents a token for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/TokenProperties", + "description": "The properties of the token.", + "x-ms-client-flatten": true + } + } + }, + "TokenProperties": { + "description": "The properties of a token.", + "type": "object", + "properties": { + "creationDate": { + "format": "date-time", + "description": "The creation date of scope map.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state of the resource.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "scopeMapId": { + "description": "The resource ID of the scope map to which the token will be associated with.", + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." + }, + "status": { + "description": "The status of the token example enabled or disabled.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true + } + } + } + }, + "TokenCredentialsProperties": { + "description": "The properties of the credentials that can be used for authenticating the token.", + "type": "object", + "properties": { + "certificates": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCertificate" + }, + "x-ms-identifiers": [ + "thumbprint" + ] + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + }, + "x-ms-identifiers": [] + } + } + }, + "ActiveDirectoryObject": { + "description": "The Active Directory Object that will be used for authenticating the token of a container registry.", + "type": "object", + "properties": { + "objectId": { + "description": "The user/group/application object ID for Active Directory Object that will be used for authenticating the token of a container registry.", + "type": "string" + }, + "tenantId": { + "description": "The tenant ID of user/group/application object Active Directory Object that will be used for authenticating the token of a container registry.", + "type": "string" + } + } + }, + "TokenCertificate": { + "description": "The properties of a certificate used for authenticating a token.", + "type": "object", + "properties": { + "name": { + "enum": [ + "certificate1", + "certificate2" + ], + "type": "string", + "x-ms-enum": { + "name": "TokenCertificateName", + "modelAsString": true + } + }, + "expiry": { + "format": "date-time", + "description": "The expiry datetime of the certificate.", + "type": "string" + }, + "thumbprint": { + "description": "The thumbprint of the certificate.", + "type": "string" + }, + "encodedPemCertificate": { + "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token.", + "type": "string" + } + } + }, + "TokenPassword": { + "description": "The password that will be used for authenticating the token of a container registry.", + "type": "object", + "properties": { + "creationTime": { + "format": "date-time", + "description": "The creation datetime of the password.", + "type": "string" + }, + "expiry": { + "format": "date-time", + "description": "The expiry datetime of the password.", + "type": "string" + }, + "name": { + "description": "The password name \"password1\" or \"password2\"", + "enum": [ + "password1", + "password2" + ], + "type": "string", + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true + } + }, + "value": { + "description": "The password value.", + "type": "string", + "readOnly": true + } + } + }, + "TokenUpdateParameters": { + "description": "The parameters for updating a token.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TokenUpdateProperties", + "description": "The properties of the token update parameters.", + "x-ms-client-flatten": true + } + } + }, + "TokenUpdateProperties": { + "description": "The parameters for updating token properties.", + "type": "object", + "properties": { + "scopeMapId": { + "description": "The resource ID of the scope map to which the token will be associated with.", + "type": "string" + }, + "status": { + "description": "The status of the token example enabled or disabled.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true + } + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." + } + } + }, + "GenerateCredentialsParameters": { + "description": "The parameters used to generate credentials for a specified token or user of a container registry.", + "type": "object", + "properties": { + "tokenId": { + "description": "The resource ID of the token for which credentials have to be generated.", + "type": "string" + }, + "expiry": { + "format": "date-time", + "description": "The expiry date of the generated credentials after which the credentials become invalid.", + "type": "string" + }, + "name": { + "description": "Specifies name of the password which should be regenerated if any -- password1 or password2.", + "enum": [ + "password1", + "password2" + ], + "type": "string", + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true + } + } + } + }, + "GenerateCredentialsResult": { + "description": "The response from the GenerateCredentials operation.", + "type": "object", + "properties": { + "username": { + "description": "The username for a container registry.", + "type": "string" + }, + "passwords": { + "description": "The list of passwords for a container registry.", + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + }, + "x-ms-identifiers": [] + } + } + }, + "WebhookListResult": { + "description": "The result of a request to list webhooks for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.", + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of webhooks.", + "type": "string" + } + } + }, + "Webhook": { + "description": "An object that represents a webhook for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/WebhookProperties", + "description": "The properties of the webhook.", + "x-ms-client-flatten": true + } + } + }, + "WebhookProperties": { + "description": "The properties of a webhook.", + "required": [ + "actions" + ], + "type": "object", + "properties": { + "status": { + "description": "The status of the webhook at the time the operation was called.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", + "type": "string" + }, + "actions": { + "description": "The list of actions that trigger the webhook to post notifications.", + "type": "array", + "items": { + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "type": "string", + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + }, + "provisioningState": { + "description": "The provisioning state of the webhook at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + } + } + }, + "WebhookCreateParameters": { + "description": "The parameters for creating a webhook.", + "required": [ + "location" + ], + "type": "object", + "properties": { + "tags": { + "description": "The tags for the webhook.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "location": { + "description": "The location of the webhook. This cannot be changed after the resource is created.", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesCreateParameters", + "description": "The properties that the webhook will be created with.", + "x-ms-client-flatten": true + } + } + }, + "WebhookPropertiesCreateParameters": { + "description": "The parameters for creating the properties of a webhook.", + "required": [ + "serviceUri", + "actions" + ], + "type": "object", + "properties": { + "serviceUri": { + "description": "The service URI for the webhook to post notifications.", + "type": "string", + "x-ms-secret": true + }, + "customHeaders": { + "description": "Custom headers that will be added to the webhook notifications.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true + }, + "status": { + "description": "The status of the webhook at the time the operation was called.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", + "type": "string" + }, + "actions": { + "description": "The list of actions that trigger the webhook to post notifications.", + "type": "array", + "items": { + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "type": "string", + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + } + } + }, + "WebhookUpdateParameters": { + "description": "The parameters for updating a webhook.", + "type": "object", + "properties": { + "tags": { + "description": "The tags for the webhook.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesUpdateParameters", + "description": "The properties that the webhook will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "WebhookPropertiesUpdateParameters": { + "description": "The parameters for updating the properties of a webhook.", + "type": "object", + "properties": { + "serviceUri": { + "description": "The service URI for the webhook to post notifications.", + "type": "string", + "x-ms-secret": true + }, + "customHeaders": { + "description": "Custom headers that will be added to the webhook notifications.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true + }, + "status": { + "description": "The status of the webhook at the time the operation was called.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", + "type": "string" + }, + "actions": { + "description": "The list of actions that trigger the webhook to post notifications.", + "type": "array", + "items": { + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "type": "string", + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + } + } + }, + "EventInfo": { + "description": "The basic information of an event.", + "type": "object", + "properties": { + "id": { + "description": "The event ID.", + "type": "string" + } + } + }, + "EventListResult": { + "description": "The result of a request to list events for a webhook.", + "type": "object", + "properties": { + "value": { + "description": "The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.", + "type": "array", + "items": { + "$ref": "#/definitions/Event" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of events.", + "type": "string" + } + } + }, + "Event": { + "description": "The event for a webhook.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventInfo" + } + ], + "properties": { + "eventRequestMessage": { + "$ref": "#/definitions/EventRequestMessage", + "description": "The event request message sent to the service URI." + }, + "eventResponseMessage": { + "$ref": "#/definitions/EventResponseMessage", + "description": "The event response message received from the service URI." + } + } + }, + "EventRequestMessage": { + "description": "The event request message sent to the service URI.", + "type": "object", + "properties": { + "content": { + "$ref": "#/definitions/EventContent", + "description": "The content of the event request message." + }, + "headers": { + "description": "The headers of the event request message.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "method": { + "description": "The HTTP method used to send the event request message.", + "type": "string" + }, + "requestUri": { + "description": "The URI used to send the event request message.", + "type": "string" + }, + "version": { + "description": "The HTTP message version.", + "type": "string" + } + } + }, + "EventResponseMessage": { + "description": "The event response message received from the service URI.", + "type": "object", + "properties": { + "content": { + "description": "The content of the event response message.", + "type": "string" + }, + "headers": { + "description": "The headers of the event response message.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "reasonPhrase": { + "description": "The reason phrase of the event response message.", + "type": "string" + }, + "statusCode": { + "description": "The status code of the event response message.", + "type": "string" + }, + "version": { + "description": "The HTTP message version.", + "type": "string" + } + } + }, + "EventContent": { + "description": "The content of the event request message.", + "type": "object", + "properties": { + "id": { + "description": "The event ID.", + "type": "string" + }, + "timestamp": { + "format": "date-time", + "description": "The time at which the event occurred.", + "type": "string" + }, + "action": { + "description": "The action that encompasses the provided event.", + "type": "string" + }, + "target": { + "$ref": "#/definitions/Target", + "description": "The target of the event." + }, + "request": { + "$ref": "#/definitions/Request", + "description": "The request that generated the event." + }, + "actor": { + "$ref": "#/definitions/Actor", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." + }, + "source": { + "$ref": "#/definitions/Source", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." + } + } + }, + "Target": { + "description": "The target of the event.", + "type": "object", + "properties": { + "mediaType": { + "description": "The MIME type of the referenced object.", + "type": "string" + }, + "size": { + "format": "int64", + "description": "The number of bytes of the content. Same as Length field.", + "type": "integer" + }, + "digest": { + "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification.", + "type": "string" + }, + "length": { + "format": "int64", + "description": "The number of bytes of the content. Same as Size field.", + "type": "integer" + }, + "repository": { + "description": "The repository name.", + "type": "string" + }, + "url": { + "description": "The direct URL to the content.", + "type": "string" + }, + "tag": { + "description": "The tag name.", + "type": "string" + }, + "name": { + "description": "The name of the artifact.", + "type": "string" + }, + "version": { + "description": "The version of the artifact.", + "type": "string" + } + } + }, + "Request": { + "description": "The request that generated the event.", + "type": "object", + "properties": { + "id": { + "description": "The ID of the request that initiated the event.", + "type": "string" + }, + "addr": { + "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.", + "type": "string" + }, + "host": { + "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.", + "type": "string" + }, + "method": { + "description": "The request method that generated the event.", + "type": "string" + }, + "useragent": { + "description": "The user agent header of the request.", + "type": "string" + } + } + }, + "Actor": { + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", + "type": "object", + "properties": { + "name": { + "description": "The subject or username associated with the request context that generated the event.", + "type": "string" + } + } + }, + "Source": { + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", + "type": "object", + "properties": { + "addr": { + "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.", + "type": "string" + }, + "instanceID": { + "description": "The running instance of an application. Changes after each restart.", + "type": "string" + } + } + }, + "CallbackConfig": { + "description": "The configuration of service URI and custom headers for the webhook.", + "required": [ + "serviceUri" + ], + "type": "object", + "properties": { + "serviceUri": { + "description": "The service URI for the webhook to post notifications.", + "type": "string" + }, + "customHeaders": { + "description": "Custom headers that will be added to the webhook notifications.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "parameters": { + "RegistryNameParameter": { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "WebhookNameParameter": { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ReplicationNameParameter": { + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ScopeMapNameParameter": { + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-_]*$", + "x-ms-parameter-location": "method" + }, + "TokenNameParameter": { + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-]*$", + "x-ms-parameter-location": "method" + }, + "PrivateEndpointConnectionNameParameter": { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "GroupNameParameter": { + "name": "groupName", + "in": "path", + "description": "The name of the private link resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ExportPipelineNameParameter": { + "name": "exportPipelineName", + "in": "path", + "description": "The name of the export pipeline.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ImportPipelineNameParameter": { + "name": "importPipelineName", + "in": "path", + "description": "The name of the import pipeline.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "PipelineRunNameParameter": { + "name": "pipelineRunName", + "in": "path", + "description": "The name of the pipeline run.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ConnectedRegistryNameParameter": { + "in": "path", + "name": "connectedRegistryName", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ConnectedRegistryFilterParameter": { + "in": "query", + "name": "$filter", + "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "PackageTypeParameter": { + "name": "packageType", + "in": "path", + "description": "The type of the package resource.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 3, + "pattern": "^[a-zA-Z]*$", + "x-ms-parameter-location": "method" + }, + "ArchiveNameParameter": { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "maxLength": 200, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-]*$", + "x-ms-parameter-location": "method" + }, + "ArchiveVersionNameParameter": { + "name": "archiveVersionName", + "in": "path", + "description": "The name of the archive version resource.", + "required": true, + "type": "string", + "maxLength": 200, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-]*$", + "x-ms-parameter-location": "method" + }, + "CredentialSetNameParameter": { + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-]*$", + "x-ms-parameter-location": "method" + }, + "CacheRuleNameParameter": { + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-]*$", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/API_CHANGES.md b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/API_CHANGES.md new file mode 100644 index 000000000000..4f30f75e9a95 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/API_CHANGES.md @@ -0,0 +1,264 @@ +## Swagger Changes + +### Changes for `description` + +| Path | Change Type | Value | +|------|------------|-------| +| `info.description__added` | added | `The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate'].post.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/generateCredentials'].post.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage'].post.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | + +### Changes for `default` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.QuarantinePolicy.properties.status.default__deleted` | deleted | `disabled` | +| `definitions.RegistryNameCheckRequest.properties.autoGeneratedDomainNameLabelScope.default__deleted` | deleted | `Unsecure` | +| `definitions.RegistryProperties.properties.adminUserEnabled.default__deleted` | deleted | `false` | +| `definitions.RegistryProperties.properties.anonymousPullEnabled.default__deleted` | deleted | `false` | +| `definitions.RegistryProperties.properties.autoGeneratedDomainNameLabelScope.default__deleted` | deleted | `Unsecure` | +| `definitions.RegistryProperties.properties.metadataSearch.default__deleted` | deleted | `Disabled` | +| `definitions.RegistryProperties.properties.networkRuleBypassAllowedForTasks.default__deleted` | deleted | `false` | +| `definitions.RegistryProperties.properties.networkRuleBypassOptions.default__deleted` | deleted | `AzureServices` | +| `definitions.RegistryProperties.properties.publicNetworkAccess.default__deleted` | deleted | `Enabled` | +| `definitions.RegistryProperties.properties.roleAssignmentMode.default__deleted` | deleted | `LegacyRegistryPermissions` | +| `definitions.RegistryProperties.properties.zoneRedundancy.default__deleted` | deleted | `Disabled` | +| `definitions.RegistryPropertiesUpdateParameters.properties.metadataSearch.default__deleted` | deleted | `Disabled` | +| `definitions.RegistryPropertiesUpdateParameters.properties.networkRuleBypassOptions.default__deleted` | deleted | `AzureServices` | +| `definitions.ReplicationProperties.properties.zoneRedundancy.default__deleted` | deleted | `Disabled` | +| `definitions.RetentionPolicy.properties.status.default__deleted` | deleted | `disabled` | +| `definitions.SoftDeletePolicy.properties.status.default__deleted` | deleted | `disabled` | +| `definitions.TrustPolicy.properties.status.default__deleted` | deleted | `disabled` | +| `paths['/providers/microsoft.ContainerRegistry/operations'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/checkNameAvailability'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/registries'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].delete.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].patch.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].put.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listCredentials'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listUsages'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].delete.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].put.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].delete.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].patch.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].put.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].delete.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].patch.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].put.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | + +### Changes for `final-state-schema` + +| Path | Change Type | Value | +|------|------------|-------| +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Registry` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Registry` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/CacheRule` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/CacheRule` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ConnectedRegistry` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ConnectedRegistry` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/CredentialSet` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/CredentialSet` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ExportPipeline` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ImportPipeline` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Archive` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ArchiveVersion` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/PipelineRun` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/PrivateEndpointConnection` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Replication` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Replication` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ScopeMap` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ScopeMap` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Token` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Token` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Webhook` | +| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Webhook` | + +### Changes for `ActiveDirectoryObject` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.ActiveDirectoryObject__deleted` | deleted | `{"type":"object","properties":{"objectId":{"type":"string"},"tenantId":{"type":"string"}}}` | + +### Changes for `OperationDefinition` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.OperationDefinition__deleted` | deleted | `{"type":"object","properties":{"origin":{"type":"string"},"name":{"type":"string"},"display":{"$ref"...` | + +### Changes for `OperationDisplayDefinition` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.OperationDisplayDefinition__deleted` | deleted | `{"type":"object","properties":{"provider":{"type":"string"},"resource":{"type":"string"},"operation"...` | + +### Changes for `OperationListResult` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.OperationListResult__deleted` | deleted | `{"type":"object","description":"[Placeholder] Discription for page model","properties":{"value":{"ty...` | + +### Changes for `OperationLogSpecificationDefinition` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.OperationLogSpecificationDefinition__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string"},"displayName":{"type":"string"},"blobDuratio...` | + +### Changes for `OperationMetricSpecificationDefinition` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.OperationMetricSpecificationDefinition__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string"},"displayName":{"type":"string"},"displayDesc...` | + +### Changes for `OperationPropertiesDefinition` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.OperationPropertiesDefinition__deleted` | deleted | `{"type":"object","properties":{"serviceSpecification":{"$ref":"#/definitions/OperationServiceSpecifi...` | + +### Changes for `OperationServiceSpecificationDefinition` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.OperationServiceSpecificationDefinition__deleted` | deleted | `{"type":"object","properties":{"metricSpecifications":{"type":"array","items":{"$ref":"#/definitions...` | + +### Changes for `PackageType` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.PackageType__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string"},"endpoint":{"type":"string","readOnly":true}...` | + +### Changes for `ProxyResource` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.ProxyResource__deleted` | deleted | `{"type":"object","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string","readO...` | + +### Changes for `Resource` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.Resource__deleted` | deleted | `{"type":"object","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string","readO...` | + +### Changes for `StorageAccountProperties` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.StorageAccountProperties__deleted` | deleted | `{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}` | + +### Changes for `SystemData` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.SystemData__deleted` | deleted | `{"type":"object","properties":{"createdBy":{"type":"string"},"createdByType":{"type":"string","enum"...` | + +### Changes for `TypeSpec.Http.OkResponse` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions['TypeSpec.Http.OkResponse__added']` | added | `{"type":"object"}` | + +### Changes for `allOf` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.PrivateLinkResource.allOf__added` | added | `[{"$ref":"../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResourc...` | + +### Changes for `type` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.PrivateLinkResource.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | + +### Changes for `id` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.PrivateLinkResource.properties.id__deleted` | deleted | `{"type":"string"}` | + +### Changes for `name` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.PrivateLinkResource.properties.name__deleted` | deleted | `{"type":"string"}` | +| `definitions.RegistryNameCheckRequest.properties.type['x-ms-enum'].name__deleted` | deleted | `ContainerRegistryResourceType` | + +### Changes for `x-ms-secret` + +| Path | Change Type | Value | +|------|------------|-------| +| `definitions.WebhookPropertiesCreateParameters.properties.customHeaders['x-ms-secret__deleted']` | deleted | `true` | +| `definitions.WebhookPropertiesCreateParameters.properties.serviceUri['x-ms-secret__deleted']` | deleted | `true` | +| `definitions.WebhookPropertiesUpdateParameters.properties.customHeaders['x-ms-secret__deleted']` | deleted | `true` | +| `definitions.WebhookPropertiesUpdateParameters.properties.serviceUri['x-ms-secret__deleted']` | deleted | `true` | + +## Modified Values + +| Path | Old Value | New Value | +|------|-----------|----------| +| `definitions.Archive.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | +| `definitions.ArchiveVersion.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | +| `definitions.CacheRule.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | +| `definitions.ConnectedRegistry.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | +| `definitions.CredentialSet.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | +| `definitions.ExportPipeline.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | +| `definitions.ImportPipeline.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | +| `definitions.PipelineRun.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | +| `definitions.PrivateEndpointConnection.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | +| `definitions.Registry.allOf[0].$ref` | `#/definitions/Resource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource` | +| `definitions.Replication.allOf[0].$ref` | `#/definitions/Resource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource` | +| `definitions.ScopeMap.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | +| `definitions.Token.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | +| `definitions.Webhook.allOf[0].$ref` | `#/definitions/Resource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource` | +| `paths['/providers/microsoft.ContainerRegistry/operations'].get.responses.200.schema.$ref` | `#/definitions/OperationListResult` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult` | + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/diff.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/diff.json new file mode 100644 index 000000000000..d0bc2b0efdaf --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/diff.json @@ -0,0 +1,1405 @@ +{ + "info": { + "description__added": "The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components." + }, + "paths": { + "/providers/microsoft.ContainerRegistry/operations": { + "get": { + "responses": { + "200": { + "schema": { + "$ref": { + "__old": "#/definitions/OperationListResult", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/checkNameAvailability": { + "post": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/registries": { + "get": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries": { + "get": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}": { + "get": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/Registry" + } + }, + "patch": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/Registry" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/CacheRule" + } + }, + "patch": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/CacheRule" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/ConnectedRegistry" + } + }, + "patch": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/ConnectedRegistry" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { + "post": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/CredentialSet" + } + }, + "patch": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/CredentialSet" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/ExportPipeline" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { + "post": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage": { + "post": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/ImportPipeline" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { + "post": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listUsages": { + "get": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/Archive" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/ArchiveVersion" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/PipelineRun" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { + "get": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/PrivateEndpointConnection" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { + "get": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { + "post": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications": { + "get": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { + "get": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/Replication" + } + }, + "patch": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/Replication" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/ScopeMap" + } + }, + "patch": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/ScopeMap" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/Token" + } + }, + "patch": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/Token" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks": { + "get": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { + "get": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/Webhook" + } + }, + "patch": { + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": { + "description__added": "A link to the status monitor" + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-schema__added": "#/definitions/Webhook" + } + }, + "delete": { + "responses": { + "202": { + "headers": { + "Location": { + "description__added": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { + "post": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { + "post": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { + "post": { + "responses": { + "default__added": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "ActiveDirectoryObject__deleted": { + "type": "object", + "properties": { + "objectId": { + "type": "string" + }, + "tenantId": { + "type": "string" + } + } + }, + "OperationDefinition__deleted": { + "type": "object", + "properties": { + "origin": { + "type": "string" + }, + "name": { + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayDefinition" + }, + "properties": { + "$ref": "#/definitions/OperationPropertiesDefinition", + "x-ms-client-flatten": true + }, + "isDataAction": { + "type": "boolean" + } + } + }, + "OperationDisplayDefinition__deleted": { + "type": "object", + "properties": { + "provider": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "OperationListResult__deleted": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/OperationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "OperationLogSpecificationDefinition__deleted": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "blobDuration": { + "type": "string" + } + } + }, + "OperationMetricSpecificationDefinition__deleted": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "displayDescription": { + "type": "string" + }, + "unit": { + "type": "string" + }, + "aggregationType": { + "type": "string" + }, + "internalMetricName": { + "type": "string" + } + } + }, + "OperationPropertiesDefinition__deleted": { + "type": "object", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/OperationServiceSpecificationDefinition" + } + } + }, + "OperationServiceSpecificationDefinition__deleted": { + "type": "object", + "properties": { + "metricSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationMetricSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "logSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationLogSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "PackageType__deleted": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "endpoint": { + "type": "string", + "readOnly": true + } + } + }, + "ProxyResource__deleted": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "type": "object", + "readOnly": true + } + } + }, + "Resource__deleted": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "type": "object", + "readOnly": true + } + }, + "required": [ + "location" + ] + }, + "StorageAccountProperties__deleted": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + }, + "SystemData__deleted": { + "type": "object", + "properties": { + "createdBy": { + "type": "string" + }, + "createdByType": { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "CreatedByType", + "modelAsString": true + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "lastModifiedBy": { + "type": "string" + }, + "lastModifiedByType": { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "LastModifiedByType", + "modelAsString": true + } + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time" + } + }, + "readOnly": true + }, + "TypeSpec.Http.OkResponse__added": { + "type": "object" + }, + "Archive": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/ProxyResource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + } + ] + ] + }, + "ArchiveVersion": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/ProxyResource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + } + ] + ] + }, + "CacheRule": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/ProxyResource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + } + ] + ] + }, + "ConnectedRegistry": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/ProxyResource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + } + ] + ] + }, + "CredentialSet": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/ProxyResource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + } + ] + ] + }, + "ExportPipeline": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/ProxyResource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + } + ] + ] + }, + "ImportPipeline": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/ProxyResource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + } + ] + ] + }, + "PipelineRun": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/ProxyResource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + } + ] + ] + }, + "PrivateEndpointConnection": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/ProxyResource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + } + ] + ] + }, + "PrivateLinkResource": { + "allOf__added": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "type__deleted": { + "type": "string", + "readOnly": true + }, + "id__deleted": { + "type": "string" + }, + "name__deleted": { + "type": "string" + } + } + }, + "QuarantinePolicy": { + "properties": { + "status": { + "default__deleted": "disabled" + } + } + }, + "Registry": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/Resource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + } + ] + ] + }, + "RegistryNameCheckRequest": { + "properties": { + "type": { + "x-ms-enum": { + "name__deleted": "ContainerRegistryResourceType" + } + }, + "autoGeneratedDomainNameLabelScope": { + "default__deleted": "Unsecure" + } + } + }, + "RegistryProperties": { + "properties": { + "adminUserEnabled": { + "default__deleted": false + }, + "publicNetworkAccess": { + "default__deleted": "Enabled" + }, + "networkRuleBypassOptions": { + "default__deleted": "AzureServices" + }, + "networkRuleBypassAllowedForTasks": { + "default__deleted": false + }, + "zoneRedundancy": { + "default__deleted": "Disabled" + }, + "anonymousPullEnabled": { + "default__deleted": false + }, + "metadataSearch": { + "default__deleted": "Disabled" + }, + "autoGeneratedDomainNameLabelScope": { + "default__deleted": "Unsecure" + }, + "roleAssignmentMode": { + "default__deleted": "LegacyRegistryPermissions" + } + } + }, + "RegistryPropertiesUpdateParameters": { + "properties": { + "networkRuleBypassOptions": { + "default__deleted": "AzureServices" + }, + "metadataSearch": { + "default__deleted": "Disabled" + } + } + }, + "Replication": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/Resource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + } + ] + ] + }, + "ReplicationProperties": { + "properties": { + "zoneRedundancy": { + "default__deleted": "Disabled" + } + } + }, + "RetentionPolicy": { + "properties": { + "status": { + "default__deleted": "disabled" + } + } + }, + "ScopeMap": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/ProxyResource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + } + ] + ] + }, + "SoftDeletePolicy": { + "properties": { + "status": { + "default__deleted": "disabled" + } + } + }, + "Token": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/ProxyResource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + } + ] + ] + }, + "TrustPolicy": { + "properties": { + "status": { + "default__deleted": "disabled" + } + } + }, + "Webhook": { + "allOf": [ + [ + "~", + { + "$ref": { + "__old": "#/definitions/Resource", + "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + } + ] + ] + }, + "WebhookPropertiesCreateParameters": { + "properties": { + "serviceUri": { + "x-ms-secret__deleted": true + }, + "customHeaders": { + "x-ms-secret__deleted": true + } + } + }, + "WebhookPropertiesUpdateParameters": { + "properties": { + "serviceUri": { + "x-ms-secret__deleted": true + }, + "customHeaders": { + "x-ms-secret__deleted": true + } + } + } + } +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/newNormalizedSwagger.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/newNormalizedSwagger.json new file mode 100644 index 000000000000..06ad4ba543cd --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/newNormalizedSwagger.json @@ -0,0 +1,7086 @@ +{ + "swagger": "2.0", + "info": { + "title": "ContainerRegistryManagementClient", + "version": "2025-05-01-preview", + "description": "The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components." + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/providers/microsoft.ContainerRegistry/operations": { + "get": { + "operationId": "Operations_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "OperationList": { + "$ref": "./examples/OperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/checkNameAvailability": { + "post": { + "operationId": "Registries_CheckNameAvailability", + "parameters": [ + { + "name": "registryNameCheckRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryNameCheckRequest" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryNameStatus" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryCheckNameAvailable": { + "$ref": "./examples/RegistryCheckNameAvailable.json" + }, + "RegistryCheckNameNotAvailable": { + "$ref": "./examples/RegistryCheckNameNotAvailable.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryList": { + "$ref": "./examples/RegistryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_ListByResourceGroup", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryListByResourceGroup": { + "$ref": "./examples/RegistryListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}": { + "get": { + "operationId": "Registries_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGet": { + "$ref": "./examples/RegistryGet.json" + } + } + }, + "put": { + "operationId": "Registries_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "registry", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Registry" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryCreate": { + "$ref": "./examples/RegistryCreate.json" + }, + "RegistryCreateAbac": { + "$ref": "./examples/RegistryCreateAbac.json" + }, + "RegistryCreateDomainNameLabelScope": { + "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" + }, + "RegistryCreateZoneRedundant": { + "$ref": "./examples/RegistryCreateZoneRedundant.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Registry" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Registries_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "registryUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryUpdate": { + "$ref": "./examples/RegistryUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Registry" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Registries_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryDelete": { + "$ref": "./examples/RegistryDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { + "get": { + "operationId": "CacheRules_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRulesListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleList": { + "$ref": "./examples/CacheRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { + "get": { + "operationId": "CacheRules_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleGet": { + "$ref": "./examples/CacheRuleGet.json" + } + } + }, + "put": { + "operationId": "CacheRules_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "cacheRuleCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRule" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleCreate": { + "$ref": "./examples/CacheRuleCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CacheRule" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CacheRules_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "cacheRuleUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRuleUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleUpdate": { + "$ref": "./examples/CacheRuleUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CacheRule" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CacheRules_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleDelete": { + "$ref": "./examples/CacheRuleDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { + "get": { + "operationId": "ConnectedRegistries_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "$filter", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistryListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryList": { + "$ref": "./examples/ConnectedRegistryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { + "get": { + "operationId": "ConnectedRegistries_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryGet": { + "$ref": "./examples/ConnectedRegistryGet.json" + } + } + }, + "put": { + "operationId": "ConnectedRegistries_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryCreate": { + "$ref": "./examples/ConnectedRegistryCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectedRegistry" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ConnectedRegistries_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectedRegistryUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryUpdate": { + "$ref": "./examples/ConnectedRegistryUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectedRegistry" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ConnectedRegistries_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryDelete": { + "$ref": "./examples/ConnectedRegistryDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { + "post": { + "operationId": "ConnectedRegistries_Deactivate", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryDeactivate": { + "$ref": "./examples/ConnectedRegistryDeactivate.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { + "get": { + "operationId": "CredentialSets_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSetListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetList": { + "$ref": "./examples/CredentialSetList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { + "get": { + "operationId": "CredentialSets_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetGet": { + "$ref": "./examples/CredentialSetGet.json" + } + } + }, + "put": { + "operationId": "CredentialSets_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "credentialSetCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSet" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetCreate": { + "$ref": "./examples/CredentialSetCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CredentialSet" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CredentialSets_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "credentialSetUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSetUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetUpdate": { + "$ref": "./examples/CredentialSetUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CredentialSet" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CredentialSets_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetDelete": { + "$ref": "./examples/CredentialSetDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines": { + "get": { + "operationId": "ExportPipelines_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ExportPipelineListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineList": { + "$ref": "./examples/ExportPipelineList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { + "get": { + "operationId": "ExportPipelines_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineGet": { + "$ref": "./examples/ExportPipelineGet.json" + } + } + }, + "put": { + "operationId": "ExportPipelines_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ExportPipeline" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineCreate": { + "$ref": "./examples/ExportPipelineCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExportPipeline" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExportPipelines_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineDelete": { + "$ref": "./examples/ExportPipelineDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { + "post": { + "operationId": "Registries_GenerateCredentials", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "generateCredentialsParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenerateCredentialsParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/GenerateCredentialsResult" + } + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGenerateCredentials": { + "$ref": "./examples/RegistryGenerateCredentials.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage": { + "post": { + "operationId": "Registries_ImportImage", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ImportImageParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportImageByManifestDigest": { + "$ref": "./examples/ImportImageByManifestDigest.json" + }, + "ImportImageByTag": { + "$ref": "./examples/ImportImageByTag.json" + }, + "ImportImageFromPublicRegistry": { + "$ref": "./examples/ImportImageFromPublicRegistry.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { + "get": { + "operationId": "ImportPipelines_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ImportPipelineListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineList": { + "$ref": "./examples/ImportPipelineList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { + "get": { + "operationId": "ImportPipelines_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineGet": { + "$ref": "./examples/ImportPipelineGet.json" + } + } + }, + "put": { + "operationId": "ImportPipelines_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ImportPipeline" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineCreate": { + "$ref": "./examples/ImportPipelineCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ImportPipeline" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ImportPipelines_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineDelete": { + "$ref": "./examples/ImportPipelineDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { + "post": { + "operationId": "Registries_ListCredentials", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryListCredentials": { + "$ref": "./examples/RegistryListCredentials.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listUsages": { + "get": { + "operationId": "Registries_ListUsages", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryUsageListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryListUsages": { + "$ref": "./examples/RegistryListUsages.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { + "get": { + "operationId": "Archives_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ArchiveListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveList": { + "$ref": "./examples/ArchiveList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { + "get": { + "operationId": "Archives_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveGet": { + "$ref": "./examples/ArchiveGet.json" + } + } + }, + "put": { + "operationId": "Archives_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Archive" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Archive" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveCreate": { + "$ref": "./examples/ArchiveCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Archive" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Archives_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ArchiveUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveUpdate": { + "$ref": "./examples/ArchiveUpdate.json" + } + } + }, + "delete": { + "operationId": "Archives_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveDelete": { + "$ref": "./examples/ArchiveDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { + "get": { + "operationId": "ArchiveVersions_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ArchiveVersionListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionList": { + "$ref": "./examples/ArchiveVersionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { + "get": { + "operationId": "ArchiveVersions_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveVersionName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionGet": { + "$ref": "./examples/ArchiveVersionGet.json" + } + } + }, + "put": { + "operationId": "ArchiveVersions_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveVersionName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionCreate": { + "$ref": "./examples/ArchiveVersionCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ArchiveVersion" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ArchiveVersions_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveVersionName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionDelete": { + "$ref": "./examples/ArchiveVersionDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { + "get": { + "operationId": "PipelineRuns_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PipelineRunListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunList": { + "$ref": "./examples/PipelineRunList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { + "get": { + "operationId": "PipelineRuns_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PipelineRun" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunGet": { + "$ref": "./examples/PipelineRunGet.json" + } + } + }, + "put": { + "operationId": "PipelineRuns_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PipelineRun" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PipelineRun" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PipelineRun" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunCreate_Export": { + "$ref": "./examples/PipelineRunCreate_Export.json" + }, + "PipelineRunCreate_Import": { + "$ref": "./examples/PipelineRunCreate_Import.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/PipelineRun" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PipelineRuns_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunDelete": { + "$ref": "./examples/PipelineRunDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { + "get": { + "operationId": "PrivateEndpointConnections_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionList": { + "$ref": "./examples/PrivateEndpointConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionGet": { + "$ref": "./examples/PrivateEndpointConnectionGet.json" + } + } + }, + "put": { + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnection", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionCreateOrUpdate": { + "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/PrivateEndpointConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionDelete": { + "$ref": "./examples/PrivateEndpointConnectionDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { + "get": { + "operationId": "Registries_ListPrivateLinkResources", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryListPrivateLinkResources": { + "$ref": "./examples/RegistryListPrivateLinkResources.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { + "get": { + "operationId": "Registries_GetPrivateLinkResource", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "groupName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGetPrivateLinkResource": { + "$ref": "./examples/RegistryGetPrivateLinkResource.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { + "post": { + "operationId": "Registries_RegenerateCredential", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "regenerateCredentialParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateCredentialParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryRegenerateCredential": { + "$ref": "./examples/RegistryRegenerateCredential.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications": { + "get": { + "operationId": "Replications_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ReplicationListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ReplicationList": { + "$ref": "./examples/ReplicationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { + "get": { + "operationId": "Replications_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ReplicationGet": { + "$ref": "./examples/ReplicationGet.json" + } + } + }, + "put": { + "operationId": "Replications_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replication", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Replication" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ReplicationCreate": { + "$ref": "./examples/ReplicationCreate.json" + }, + "ReplicationCreateZoneRedundant": { + "$ref": "./examples/ReplicationCreateZoneRedundant.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Replication" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Replications_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ReplicationUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ReplicationUpdate": { + "$ref": "./examples/ReplicationUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Replication" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Replications_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ReplicationDelete": { + "$ref": "./examples/ReplicationDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { + "get": { + "operationId": "ScopeMaps_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMapListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapList": { + "$ref": "./examples/ScopeMapList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { + "get": { + "operationId": "ScopeMaps_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapGet": { + "$ref": "./examples/ScopeMapGet.json" + } + } + }, + "put": { + "operationId": "ScopeMaps_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + }, + { + "name": "scopeMapCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMap" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapCreate": { + "$ref": "./examples/ScopeMapCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ScopeMap" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ScopeMaps_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + }, + { + "name": "scopeMapUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMapUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapUpdate": { + "$ref": "./examples/ScopeMapUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ScopeMap" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ScopeMaps_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapDelete": { + "$ref": "./examples/ScopeMapDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens": { + "get": { + "operationId": "Tokens_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/TokenListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenList": { + "$ref": "./examples/TokenList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { + "get": { + "operationId": "Tokens_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenGet": { + "$ref": "./examples/TokenGet.json" + } + } + }, + "put": { + "operationId": "Tokens_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "tokenCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Token" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenCreate": { + "$ref": "./examples/TokenCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Token" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Tokens_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "tokenUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TokenUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenUpdate": { + "$ref": "./examples/TokenUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Token" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Tokens_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenDelete": { + "$ref": "./examples/TokenDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks": { + "get": { + "operationId": "Webhooks_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/WebhookListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookList": { + "$ref": "./examples/WebhookList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { + "get": { + "operationId": "Webhooks_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookGet": { + "$ref": "./examples/WebhookGet.json" + } + } + }, + "put": { + "operationId": "Webhooks_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookCreateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookCreate": { + "$ref": "./examples/WebhookCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Webhook" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Webhooks_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookUpdate": { + "$ref": "./examples/WebhookUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Webhook" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Webhooks_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookDelete": { + "$ref": "./examples/WebhookDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { + "post": { + "operationId": "Webhooks_GetCallbackConfig", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CallbackConfig" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookGetCallbackConfig": { + "$ref": "./examples/WebhookGetCallbackConfig.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { + "post": { + "operationId": "Webhooks_ListEvents", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/EventListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookListEvents": { + "$ref": "./examples/WebhookListEvents.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { + "post": { + "operationId": "Webhooks_Ping", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/EventInfo" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookPing": { + "$ref": "./examples/WebhookPing.json" + } + } + } + } + }, + "definitions": { + "ActivationProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "ActivationStatus", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "Actor": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, + "Archive": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ArchiveListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Archive" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ArchivePackageSourceProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "remote" + ], + "x-ms-enum": { + "name": "PackageSourceType", + "modelAsString": true + } + }, + "url": { + "type": "string" + } + } + }, + "ArchiveProperties": { + "type": "object", + "properties": { + "packageSource": { + "$ref": "#/definitions/ArchivePackageSourceProperties" + }, + "publishedVersion": { + "type": "string" + }, + "repositoryEndpointPrefix": { + "type": "string" + }, + "repositoryEndpoint": { + "type": "string", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "ArchiveUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "ArchiveUpdateProperties": { + "type": "object", + "properties": { + "publishedVersion": { + "type": "string" + } + } + }, + "ArchiveVersion": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveVersionProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ArchiveVersionListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ArchiveVersionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "archiveVersionErrorMessage": { + "type": "string" + } + } + }, + "AuthCredential": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "Credential1" + ], + "x-ms-enum": { + "name": "CredentialName", + "modelAsString": true + } + }, + "usernameSecretIdentifier": { + "type": "string" + }, + "passwordSecretIdentifier": { + "type": "string" + }, + "credentialHealth": { + "$ref": "#/definitions/CredentialHealth", + "readOnly": true + } + } + }, + "AzureADAuthenticationAsArmPolicy": { + "type": "object", + "properties": { + "status": { + "type": "string", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "AzureADAuthenticationAsArmPolicyStatus", + "modelAsString": true + } + } + } + }, + "CacheRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CacheRuleProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "CacheRuleProperties": { + "type": "object", + "properties": { + "credentialSetResourceId": { + "type": "string" + }, + "sourceRepository": { + "type": "string" + }, + "targetRepository": { + "type": "string" + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "CacheRuleUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CacheRuleUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "CacheRuleUpdateProperties": { + "type": "object", + "properties": { + "credentialSetResourceId": { + "type": "string" + } + } + }, + "CacheRulesListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/CacheRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "CallbackConfig": { + "type": "object", + "properties": { + "serviceUri": { + "type": "string" + }, + "customHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "serviceUri" + ] + }, + "ConnectedRegistry": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectedRegistryProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ConnectedRegistryListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ConnectedRegistryProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "mode": { + "type": "string", + "enum": [ + "ReadWrite", + "ReadOnly", + "Registry", + "Mirror" + ], + "x-ms-enum": { + "name": "ConnectedRegistryMode", + "modelAsString": true + } + }, + "version": { + "type": "string", + "readOnly": true + }, + "connectionState": { + "type": "string", + "enum": [ + "Online", + "Offline", + "Syncing", + "Unhealthy" + ], + "x-ms-enum": { + "name": "ConnectionState", + "modelAsString": true + }, + "readOnly": true + }, + "lastActivityTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "activation": { + "$ref": "#/definitions/ActivationProperties", + "readOnly": true + }, + "parent": { + "$ref": "#/definitions/ParentProperties" + }, + "clientTokenIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "loginServer": { + "$ref": "#/definitions/LoginServerProperties" + }, + "logging": { + "$ref": "#/definitions/LoggingProperties" + }, + "statusDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/StatusDetailProperties" + }, + "readOnly": true, + "x-ms-identifiers": [ + "correlationId" + ] + }, + "notificationsList": { + "type": "array", + "items": { + "type": "string" + } + }, + "garbageCollection": { + "$ref": "#/definitions/GarbageCollectionProperties" + } + }, + "required": [ + "mode", + "parent" + ] + }, + "ConnectedRegistryUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectedRegistryUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "ConnectedRegistryUpdateProperties": { + "type": "object", + "properties": { + "syncProperties": { + "$ref": "#/definitions/SyncUpdateProperties" + }, + "logging": { + "$ref": "#/definitions/LoggingProperties" + }, + "clientTokenIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "notificationsList": { + "type": "array", + "items": { + "type": "string" + } + }, + "garbageCollection": { + "$ref": "#/definitions/GarbageCollectionProperties" + } + } + }, + "CredentialHealth": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Healthy", + "Unhealthy" + ], + "x-ms-enum": { + "name": "CredentialHealthStatus", + "modelAsString": true + } + }, + "errorCode": { + "type": "string" + }, + "errorMessage": { + "type": "string" + } + } + }, + "CredentialSet": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CredentialSetProperties", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/IdentityProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "CredentialSetListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/CredentialSet" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "CredentialSetProperties": { + "type": "object", + "properties": { + "loginServer": { + "type": "string" + }, + "authCredentials": { + "type": "array", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "CredentialSetUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CredentialSetUpdateProperties", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/IdentityProperties" + } + } + }, + "CredentialSetUpdateProperties": { + "type": "object", + "properties": { + "authCredentials": { + "type": "array", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "DebianArchivePackageSourceProperties": { + "type": "object", + "properties": { + "distributionName": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ArchivePackageSourceProperties" + } + ] + }, + "DebianArchiveProperties": { + "type": "object", + "properties": { + "distributionName": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ArchiveProperties" + } + ] + }, + "EncryptionProperty": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true + } + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties" + } + } + }, + "Event": { + "type": "object", + "properties": { + "eventRequestMessage": { + "$ref": "#/definitions/EventRequestMessage" + }, + "eventResponseMessage": { + "$ref": "#/definitions/EventResponseMessage" + } + }, + "allOf": [ + { + "$ref": "#/definitions/EventInfo" + } + ] + }, + "EventContent": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "action": { + "type": "string" + }, + "target": { + "$ref": "#/definitions/Target" + }, + "request": { + "$ref": "#/definitions/Request" + }, + "actor": { + "$ref": "#/definitions/Actor" + }, + "source": { + "$ref": "#/definitions/Source" + } + } + }, + "EventInfo": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + }, + "EventListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Event" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "EventRequestMessage": { + "type": "object", + "properties": { + "content": { + "$ref": "#/definitions/EventContent" + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "method": { + "type": "string" + }, + "requestUri": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "EventResponseMessage": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "reasonPhrase": { + "type": "string" + }, + "statusCode": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "ExportPipeline": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ExportPipelineProperties", + "x-ms-client-flatten": true + }, + "location": { + "type": "string" + }, + "identity": { + "$ref": "#/definitions/IdentityProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ExportPipelineListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ExportPipelineProperties": { + "type": "object", + "properties": { + "target": { + "$ref": "#/definitions/ExportPipelineTargetProperties" + }, + "options": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "x-ms-enum": { + "name": "PipelineOptions", + "modelAsString": true + } + } + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "target" + ] + }, + "ExportPipelineTargetProperties": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "keyVaultUri": { + "type": "string" + } + }, + "required": [ + "keyVaultUri" + ] + }, + "ExportPolicy": { + "type": "object", + "properties": { + "status": { + "type": "string", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "ExportPolicyStatus", + "modelAsString": true + } + } + } + }, + "GarbageCollectionProperties": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "schedule": { + "type": "string" + } + } + }, + "GenerateCredentialsParameters": { + "type": "object", + "properties": { + "tokenId": { + "type": "string" + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "enum": [ + "password1", + "password2" + ], + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true + } + } + } + }, + "GenerateCredentialsResult": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + } + } + } + }, + "IPRule": { + "type": "object", + "properties": { + "action": { + "type": "string", + "default": "Allow", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true + } + }, + "value": { + "type": "string", + "x-ms-client-name": "IPAddressOrRange" + } + }, + "required": [ + "value" + ] + }, + "IdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "readOnly": true + }, + "tenantId": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } + } + } + }, + "ImportImageParameters": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/ImportSource" + }, + "targetTags": { + "type": "array", + "items": { + "type": "string" + } + }, + "untaggedTargetRepositories": { + "type": "array", + "items": { + "type": "string" + } + }, + "mode": { + "type": "string", + "default": "NoForce", + "enum": [ + "NoForce", + "Force" + ], + "x-ms-enum": { + "name": "ImportMode", + "modelAsString": true + } + } + }, + "required": [ + "source" + ] + }, + "ImportPipeline": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ImportPipelineProperties", + "x-ms-client-flatten": true + }, + "location": { + "type": "string" + }, + "identity": { + "$ref": "#/definitions/IdentityProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ImportPipelineListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ImportPipelineProperties": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/ImportPipelineSourceProperties" + }, + "trigger": { + "$ref": "#/definitions/PipelineTriggerProperties" + }, + "options": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "x-ms-enum": { + "name": "PipelineOptions", + "modelAsString": true + } + } + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "source" + ] + }, + "ImportPipelineSourceProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "AzureStorageBlobContainer", + "enum": [ + "AzureStorageBlobContainer" + ], + "x-ms-enum": { + "name": "PipelineSourceType", + "modelAsString": true + } + }, + "uri": { + "type": "string" + }, + "keyVaultUri": { + "type": "string" + } + }, + "required": [ + "keyVaultUri" + ] + }, + "ImportSource": { + "type": "object", + "properties": { + "resourceId": { + "type": "string" + }, + "registryUri": { + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/ImportSourceCredentials" + }, + "sourceImage": { + "type": "string" + } + }, + "required": [ + "sourceImage" + ] + }, + "ImportSourceCredentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + }, + "required": [ + "password" + ] + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "keyIdentifier": { + "type": "string" + }, + "versionedKeyIdentifier": { + "type": "string", + "readOnly": true + }, + "identity": { + "type": "string" + }, + "keyRotationEnabled": { + "type": "boolean", + "readOnly": true + }, + "lastKeyRotationTimestamp": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "LoggingProperties": { + "type": "object", + "properties": { + "logLevel": { + "type": "string", + "default": "Information", + "enum": [ + "Debug", + "Information", + "Warning", + "Error", + "None" + ], + "x-ms-enum": { + "name": "LogLevel", + "modelAsString": true + } + }, + "auditLogStatus": { + "type": "string", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AuditLogStatus", + "modelAsString": true + } + } + } + }, + "LoginServerProperties": { + "type": "object", + "properties": { + "host": { + "type": "string", + "readOnly": true + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "readOnly": true + } + } + }, + "NetworkRuleSet": { + "type": "object", + "properties": { + "defaultAction": { + "type": "string", + "default": "Allow", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": true + } + }, + "ipRules": { + "type": "array", + "items": { + "$ref": "#/definitions/IPRule" + } + } + }, + "required": [ + "defaultAction" + ] + }, + "ParentProperties": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "arm-id" + }, + "syncProperties": { + "$ref": "#/definitions/SyncProperties" + } + }, + "required": [ + "syncProperties" + ] + }, + "PipelineRun": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PipelineRunProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PipelineRunListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/PipelineRun" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "PipelineRunProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "request": { + "$ref": "#/definitions/PipelineRunRequest" + }, + "response": { + "$ref": "#/definitions/PipelineRunResponse", + "readOnly": true + }, + "forceUpdateTag": { + "type": "string" + } + } + }, + "PipelineRunRequest": { + "type": "object", + "properties": { + "pipelineResourceId": { + "type": "string" + }, + "artifacts": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "$ref": "#/definitions/PipelineRunSourceProperties" + }, + "target": { + "$ref": "#/definitions/PipelineRunTargetProperties" + }, + "catalogDigest": { + "type": "string" + } + } + }, + "PipelineRunResponse": { + "type": "object", + "properties": { + "status": { + "type": "string" + }, + "importedArtifacts": { + "type": "array", + "items": { + "type": "string" + } + }, + "progress": { + "$ref": "#/definitions/ProgressProperties" + }, + "startTime": { + "type": "string", + "format": "date-time" + }, + "finishTime": { + "type": "string", + "format": "date-time" + }, + "source": { + "$ref": "#/definitions/ImportPipelineSourceProperties" + }, + "target": { + "$ref": "#/definitions/ExportPipelineTargetProperties" + }, + "catalogDigest": { + "type": "string" + }, + "trigger": { + "$ref": "#/definitions/PipelineTriggerDescriptor" + }, + "pipelineRunErrorMessage": { + "type": "string" + } + } + }, + "PipelineRunSourceProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "AzureStorageBlob", + "enum": [ + "AzureStorageBlob" + ], + "x-ms-enum": { + "name": "PipelineRunSourceType", + "modelAsString": true + } + }, + "name": { + "type": "string" + } + } + }, + "PipelineRunTargetProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "AzureStorageBlob", + "enum": [ + "AzureStorageBlob" + ], + "x-ms-enum": { + "name": "PipelineRunTargetType", + "modelAsString": true + } + }, + "name": { + "type": "string" + } + } + }, + "PipelineSourceTriggerDescriptor": { + "type": "object", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time" + } + } + }, + "PipelineSourceTriggerProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true + } + } + }, + "required": [ + "status" + ] + }, + "PipelineTriggerDescriptor": { + "type": "object", + "properties": { + "sourceTrigger": { + "$ref": "#/definitions/PipelineSourceTriggerDescriptor" + } + } + }, + "PipelineTriggerProperties": { + "type": "object", + "properties": { + "sourceTrigger": { + "$ref": "#/definitions/PipelineSourceTriggerProperties" + } + } + }, + "Policies": { + "type": "object", + "properties": { + "quarantinePolicy": { + "$ref": "#/definitions/QuarantinePolicy" + }, + "trustPolicy": { + "$ref": "#/definitions/TrustPolicy" + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy" + }, + "exportPolicy": { + "$ref": "#/definitions/ExportPolicy" + }, + "azureADAuthenticationAsArmPolicy": { + "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy" + }, + "softDeletePolicy": { + "$ref": "#/definitions/SoftDeletePolicy" + } + } + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "PrivateLinkResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "PrivateLinkResourceProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "requiredMembers": { + "type": "array", + "items": { + "type": "string" + } + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true + } + }, + "description": { + "type": "string" + }, + "actionsRequired": { + "type": "string", + "enum": [ + "None", + "Recreate" + ], + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true + } + } + } + }, + "ProgressProperties": { + "type": "object", + "properties": { + "percentage": { + "type": "string" + } + } + }, + "QuarantinePolicy": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "RegenerateCredentialParameters": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "password", + "password2" + ], + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + } + }, + "required": [ + "name" + ] + }, + "Registry": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/RegistryProperties", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/Sku" + }, + "identity": { + "$ref": "#/definitions/IdentityProperties" + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "RegistryListCredentialsResult": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/RegistryPassword" + } + } + } + }, + "RegistryListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Registry" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "RegistryNameCheckRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "resourceGroupName": { + "type": "string", + "minLength": 1, + "maxLength": 90 + }, + "autoGeneratedDomainNameLabelScope": { + "type": "string", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true + } + } + }, + "required": [ + "name", + "type" + ] + }, + "RegistryNameStatus": { + "type": "object", + "properties": { + "availableLoginServerName": { + "type": "string" + }, + "nameAvailable": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "RegistryPassword": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "password", + "password2" + ], + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + }, + "value": { + "type": "string" + } + } + }, + "RegistryProperties": { + "type": "object", + "properties": { + "loginServer": { + "type": "string", + "readOnly": true + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "status": { + "$ref": "#/definitions/Status", + "readOnly": true + }, + "adminUserEnabled": { + "type": "boolean" + }, + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet" + }, + "policies": { + "$ref": "#/definitions/Policies" + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty" + }, + "dataEndpointEnabled": { + "type": "boolean" + }, + "dataEndpointHostNames": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "publicNetworkAccess": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "networkRuleBypassOptions": { + "type": "string", + "enum": [ + "AzureServices", + "None" + ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true + } + }, + "networkRuleBypassAllowedForTasks": { + "type": "boolean" + }, + "zoneRedundancy": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true + } + }, + "anonymousPullEnabled": { + "type": "boolean" + }, + "metadataSearch": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true + } + }, + "autoGeneratedDomainNameLabelScope": { + "type": "string", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true + } + }, + "roleAssignmentMode": { + "type": "string", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true + } + } + } + }, + "RegistryPropertiesUpdateParameters": { + "type": "object", + "properties": { + "adminUserEnabled": { + "type": "boolean" + }, + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet" + }, + "policies": { + "$ref": "#/definitions/Policies" + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty" + }, + "dataEndpointEnabled": { + "type": "boolean" + }, + "publicNetworkAccess": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "networkRuleBypassOptions": { + "type": "string", + "enum": [ + "AzureServices", + "None" + ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true + } + }, + "networkRuleBypassAllowedForTasks": { + "type": "boolean" + }, + "anonymousPullEnabled": { + "type": "boolean" + }, + "metadataSearch": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true + } + }, + "roleAssignmentMode": { + "type": "string", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true + } + } + } + }, + "RegistryUpdateParameters": { + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku" + }, + "properties": { + "$ref": "#/definitions/RegistryPropertiesUpdateParameters", + "x-ms-client-flatten": true + } + } + }, + "RegistryUsage": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "limit": { + "type": "integer", + "format": "int64" + }, + "currentValue": { + "type": "integer", + "format": "int64" + }, + "unit": { + "type": "string", + "enum": [ + "Count", + "Bytes" + ], + "x-ms-enum": { + "name": "RegistryUsageUnit", + "modelAsString": true + } + } + } + }, + "RegistryUsageListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RegistryUsage" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "Replication": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ReplicationProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ReplicationListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Replication" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ReplicationProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "status": { + "$ref": "#/definitions/Status", + "readOnly": true + }, + "regionEndpointEnabled": { + "type": "boolean", + "default": true + }, + "zoneRedundancy": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true + } + } + } + }, + "ReplicationUpdateParameters": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ReplicationUpdateParametersProperties", + "x-ms-client-flatten": true + } + } + }, + "ReplicationUpdateParametersProperties": { + "type": "object", + "properties": { + "regionEndpointEnabled": { + "type": "boolean" + } + } + }, + "Request": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "addr": { + "type": "string" + }, + "host": { + "type": "string" + }, + "method": { + "type": "string" + }, + "useragent": { + "type": "string" + } + } + }, + "RetentionPolicy": { + "type": "object", + "properties": { + "days": { + "type": "integer", + "format": "int32", + "default": 7 + }, + "lastUpdatedTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "ScopeMap": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ScopeMapListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ScopeMap" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ScopeMapProperties": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string", + "readOnly": true + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "actions": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "actions" + ] + }, + "ScopeMapPropertiesUpdateParameters": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ScopeMapUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", + "x-ms-client-flatten": true + } + } + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, + "tier": { + "type": "string", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "name" + ] + }, + "SoftDeletePolicy": { + "type": "object", + "properties": { + "retentionDays": { + "type": "integer", + "format": "int32", + "default": 7 + }, + "lastUpdatedTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "Source": { + "type": "object", + "properties": { + "addr": { + "type": "string" + }, + "instanceID": { + "type": "string" + } + } + }, + "Status": { + "type": "object", + "properties": { + "displayStatus": { + "type": "string", + "readOnly": true + }, + "message": { + "type": "string", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "StatusDetailProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "readOnly": true + }, + "code": { + "type": "string", + "readOnly": true + }, + "description": { + "type": "string", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "correlationId": { + "type": "string", + "readOnly": true + } + } + }, + "SyncProperties": { + "type": "object", + "properties": { + "tokenId": { + "type": "string" + }, + "schedule": { + "type": "string" + }, + "syncWindow": { + "type": "string", + "format": "duration" + }, + "messageTtl": { + "type": "string", + "format": "duration" + }, + "lastSyncTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "gatewayEndpoint": { + "type": "string", + "readOnly": true + } + }, + "required": [ + "messageTtl", + "tokenId" + ] + }, + "SyncUpdateProperties": { + "type": "object", + "properties": { + "schedule": { + "type": "string" + }, + "syncWindow": { + "type": "string", + "format": "duration" + }, + "messageTtl": { + "type": "string", + "format": "duration" + } + } + }, + "Target": { + "type": "object", + "properties": { + "mediaType": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "digest": { + "type": "string" + }, + "length": { + "type": "integer", + "format": "int64" + }, + "repository": { + "type": "string" + }, + "url": { + "type": "string" + }, + "tag": { + "type": "string" + }, + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "TlsCertificateProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "LocalDirectory" + ], + "x-ms-enum": { + "name": "CertificateType", + "modelAsString": true + }, + "readOnly": true + }, + "location": { + "type": "string", + "readOnly": true + } + } + }, + "TlsProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "TlsStatus", + "modelAsString": true + }, + "readOnly": true + }, + "certificate": { + "$ref": "#/definitions/TlsCertificateProperties", + "readOnly": true + } + } + }, + "Token": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TokenProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "TokenCertificate": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "certificate1", + "certificate2" + ], + "x-ms-enum": { + "name": "TokenCertificateName", + "modelAsString": true + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "thumbprint": { + "type": "string" + }, + "encodedPemCertificate": { + "type": "string" + } + } + }, + "TokenCredentialsProperties": { + "type": "object", + "properties": { + "certificates": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCertificate" + }, + "x-ms-identifiers": [ + "thumbprint" + ] + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + } + } + } + }, + "TokenListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Token" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "TokenPassword": { + "type": "object", + "properties": { + "creationTime": { + "type": "string", + "format": "date-time" + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "enum": [ + "password1", + "password2" + ], + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true + } + }, + "value": { + "type": "string", + "readOnly": true + } + } + }, + "TokenProperties": { + "type": "object", + "properties": { + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "scopeMapId": { + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true + } + } + } + }, + "TokenUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TokenUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "TokenUpdateProperties": { + "type": "object", + "properties": { + "scopeMapId": { + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true + } + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties" + } + } + }, + "TrustPolicy": { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "Notary", + "enum": [ + "Notary" + ], + "x-ms-enum": { + "name": "TrustPolicyType", + "modelAsString": true + } + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "TypeSpec.Http.OkResponse": { + "type": "object" + }, + "UserIdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "readOnly": true + }, + "clientId": { + "type": "string", + "readOnly": true + } + } + }, + "Webhook": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/WebhookProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "WebhookCreateParameters": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "location": { + "type": "string" + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesCreateParameters", + "x-ms-client-flatten": true + } + }, + "required": [ + "location" + ] + }, + "WebhookListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "WebhookProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "actions" + ] + }, + "WebhookPropertiesCreateParameters": { + "type": "object", + "properties": { + "serviceUri": { + "type": "string" + }, + "customHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + } + }, + "required": [ + "actions", + "serviceUri" + ] + }, + "WebhookPropertiesUpdateParameters": { + "type": "object", + "properties": { + "serviceUri": { + "type": "string" + }, + "customHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + } + } + }, + "WebhookUpdateParameters": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesUpdateParameters", + "x-ms-client-flatten": true + } + } + } + }, + "parameters": {} +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/oldNormalizedSwagger.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/oldNormalizedSwagger.json new file mode 100644 index 000000000000..44ab591468a4 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/oldNormalizedSwagger.json @@ -0,0 +1,7135 @@ +{ + "swagger": "2.0", + "info": { + "title": "ContainerRegistryManagementClient", + "version": "2025-05-01-preview" + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/providers/microsoft.ContainerRegistry/operations": { + "get": { + "operationId": "Operations_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + } + }, + "x-ms-examples": { + "OperationList": { + "$ref": "./examples/OperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/checkNameAvailability": { + "post": { + "operationId": "Registries_CheckNameAvailability", + "parameters": [ + { + "name": "registryNameCheckRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryNameCheckRequest" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryNameStatus" + } + } + }, + "x-ms-examples": { + "RegistryCheckNameAvailable": { + "$ref": "./examples/RegistryCheckNameAvailable.json" + }, + "RegistryCheckNameNotAvailable": { + "$ref": "./examples/RegistryCheckNameNotAvailable.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListResult" + } + } + }, + "x-ms-examples": { + "RegistryList": { + "$ref": "./examples/RegistryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_ListByResourceGroup", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListResult" + } + } + }, + "x-ms-examples": { + "RegistryListByResourceGroup": { + "$ref": "./examples/RegistryListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}": { + "get": { + "operationId": "Registries_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + } + } + }, + "x-ms-examples": { + "RegistryGet": { + "$ref": "./examples/RegistryGet.json" + } + } + }, + "put": { + "operationId": "Registries_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "registry", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Registry" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "RegistryCreate": { + "$ref": "./examples/RegistryCreate.json" + }, + "RegistryCreateAbac": { + "$ref": "./examples/RegistryCreateAbac.json" + }, + "RegistryCreateDomainNameLabelScope": { + "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" + }, + "RegistryCreateZoneRedundant": { + "$ref": "./examples/RegistryCreateZoneRedundant.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Registries_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "registryUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "RegistryUpdate": { + "$ref": "./examples/RegistryUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Registries_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + } + }, + "x-ms-examples": { + "RegistryDelete": { + "$ref": "./examples/RegistryDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { + "get": { + "operationId": "CacheRules_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRulesListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleList": { + "$ref": "./examples/CacheRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { + "get": { + "operationId": "CacheRules_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleGet": { + "$ref": "./examples/CacheRuleGet.json" + } + } + }, + "put": { + "operationId": "CacheRules_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "cacheRuleCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRule" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleCreate": { + "$ref": "./examples/CacheRuleCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CacheRules_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "cacheRuleUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRuleUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleUpdate": { + "$ref": "./examples/CacheRuleUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CacheRules_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleDelete": { + "$ref": "./examples/CacheRuleDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { + "get": { + "operationId": "ConnectedRegistries_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "$filter", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistryListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryList": { + "$ref": "./examples/ConnectedRegistryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { + "get": { + "operationId": "ConnectedRegistries_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryGet": { + "$ref": "./examples/ConnectedRegistryGet.json" + } + } + }, + "put": { + "operationId": "ConnectedRegistries_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryCreate": { + "$ref": "./examples/ConnectedRegistryCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ConnectedRegistries_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectedRegistryUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryUpdate": { + "$ref": "./examples/ConnectedRegistryUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ConnectedRegistries_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryDelete": { + "$ref": "./examples/ConnectedRegistryDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { + "post": { + "operationId": "ConnectedRegistries_Deactivate", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryDeactivate": { + "$ref": "./examples/ConnectedRegistryDeactivate.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { + "get": { + "operationId": "CredentialSets_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSetListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetList": { + "$ref": "./examples/CredentialSetList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { + "get": { + "operationId": "CredentialSets_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetGet": { + "$ref": "./examples/CredentialSetGet.json" + } + } + }, + "put": { + "operationId": "CredentialSets_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "credentialSetCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSet" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetCreate": { + "$ref": "./examples/CredentialSetCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CredentialSets_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "credentialSetUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSetUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetUpdate": { + "$ref": "./examples/CredentialSetUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CredentialSets_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetDelete": { + "$ref": "./examples/CredentialSetDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines": { + "get": { + "operationId": "ExportPipelines_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ExportPipelineListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineList": { + "$ref": "./examples/ExportPipelineList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { + "get": { + "operationId": "ExportPipelines_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineGet": { + "$ref": "./examples/ExportPipelineGet.json" + } + } + }, + "put": { + "operationId": "ExportPipelines_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ExportPipeline" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineCreate": { + "$ref": "./examples/ExportPipelineCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExportPipelines_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineDelete": { + "$ref": "./examples/ExportPipelineDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { + "post": { + "operationId": "Registries_GenerateCredentials", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "generateCredentialsParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenerateCredentialsParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/GenerateCredentialsResult" + } + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGenerateCredentials": { + "$ref": "./examples/RegistryGenerateCredentials.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage": { + "post": { + "operationId": "Registries_ImportImage", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ImportImageParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "ImportImageByManifestDigest": { + "$ref": "./examples/ImportImageByManifestDigest.json" + }, + "ImportImageByTag": { + "$ref": "./examples/ImportImageByTag.json" + }, + "ImportImageFromPublicRegistry": { + "$ref": "./examples/ImportImageFromPublicRegistry.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { + "get": { + "operationId": "ImportPipelines_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ImportPipelineListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineList": { + "$ref": "./examples/ImportPipelineList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { + "get": { + "operationId": "ImportPipelines_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineGet": { + "$ref": "./examples/ImportPipelineGet.json" + } + } + }, + "put": { + "operationId": "ImportPipelines_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ImportPipeline" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineCreate": { + "$ref": "./examples/ImportPipelineCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ImportPipelines_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineDelete": { + "$ref": "./examples/ImportPipelineDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { + "post": { + "operationId": "Registries_ListCredentials", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" + } + } + }, + "x-ms-examples": { + "RegistryListCredentials": { + "$ref": "./examples/RegistryListCredentials.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listUsages": { + "get": { + "operationId": "Registries_ListUsages", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryUsageListResult" + } + } + }, + "x-ms-examples": { + "RegistryListUsages": { + "$ref": "./examples/RegistryListUsages.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { + "get": { + "operationId": "Archives_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ArchiveListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveList": { + "$ref": "./examples/ArchiveList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { + "get": { + "operationId": "Archives_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveGet": { + "$ref": "./examples/ArchiveGet.json" + } + } + }, + "put": { + "operationId": "Archives_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Archive" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Archive" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveCreate": { + "$ref": "./examples/ArchiveCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Archives_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ArchiveUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveUpdate": { + "$ref": "./examples/ArchiveUpdate.json" + } + } + }, + "delete": { + "operationId": "Archives_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveDelete": { + "$ref": "./examples/ArchiveDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { + "get": { + "operationId": "ArchiveVersions_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ArchiveVersionListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionList": { + "$ref": "./examples/ArchiveVersionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { + "get": { + "operationId": "ArchiveVersions_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveVersionName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionGet": { + "$ref": "./examples/ArchiveVersionGet.json" + } + } + }, + "put": { + "operationId": "ArchiveVersions_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveVersionName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionCreate": { + "$ref": "./examples/ArchiveVersionCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ArchiveVersions_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveVersionName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionDelete": { + "$ref": "./examples/ArchiveVersionDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { + "get": { + "operationId": "PipelineRuns_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PipelineRunListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunList": { + "$ref": "./examples/PipelineRunList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { + "get": { + "operationId": "PipelineRuns_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PipelineRun" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunGet": { + "$ref": "./examples/PipelineRunGet.json" + } + } + }, + "put": { + "operationId": "PipelineRuns_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PipelineRun" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PipelineRun" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PipelineRun" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunCreate_Export": { + "$ref": "./examples/PipelineRunCreate_Export.json" + }, + "PipelineRunCreate_Import": { + "$ref": "./examples/PipelineRunCreate_Import.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PipelineRuns_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunDelete": { + "$ref": "./examples/PipelineRunDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { + "get": { + "operationId": "PrivateEndpointConnections_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionList": { + "$ref": "./examples/PrivateEndpointConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionGet": { + "$ref": "./examples/PrivateEndpointConnectionGet.json" + } + } + }, + "put": { + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnection", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionCreateOrUpdate": { + "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionDelete": { + "$ref": "./examples/PrivateEndpointConnectionDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { + "get": { + "operationId": "Registries_ListPrivateLinkResources", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + } + }, + "x-ms-examples": { + "RegistryListPrivateLinkResources": { + "$ref": "./examples/RegistryListPrivateLinkResources.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { + "get": { + "operationId": "Registries_GetPrivateLinkResource", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "groupName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGetPrivateLinkResource": { + "$ref": "./examples/RegistryGetPrivateLinkResource.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { + "post": { + "operationId": "Registries_RegenerateCredential", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "regenerateCredentialParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateCredentialParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" + } + } + }, + "x-ms-examples": { + "RegistryRegenerateCredential": { + "$ref": "./examples/RegistryRegenerateCredential.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications": { + "get": { + "operationId": "Replications_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ReplicationListResult" + } + } + }, + "x-ms-examples": { + "ReplicationList": { + "$ref": "./examples/ReplicationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { + "get": { + "operationId": "Replications_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + } + } + }, + "x-ms-examples": { + "ReplicationGet": { + "$ref": "./examples/ReplicationGet.json" + } + } + }, + "put": { + "operationId": "Replications_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replication", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Replication" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "ReplicationCreate": { + "$ref": "./examples/ReplicationCreate.json" + }, + "ReplicationCreateZoneRedundant": { + "$ref": "./examples/ReplicationCreateZoneRedundant.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Replications_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ReplicationUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "ReplicationUpdate": { + "$ref": "./examples/ReplicationUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Replications_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + } + }, + "x-ms-examples": { + "ReplicationDelete": { + "$ref": "./examples/ReplicationDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { + "get": { + "operationId": "ScopeMaps_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMapListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapList": { + "$ref": "./examples/ScopeMapList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { + "get": { + "operationId": "ScopeMaps_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapGet": { + "$ref": "./examples/ScopeMapGet.json" + } + } + }, + "put": { + "operationId": "ScopeMaps_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + }, + { + "name": "scopeMapCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMap" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapCreate": { + "$ref": "./examples/ScopeMapCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ScopeMaps_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + }, + { + "name": "scopeMapUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMapUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapUpdate": { + "$ref": "./examples/ScopeMapUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ScopeMaps_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapDelete": { + "$ref": "./examples/ScopeMapDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens": { + "get": { + "operationId": "Tokens_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/TokenListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenList": { + "$ref": "./examples/TokenList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { + "get": { + "operationId": "Tokens_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenGet": { + "$ref": "./examples/TokenGet.json" + } + } + }, + "put": { + "operationId": "Tokens_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "tokenCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Token" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenCreate": { + "$ref": "./examples/TokenCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Tokens_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "tokenUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TokenUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenUpdate": { + "$ref": "./examples/TokenUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Tokens_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenDelete": { + "$ref": "./examples/TokenDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks": { + "get": { + "operationId": "Webhooks_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/WebhookListResult" + } + } + }, + "x-ms-examples": { + "WebhookList": { + "$ref": "./examples/WebhookList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { + "get": { + "operationId": "Webhooks_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + } + } + }, + "x-ms-examples": { + "WebhookGet": { + "$ref": "./examples/WebhookGet.json" + } + } + }, + "put": { + "operationId": "Webhooks_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookCreateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "WebhookCreate": { + "$ref": "./examples/WebhookCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Webhooks_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "WebhookUpdate": { + "$ref": "./examples/WebhookUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Webhooks_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + } + }, + "x-ms-examples": { + "WebhookDelete": { + "$ref": "./examples/WebhookDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { + "post": { + "operationId": "Webhooks_GetCallbackConfig", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CallbackConfig" + } + } + }, + "x-ms-examples": { + "WebhookGetCallbackConfig": { + "$ref": "./examples/WebhookGetCallbackConfig.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { + "post": { + "operationId": "Webhooks_ListEvents", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/EventListResult" + } + } + }, + "x-ms-examples": { + "WebhookListEvents": { + "$ref": "./examples/WebhookListEvents.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { + "post": { + "operationId": "Webhooks_Ping", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/EventInfo" + } + } + }, + "x-ms-examples": { + "WebhookPing": { + "$ref": "./examples/WebhookPing.json" + } + } + } + } + }, + "definitions": { + "ActivationProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "ActivationStatus", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "ActiveDirectoryObject": { + "type": "object", + "properties": { + "objectId": { + "type": "string" + }, + "tenantId": { + "type": "string" + } + } + }, + "Actor": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, + "Archive": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ArchiveListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Archive" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ArchivePackageSourceProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "remote" + ], + "x-ms-enum": { + "name": "PackageSourceType", + "modelAsString": true + } + }, + "url": { + "type": "string" + } + } + }, + "ArchiveProperties": { + "type": "object", + "properties": { + "packageSource": { + "$ref": "#/definitions/ArchivePackageSourceProperties" + }, + "publishedVersion": { + "type": "string" + }, + "repositoryEndpointPrefix": { + "type": "string" + }, + "repositoryEndpoint": { + "type": "string", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "ArchiveUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "ArchiveUpdateProperties": { + "type": "object", + "properties": { + "publishedVersion": { + "type": "string" + } + } + }, + "ArchiveVersion": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveVersionProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ArchiveVersionListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ArchiveVersionProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "archiveVersionErrorMessage": { + "type": "string" + } + } + }, + "AuthCredential": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "Credential1" + ], + "x-ms-enum": { + "name": "CredentialName", + "modelAsString": true + } + }, + "usernameSecretIdentifier": { + "type": "string" + }, + "passwordSecretIdentifier": { + "type": "string" + }, + "credentialHealth": { + "$ref": "#/definitions/CredentialHealth", + "readOnly": true + } + } + }, + "AzureADAuthenticationAsArmPolicy": { + "type": "object", + "properties": { + "status": { + "type": "string", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "AzureADAuthenticationAsArmPolicyStatus", + "modelAsString": true + } + } + } + }, + "CacheRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CacheRuleProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "CacheRuleProperties": { + "type": "object", + "properties": { + "credentialSetResourceId": { + "type": "string" + }, + "sourceRepository": { + "type": "string" + }, + "targetRepository": { + "type": "string" + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "CacheRuleUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CacheRuleUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "CacheRuleUpdateProperties": { + "type": "object", + "properties": { + "credentialSetResourceId": { + "type": "string" + } + } + }, + "CacheRulesListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/CacheRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "CallbackConfig": { + "type": "object", + "properties": { + "serviceUri": { + "type": "string" + }, + "customHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "serviceUri" + ] + }, + "ConnectedRegistry": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectedRegistryProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ConnectedRegistryListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ConnectedRegistryProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "mode": { + "type": "string", + "enum": [ + "ReadWrite", + "ReadOnly", + "Registry", + "Mirror" + ], + "x-ms-enum": { + "name": "ConnectedRegistryMode", + "modelAsString": true + } + }, + "version": { + "type": "string", + "readOnly": true + }, + "connectionState": { + "type": "string", + "enum": [ + "Online", + "Offline", + "Syncing", + "Unhealthy" + ], + "x-ms-enum": { + "name": "ConnectionState", + "modelAsString": true + }, + "readOnly": true + }, + "lastActivityTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "activation": { + "$ref": "#/definitions/ActivationProperties", + "readOnly": true + }, + "parent": { + "$ref": "#/definitions/ParentProperties" + }, + "clientTokenIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "loginServer": { + "$ref": "#/definitions/LoginServerProperties" + }, + "logging": { + "$ref": "#/definitions/LoggingProperties" + }, + "statusDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/StatusDetailProperties" + }, + "readOnly": true, + "x-ms-identifiers": [ + "correlationId" + ] + }, + "notificationsList": { + "type": "array", + "items": { + "type": "string" + } + }, + "garbageCollection": { + "$ref": "#/definitions/GarbageCollectionProperties" + } + }, + "required": [ + "mode", + "parent" + ] + }, + "ConnectedRegistryUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectedRegistryUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "ConnectedRegistryUpdateProperties": { + "type": "object", + "properties": { + "syncProperties": { + "$ref": "#/definitions/SyncUpdateProperties" + }, + "logging": { + "$ref": "#/definitions/LoggingProperties" + }, + "clientTokenIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "notificationsList": { + "type": "array", + "items": { + "type": "string" + } + }, + "garbageCollection": { + "$ref": "#/definitions/GarbageCollectionProperties" + } + } + }, + "CredentialHealth": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Healthy", + "Unhealthy" + ], + "x-ms-enum": { + "name": "CredentialHealthStatus", + "modelAsString": true + } + }, + "errorCode": { + "type": "string" + }, + "errorMessage": { + "type": "string" + } + } + }, + "CredentialSet": { + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties" + }, + "properties": { + "$ref": "#/definitions/CredentialSetProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "CredentialSetListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/CredentialSet" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "CredentialSetProperties": { + "type": "object", + "properties": { + "loginServer": { + "type": "string" + }, + "authCredentials": { + "type": "array", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "CredentialSetUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CredentialSetUpdateProperties", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/IdentityProperties" + } + } + }, + "CredentialSetUpdateProperties": { + "type": "object", + "properties": { + "authCredentials": { + "type": "array", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "DebianArchivePackageSourceProperties": { + "type": "object", + "properties": { + "distributionName": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ArchivePackageSourceProperties" + } + ] + }, + "DebianArchiveProperties": { + "type": "object", + "properties": { + "distributionName": { + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ArchiveProperties" + } + ] + }, + "EncryptionProperty": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true + } + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties" + } + } + }, + "Event": { + "type": "object", + "properties": { + "eventRequestMessage": { + "$ref": "#/definitions/EventRequestMessage" + }, + "eventResponseMessage": { + "$ref": "#/definitions/EventResponseMessage" + } + }, + "allOf": [ + { + "$ref": "#/definitions/EventInfo" + } + ] + }, + "EventContent": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "action": { + "type": "string" + }, + "target": { + "$ref": "#/definitions/Target" + }, + "request": { + "$ref": "#/definitions/Request" + }, + "actor": { + "$ref": "#/definitions/Actor" + }, + "source": { + "$ref": "#/definitions/Source" + } + } + }, + "EventInfo": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + }, + "EventListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Event" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "EventRequestMessage": { + "type": "object", + "properties": { + "content": { + "$ref": "#/definitions/EventContent" + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "method": { + "type": "string" + }, + "requestUri": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "EventResponseMessage": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "reasonPhrase": { + "type": "string" + }, + "statusCode": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "ExportPipeline": { + "type": "object", + "properties": { + "location": { + "type": "string" + }, + "identity": { + "$ref": "#/definitions/IdentityProperties" + }, + "properties": { + "$ref": "#/definitions/ExportPipelineProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ExportPipelineListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ExportPipelineProperties": { + "type": "object", + "properties": { + "target": { + "$ref": "#/definitions/ExportPipelineTargetProperties" + }, + "options": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "x-ms-enum": { + "name": "PipelineOptions", + "modelAsString": true + } + } + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "target" + ] + }, + "ExportPipelineTargetProperties": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "keyVaultUri": { + "type": "string" + } + }, + "required": [ + "keyVaultUri" + ] + }, + "ExportPolicy": { + "type": "object", + "properties": { + "status": { + "type": "string", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "ExportPolicyStatus", + "modelAsString": true + } + } + } + }, + "GarbageCollectionProperties": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "schedule": { + "type": "string" + } + } + }, + "GenerateCredentialsParameters": { + "type": "object", + "properties": { + "tokenId": { + "type": "string" + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "enum": [ + "password1", + "password2" + ], + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true + } + } + } + }, + "GenerateCredentialsResult": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + } + } + } + }, + "IPRule": { + "type": "object", + "properties": { + "action": { + "type": "string", + "default": "Allow", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true + } + }, + "value": { + "type": "string", + "x-ms-client-name": "IPAddressOrRange" + } + }, + "required": [ + "value" + ] + }, + "IdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "readOnly": true + }, + "tenantId": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } + } + } + }, + "ImportImageParameters": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/ImportSource" + }, + "targetTags": { + "type": "array", + "items": { + "type": "string" + } + }, + "untaggedTargetRepositories": { + "type": "array", + "items": { + "type": "string" + } + }, + "mode": { + "type": "string", + "default": "NoForce", + "enum": [ + "NoForce", + "Force" + ], + "x-ms-enum": { + "name": "ImportMode", + "modelAsString": true + } + } + }, + "required": [ + "source" + ] + }, + "ImportPipeline": { + "type": "object", + "properties": { + "location": { + "type": "string" + }, + "identity": { + "$ref": "#/definitions/IdentityProperties" + }, + "properties": { + "$ref": "#/definitions/ImportPipelineProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ImportPipelineListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ImportPipelineProperties": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/ImportPipelineSourceProperties" + }, + "trigger": { + "$ref": "#/definitions/PipelineTriggerProperties" + }, + "options": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "x-ms-enum": { + "name": "PipelineOptions", + "modelAsString": true + } + } + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "source" + ] + }, + "ImportPipelineSourceProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "AzureStorageBlobContainer", + "enum": [ + "AzureStorageBlobContainer" + ], + "x-ms-enum": { + "name": "PipelineSourceType", + "modelAsString": true + } + }, + "uri": { + "type": "string" + }, + "keyVaultUri": { + "type": "string" + } + }, + "required": [ + "keyVaultUri" + ] + }, + "ImportSource": { + "type": "object", + "properties": { + "resourceId": { + "type": "string" + }, + "registryUri": { + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/ImportSourceCredentials" + }, + "sourceImage": { + "type": "string" + } + }, + "required": [ + "sourceImage" + ] + }, + "ImportSourceCredentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + }, + "required": [ + "password" + ] + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "keyIdentifier": { + "type": "string" + }, + "versionedKeyIdentifier": { + "type": "string", + "readOnly": true + }, + "identity": { + "type": "string" + }, + "keyRotationEnabled": { + "type": "boolean", + "readOnly": true + }, + "lastKeyRotationTimestamp": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "LoggingProperties": { + "type": "object", + "properties": { + "logLevel": { + "type": "string", + "default": "Information", + "enum": [ + "Debug", + "Information", + "Warning", + "Error", + "None" + ], + "x-ms-enum": { + "name": "LogLevel", + "modelAsString": true + } + }, + "auditLogStatus": { + "type": "string", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AuditLogStatus", + "modelAsString": true + } + } + } + }, + "LoginServerProperties": { + "type": "object", + "properties": { + "host": { + "type": "string", + "readOnly": true + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "readOnly": true + } + } + }, + "NetworkRuleSet": { + "type": "object", + "properties": { + "defaultAction": { + "type": "string", + "default": "Allow", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": true + } + }, + "ipRules": { + "type": "array", + "items": { + "$ref": "#/definitions/IPRule" + } + } + }, + "required": [ + "defaultAction" + ] + }, + "OperationDefinition": { + "type": "object", + "properties": { + "origin": { + "type": "string" + }, + "name": { + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayDefinition" + }, + "properties": { + "$ref": "#/definitions/OperationPropertiesDefinition", + "x-ms-client-flatten": true + }, + "isDataAction": { + "type": "boolean" + } + } + }, + "OperationDisplayDefinition": { + "type": "object", + "properties": { + "provider": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "OperationListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/OperationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "OperationLogSpecificationDefinition": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "blobDuration": { + "type": "string" + } + } + }, + "OperationMetricSpecificationDefinition": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "displayDescription": { + "type": "string" + }, + "unit": { + "type": "string" + }, + "aggregationType": { + "type": "string" + }, + "internalMetricName": { + "type": "string" + } + } + }, + "OperationPropertiesDefinition": { + "type": "object", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/OperationServiceSpecificationDefinition" + } + } + }, + "OperationServiceSpecificationDefinition": { + "type": "object", + "properties": { + "metricSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationMetricSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "logSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationLogSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "PackageType": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "endpoint": { + "type": "string", + "readOnly": true + } + } + }, + "ParentProperties": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "arm-id" + }, + "syncProperties": { + "$ref": "#/definitions/SyncProperties" + } + }, + "required": [ + "syncProperties" + ] + }, + "PipelineRun": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PipelineRunProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "PipelineRunListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/PipelineRun" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "PipelineRunProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "request": { + "$ref": "#/definitions/PipelineRunRequest" + }, + "response": { + "$ref": "#/definitions/PipelineRunResponse", + "readOnly": true + }, + "forceUpdateTag": { + "type": "string" + } + } + }, + "PipelineRunRequest": { + "type": "object", + "properties": { + "pipelineResourceId": { + "type": "string" + }, + "artifacts": { + "type": "array", + "items": { + "type": "string" + } + }, + "source": { + "$ref": "#/definitions/PipelineRunSourceProperties" + }, + "target": { + "$ref": "#/definitions/PipelineRunTargetProperties" + }, + "catalogDigest": { + "type": "string" + } + } + }, + "PipelineRunResponse": { + "type": "object", + "properties": { + "status": { + "type": "string" + }, + "importedArtifacts": { + "type": "array", + "items": { + "type": "string" + } + }, + "progress": { + "$ref": "#/definitions/ProgressProperties" + }, + "startTime": { + "type": "string", + "format": "date-time" + }, + "finishTime": { + "type": "string", + "format": "date-time" + }, + "source": { + "$ref": "#/definitions/ImportPipelineSourceProperties" + }, + "target": { + "$ref": "#/definitions/ExportPipelineTargetProperties" + }, + "catalogDigest": { + "type": "string" + }, + "trigger": { + "$ref": "#/definitions/PipelineTriggerDescriptor" + }, + "pipelineRunErrorMessage": { + "type": "string" + } + } + }, + "PipelineRunSourceProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "AzureStorageBlob", + "enum": [ + "AzureStorageBlob" + ], + "x-ms-enum": { + "name": "PipelineRunSourceType", + "modelAsString": true + } + }, + "name": { + "type": "string" + } + } + }, + "PipelineRunTargetProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "AzureStorageBlob", + "enum": [ + "AzureStorageBlob" + ], + "x-ms-enum": { + "name": "PipelineRunTargetType", + "modelAsString": true + } + }, + "name": { + "type": "string" + } + } + }, + "PipelineSourceTriggerDescriptor": { + "type": "object", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time" + } + } + }, + "PipelineSourceTriggerProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true + } + } + }, + "required": [ + "status" + ] + }, + "PipelineTriggerDescriptor": { + "type": "object", + "properties": { + "sourceTrigger": { + "$ref": "#/definitions/PipelineSourceTriggerDescriptor" + } + } + }, + "PipelineTriggerProperties": { + "type": "object", + "properties": { + "sourceTrigger": { + "$ref": "#/definitions/PipelineSourceTriggerProperties" + } + } + }, + "Policies": { + "type": "object", + "properties": { + "quarantinePolicy": { + "$ref": "#/definitions/QuarantinePolicy" + }, + "trustPolicy": { + "$ref": "#/definitions/TrustPolicy" + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy" + }, + "exportPolicy": { + "$ref": "#/definitions/ExportPolicy" + }, + "azureADAuthenticationAsArmPolicy": { + "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy" + }, + "softDeletePolicy": { + "$ref": "#/definitions/SoftDeletePolicy" + } + } + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "PrivateLinkResource": { + "type": "object", + "properties": { + "type": { + "type": "string", + "readOnly": true + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "x-ms-client-flatten": true + } + } + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "PrivateLinkResourceProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "requiredMembers": { + "type": "array", + "items": { + "type": "string" + } + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true + } + }, + "description": { + "type": "string" + }, + "actionsRequired": { + "type": "string", + "enum": [ + "None", + "Recreate" + ], + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true + } + } + } + }, + "ProgressProperties": { + "type": "object", + "properties": { + "percentage": { + "type": "string" + } + } + }, + "ProxyResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "type": "object", + "readOnly": true + } + } + }, + "QuarantinePolicy": { + "type": "object", + "properties": { + "status": { + "type": "string", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "RegenerateCredentialParameters": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "password", + "password2" + ], + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + } + }, + "required": [ + "name" + ] + }, + "Registry": { + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/Sku" + }, + "identity": { + "$ref": "#/definitions/IdentityProperties" + }, + "properties": { + "$ref": "#/definitions/RegistryProperties", + "x-ms-client-flatten": true + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "RegistryListCredentialsResult": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/RegistryPassword" + } + } + } + }, + "RegistryListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Registry" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "RegistryNameCheckRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries" + ], + "x-ms-enum": { + "name": "ContainerRegistryResourceType", + "modelAsString": false + } + }, + "resourceGroupName": { + "type": "string", + "minLength": 1, + "maxLength": 90 + }, + "autoGeneratedDomainNameLabelScope": { + "type": "string", + "default": "Unsecure", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true + } + } + }, + "required": [ + "name", + "type" + ] + }, + "RegistryNameStatus": { + "type": "object", + "properties": { + "availableLoginServerName": { + "type": "string" + }, + "nameAvailable": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "RegistryPassword": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "password", + "password2" + ], + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + }, + "value": { + "type": "string" + } + } + }, + "RegistryProperties": { + "type": "object", + "properties": { + "loginServer": { + "type": "string", + "readOnly": true + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "status": { + "$ref": "#/definitions/Status", + "readOnly": true + }, + "adminUserEnabled": { + "type": "boolean", + "default": false + }, + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet" + }, + "policies": { + "$ref": "#/definitions/Policies" + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty" + }, + "dataEndpointEnabled": { + "type": "boolean" + }, + "dataEndpointHostNames": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "publicNetworkAccess": { + "type": "string", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "networkRuleBypassOptions": { + "type": "string", + "default": "AzureServices", + "enum": [ + "AzureServices", + "None" + ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true + } + }, + "networkRuleBypassAllowedForTasks": { + "type": "boolean", + "default": false + }, + "zoneRedundancy": { + "type": "string", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true + } + }, + "anonymousPullEnabled": { + "type": "boolean", + "default": false + }, + "metadataSearch": { + "type": "string", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true + } + }, + "autoGeneratedDomainNameLabelScope": { + "type": "string", + "default": "Unsecure", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true + } + }, + "roleAssignmentMode": { + "type": "string", + "default": "LegacyRegistryPermissions", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true + } + } + } + }, + "RegistryPropertiesUpdateParameters": { + "type": "object", + "properties": { + "adminUserEnabled": { + "type": "boolean" + }, + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet" + }, + "policies": { + "$ref": "#/definitions/Policies" + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty" + }, + "dataEndpointEnabled": { + "type": "boolean" + }, + "publicNetworkAccess": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "networkRuleBypassOptions": { + "type": "string", + "default": "AzureServices", + "enum": [ + "AzureServices", + "None" + ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true + } + }, + "networkRuleBypassAllowedForTasks": { + "type": "boolean" + }, + "anonymousPullEnabled": { + "type": "boolean" + }, + "metadataSearch": { + "type": "string", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true + } + }, + "roleAssignmentMode": { + "type": "string", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true + } + } + } + }, + "RegistryUpdateParameters": { + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku" + }, + "properties": { + "$ref": "#/definitions/RegistryPropertiesUpdateParameters", + "x-ms-client-flatten": true + } + } + }, + "RegistryUsage": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "limit": { + "type": "integer", + "format": "int64" + }, + "currentValue": { + "type": "integer", + "format": "int64" + }, + "unit": { + "type": "string", + "enum": [ + "Count", + "Bytes" + ], + "x-ms-enum": { + "name": "RegistryUsageUnit", + "modelAsString": true + } + } + } + }, + "RegistryUsageListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RegistryUsage" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "Replication": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ReplicationProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "ReplicationListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Replication" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ReplicationProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "status": { + "$ref": "#/definitions/Status", + "readOnly": true + }, + "regionEndpointEnabled": { + "type": "boolean", + "default": true + }, + "zoneRedundancy": { + "type": "string", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true + } + } + } + }, + "ReplicationUpdateParameters": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ReplicationUpdateParametersProperties", + "x-ms-client-flatten": true + } + } + }, + "ReplicationUpdateParametersProperties": { + "type": "object", + "properties": { + "regionEndpointEnabled": { + "type": "boolean" + } + } + }, + "Request": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "addr": { + "type": "string" + }, + "host": { + "type": "string" + }, + "method": { + "type": "string" + }, + "useragent": { + "type": "string" + } + } + }, + "Resource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "type": "object", + "readOnly": true + } + }, + "required": [ + "location" + ] + }, + "RetentionPolicy": { + "type": "object", + "properties": { + "days": { + "type": "integer", + "format": "int32", + "default": 7 + }, + "lastUpdatedTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "status": { + "type": "string", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "ScopeMap": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ScopeMapListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ScopeMap" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ScopeMapProperties": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string", + "readOnly": true + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "actions": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "actions" + ] + }, + "ScopeMapPropertiesUpdateParameters": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ScopeMapUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", + "x-ms-client-flatten": true + } + } + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, + "tier": { + "type": "string", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "name" + ] + }, + "SoftDeletePolicy": { + "type": "object", + "properties": { + "retentionDays": { + "type": "integer", + "format": "int32", + "default": 7 + }, + "lastUpdatedTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "status": { + "type": "string", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "Source": { + "type": "object", + "properties": { + "addr": { + "type": "string" + }, + "instanceID": { + "type": "string" + } + } + }, + "Status": { + "type": "object", + "properties": { + "displayStatus": { + "type": "string", + "readOnly": true + }, + "message": { + "type": "string", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "StatusDetailProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "readOnly": true + }, + "code": { + "type": "string", + "readOnly": true + }, + "description": { + "type": "string", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "correlationId": { + "type": "string", + "readOnly": true + } + } + }, + "StorageAccountProperties": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + }, + "SyncProperties": { + "type": "object", + "properties": { + "tokenId": { + "type": "string" + }, + "schedule": { + "type": "string" + }, + "syncWindow": { + "type": "string", + "format": "duration" + }, + "messageTtl": { + "type": "string", + "format": "duration" + }, + "lastSyncTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "gatewayEndpoint": { + "type": "string", + "readOnly": true + } + }, + "required": [ + "messageTtl", + "tokenId" + ] + }, + "SyncUpdateProperties": { + "type": "object", + "properties": { + "schedule": { + "type": "string" + }, + "syncWindow": { + "type": "string", + "format": "duration" + }, + "messageTtl": { + "type": "string", + "format": "duration" + } + } + }, + "SystemData": { + "type": "object", + "properties": { + "createdBy": { + "type": "string" + }, + "createdByType": { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "CreatedByType", + "modelAsString": true + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "lastModifiedBy": { + "type": "string" + }, + "lastModifiedByType": { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "LastModifiedByType", + "modelAsString": true + } + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time" + } + }, + "readOnly": true + }, + "Target": { + "type": "object", + "properties": { + "mediaType": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "digest": { + "type": "string" + }, + "length": { + "type": "integer", + "format": "int64" + }, + "repository": { + "type": "string" + }, + "url": { + "type": "string" + }, + "tag": { + "type": "string" + }, + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "TlsCertificateProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "LocalDirectory" + ], + "x-ms-enum": { + "name": "CertificateType", + "modelAsString": true + }, + "readOnly": true + }, + "location": { + "type": "string", + "readOnly": true + } + } + }, + "TlsProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "TlsStatus", + "modelAsString": true + }, + "readOnly": true + }, + "certificate": { + "$ref": "#/definitions/TlsCertificateProperties", + "readOnly": true + } + } + }, + "Token": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TokenProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "TokenCertificate": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "certificate1", + "certificate2" + ], + "x-ms-enum": { + "name": "TokenCertificateName", + "modelAsString": true + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "thumbprint": { + "type": "string" + }, + "encodedPemCertificate": { + "type": "string" + } + } + }, + "TokenCredentialsProperties": { + "type": "object", + "properties": { + "certificates": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCertificate" + }, + "x-ms-identifiers": [ + "thumbprint" + ] + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + } + } + } + }, + "TokenListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Token" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "TokenPassword": { + "type": "object", + "properties": { + "creationTime": { + "type": "string", + "format": "date-time" + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "enum": [ + "password1", + "password2" + ], + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true + } + }, + "value": { + "type": "string", + "readOnly": true + } + } + }, + "TokenProperties": { + "type": "object", + "properties": { + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "scopeMapId": { + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true + } + } + } + }, + "TokenUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TokenUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "TokenUpdateProperties": { + "type": "object", + "properties": { + "scopeMapId": { + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true + } + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties" + } + } + }, + "TrustPolicy": { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "Notary", + "enum": [ + "Notary" + ], + "x-ms-enum": { + "name": "TrustPolicyType", + "modelAsString": true + } + }, + "status": { + "type": "string", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "UserIdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "readOnly": true + }, + "clientId": { + "type": "string", + "readOnly": true + } + } + }, + "Webhook": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/WebhookProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "WebhookCreateParameters": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "location": { + "type": "string" + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesCreateParameters", + "x-ms-client-flatten": true + } + }, + "required": [ + "location" + ] + }, + "WebhookListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "WebhookProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "actions" + ] + }, + "WebhookPropertiesCreateParameters": { + "type": "object", + "properties": { + "serviceUri": { + "type": "string", + "x-ms-secret": true + }, + "customHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + } + }, + "required": [ + "actions", + "serviceUri" + ] + }, + "WebhookPropertiesUpdateParameters": { + "type": "object", + "properties": { + "serviceUri": { + "type": "string", + "x-ms-secret": true + }, + "customHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + } + } + }, + "WebhookUpdateParameters": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesUpdateParameters", + "x-ms-client-flatten": true + } + } + } + }, + "parameters": {} +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json index 3424ea83aafd..037858d0016d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json @@ -1,61 +1,123 @@ { "swagger": "2.0", "info": { + "title": "ContainerRegistryManagementClient", "version": "2025-05-01-preview", - "title": "ContainerRegistryManagementClient" + "description": "The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Archives" + }, + { + "name": "Registries" + }, + { + "name": "ArchiveVersions" + }, + { + "name": "CacheRules" + }, + { + "name": "ConnectedRegistries" + }, + { + "name": "CredentialSets" + }, + { + "name": "ExportPipelines" + }, + { + "name": "PrivateLinkResources" + }, + { + "name": "ImportPipelines" + }, + { + "name": "PipelineRuns" + }, + { + "name": "PrivateEndpointConnections" + }, + { + "name": "Replications" + }, + { + "name": "ScopeMaps" + }, + { + "name": "Tokens" + }, + { + "name": "Webhooks" + } + ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { + "/providers/Microsoft.ContainerRegistry/operations": { "get": { + "operationId": "Operations_List", "tags": [ - "Archives" + "Operations" ], - "description": "Lists all archives for the specified container registry and package type.", - "operationId": "Archives_List", + "description": "List the operations for the provider", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ArchiveListResult" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveList": { - "$ref": "./examples/ArchiveList.json" + "OperationList": { + "$ref": "./examples/OperationList.json" } }, "x-ms-pageable": { @@ -63,13 +125,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { - "get": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { + "post": { + "operationId": "Registries_CheckNameAvailability", "tags": [ - "Archives" + "Registries" ], - "description": "Gets the properties of the archive.", - "operationId": "Archives_Get", + "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -78,114 +140,85 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" + "name": "registryNameCheckRequest", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryNameCheckRequest" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/Archive" + "$ref": "#/definitions/RegistryNameStatus" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveGet": { - "$ref": "./examples/ArchiveGet.json" + "RegistryCheckNameAvailable": { + "$ref": "./examples/RegistryCheckNameAvailable.json" + }, + "RegistryCheckNameNotAvailable": { + "$ref": "./examples/RegistryCheckNameNotAvailable.json" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_List", "tags": [ - "Archives" + "Registries" ], - "description": "Creates a archive for a container registry with the specified parameters.", - "operationId": "Archives_Create", + "description": "Lists all the container registries under the specified subscription.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "name": "archiveCreateParameters", - "in": "body", - "description": "The parameters for creating a archive.", - "required": true, - "schema": { - "$ref": "#/definitions/Archive" - } } ], "responses": { "200": { - "description": "ARM update operation completed successfully.", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "201": { - "description": "ARM create operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Archive" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } + "$ref": "#/definitions/RegistryListResult" } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveCreate": { - "$ref": "./examples/ArchiveCreate.json" + "RegistryList": { + "$ref": "./examples/RegistryList.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_ListByResourceGroup", "tags": [ - "Archives" + "Registries" ], - "description": "Deletes a archive from a container registry.", - "operationId": "Archives_Delete", + "description": "Lists all the container registries under the specified resource group.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -195,52 +228,39 @@ }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" } ], "responses": { - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegistryListResult" } }, - "204": { - "description": "The archive does not exist in the subscription." - }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveDelete": { - "$ref": "./examples/ArchiveDelete.json" + "RegistryListByResourceGroup": { + "$ref": "./examples/RegistryListByResourceGroup.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { + "get": { + "operationId": "Registries_Get", "tags": [ - "Archives" + "Registries" ], - "description": "Updates a archive for a container registry with the specified parameters.", - "operationId": "Archives_Update", + "description": "Gets the properties of the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -252,52 +272,42 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "name": "archiveUpdateParameters", - "in": "body", - "description": "The parameters for updating a archive.", + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", "required": true, - "schema": { - "$ref": "#/definitions/ArchiveUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the operation has completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Archive" + "$ref": "#/definitions/Registry" } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveUpdate": { - "$ref": "./examples/ArchiveUpdate.json" + "RegistryGet": { + "$ref": "./examples/RegistryGet.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { - "get": { + }, + "put": { + "operationId": "Registries_Create", "tags": [ - "ArchiveVersions" + "Registries" ], - "description": "Lists all archive versions for the specified container registry, repository type and archive name.", - "operationId": "ArchiveVersions_List", + "description": "Creates a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -309,95 +319,82 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ArchiveNameParameter" + "name": "registry", + "in": "body", + "description": "The parameters for creating a container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/Registry" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Registry' update operation succeeded", "schema": { - "$ref": "#/definitions/ArchiveVersionListResult" + "$ref": "#/definitions/Registry" } }, - "default": { - "description": "Error response describing why the operation failed.", + "201": { + "description": "Resource 'Registry' create operation succeeded", "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionList": { - "$ref": "./examples/ArchiveVersionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { - "get": { - "tags": [ - "ArchiveVersions" - ], - "description": "Gets the properties of the archive version.", - "operationId": "ArchiveVersions_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "$ref": "#/parameters/ArchiveVersionNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ArchiveVersion" + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveVersionGet": { - "$ref": "./examples/ArchiveVersionGet.json" + "RegistryCreate": { + "$ref": "./examples/RegistryCreate.json" + }, + "RegistryCreateAbac": { + "$ref": "./examples/RegistryCreateAbac.json" + }, + "RegistryCreateDomainNameLabelScope": { + "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" + }, + "RegistryCreateZoneRedundant": { + "$ref": "./examples/RegistryCreateZoneRedundant.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Registry" + }, + "x-ms-long-running-operation": true }, - "put": { + "patch": { + "operationId": "Registries_Update", "tags": [ - "ArchiveVersions" + "Registries" ], - "description": "Creates a archive for a container registry with the specified parameters.", - "operationId": "ArchiveVersions_Create", + "description": "Updates a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -409,59 +406,73 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ArchiveVersionNameParameter" + "name": "registryUpdateParameters", + "in": "body", + "description": "The parameters for updating a container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryUpdateParameters" + } } ], "responses": { "200": { - "description": "ARM update operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ArchiveVersion" + "$ref": "#/definitions/Registry" } }, "201": { - "description": "ARM create operation completed successfully.", + "description": "Resource 'Registry' create operation succeeded", "schema": { - "$ref": "#/definitions/ArchiveVersion" + "$ref": "#/definitions/Registry" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveVersionCreate": { - "$ref": "./examples/ArchiveVersionCreate.json" + "RegistryUpdate": { + "$ref": "./examples/RegistryUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Registry" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Registries_Delete", "tags": [ - "ArchiveVersions" + "Registries" ], - "description": "Deletes a archive version from a container registry.", - "operationId": "ArchiveVersions_Delete", + "description": "Deletes a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -473,55 +484,62 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "$ref": "#/parameters/ArchiveVersionNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { + "200": { + "description": "Resource deleted successfully." + }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The archive does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveVersionDelete": { - "$ref": "./examples/ArchiveVersionDelete.json" + "RegistryDelete": { + "$ref": "./examples/RegistryDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { "get": { + "operationId": "CacheRules_List", "tags": [ "CacheRules" ], "description": "Lists all cache rule resources for the specified container registry.", - "operationId": "CacheRules_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -533,18 +551,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/CacheRulesListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -562,11 +587,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { "get": { + "operationId": "CacheRules_Get", "tags": [ "CacheRules" ], "description": "Gets the properties of the specified cache rule resource.", - "operationId": "CacheRules_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -578,21 +603,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CacheRuleNameParameter" + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/CacheRule" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -605,11 +644,11 @@ } }, "put": { + "operationId": "CacheRules_Create", "tags": [ "CacheRules" ], "description": "Creates a cache rule for a container registry with the specified parameters.", - "operationId": "CacheRules_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -621,10 +660,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CacheRuleNameParameter" + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "cacheRuleCreateParameters", @@ -638,24 +691,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'CacheRule' update operation succeeded", "schema": { "$ref": "#/definitions/CacheRule" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'CacheRule' create operation succeeded", "schema": { "$ref": "#/definitions/CacheRule" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -666,17 +725,106 @@ "$ref": "./examples/CacheRuleCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CacheRule" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CacheRules_Update", + "tags": [ + "CacheRules" + ], + "description": "Updates a cache rule for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "cacheRuleUpdateParameters", + "in": "body", + "description": "The parameters for updating a cache rule.", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRuleUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "Resource 'CacheRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleUpdate": { + "$ref": "./examples/CacheRuleUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CacheRule" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "CacheRules_Delete", "tags": [ "CacheRules" ], "description": "Deletes a cache rule resource from a container registry.", - "operationId": "CacheRules_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -688,26 +836,46 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CacheRuleNameParameter" + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The cache rule does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -718,17 +886,19 @@ "$ref": "./examples/CacheRuleDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } - }, - "patch": { + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { + "get": { + "operationId": "ConnectedRegistries_List", "tags": [ - "CacheRules" + "ConnectedRegistries" ], - "description": "Updates a cache rule for a container registry with the specified parameters.", - "operationId": "CacheRules_Update", + "description": "Lists all connected registries for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -740,64 +910,54 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CacheRuleNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "cacheRuleUpdateParameters", - "in": "body", - "description": "The parameters for updating a cache rule.", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRuleUpdateParameters" - } + "name": "$filter", + "in": "query", + "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } + "$ref": "#/definitions/ConnectedRegistryListResult" } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CacheRuleUpdate": { - "$ref": "./examples/CacheRuleUpdate.json" + "ConnectedRegistryList": { + "$ref": "./examples/ConnectedRegistryList.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { "get": { + "operationId": "ConnectedRegistries_Get", "tags": [ "ConnectedRegistries" ], "description": "Gets the properties of the connected registry.", - "operationId": "ConnectedRegistries_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -809,21 +969,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ConnectedRegistry" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -836,11 +1010,11 @@ } }, "put": { + "operationId": "ConnectedRegistries_Create", "tags": [ "ConnectedRegistries" ], "description": "Creates a connected registry for a container registry with the specified parameters.", - "operationId": "ConnectedRegistries_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -852,14 +1026,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" - }, + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, { - "in": "body", "name": "connectedRegistryCreateParameters", + "in": "body", "description": "The parameters for creating a connectedRegistry.", "required": true, "schema": { @@ -869,45 +1057,52 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'ConnectedRegistry' update operation succeeded", "schema": { "$ref": "#/definitions/ConnectedRegistry" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ConnectedRegistry' create operation succeeded", "schema": { "$ref": "#/definitions/ConnectedRegistry" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConnectedRegistryCreate": { "$ref": "./examples/ConnectedRegistryCreate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectedRegistry" + }, + "x-ms-long-running-operation": true }, "patch": { + "operationId": "ConnectedRegistries_Update", "tags": [ "ConnectedRegistries" ], "description": "Updates a connected registry with the specified parameters.", - "operationId": "ConnectedRegistries_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -919,14 +1114,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "in": "body", "name": "connectedRegistryUpdateParameters", + "in": "body", "description": "The parameters for updating a connectedRegistry.", "required": true, "schema": { @@ -936,45 +1145,52 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ConnectedRegistry" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ConnectedRegistry' create operation succeeded", "schema": { "$ref": "#/definitions/ConnectedRegistry" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConnectedRegistryUpdate": { "$ref": "./examples/ConnectedRegistryUpdate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectedRegistry" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "ConnectedRegistries_Delete", "tags": [ "ConnectedRegistries" ], "description": "Deletes a connected registry from a container registry.", - "operationId": "ConnectedRegistries_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -986,103 +1202,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Resource deleted successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The webhook does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "x-ms-examples": { "ConnectedRegistryDelete": { "$ref": "./examples/ConnectedRegistryDelete.json" } }, - "produces": [ - "application/json" - ] - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { - "get": { - "tags": [ - "ConnectedRegistries" - ], - "description": "Lists all connected registries for the specified container registry.", - "operationId": "ConnectedRegistries_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ConnectedRegistryFilterParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ConnectedRegistryListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-long-running-operation-options": { + "final-state-via": "location" }, - "x-ms-examples": { - "ConnectedRegistryList": { - "$ref": "./examples/ConnectedRegistryList.json" - } - } + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { "post": { + "operationId": "ConnectedRegistries_Deactivate", "tags": [ "ConnectedRegistries" ], "description": "Deactivates the connected registry instance.", - "operationId": "ConnectedRegistries_Deactivate", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1094,49 +1279,70 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "The request has succeeded." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource operation accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "x-ms-examples": { "ConnectedRegistryDeactivate": { "$ref": "./examples/ConnectedRegistryDeactivate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/TypeSpec.Http.OkResponse" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { "get": { + "operationId": "CredentialSets_List", "tags": [ "CredentialSets" ], "description": "Lists all credential set resources for the specified container registry.", - "operationId": "CredentialSets_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1148,18 +1354,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/CredentialSetListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1177,11 +1390,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { "get": { + "operationId": "CredentialSets_Get", "tags": [ "CredentialSets" ], "description": "Gets the properties of the specified credential set resource.", - "operationId": "CredentialSets_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1193,21 +1406,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/CredentialSet" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1220,11 +1447,11 @@ } }, "put": { + "operationId": "CredentialSets_Create", "tags": [ "CredentialSets" ], "description": "Creates a credential set for a container registry with the specified parameters.", - "operationId": "CredentialSets_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1236,10 +1463,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "credentialSetCreateParameters", @@ -1253,24 +1494,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'CredentialSet' update operation succeeded", "schema": { "$ref": "#/definitions/CredentialSet" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'CredentialSet' create operation succeeded", "schema": { "$ref": "#/definitions/CredentialSet" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1281,17 +1528,18 @@ "$ref": "./examples/CredentialSetCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CredentialSet" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "CredentialSets_Update", "tags": [ "CredentialSets" ], - "description": "Deletes a credential set from a container registry.", - "operationId": "CredentialSets_Delete", + "description": "Updates a credential set for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1303,47 +1551,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "credentialSetUpdateParameters", + "in": "body", + "description": "The parameters for updating a credential set.", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSetUpdateParameters" + } } ], "responses": { - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "Resource 'CredentialSet' create operation succeeded", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, "headers": { - "Location": { - "type": "string" + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The credential store resource does not exist in the subscription." - }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CredentialSetDelete": { - "$ref": "./examples/CredentialSetDelete.json" + "CredentialSetUpdate": { + "$ref": "./examples/CredentialSetUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CredentialSet" + }, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "CredentialSets_Delete", "tags": [ "CredentialSets" ], - "description": "Updates a credential set for a container registry with the specified parameters.", - "operationId": "CredentialSets_Update", + "description": "Deletes a credential set from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1355,64 +1639,69 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "credentialSetUpdateParameters", - "in": "body", - "description": "The parameters for updating a credential set.", + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", "required": true, - "schema": { - "$ref": "#/definitions/CredentialSetUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CredentialSetUpdate": { - "$ref": "./examples/CredentialSetUpdate.json" + "CredentialSetDelete": { + "$ref": "./examples/CredentialSetDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines": { "get": { + "operationId": "ExportPipelines_List", "tags": [ "ExportPipelines" ], "description": "Lists all export pipelines for the specified container registry.", - "operationId": "ExportPipelines_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1424,18 +1713,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ExportPipelineListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1453,11 +1749,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { "get": { + "operationId": "ExportPipelines_Get", "tags": [ "ExportPipelines" ], "description": "Gets the properties of the export pipeline.", - "operationId": "ExportPipelines_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1469,21 +1765,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ExportPipelineNameParameter" + "name": "exportPipelineName", + "in": "path", + "description": "The name of the export pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ExportPipeline" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1496,11 +1806,11 @@ } }, "put": { + "operationId": "ExportPipelines_Create", "tags": [ "ExportPipelines" ], "description": "Creates an export pipeline for a container registry with the specified parameters.", - "operationId": "ExportPipelines_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1512,10 +1822,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ExportPipelineNameParameter" + "name": "exportPipelineName", + "in": "path", + "description": "The name of the export pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "exportPipelineCreateParameters", @@ -1529,24 +1853,30 @@ ], "responses": { "200": { - "description": "The request was successful; the operation has completed successfully.", + "description": "Resource 'ExportPipeline' update operation succeeded", "schema": { "$ref": "#/definitions/ExportPipeline" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ExportPipeline' create operation succeeded", "schema": { "$ref": "#/definitions/ExportPipeline" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1557,17 +1887,18 @@ "$ref": "./examples/ExportPipelineCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExportPipeline" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "ExportPipelines_Delete", "tags": [ "ExportPipelines" ], "description": "Deletes an export pipeline from a container registry.", - "operationId": "ExportPipelines_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1579,29 +1910,49 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ExportPipelineNameParameter" + "name": "exportPipelineName", + "in": "path", + "description": "The name of the export pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Resource deleted successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The export pipeline does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1612,19 +1963,19 @@ "$ref": "./examples/ExportPipelineDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { "post": { + "operationId": "Registries_GenerateCredentials", "tags": [ "Registries" ], - "description": "Copies an image to this container registry from the specified container registry.", - "operationId": "Registries_ImportImage", + "description": "Generate keys for a token of a specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1636,55 +1987,152 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "parameters", + "name": "generateCredentialsParameters", "in": "body", - "description": "The parameters specifying the image to copy and the source container registry.", + "description": "The parameters for generating credentials.", "required": true, "schema": { - "$ref": "#/definitions/ImportImageParameters" + "$ref": "#/definitions/GenerateCredentialsParameters" } } ], "responses": { "200": { - "description": "The request was successful; the operation has completed successfully." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GenerateCredentialsResult" + } }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource operation accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "ImportImageByTag": { - "$ref": "./examples/ImportImageByTag.json" - }, - "ImportImageByManifestDigest": { - "$ref": "./examples/ImportImageByManifestDigest.json" - }, - "ImportImageFromPublicRegistry": { - "$ref": "./examples/ImportImageFromPublicRegistry.json" + "RegistryGenerateCredentials": { + "$ref": "./examples/RegistryGenerateCredentials.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "location", + "final-state-schema": "#/definitions/GenerateCredentialsResult" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { + "post": { + "operationId": "Registries_ImportImage", "tags": [ - "ImportPipelines" + "Registries" ], - "description": "Lists all import pipelines for the specified container registry.", + "description": "Copies an image to this container registry from the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters specifying the image to copy and the source container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/ImportImageParameters" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportImageByManifestDigest": { + "$ref": "./examples/ImportImageByManifestDigest.json" + }, + "ImportImageByTag": { + "$ref": "./examples/ImportImageByTag.json" + }, + "ImportImageFromPublicRegistry": { + "$ref": "./examples/ImportImageFromPublicRegistry.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/TypeSpec.Http.OkResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { + "get": { "operationId": "ImportPipelines_List", + "tags": [ + "ImportPipelines" + ], + "description": "Lists all import pipelines for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1696,18 +2144,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ImportPipelineListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1725,11 +2180,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { "get": { + "operationId": "ImportPipelines_Get", "tags": [ "ImportPipelines" ], "description": "Gets the properties of the import pipeline.", - "operationId": "ImportPipelines_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1741,21 +2196,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ImportPipelineNameParameter" + "name": "importPipelineName", + "in": "path", + "description": "The name of the import pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ImportPipeline" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1768,11 +2237,11 @@ } }, "put": { + "operationId": "ImportPipelines_Create", "tags": [ "ImportPipelines" ], "description": "Creates an import pipeline for a container registry with the specified parameters.", - "operationId": "ImportPipelines_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1784,10 +2253,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ImportPipelineNameParameter" + "name": "importPipelineName", + "in": "path", + "description": "The name of the import pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "importPipelineCreateParameters", @@ -1801,24 +2284,30 @@ ], "responses": { "200": { - "description": "The request was successful; the operation has completed successfully.", + "description": "Resource 'ImportPipeline' update operation succeeded", "schema": { "$ref": "#/definitions/ImportPipeline" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ImportPipeline' create operation succeeded", "schema": { "$ref": "#/definitions/ImportPipeline" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1829,17 +2318,18 @@ "$ref": "./examples/ImportPipelineCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ImportPipeline" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "ImportPipelines_Delete", "tags": [ "ImportPipelines" ], "description": "Deletes an import pipeline from a container registry.", - "operationId": "ImportPipelines_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1851,29 +2341,49 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ImportPipelineNameParameter" + "name": "importPipelineName", + "in": "path", + "description": "The name of the import pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Resource deleted successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The import pipeline does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1884,49 +2394,68 @@ "$ref": "./examples/ImportPipelineDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, - "/providers/Microsoft.ContainerRegistry/operations": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { + "post": { + "operationId": "Registries_ListCredentials", "tags": [ - "Operation" + "Registries" ], - "description": "Lists all of the available Azure Container Registry REST API operations.", - "operationId": "Operations_List", + "description": "Lists the login credentials for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" + } + }, + "default": { + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/OperationListResult" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" + "RegistryListCredentials": { + "$ref": "./examples/RegistryListCredentials.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { + "get": { + "operationId": "Registries_ListUsages", "tags": [ - "Operation" + "Registries" ], - "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", - "operationId": "Registries_CheckNameAvailability", + "description": "Gets the quota usages for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1935,40 +2464,47 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "registryNameCheckRequest", - "in": "body", - "description": "The object containing information for the availability request.", + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", "required": true, - "schema": { - "$ref": "#/definitions/RegistryNameCheckRequest" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/RegistryNameStatus" + "$ref": "#/definitions/RegistryUsageListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryCheckNameAvailable": { - "$ref": "./examples/RegistryCheckNameAvailable.json" - }, - "RegistryCheckNameNotAvailable": { - "$ref": "./examples/RegistryCheckNameNotAvailable.json" + "RegistryListUsages": { + "$ref": "./examples/RegistryListUsages.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { "get": { + "operationId": "Archives_List", "tags": [ - "PipelineRuns" + "Archives" ], - "description": "Lists all the pipeline runs for the specified container registry.", - "operationId": "PipelineRuns_List", + "description": "Lists all archives for the specified container registry and package type.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1980,26 +2516,43 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well - formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PipelineRunListResult" + "$ref": "#/definitions/ArchiveListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PipelineRunList": { - "$ref": "./examples/PipelineRunList.json" + "ArchiveList": { + "$ref": "./examples/ArchiveList.json" } }, "x-ms-pageable": { @@ -2007,13 +2560,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { "get": { + "operationId": "Archives_Get", "tags": [ - "PipelineRuns" + "Archives" ], - "description": "Gets the detailed information for a given pipeline run.", - "operationId": "PipelineRuns_Get", + "description": "Gets the properties of the archive.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2025,38 +2578,62 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" }, { - "$ref": "#/parameters/PipelineRunNameParameter" + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well - formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PipelineRun" + "$ref": "#/definitions/Archive" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PipelineRunGet": { - "$ref": "./examples/PipelineRunGet.json" + "ArchiveGet": { + "$ref": "./examples/ArchiveGet.json" } } }, "put": { + "operationId": "Archives_Create", "tags": [ - "PipelineRuns" + "Archives" ], - "description": "Creates a pipeline run for a container registry with the specified parameters", - "operationId": "PipelineRuns_Create", + "description": "Creates a archive for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2068,65 +2645,93 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" }, { - "$ref": "#/parameters/PipelineRunNameParameter" + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" }, { - "name": "pipelineRunCreateParameters", + "name": "archiveCreateParameters", "in": "body", - "description": "The parameters for creating a pipeline run.", + "description": "The parameters for creating a archive.", "required": true, "schema": { - "$ref": "#/definitions/PipelineRun" + "$ref": "#/definitions/Archive" } } ], "responses": { "200": { - "description": "The request was successful; the request was well - formed and received properly.", + "description": "Resource 'Archive' update operation succeeded", "schema": { - "$ref": "#/definitions/PipelineRun" + "$ref": "#/definitions/Archive" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Archive' create operation succeeded", "schema": { - "$ref": "#/definitions/PipelineRun" + "$ref": "#/definitions/Archive" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PipelineRunCreate_Export": { - "$ref": "./examples/PipelineRunCreate_Export.json" - }, - "PipelineRunCreate_Import": { - "$ref": "./examples/PipelineRunCreate_Import.json" + "ArchiveCreate": { + "$ref": "./examples/ArchiveCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Archive" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Archives_Update", "tags": [ - "PipelineRuns" + "Archives" ], - "description": "Deletes a pipeline run from a container registry.", - "operationId": "PipelineRuns_Delete", + "description": "Updates a archive for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2138,52 +2743,155 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" }, { - "$ref": "#/parameters/PipelineRunNameParameter" + "name": "archiveUpdateParameters", + "in": "body", + "description": "The parameters for updating a archive.", + "required": true, + "schema": { + "$ref": "#/definitions/ArchiveUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Archive" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveUpdate": { + "$ref": "./examples/ArchiveUpdate.json" + } + } + }, + "delete": { + "operationId": "Archives_Delete", + "tags": [ + "Archives" + ], + "description": "Deletes a archive from a container registry.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The pipeline run does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PipelineRunDelete": { - "$ref": "./examples/PipelineRunDelete.json" + "ArchiveDelete": { + "$ref": "./examples/ArchiveDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { "get": { + "operationId": "ArchiveVersions_List", "tags": [ - "PrivateEndpointConnections" + "ArchiveVersions" ], - "description": "List all private endpoint connections in a container registry.", - "operationId": "PrivateEndpointConnections_List", + "description": "Lists all archive versions for the specified container registry, repository type and archive name.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2195,20 +2903,53 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResult" + "$ref": "#/definitions/ArchiveVersionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PrivateEndpointConnectionList": { - "$ref": "./examples/PrivateEndpointConnectionList.json" + "ArchiveVersionList": { + "$ref": "./examples/ArchiveVersionList.json" } }, "x-ms-pageable": { @@ -2216,13 +2957,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { "get": { + "operationId": "ArchiveVersions_Get", "tags": [ - "PrivateEndpointConnections" + "ArchiveVersions" ], - "description": "Get the specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the properties of the archive version.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2234,32 +2975,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" }, { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + "name": "archiveVersionName", + "in": "path", + "description": "The name of the archive version resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/ArchiveVersion" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PrivateEndpointConnectionGet": { - "$ref": "./examples/PrivateEndpointConnectionGet.json" + "ArchiveVersionGet": { + "$ref": "./examples/ArchiveVersionGet.json" } } }, "put": { + "operationId": "ArchiveVersions_Create", "tags": [ - "PrivateEndpointConnections" + "ArchiveVersions" ], - "description": "Update the state of specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Creates a archive for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2271,56 +3052,94 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" }, { - "name": "privateEndpointConnection", - "in": "body", - "description": "The parameters for creating a private endpoint connection.", + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", "required": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveVersionName", + "in": "path", + "description": "The name of the archive version resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'ArchiveVersion' update operation succeeded", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/ArchiveVersion" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ArchiveVersion' create operation succeeded", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/ArchiveVersion" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "PrivateEndpointConnectionCreateOrUpdate": { - "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" + "ArchiveVersionCreate": { + "$ref": "./examples/ArchiveVersionCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ArchiveVersion" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "ArchiveVersions_Delete", "tags": [ - "PrivateEndpointConnections" + "ArchiveVersions" ], - "description": "Deletes the specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_Delete", + "description": "Deletes a archive version from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2332,65 +3151,127 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" }, { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + "name": "archiveVersionName", + "in": "path", + "description": "The name of the archive version resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The private endpoint connection does not exist in the subscription." + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "PrivateEndpointConnectionDelete": { - "$ref": "./examples/PrivateEndpointConnectionDelete.json" + "ArchiveVersionDelete": { + "$ref": "./examples/ArchiveVersionDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { "get": { + "operationId": "PipelineRuns_List", "tags": [ - "Registries" + "PipelineRuns" ], - "description": "Lists all the container registries under the specified subscription.", - "operationId": "Registries_List", + "description": "Lists all the pipeline runs for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/RegistryListResult" + "$ref": "#/definitions/PipelineRunListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryList": { - "$ref": "./examples/RegistryList.json" + "PipelineRunList": { + "$ref": "./examples/PipelineRunList.json" } }, "x-ms-pageable": { @@ -2398,13 +3279,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { "get": { + "operationId": "PipelineRuns_Get", "tags": [ - "Registries" + "PipelineRuns" ], - "description": "Lists all the container registries under the specified resource group.", - "operationId": "Registries_ListByResourceGroup", + "description": "Gets the detailed information for a given pipeline run.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2414,33 +3295,54 @@ }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "description": "The name of the pipeline run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/RegistryListResult" + "$ref": "#/definitions/PipelineRun" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryListByResourceGroup": { - "$ref": "./examples/RegistryListByResourceGroup.json" + "PipelineRunGet": { + "$ref": "./examples/PipelineRunGet.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { - "get": { + }, + "put": { + "operationId": "PipelineRuns_Create", "tags": [ - "Registries" + "PipelineRuns" ], - "description": "Gets the properties of the specified container registry.", - "operationId": "Registries_Get", + "description": "Creates a pipeline run for a container registry with the specified parameters", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2452,96 +3354,86 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Registry" - } - } - }, - "x-ms-examples": { - "RegistryGet": { - "$ref": "./examples/RegistryGet.json" - } - } - }, - "put": { - "tags": [ - "Registries" - ], - "description": "Creates a container registry with the specified parameters.", - "operationId": "Registries_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "pipelineRunName", + "in": "path", + "description": "The name of the pipeline run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "registry", + "name": "pipelineRunCreateParameters", "in": "body", - "description": "The parameters for creating a container registry.", + "description": "The parameters for creating a pipeline run.", "required": true, "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PipelineRun" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'PipelineRun' update operation succeeded", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PipelineRun" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'PipelineRun' create operation succeeded", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PipelineRun" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "RegistryCreate": { - "$ref": "./examples/RegistryCreate.json" - }, - "RegistryCreateZoneRedundant": { - "$ref": "./examples/RegistryCreateZoneRedundant.json" - }, - "RegistryCreateDomainNameLabelScope": { - "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" + "PipelineRunCreate_Export": { + "$ref": "./examples/PipelineRunCreate_Export.json" }, - "RegistryCreateAbac": { - "$ref": "./examples/RegistryCreateAbac.json" + "PipelineRunCreate_Import": { + "$ref": "./examples/PipelineRunCreate_Import.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/PipelineRun" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "PipelineRuns_Delete", "tags": [ - "Registries" + "PipelineRuns" ], - "description": "Deletes a container registry.", - "operationId": "Registries_Delete", + "description": "Deletes a pipeline run from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2553,41 +3445,178 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "description": "The name of the pipeline run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Resource deleted successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The container registry does not exist in the subscription." + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "RegistryDelete": { - "$ref": "./examples/RegistryDelete.json" + "PipelineRunDelete": { + "$ref": "./examples/PipelineRunDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { + "get": { + "operationId": "PrivateEndpointConnections_List", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "List all private endpoint connections in a container registry.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionList": { + "$ref": "./examples/PrivateEndpointConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "PrivateEndpointConnections_Get", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Get the specified private endpoint connection associated with the container registry.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionGet": { + "$ref": "./examples/PrivateEndpointConnectionGet.json" + } } }, - "patch": { + "put": { + "operationId": "PrivateEndpointConnections_CreateOrUpdate", "tags": [ - "Registries" + "PrivateEndpointConnections" ], - "description": "Updates a container registry with the specified parameters.", - "operationId": "Registries_Update", + "description": "Update the state of specified private endpoint connection associated with the container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2599,55 +3628,80 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "registryUpdateParameters", + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnection", "in": "body", - "description": "The parameters for updating a container registry.", + "description": "The parameters for creating a private endpoint connection.", "required": true, "schema": { - "$ref": "#/definitions/RegistryUpdateParameters" + "$ref": "#/definitions/PrivateEndpointConnection" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'PrivateEndpointConnection' update operation succeeded", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PrivateEndpointConnection" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'PrivateEndpointConnection' create operation succeeded", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PrivateEndpointConnection" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "RegistryUpdate": { - "$ref": "./examples/RegistryUpdate.json" + "PrivateEndpointConnectionCreateOrUpdate": { + "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { - "get": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/PrivateEndpointConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PrivateEndpointConnections_Delete", "tags": [ - "Registries" + "PrivateEndpointConnections" ], - "description": "Gets the quota usages for the specified container registry.", - "operationId": "Registries_ListUsages", + "description": "Deletes the specified private endpoint connection associated with the container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2659,31 +3713,69 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The request was successful; the registry usages retrieved and returned successfully.", + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/RegistryUsageListResult" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryListUsages": { - "$ref": "./examples/RegistryListUsages.json" + "PrivateEndpointConnectionDelete": { + "$ref": "./examples/PrivateEndpointConnectionDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { "get": { + "operationId": "Registries_ListPrivateLinkResources", "tags": [ - "Registries" + "PrivateLinkResources" ], "description": "Lists the private link resources for a container registry.", - "operationId": "Registries_ListPrivateLinkResources", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2695,15 +3787,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the private link resources were retrieved and returned successfully.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PrivateLinkResourceListResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2718,11 +3823,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { "get": { + "operationId": "Registries_GetPrivateLinkResource", "tags": [ - "Registries" + "PrivateLinkResources" ], "description": "Gets a private link resource by a specified group name for a container registry.", - "operationId": "Registries_GetPrivateLinkResource", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2734,21 +3839,32 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/GroupNameParameter" + "name": "groupName", + "in": "path", + "description": "The name of the private link resource.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The request was successful; the private link resource was retrieved and returned successfully.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PrivateLinkResource" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2761,49 +3877,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { - "post": { - "tags": [ - "Registries" - ], - "description": "Lists the login credentials for the specified container registry.", - "operationId": "Registries_ListCredentials", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the list of credentials retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - } - }, - "x-ms-examples": { - "RegistryListCredentials": { - "$ref": "./examples/RegistryListCredentials.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { "post": { + "operationId": "Registries_RegenerateCredential", "tags": [ "Registries" ], "description": "Regenerates one of the login credentials for the specified container registry.", - "operationId": "Registries_RegenerateCredential", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2815,7 +3895,14 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "regenerateCredentialParameters", @@ -2829,10 +3916,16 @@ ], "responses": { "200": { - "description": "The request was successful; the specified credential regenerated successfully.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/RegistryListCredentialsResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2844,11 +3937,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications": { "get": { + "operationId": "Replications_List", "tags": [ "Replications" ], "description": "Lists all the replications for the specified container registry.", - "operationId": "Replications_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2860,15 +3953,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ReplicationListResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2883,11 +3989,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { "get": { + "operationId": "Replications_Get", "tags": [ "Replications" ], "description": "Gets the properties of the specified replication.", - "operationId": "Replications_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2899,18 +4005,38 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Replication" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2920,11 +4046,11 @@ } }, "put": { + "operationId": "Replications_Create", "tags": [ "Replications" ], "description": "Creates a replication for a container registry with the specified parameters.", - "operationId": "Replications_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2936,10 +4062,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "replication", @@ -2953,21 +4093,33 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Replication' update operation succeeded", "schema": { "$ref": "#/definitions/Replication" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Replication' create operation succeeded", "schema": { "$ref": "#/definitions/Replication" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2978,17 +4130,18 @@ "$ref": "./examples/ReplicationCreateZoneRedundant.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Replication" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Replications_Update", "tags": [ "Replications" ], - "description": "Deletes a replication from a container registry.", - "operationId": "Replications_Delete", + "description": "Updates a replication for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3000,44 +4153,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "replicationUpdateParameters", + "in": "body", + "description": "The parameters for updating a replication.", + "required": true, + "schema": { + "$ref": "#/definitions/ReplicationUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Replication" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "201": { + "description": "Resource 'Replication' create operation succeeded", + "schema": { + "$ref": "#/definitions/Replication" + }, "headers": { - "Location": { - "type": "string" + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The replication does not exist in the subscription." + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "ReplicationDelete": { - "$ref": "./examples/ReplicationDelete.json" + "ReplicationUpdate": { + "$ref": "./examples/ReplicationUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Replication" + }, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "Replications_Delete", "tags": [ "Replications" ], - "description": "Updates a replication for a container registry with the specified parameters.", - "operationId": "Replications_Update", + "description": "Deletes a replication from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3049,58 +4241,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "replicationUpdateParameters", - "in": "body", - "description": "The parameters for updating a replication.", + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", "required": true, - "schema": { - "$ref": "#/definitions/ReplicationUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Replication" - } + "description": "Resource deleted successfully." }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Replication" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "ReplicationUpdate": { - "$ref": "./examples/ReplicationUpdate.json" + "ReplicationDelete": { + "$ref": "./examples/ReplicationDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { "get": { + "operationId": "ScopeMaps_List", "tags": [ "ScopeMaps" ], "description": "Lists all the scope maps for the specified container registry.", - "operationId": "ScopeMaps_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3112,18 +4318,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ScopeMapListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3141,11 +4354,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { "get": { + "operationId": "ScopeMaps_Get", "tags": [ "ScopeMaps" ], "description": "Gets the properties of the specified scope map.", - "operationId": "ScopeMaps_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3157,21 +4370,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ScopeMap" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3184,11 +4411,11 @@ } }, "put": { + "operationId": "ScopeMaps_Create", "tags": [ "ScopeMaps" ], "description": "Creates a scope map for a container registry with the specified parameters.", - "operationId": "ScopeMaps_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3200,10 +4427,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" }, { "name": "scopeMapCreateParameters", @@ -3217,24 +4458,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'ScopeMap' update operation succeeded", "schema": { "$ref": "#/definitions/ScopeMap" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ScopeMap' create operation succeeded", "schema": { "$ref": "#/definitions/ScopeMap" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3245,17 +4492,18 @@ "$ref": "./examples/ScopeMapCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ScopeMap" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "ScopeMaps_Update", "tags": [ "ScopeMaps" ], - "description": "Deletes a scope map from a container registry.", - "operationId": "ScopeMaps_Delete", + "description": "Updates a scope map with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3267,50 +4515,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" }, { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "scopeMapUpdateParameters", + "in": "body", + "description": "The parameters for updating a scope map.", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMapUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScopeMap" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "201": { + "description": "Resource 'ScopeMap' create operation succeeded", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, "headers": { - "Location": { - "type": "string" + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The scopemap does not exist in the subscription." - }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScopeMapDelete": { - "$ref": "./examples/ScopeMapDelete.json" + "ScopeMapUpdate": { + "$ref": "./examples/ScopeMapUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ScopeMap" + }, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "ScopeMaps_Delete", "tags": [ "ScopeMaps" ], - "description": "Updates a scope map with the specified parameters.", - "operationId": "ScopeMaps_Update", + "description": "Deletes a scope map from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3322,64 +4603,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "scopeMapUpdateParameters", - "in": "body", - "description": "The parameters for updating a scope map.", + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", "required": true, - "schema": { - "$ref": "#/definitions/ScopeMapUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ScopeMap" - } + "description": "Resource deleted successfully." }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScopeMapUpdate": { - "$ref": "./examples/ScopeMapUpdate.json" + "ScopeMapDelete": { + "$ref": "./examples/ScopeMapDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens": { "get": { + "operationId": "Tokens_List", "tags": [ "Tokens" ], "description": "Lists all the tokens for the specified container registry.", - "operationId": "Tokens_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3391,18 +4680,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/TokenListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3420,11 +4716,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { "get": { + "operationId": "Tokens_Get", "tags": [ "Tokens" ], "description": "Gets the properties of the specified token.", - "operationId": "Tokens_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3436,21 +4732,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TokenNameParameter" + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Token" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3463,11 +4773,11 @@ } }, "put": { + "operationId": "Tokens_Create", "tags": [ "Tokens" ], "description": "Creates a token for a container registry with the specified parameters.", - "operationId": "Tokens_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3479,10 +4789,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TokenNameParameter" + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "tokenCreateParameters", @@ -3496,24 +4820,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Token' update operation succeeded", "schema": { "$ref": "#/definitions/Token" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Token' create operation succeeded", "schema": { "$ref": "#/definitions/Token" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3524,72 +4854,18 @@ "$ref": "./examples/TokenCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "Tokens" - ], - "description": "Deletes a token from a container registry.", - "operationId": "Tokens_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/TokenNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The token does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenDelete": { - "$ref": "./examples/TokenDelete.json" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Token" }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true }, "patch": { + "operationId": "Tokens_Update", "tags": [ "Tokens" ], "description": "Updates a token with the specified parameters.", - "operationId": "Tokens_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3601,10 +4877,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TokenNameParameter" + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "tokenUpdateParameters", @@ -3618,24 +4908,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Token" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Token' create operation succeeded", "schema": { "$ref": "#/definitions/Token" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3646,19 +4942,18 @@ "$ref": "./examples/TokenUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { - "post": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Token" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Tokens_Delete", "tags": [ - "Registries" + "Tokens" ], - "description": "Generate keys for a token of a specified container registry.", - "operationId": "Registries_GenerateCredentials", + "description": "Deletes a token from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3670,58 +4965,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "generateCredentialsParameters", - "in": "body", - "description": "The parameters for generating credentials.", + "name": "tokenName", + "in": "path", + "description": "The name of the token.", "required": true, - "schema": { - "$ref": "#/definitions/GenerateCredentialsParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/GenerateCredentialsResult" - } + "description": "Resource deleted successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryGenerateCredentials": { - "$ref": "./examples/RegistryGenerateCredentials.json" + "TokenDelete": { + "$ref": "./examples/TokenDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks": { "get": { + "operationId": "Webhooks_List", "tags": [ "Webhooks" ], "description": "Lists all the webhooks for the specified container registry.", - "operationId": "Webhooks_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3733,15 +5042,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/WebhookListResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3756,11 +5078,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { "get": { + "operationId": "Webhooks_Get", "tags": [ "Webhooks" ], "description": "Gets the properties of the specified webhook.", - "operationId": "Webhooks_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3772,18 +5094,38 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Webhook" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3793,11 +5135,11 @@ } }, "put": { + "operationId": "Webhooks_Create", "tags": [ "Webhooks" ], "description": "Creates a webhook for a container registry with the specified parameters.", - "operationId": "Webhooks_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3809,10 +5151,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "webhookCreateParameters", @@ -3826,21 +5182,33 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Webhook' update operation succeeded", "schema": { "$ref": "#/definitions/Webhook" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Webhook' create operation succeeded", "schema": { "$ref": "#/definitions/Webhook" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3848,17 +5216,18 @@ "$ref": "./examples/WebhookCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Webhook" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Webhooks_Update", "tags": [ "Webhooks" ], - "description": "Deletes a webhook from a container registry.", - "operationId": "Webhooks_Delete", + "description": "Updates a webhook with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3870,44 +5239,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookUpdateParameters", + "in": "body", + "description": "The parameters for updating a webhook.", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Webhook" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "201": { + "description": "Resource 'Webhook' create operation succeeded", + "schema": { + "$ref": "#/definitions/Webhook" + }, "headers": { - "Location": { - "type": "string" + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The webhook does not exist in the subscription." + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "WebhookDelete": { - "$ref": "./examples/WebhookDelete.json" + "WebhookUpdate": { + "$ref": "./examples/WebhookUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Webhook" + }, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "Webhooks_Delete", "tags": [ "Webhooks" ], - "description": "Updates a webhook with the specified parameters.", - "operationId": "Webhooks_Update", + "description": "Deletes a webhook from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3919,58 +5327,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/WebhookNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "webhookUpdateParameters", - "in": "body", - "description": "The parameters for updating a webhook.", + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", "required": true, - "schema": { - "$ref": "#/definitions/WebhookUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Webhook" - } + "description": "Resource deleted successfully." }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Webhook" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "WebhookUpdate": { - "$ref": "./examples/WebhookUpdate.json" + "WebhookDelete": { + "$ref": "./examples/WebhookDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { "post": { + "operationId": "Webhooks_GetCallbackConfig", "tags": [ "Webhooks" ], - "description": "Triggers a ping event to be sent to the webhook.", - "operationId": "Webhooks_Ping", + "description": "Gets the configuration of service URI and custom headers for the webhook.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3982,34 +5404,54 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EventInfo" + "$ref": "#/definitions/CallbackConfig" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WebhookPing": { - "$ref": "./examples/WebhookPing.json" + "WebhookGetCallbackConfig": { + "$ref": "./examples/WebhookGetCallbackConfig.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { "post": { + "operationId": "Webhooks_ListEvents", "tags": [ "Webhooks" ], "description": "Lists recent events for the specified webhook.", - "operationId": "Webhooks_ListEvents", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4021,18 +5463,38 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/EventListResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4045,13 +5507,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { "post": { + "operationId": "Webhooks_Ping", "tags": [ "Webhooks" ], - "description": "Gets the configuration of service URI and custom headers for the webhook.", - "operationId": "Webhooks_GetCallbackConfig", + "description": "Triggers a ping event to be sent to the webhook.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4063,111 +5525,172 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CallbackConfig" + "$ref": "#/definitions/EventInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WebhookGetCallbackConfig": { - "$ref": "./examples/WebhookGetCallbackConfig.json" + "WebhookPing": { + "$ref": "./examples/WebhookPing.json" } } } } }, "definitions": { + "ActionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer.", + "enum": [ + "None", + "Recreate" + ], + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Recreate", + "value": "Recreate" + } + ] + } + }, "ActivationProperties": { - "description": "The activation properties of the connected registry.", "type": "object", + "description": "The activation properties of the connected registry.", "properties": { "status": { + "$ref": "#/definitions/ActivationStatus", "description": "The activation status of the connected registry.", - "enum": [ - "Active", - "Inactive" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ActivationStatus", - "modelAsString": true - } + "readOnly": true } } }, - "AzureADAuthenticationAsArmPolicy": { - "description": "The policy for using Azure Resource Manager audience token for a container registry.", + "ActivationStatus": { + "type": "string", + "description": "The activation status of the connected registry.", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "ActivationStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active" + }, + { + "name": "Inactive", + "value": "Inactive" + } + ] + } + }, + "Actor": { "type": "object", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", "properties": { - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], + "name": { "type": "string", - "x-ms-enum": { - "name": "AzureADAuthenticationAsArmPolicyStatus", - "modelAsString": true - } + "description": "The subject or username associated with the request context that generated the event." } } }, + "Archive": { + "type": "object", + "description": "An object that represents a archive for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveProperties", + "description": "The properties of the archive.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, "ArchiveListResult": { - "description": "The result of a request to list archives for a container registry.", "type": "object", + "description": "The result of a request to list archives for a container registry.", "properties": { "value": { - "description": "The list of archives. Since this list may be incomplete, the nextLink field should be used to request the next list of distributions.", "type": "array", + "description": "The list of archives. Since this list may be incomplete, the nextLink field should be used to request the next list of archives.", "items": { "$ref": "#/definitions/Archive" } }, "nextLink": { - "description": "The URI that can be used to request the next list of archives.", - "type": "string" + "type": "string", + "description": "The URI that can be used to request the next list of archives." } } }, - "Archive": { - "description": "An object that represents a archive for a container registry.", + "ArchivePackageSourceProperties": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "The properties of the archive package source.", "properties": { - "properties": { - "$ref": "#/definitions/ArchiveProperties", - "description": "The properties of the archive.", - "x-ms-client-flatten": true + "type": { + "$ref": "#/definitions/PackageSourceType", + "description": "The type of package source for a archive." + }, + "url": { + "type": "string", + "description": "The external repository url." } } }, "ArchiveProperties": { - "description": "The properties of a archive.", "type": "object", + "description": "The properties of a archive.", "properties": { "packageSource": { "$ref": "#/definitions/ArchivePackageSourceProperties", "description": "The package source of the archive." }, "publishedVersion": { - "description": "The published version of the archive.", - "type": "string" + "type": "string", + "description": "The published version of the archive." }, "repositoryEndpointPrefix": { "type": "string" @@ -4177,48 +5700,15 @@ "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the archive at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "ArchivePackageSourceProperties": { - "description": "The properties of the archive package source.", - "type": "object", - "properties": { - "type": { - "description": "The type of package source for a archive.", - "enum": [ - "remote" - ], - "type": "string", - "x-ms-enum": { - "name": "PackageSourceType", - "modelAsString": true - } - }, - "url": { - "description": "The external repository url.", - "type": "string" + "readOnly": true } } }, "ArchiveUpdateParameters": { - "description": "The parameters for updating a archive.", "type": "object", + "description": "The parameters for updating a archive.", "properties": { "properties": { "$ref": "#/definitions/ArchiveUpdateProperties", @@ -4228,152 +5718,200 @@ } }, "ArchiveUpdateProperties": { - "description": "The properties of a archive.", "type": "object", + "description": "The properties of a archive.", "properties": { "publishedVersion": { - "description": "The published version of the archive.", - "type": "string" + "type": "string", + "description": "The published version of the archive." } } }, + "ArchiveVersion": { + "type": "object", + "description": "An object that represents an export pipeline for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveVersionProperties", + "description": "The properties of the archive.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, "ArchiveVersionListResult": { - "description": "The result of a request to list export pipelines for a container registry.", "type": "object", + "description": "The result of a request to list archive versions for a container registry.", "properties": { "value": { - "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", "type": "array", + "description": "The list of archive versions. Since this list may be incomplete, the nextLink field should be used to request the next list of archive versions.", "items": { "$ref": "#/definitions/ArchiveVersion" } }, "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" + "type": "string", + "description": "The URI that can be used to request the next list of archive versions." } } }, - "ArchiveVersion": { - "description": "An object that represents an export pipeline for a container registry.", + "ArchiveVersionProperties": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "The properties of an export pipeline.", "properties": { - "properties": { - "$ref": "#/definitions/ArchiveVersionProperties", - "description": "The properties of the archive.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the archive at the time the operation was called.", + "readOnly": true + }, + "archiveVersionErrorMessage": { + "type": "string", + "description": "The detailed error message for the archive version in the case of failure." } } }, - "ArchiveVersionProperties": { - "description": "The properties of an export pipeline.", + "AuthCredential": { "type": "object", + "description": "Authentication credential stored for an upstream.", "properties": { - "provisioningState": { - "description": "The provisioning state of the archive at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], + "name": { + "$ref": "#/definitions/CredentialName", + "description": "The name of the credential." + }, + "usernameSecretIdentifier": { "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "description": "KeyVault Secret URI for accessing the username." }, - "archiveVersionErrorMessage": { - "description": "The detailed error message for the archive version in the case of failure.", - "type": "string" + "passwordSecretIdentifier": { + "type": "string", + "description": "KeyVault Secret URI for accessing the password." + }, + "credentialHealth": { + "$ref": "#/definitions/CredentialHealth", + "description": "This provides data pertaining to the health of the auth credential.", + "readOnly": true } } }, - "CacheRulesListResult": { - "description": "The result of a request to list cache rules for a container registry.", + "AutoGeneratedDomainNameLabelScope": { + "type": "string", + "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true, + "values": [ + { + "name": "Unsecure", + "value": "Unsecure" + }, + { + "name": "TenantReuse", + "value": "TenantReuse" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse" + }, + { + "name": "NoReuse", + "value": "NoReuse" + } + ] + } + }, + "AzureADAuthenticationAsArmPolicy": { "type": "object", + "description": "The policy for using Azure Resource Manager audience token for a container registry.", "properties": { - "value": { - "description": "The list of cache rules.", - "type": "array", - "items": { - "$ref": "#/definitions/CacheRule" + "status": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "AzureADAuthenticationAsArmPolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } - }, - "nextLink": { - "description": "If provided, client must use NextLink URI to request next list of cache rules.", - "type": "string" } } }, "CacheRule": { - "description": "An object that represents a cache rule for a container registry.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "An object that represents a cache rule for a container registry.", "properties": { "properties": { "$ref": "#/definitions/CacheRuleProperties", "description": "The properties of the cache rule.", "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, "CacheRuleProperties": { - "description": "The properties of a cache rule.", "type": "object", + "description": "The properties of a cache rule.", "properties": { "credentialSetResourceId": { - "description": "The ARM resource ID of the credential store which is associated with the cache rule.", - "type": "string" + "type": "string", + "description": "The ARM resource ID of the credential store which is associated with the cache rule." }, "sourceRepository": { - "description": "Source repository pulled from upstream.", - "type": "string" + "type": "string", + "description": "Source repository pulled from upstream." }, "targetRepository": { - "description": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}", - "type": "string" + "type": "string", + "description": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}" }, "creationDate": { + "type": "string", "format": "date-time", "description": "The creation date of the cache rule.", - "type": "string", "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } } }, "CacheRuleUpdateParameters": { - "description": "The parameters for updating a cache rule.", "type": "object", + "description": "The parameters for updating a cache rule.", "properties": { "properties": { "$ref": "#/definitions/CacheRuleUpdateProperties", @@ -4383,111 +5921,161 @@ } }, "CacheRuleUpdateProperties": { - "description": "The parameters for updating cache rule properties.", "type": "object", + "description": "The parameters for updating cache rule properties.", "properties": { "credentialSetResourceId": { - "description": "The ARM resource ID of the credential store which is associated with the Cache rule.", - "type": "string" + "type": "string", + "description": "The ARM resource ID of the credential store which is associated with the Cache rule." } } }, - "ConnectedRegistry": { - "description": "An object that represents a connected registry for a container registry.", + "CacheRulesListResult": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" + "description": "The result of a request to list cache rules for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of cache rules. Since this list may be incomplete, the nextLink field should be used to request the next list of cache rules.", + "items": { + "$ref": "#/definitions/CacheRule" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of cache rules." + } + } + }, + "CallbackConfig": { + "type": "object", + "description": "The configuration of service URI and custom headers for the webhook.", + "properties": { + "serviceUri": { + "type": "string", + "description": "The service URI for the webhook to post notifications." + }, + "customHeaders": { + "type": "object", + "description": "Custom headers that will be added to the webhook notifications.", + "additionalProperties": { + "type": "string" + } } + }, + "required": [ + "serviceUri" + ] + }, + "CertificateType": { + "type": "string", + "description": "The type of certificate location.", + "enum": [ + "LocalDirectory" ], + "x-ms-enum": { + "name": "CertificateType", + "modelAsString": true, + "values": [ + { + "name": "LocalDirectory", + "value": "LocalDirectory" + } + ] + } + }, + "ConnectedRegistry": { + "type": "object", + "description": "An object that represents a connected registry for a container registry.", "properties": { "properties": { "$ref": "#/definitions/ConnectedRegistryProperties", "description": "The properties of the connected registry.", "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, "ConnectedRegistryListResult": { - "description": "The result of a request to list connected registries for a container registry.", "type": "object", + "description": "The result of a request to list connected registries for a container registry.", "properties": { "value": { - "description": "The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries.", "type": "array", + "description": "The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries.", "items": { "$ref": "#/definitions/ConnectedRegistry" } }, "nextLink": { - "description": "The URI that can be used to request the next list of connected registries.", - "type": "string" + "type": "string", + "description": "The URI that can be used to request the next list of connected registries." } } }, - "ConnectedRegistryProperties": { - "description": "The properties of a connected registry.", - "required": [ - "mode", - "parent" + "ConnectedRegistryMode": { + "type": "string", + "description": "The mode of the connected registry resource that indicates the permissions of the registry.", + "enum": [ + "ReadWrite", + "ReadOnly", + "Registry", + "Mirror" ], + "x-ms-enum": { + "name": "ConnectedRegistryMode", + "modelAsString": true, + "values": [ + { + "name": "ReadWrite", + "value": "ReadWrite" + }, + { + "name": "ReadOnly", + "value": "ReadOnly" + }, + { + "name": "Registry", + "value": "Registry" + }, + { + "name": "Mirror", + "value": "Mirror" + } + ] + } + }, + "ConnectedRegistryProperties": { "type": "object", + "description": "The properties of a connected registry.", "properties": { "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true }, "mode": { - "description": "The mode of the connected registry resource that indicates the permissions of the registry.", - "enum": [ - "ReadWrite", - "ReadOnly", - "Registry", - "Mirror" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectedRegistryMode", - "modelAsString": true - } + "$ref": "#/definitions/ConnectedRegistryMode", + "description": "The mode of the connected registry resource that indicates the permissions of the registry." }, "version": { - "description": "The current version of ACR runtime on the connected registry.", "type": "string", + "description": "The current version of ACR runtime on the connected registry.", "readOnly": true }, "connectionState": { + "$ref": "#/definitions/ConnectionState", "description": "The current connection state of the connected registry.", - "enum": [ - "Online", - "Offline", - "Syncing", - "Unhealthy" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ConnectionState", - "modelAsString": true - } + "readOnly": true }, "lastActivityTime": { + "type": "string", "format": "date-time", "description": "The last activity time of the connected registry.", - "type": "string", "readOnly": true }, "activation": { @@ -4500,8 +6088,8 @@ "description": "The parent of the connected registry." }, "clientTokenIds": { - "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "type": "array", + "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "items": { "type": "string" } @@ -4515,8 +6103,8 @@ "description": "The logging properties of the connected registry." }, "statusDetails": { - "description": "The list of current statuses of the connected registry.", "type": "array", + "description": "The list of current statuses of the connected registry.", "items": { "$ref": "#/definitions/StatusDetailProperties" }, @@ -4526,20 +6114,25 @@ ] }, "notificationsList": { - "description": "The list of notifications subscription information for the connected registry.", "type": "array", + "description": "The list of notifications subscription information for the connected registry.", "items": { "type": "string" } }, "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" + "$ref": "#/definitions/GarbageCollectionProperties", + "description": "The garbage collection properties of the connected registry." } - } + }, + "required": [ + "mode", + "parent" + ] }, "ConnectedRegistryUpdateParameters": { - "description": "The parameters for updating a connected registry.", "type": "object", + "description": "The parameters for updating a connected registry.", "properties": { "properties": { "$ref": "#/definitions/ConnectedRegistryUpdateProperties", @@ -4549,8 +6142,8 @@ } }, "ConnectedRegistryUpdateProperties": { - "description": "The parameters for updating token properties.", "type": "object", + "description": "The parameters for updating token properties.", "properties": { "syncProperties": { "$ref": "#/definitions/SyncUpdateProperties", @@ -4561,192 +6154,194 @@ "description": "The logging properties of the connected registry." }, "clientTokenIds": { - "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "type": "array", + "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "items": { "type": "string" } }, "notificationsList": { - "description": "The list of notifications subscription information for the connected registry.", "type": "array", + "description": "The list of notifications subscription information for the connected registry.", "items": { "type": "string" } }, "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" + "$ref": "#/definitions/GarbageCollectionProperties", + "description": "The garbage collection properties of the connected registry." } } }, - "GarbageCollectionProperties": { - "description": "The garbage collection properties of the connected registry.", - "type": "object", - "properties": { - "enabled": { - "description": "Indicates whether garbage collection is enabled for the connected registry.", - "type": "boolean" - }, - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will run garbage collection.", - "type": "string" - } + "ConnectionState": { + "type": "string", + "description": "The current connection state of the connected registry.", + "enum": [ + "Online", + "Offline", + "Syncing", + "Unhealthy" + ], + "x-ms-enum": { + "name": "ConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Online", + "value": "Online" + }, + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "Syncing", + "value": "Syncing" + }, + { + "name": "Unhealthy", + "value": "Unhealthy" + } + ] } }, - "LoggingProperties": { - "description": "The logging properties of the connected registry.", - "type": "object", - "properties": { - "logLevel": { - "description": "The verbosity of logs persisted on the connected registry.", - "default": "Information", - "enum": [ - "Debug", - "Information", - "Warning", - "Error", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": true - } - }, - "auditLogStatus": { - "description": "Indicates whether audit logs are enabled on the connected registry.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "AuditLogStatus", - "modelAsString": true + "ConnectionStatus": { + "type": "string", + "description": "The private link service connection status.", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved" + }, + { + "name": "Pending", + "value": "Pending" + }, + { + "name": "Rejected", + "value": "Rejected" + }, + { + "name": "Disconnected", + "value": "Disconnected" } - } + ] } }, - "LoginServerProperties": { - "description": "The login server properties of the connected registry.", + "CredentialHealth": { "type": "object", + "description": "The health of the auth credential.", "properties": { - "host": { - "description": "The host of the connected registry. Can be FQDN or IP.", + "status": { + "$ref": "#/definitions/CredentialHealthStatus", + "description": "The health status of credential." + }, + "errorCode": { "type": "string", - "readOnly": true + "description": "Error code representing the health check error." }, - "tls": { - "$ref": "#/definitions/TlsProperties", - "description": "The TLS properties of the connected registry login server.", - "readOnly": true + "errorMessage": { + "type": "string", + "description": "Descriptive message representing the health check error." } } }, - "ParentProperties": { - "description": "The properties of the connected registry parent.", - "required": [ - "syncProperties" + "CredentialHealthStatus": { + "type": "string", + "description": "The health status of credential.", + "enum": [ + "Healthy", + "Unhealthy" + ], + "x-ms-enum": { + "name": "CredentialHealthStatus", + "modelAsString": true, + "values": [ + { + "name": "Healthy", + "value": "Healthy" + }, + { + "name": "Unhealthy", + "value": "Unhealthy" + } + ] + } + }, + "CredentialName": { + "type": "string", + "description": "The name of the credential.", + "enum": [ + "Credential1" ], + "x-ms-enum": { + "name": "CredentialName", + "modelAsString": true, + "values": [ + { + "name": "Credential1", + "value": "Credential1" + } + ] + } + }, + "CredentialSet": { "type": "object", + "description": "An object that represents a credential set resource for a container registry.", "properties": { - "id": { - "description": "The resource ID of the parent to which the connected registry will be associated.", - "type": "string", - "format": "arm-id" + "properties": { + "$ref": "#/definitions/CredentialSetProperties", + "description": "The properties of the credential set.", + "x-ms-client-flatten": true }, - "syncProperties": { - "$ref": "#/definitions/SyncProperties", - "description": "The sync properties of the connected registry with its parent." + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, "CredentialSetListResult": { - "description": "The result of a request to list credential sets for a container registry.", "type": "object", + "description": "The result of a request to list credential sets for a container registry.", "properties": { "value": { - "description": "The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets.", "type": "array", + "description": "The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets.", "items": { "$ref": "#/definitions/CredentialSet" } }, "nextLink": { - "description": "The URI that can be used to request the next list of credential sets.", - "type": "string" + "type": "string", + "description": "The URI that can be used to request the next list of credential sets." } } }, - "CredentialSet": { - "description": "An object that represents a credential set resource for a container registry.", + "CredentialSetProperties": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "The properties of a credential set resource.", "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." - }, - "properties": { - "$ref": "#/definitions/CredentialSetProperties", - "description": "The properties of the credential set.", - "x-ms-client-flatten": true - } - } - }, - "IdentityProperties": { - "description": "Managed identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } - } - } - }, - "CredentialSetProperties": { - "description": "The properties of a credential set resource.", - "type": "object", - "properties": { - "loginServer": { - "description": "The credentials are stored for this upstream or login server.", - "type": "string" + "loginServer": { + "type": "string", + "description": "The credentials are stored for this upstream or login server." }, "authCredentials": { - "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", "type": "array", + "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", "items": { "$ref": "#/definitions/AuthCredential" }, @@ -4755,522 +6350,572 @@ ] }, "creationDate": { + "type": "string", "format": "date-time", "description": "The creation date of credential store resource.", - "type": "string", "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } } }, - "UserIdentityProperties": { + "CredentialSetUpdateParameters": { "type": "object", + "description": "The parameters for updating a credential set", "properties": { - "principalId": { - "description": "The principal id of user assigned identity.", - "type": "string", - "readOnly": true + "properties": { + "$ref": "#/definitions/CredentialSetUpdateProperties", + "description": "The properties of the credential set update parameters", + "x-ms-client-flatten": true }, - "clientId": { - "description": "The client id of user assigned identity.", - "type": "string", - "readOnly": true + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." } } }, - "Resource": { - "description": "An Azure resource.", - "required": [ - "location" - ], + "CredentialSetUpdateProperties": { + "type": "object", + "description": "The parameters for updating credential set properties.", "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", - "type": "string", - "readOnly": true - }, - "location": { - "description": "The location of the resource. This cannot be changed after the resource is created.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" + "authCredentials": { + "type": "array", + "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" ] - }, - "tags": { - "description": "The tags of the resource.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true } - }, - "x-ms-azure-resource": true + } }, - "AuthCredential": { - "description": "Authentication credential stored for an upstream.", + "DebianArchivePackageSourceProperties": { "type": "object", + "description": "The properties of the archive package source.", "properties": { - "name": { - "description": "The name of the credential.", - "enum": [ - "Credential1" - ], + "distributionName": { "type": "string", - "x-ms-enum": { - "name": "CredentialName", - "modelAsString": true - } - }, - "usernameSecretIdentifier": { - "description": "KeyVault Secret URI for accessing the username.", - "type": "string" - }, - "passwordSecretIdentifier": { - "description": "KeyVault Secret URI for accessing the password.", - "type": "string" - }, - "credentialHealth": { - "$ref": "#/definitions/CredentialHealth", - "description": "This provides data pertaining to the health of the auth credential.", - "readOnly": true + "description": "Upstream Debian distribution Name." } - } + }, + "allOf": [ + { + "$ref": "#/definitions/ArchivePackageSourceProperties" + } + ] }, - "ProxyResource": { - "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.", + "DebianArchiveProperties": { + "type": "object", + "description": "The properties of the Debian package Archive.", "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", + "distributionName": { "type": "string", - "readOnly": true - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true + "description": "Debian distribution Name." } }, - "x-ms-azure-resource": true + "allOf": [ + { + "$ref": "#/definitions/ArchiveProperties" + } + ] }, - "CredentialHealth": { - "description": "The health of the auth credential.", + "EncryptionProperty": { "type": "object", "properties": { "status": { - "description": "The health status of credential.", - "enum": [ - "Healthy", - "Unhealthy" - ], - "type": "string", - "x-ms-enum": { - "name": "CredentialHealthStatus", - "modelAsString": true - } + "$ref": "#/definitions/EncryptionStatus", + "description": "Indicates whether or not the encryption is enabled for container registry." }, - "errorCode": { - "description": "Error code representing the health check error.", - "type": "string" - }, - "errorMessage": { - "description": "Descriptive message representing the health check error.", - "type": "string" + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Key vault properties." } } }, - "SystemData": { - "description": "Metadata pertaining to creation and last modification of the resource.", + "EncryptionStatus": { + "type": "string", + "description": "Indicates whether or not the encryption is enabled for container registry.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, + "Event": { "type": "object", + "description": "The event for a webhook.", "properties": { - "createdBy": { - "description": "The identity that created the resource.", - "type": "string" + "eventRequestMessage": { + "$ref": "#/definitions/EventRequestMessage", + "description": "The event request message sent to the service URI." }, - "createdByType": { - "description": "The type of identity that created the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], + "eventResponseMessage": { + "$ref": "#/definitions/EventResponseMessage", + "description": "The event response message received from the service URI." + } + }, + "allOf": [ + { + "$ref": "#/definitions/EventInfo" + } + ] + }, + "EventContent": { + "type": "object", + "description": "The content of the event request message.", + "properties": { + "id": { "type": "string", - "x-ms-enum": { - "name": "createdByType", - "modelAsString": true - } + "description": "The event ID." }, - "createdAt": { + "timestamp": { + "type": "string", "format": "date-time", - "description": "The timestamp of resource creation (UTC).", - "type": "string" - }, - "lastModifiedBy": { - "description": "The identity that last modified the resource.", - "type": "string" + "description": "The time at which the event occurred." }, - "lastModifiedByType": { - "description": "The type of identity that last modified the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], + "action": { "type": "string", - "x-ms-enum": { - "name": "lastModifiedByType", - "modelAsString": true - } + "description": "The action that encompasses the provided event." }, - "lastModifiedAt": { - "format": "date-time", - "description": "The timestamp of resource modification (UTC).", - "type": "string" + "target": { + "$ref": "#/definitions/Target", + "description": "The target of the event." + }, + "request": { + "$ref": "#/definitions/Request", + "description": "The request that generated the event." + }, + "actor": { + "$ref": "#/definitions/Actor", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." + }, + "source": { + "$ref": "#/definitions/Source", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." } - }, - "readOnly": true + } }, - "DebianArchiveProperties": { - "description": "The properties of the Debian package Archive.", + "EventInfo": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ArchiveProperties" - } - ], + "description": "The basic information of an event.", "properties": { - "distributionName": { - "description": "Debian distribution Name.", - "type": "string" + "id": { + "type": "string", + "description": "The event ID." } } }, - "DebianArchivePackageSourceProperties": { - "description": "The properties of the archive package source.", + "EventListResult": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ArchivePackageSourceProperties" - } - ], + "description": "The result of a request to list events for a webhook.", "properties": { - "distributionName": { - "description": "Upstream Debian distribution Name.", - "type": "string" - } - } - }, - "CredentialSetUpdateParameters": { - "description": "The parameters for updating a credential set", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetUpdateProperties", - "description": "The properties of the credential set update parameters", - "x-ms-client-flatten": true + "value": { + "type": "array", + "description": "The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.", + "items": { + "$ref": "#/definitions/Event" + } }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of events." } } }, - "CredentialSetUpdateProperties": { - "description": "The parameters for updating credential set properties.", + "EventRequestMessage": { "type": "object", + "description": "The event request message sent to the service URI.", "properties": { - "authCredentials": { - "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", - "type": "array", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] + "content": { + "$ref": "#/definitions/EventContent", + "description": "The content of the event request message." + }, + "headers": { + "type": "object", + "description": "The headers of the event request message.", + "additionalProperties": { + "type": "string" + } + }, + "method": { + "type": "string", + "description": "The HTTP method used to send the event request message." + }, + "requestUri": { + "type": "string", + "description": "The URI used to send the event request message." + }, + "version": { + "type": "string", + "description": "The HTTP message version." } } }, - "ExportPipelineListResult": { - "description": "The result of a request to list export pipelines for a container registry.", + "EventResponseMessage": { "type": "object", + "description": "The event response message received from the service URI.", "properties": { - "value": { - "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", - "type": "array", - "items": { - "$ref": "#/definitions/ExportPipeline" + "content": { + "type": "string", + "description": "The content of the event response message." + }, + "headers": { + "type": "object", + "description": "The headers of the event response message.", + "additionalProperties": { + "type": "string" } }, - "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" + "reasonPhrase": { + "type": "string", + "description": "The reason phrase of the event response message." + }, + "statusCode": { + "type": "string", + "description": "The status code of the event response message." + }, + "version": { + "type": "string", + "description": "The HTTP message version." } } }, "ExportPipeline": { - "description": "An object that represents an export pipeline for a container registry.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "An object that represents an export pipeline for a container registry.", "properties": { + "properties": { + "$ref": "#/definitions/ExportPipelineProperties", + "description": "The properties of the export pipeline.", + "x-ms-client-flatten": true + }, "location": { - "description": "The location of the export pipeline.", - "type": "string" + "type": "string", + "description": "The location of the export pipeline." }, "identity": { "$ref": "#/definitions/IdentityProperties", "description": "The identity of the export pipeline." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ExportPipelineListResult": { + "type": "object", + "description": "The result of a request to list export pipelines for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", + "items": { + "$ref": "#/definitions/ExportPipeline" + } }, - "properties": { - "$ref": "#/definitions/ExportPipelineProperties", - "description": "The properties of the export pipeline.", - "x-ms-client-flatten": true + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of export pipelines." } } }, "ExportPipelineProperties": { - "description": "The properties of an export pipeline.", - "required": [ - "target" - ], "type": "object", + "description": "The properties of an export pipeline.", "properties": { "target": { "$ref": "#/definitions/ExportPipelineTargetProperties", "description": "The target properties of the export pipeline." }, "options": { - "description": "The list of all options configured for the pipeline.", "type": "array", + "description": "The list of all options configured for the pipeline.", "items": { - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "type": "string", - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true - } + "$ref": "#/definitions/PipelineOptions" } }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the pipeline at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } - } + }, + "required": [ + "target" + ] }, "ExportPipelineTargetProperties": { - "description": "The properties of the export pipeline target.", - "required": [ - "keyVaultUri" - ], "type": "object", + "description": "The properties of the export pipeline target.", "properties": { "type": { - "description": "The type of target for the export pipeline.", - "type": "string" + "type": "string", + "description": "The type of target for the export pipeline." }, "uri": { - "description": "The target uri of the export pipeline.\r\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"", - "type": "string" + "type": "string", + "description": "The target uri of the export pipeline.\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" }, "keyVaultUri": { - "description": "They key vault secret uri to obtain the target storage SAS token.", - "type": "string" + "type": "string", + "description": "They key vault secret uri to obtain the target storage SAS token." } - } - }, - "ImportImageParameters": { + }, "required": [ - "source" - ], + "keyVaultUri" + ] + }, + "ExportPolicy": { "type": "object", + "description": "The export policy for a container registry.", "properties": { - "source": { - "$ref": "#/definitions/ImportSource", - "description": "The source of the image." - }, - "targetTags": { - "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", - "type": "array", - "items": { - "type": "string" - } - }, - "untaggedTargetRepositories": { - "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", - "type": "array", - "items": { - "type": "string" - } - }, - "mode": { - "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.", - "default": "NoForce", + "status": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "enabled", "enum": [ - "NoForce", - "Force" + "enabled", + "disabled" ], - "type": "string", "x-ms-enum": { - "name": "ImportMode", - "modelAsString": true + "name": "ExportPolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } } } }, - "ImportSource": { - "required": [ - "sourceImage" - ], + "GarbageCollectionProperties": { "type": "object", + "description": "The garbage collection properties of the connected registry.", "properties": { - "resourceId": { - "description": "The resource identifier of the source Azure Container Registry.", - "type": "string" - }, - "registryUri": { - "description": "The address of the source registry (e.g. 'mcr.microsoft.com').", - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/ImportSourceCredentials", - "description": "Credentials used when importing from a registry uri." + "enabled": { + "type": "boolean", + "description": "Indicates whether garbage collection is enabled for the connected registry." }, - "sourceImage": { - "description": "Repository name of the source image.\r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", - "type": "string" + "schedule": { + "type": "string", + "description": "The cron expression indicating the schedule that the connected registry will run garbage collection." } } }, - "ImportSourceCredentials": { - "required": [ - "password" - ], + "GenerateCredentialsParameters": { "type": "object", + "description": "The parameters used to generate credentials for a specified token or user of a container registry.", "properties": { - "username": { - "description": "The username to authenticate with the source registry.", - "type": "string" + "tokenId": { + "type": "string", + "description": "The resource ID of the token for which credentials have to be generated." }, - "password": { - "description": "The password used to authenticate with the source registry.", - "type": "string" + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry date of the generated credentials after which the credentials become invalid." + }, + "name": { + "$ref": "#/definitions/TokenPasswordName", + "description": "Specifies name of the password which should be regenerated if any -- password1 or password2." } } }, - "ImportPipelineListResult": { - "description": "The result of a request to list import pipelines for a container registry.", + "GenerateCredentialsResult": { "type": "object", + "description": "The response from the GenerateCredentials operation.", "properties": { - "value": { - "description": "The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines.", + "username": { + "type": "string", + "description": "The username for a container registry." + }, + "passwords": { "type": "array", + "description": "The list of passwords for a container registry.", "items": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" + "$ref": "#/definitions/TokenPassword" + }, + "x-ms-identifiers": [] } } }, - "ImportPipeline": { - "description": "An object that represents an import pipeline for a container registry.", + "IPRule": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "IP rule with specific IP or IP range in CIDR format.", "properties": { - "location": { - "description": "The location of the import pipeline.", - "type": "string" + "action": { + "type": "string", + "description": "The action of IP ACL rule.", + "default": "Allow", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow" + } + ] + } }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the import pipeline." + "value": { + "type": "string", + "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", + "x-ms-client-name": "IPAddressOrRange" + } + }, + "required": [ + "value" + ] + }, + "IdentityProperties": { + "type": "object", + "description": "Managed identity for the resource.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID of resource identity.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant ID of resource.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ResourceIdentityType", + "description": "The identity type." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } + } + } + }, + "ImportImageParameters": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/ImportSource", + "description": "The source of the image." + }, + "targetTags": { + "type": "array", + "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", + "items": { + "type": "string" + } }, + "untaggedTargetRepositories": { + "type": "array", + "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", + "items": { + "type": "string" + } + }, + "mode": { + "type": "string", + "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.", + "default": "NoForce", + "enum": [ + "NoForce", + "Force" + ], + "x-ms-enum": { + "name": "ImportMode", + "modelAsString": true, + "values": [ + { + "name": "NoForce", + "value": "NoForce" + }, + { + "name": "Force", + "value": "Force" + } + ] + } + } + }, + "required": [ + "source" + ] + }, + "ImportPipeline": { + "type": "object", + "description": "An object that represents an import pipeline for a container registry.", + "properties": { "properties": { "$ref": "#/definitions/ImportPipelineProperties", "description": "The properties of the import pipeline.", "x-ms-client-flatten": true + }, + "location": { + "type": "string", + "description": "The location of the import pipeline." + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the import pipeline." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ImportPipelineListResult": { + "type": "object", + "description": "The result of a request to list import pipelines for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines.", + "items": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of import pipelines." } } }, "ImportPipelineProperties": { - "description": "The properties of an import pipeline.", - "required": [ - "source" - ], "type": "object", + "description": "The properties of an import pipeline.", "properties": { "source": { "$ref": "#/definitions/ImportPipelineSourceProperties", @@ -5281,378 +6926,412 @@ "description": "The properties that describe the trigger of the import pipeline." }, "options": { - "description": "The list of all options configured for the pipeline.", "type": "array", + "description": "The list of all options configured for the pipeline.", "items": { - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "type": "string", - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true - } + "$ref": "#/definitions/PipelineOptions" } }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the pipeline at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } - } + }, + "required": [ + "source" + ] }, "ImportPipelineSourceProperties": { - "description": "The properties of the import pipeline source.", - "required": [ - "keyVaultUri" - ], "type": "object", + "description": "The properties of the import pipeline source.", "properties": { "type": { + "type": "string", "description": "The type of source for the import pipeline.", "default": "AzureStorageBlobContainer", "enum": [ "AzureStorageBlobContainer" ], - "type": "string", "x-ms-enum": { "name": "PipelineSourceType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "AzureStorageBlobContainer", + "value": "AzureStorageBlobContainer" + } + ] } }, "uri": { - "description": "The source uri of the import pipeline.\r\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"", - "type": "string" + "type": "string", + "description": "The source uri of the import pipeline.\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" }, "keyVaultUri": { - "description": "They key vault secret uri to obtain the source storage SAS token.", - "type": "string" - } - } - }, - "PipelineTriggerProperties": { - "type": "object", - "properties": { - "sourceTrigger": { - "$ref": "#/definitions/PipelineSourceTriggerProperties", - "description": "The source trigger properties of the pipeline." - } - } - }, - "PipelineSourceTriggerProperties": { - "required": [ - "status" - ], - "type": "object", - "properties": { - "status": { - "description": "The current status of the source trigger.", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], "type": "string", - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true - } + "description": "They key vault secret uri to obtain the source storage SAS token." } - } + }, + "required": [ + "keyVaultUri" + ] }, - "OperationListResult": { - "description": "The result of a request to list container registry operations.", + "ImportSource": { "type": "object", "properties": { - "value": { - "description": "The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] + "resourceId": { + "type": "string", + "description": "The resource identifier of the source Azure Container Registry." }, - "nextLink": { - "description": "The URI that can be used to request the next list of container registry operations.", - "type": "string" + "registryUri": { + "type": "string", + "description": "The address of the source registry (e.g. 'mcr.microsoft.com')." + }, + "credentials": { + "$ref": "#/definitions/ImportSourceCredentials", + "description": "Credentials used when importing from a registry uri." + }, + "sourceImage": { + "type": "string", + "description": "Repository name of the source image.\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123')." } - } + }, + "required": [ + "sourceImage" + ] }, - "OperationDefinition": { - "description": "The definition of a container registry operation.", + "ImportSourceCredentials": { "type": "object", "properties": { - "origin": { - "description": "The origin information of the container registry operation.", - "type": "string" - }, - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayDefinition", - "description": "The display information for the container registry operation." - }, - "properties": { - "$ref": "#/definitions/OperationPropertiesDefinition", - "description": "The properties information for the container registry operation.", - "x-ms-client-flatten": true + "username": { + "type": "string", + "description": "The username to authenticate with the source registry." }, - "isDataAction": { - "description": "This property indicates if the operation is an action or a data action\r\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations", - "type": "boolean" + "password": { + "type": "string", + "description": "The password used to authenticate with the source registry." } - } + }, + "required": [ + "password" + ] }, - "OperationDisplayDefinition": { - "description": "The display information for a container registry operation.", + "KeyVaultProperties": { "type": "object", "properties": { - "provider": { - "description": "The resource provider name: Microsoft.ContainerRegistry.", - "type": "string" + "keyIdentifier": { + "type": "string", + "description": "Key vault uri to access the encryption key." }, - "resource": { - "description": "The resource on which the operation is performed.", - "type": "string" + "versionedKeyIdentifier": { + "type": "string", + "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", + "readOnly": true }, - "operation": { - "description": "The operation that users can perform.", - "type": "string" + "identity": { + "type": "string", + "description": "The client id of the identity which will be used to access key vault." }, - "description": { - "description": "The description for the operation.", - "type": "string" + "keyRotationEnabled": { + "type": "boolean", + "description": "Auto key rotation status for a CMK enabled registry.", + "readOnly": true + }, + "lastKeyRotationTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp of the last successful key rotation.", + "readOnly": true } } }, - "OperationPropertiesDefinition": { - "description": "The definition of Azure Monitoring properties.", + "LoggingProperties": { "type": "object", + "description": "The logging properties of the connected registry.", "properties": { - "serviceSpecification": { - "$ref": "#/definitions/OperationServiceSpecificationDefinition", - "description": "The definition of Azure Monitoring service." - } - } - }, - "OperationServiceSpecificationDefinition": { - "description": "The definition of Azure Monitoring list.", - "type": "object", - "properties": { - "metricSpecifications": { - "description": "A list of Azure Monitoring metrics definition.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationMetricSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] + "logLevel": { + "type": "string", + "description": "The verbosity of logs persisted on the connected registry.", + "default": "Information", + "enum": [ + "Debug", + "Information", + "Warning", + "Error", + "None" + ], + "x-ms-enum": { + "name": "LogLevel", + "modelAsString": true, + "values": [ + { + "name": "Debug", + "value": "Debug" + }, + { + "name": "Information", + "value": "Information" + }, + { + "name": "Warning", + "value": "Warning" + }, + { + "name": "Error", + "value": "Error" + }, + { + "name": "None", + "value": "None" + } + ] + } }, - "logSpecifications": { - "description": "A list of Azure Monitoring log definitions.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationLogSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] + "auditLogStatus": { + "type": "string", + "description": "Indicates whether audit logs are enabled on the connected registry.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AuditLogStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } } } }, - "OperationMetricSpecificationDefinition": { - "description": "The definition of Azure Monitoring metric.", + "LoginServerProperties": { "type": "object", + "description": "The login server properties of the connected registry.", "properties": { - "name": { - "description": "Metric name.", - "type": "string" - }, - "displayName": { - "description": "Metric display name.", - "type": "string" - }, - "displayDescription": { - "description": "Metric description.", - "type": "string" - }, - "unit": { - "description": "Metric unit.", - "type": "string" - }, - "aggregationType": { - "description": "Metric aggregation type.", - "type": "string" + "host": { + "type": "string", + "description": "The host of the connected registry. Can be FQDN or IP.", + "readOnly": true }, - "internalMetricName": { - "description": "Internal metric name.", - "type": "string" + "tls": { + "$ref": "#/definitions/TlsProperties", + "description": "The TLS properties of the connected registry login server.", + "readOnly": true } } }, - "OperationLogSpecificationDefinition": { - "description": "The definition of Azure Monitoring log.", - "type": "object", - "properties": { - "name": { - "description": "Log name.", - "type": "string" - }, - "displayName": { - "description": "Log display name.", - "type": "string" - }, - "blobDuration": { - "description": "Log blob duration.", - "type": "string" - } + "MetadataSearch": { + "type": "string", + "description": "Determines whether registry artifacts are indexed for metadata search.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, - "RegistryNameCheckRequest": { - "description": "A request to check whether a container registry name is available.", - "required": [ - "name", - "type" + "NetworkRuleBypassOptions": { + "type": "string", + "description": "Whether to allow trusted Azure services to access a network restricted registry.", + "enum": [ + "AzureServices", + "None" ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true, + "values": [ + { + "name": "AzureServices", + "value": "AzureServices" + }, + { + "name": "None", + "value": "None" + } + ] + } + }, + "NetworkRuleSet": { "type": "object", + "description": "The network rule set for a container registry.", "properties": { - "name": { - "description": "The name of the container registry.", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "type": "string" - }, - "type": { - "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.", - "enum": [ - "Microsoft.ContainerRegistry/registries" - ], + "defaultAction": { "type": "string", - "x-ms-enum": { - "name": "ContainerRegistryResourceType", - "modelAsString": false - } - }, - "resourceGroupName": { - "description": "The resource group name of the container registry.", - "maxLength": 90, - "minLength": 1, - "type": "string" - }, - "autoGeneratedDomainNameLabelScope": { - "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", - "default": "Unsecure", + "description": "The default action of allow or deny when no other rules match.", + "default": "Allow", "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" + "Allow", + "Deny" ], - "type": "string", "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true + "name": "DefaultAction", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow" + }, + { + "name": "Deny", + "value": "Deny" + } + ] } + }, + "ipRules": { + "type": "array", + "description": "The IP ACL rules.", + "items": { + "$ref": "#/definitions/IPRule" + }, + "x-ms-identifiers": [] } + }, + "required": [ + "defaultAction" + ] + }, + "PackageSourceType": { + "type": "string", + "description": "The type of package source for a archive.", + "enum": [ + "remote" + ], + "x-ms-enum": { + "name": "PackageSourceType", + "modelAsString": true, + "values": [ + { + "name": "remote", + "value": "remote" + } + ] } }, - "RegistryNameStatus": { - "description": "The result of a request to check the availability of a container registry name.", + "ParentProperties": { "type": "object", + "description": "The properties of the connected registry parent.", "properties": { - "availableLoginServerName": { - "description": "The complete login server name with domain name label (DNL) hash, if available", - "type": "string" - }, - "nameAvailable": { - "description": "The value that indicates whether the name is available.", - "type": "boolean" - }, - "reason": { - "description": "If any, the reason that the name is not available.", - "type": "string" + "id": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of the parent to which the connected registry will be associated." }, - "message": { - "description": "If any, the error message that provides more detail for the reason that the name is not available.", - "type": "string" + "syncProperties": { + "$ref": "#/definitions/SyncProperties", + "description": "The sync properties of the connected registry with its parent." } + }, + "required": [ + "syncProperties" + ] + }, + "PasswordName": { + "type": "string", + "description": "The password name.", + "enum": [ + "password", + "password2" + ], + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false } }, - "PipelineRunListResult": { - "description": "The result of a request to list pipeline runs for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of pipeline runs. Since this list may be incomplete, the nextLink field should be used to request the next list of pipeline runs.", - "type": "array", - "items": { - "$ref": "#/definitions/PipelineRun" + "PipelineOptions": { + "type": "string", + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "x-ms-enum": { + "name": "PipelineOptions", + "modelAsString": true, + "values": [ + { + "name": "OverwriteTags", + "value": "OverwriteTags" + }, + { + "name": "OverwriteBlobs", + "value": "OverwriteBlobs" + }, + { + "name": "DeleteSourceBlobOnSuccess", + "value": "DeleteSourceBlobOnSuccess" + }, + { + "name": "ContinueOnErrors", + "value": "ContinueOnErrors" } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" - } + ] } }, "PipelineRun": { - "description": "An object that represents a pipeline run for a container registry.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "An object that represents a pipeline run for a container registry.", "properties": { "properties": { "$ref": "#/definitions/PipelineRunProperties", "description": "The properties of a pipeline run.", "x-ms-client-flatten": true } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PipelineRunListResult": { + "type": "object", + "description": "The result of a request to list pipeline runs for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of pipeline runs. Since this list may be incomplete, the nextLink field should be used to request the next list of pipeline runs.", + "items": { + "$ref": "#/definitions/PipelineRun" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of pipeline runs." + } } }, "PipelineRunProperties": { - "description": "The properties of a pipeline run.", "type": "object", + "description": "The properties of a pipeline run.", "properties": { "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of a pipeline run.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true }, "request": { "$ref": "#/definitions/PipelineRunRequest", @@ -5664,22 +7343,22 @@ "readOnly": true }, "forceUpdateTag": { - "description": "How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed.", - "type": "string" + "type": "string", + "description": "How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed." } } }, "PipelineRunRequest": { - "description": "The request properties provided for a pipeline run.", "type": "object", + "description": "The request properties provided for a pipeline run.", "properties": { "pipelineResourceId": { - "description": "The resource ID of the pipeline to run.", - "type": "string" + "type": "string", + "description": "The resource ID of the pipeline to run." }, "artifacts": { - "description": "List of source artifacts to be transferred by the pipeline. \r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", "type": "array", + "description": "List of source artifacts to be transferred by the pipeline. \nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", "items": { "type": "string" } @@ -5693,22 +7372,22 @@ "description": "The target properties of the pipeline run." }, "catalogDigest": { - "description": "The digest of the tar used to transfer the artifacts.", - "type": "string" + "type": "string", + "description": "The digest of the tar used to transfer the artifacts." } } }, "PipelineRunResponse": { - "description": "The response properties returned for a pipeline run.", "type": "object", + "description": "The response properties returned for a pipeline run.", "properties": { "status": { - "description": "The current status of the pipeline run.", - "type": "string" + "type": "string", + "description": "The current status of the pipeline run." }, "importedArtifacts": { - "description": "The artifacts imported in the pipeline run.", "type": "array", + "description": "The artifacts imported in the pipeline run.", "items": { "type": "string" } @@ -5718,14 +7397,14 @@ "description": "The current progress of the copy operation." }, "startTime": { + "type": "string", "format": "date-time", - "description": "The time the pipeline run started.", - "type": "string" + "description": "The time the pipeline run started." }, "finishTime": { + "type": "string", "format": "date-time", - "description": "The time the pipeline run finished.", - "type": "string" + "description": "The time the pipeline run finished." }, "source": { "$ref": "#/definitions/ImportPipelineSourceProperties", @@ -5736,16 +7415,16 @@ "description": "The target of the pipeline run." }, "catalogDigest": { - "description": "The digest of the tar used to transfer the artifacts.", - "type": "string" + "type": "string", + "description": "The digest of the tar used to transfer the artifacts." }, "trigger": { "$ref": "#/definitions/PipelineTriggerDescriptor", "description": "The trigger that caused the pipeline run." }, "pipelineRunErrorMessage": { - "description": "The detailed error message for the pipeline run in the case of failure.", - "type": "string" + "type": "string", + "description": "The detailed error message for the pipeline run in the case of failure." } } }, @@ -5753,20 +7432,26 @@ "type": "object", "properties": { "type": { + "type": "string", "description": "The type of the source.", "default": "AzureStorageBlob", "enum": [ "AzureStorageBlob" ], - "type": "string", "x-ms-enum": { "name": "PipelineRunSourceType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "AzureStorageBlob", + "value": "AzureStorageBlob" + } + ] } }, "name": { - "description": "The name of the source.", - "type": "string" + "type": "string", + "description": "The name of the source." } } }, @@ -5774,32 +7459,70 @@ "type": "object", "properties": { "type": { + "type": "string", "description": "The type of the target.", "default": "AzureStorageBlob", "enum": [ "AzureStorageBlob" ], - "type": "string", "x-ms-enum": { "name": "PipelineRunTargetType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "AzureStorageBlob", + "value": "AzureStorageBlob" + } + ] } }, "name": { - "description": "The name of the target.", - "type": "string" + "type": "string", + "description": "The name of the target." } } }, - "ProgressProperties": { + "PipelineSourceTriggerDescriptor": { "type": "object", "properties": { - "percentage": { - "description": "The percentage complete of the copy operation.", - "type": "string" + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the source update happened." } } }, + "PipelineSourceTriggerProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The current status of the source trigger.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + } + }, + "required": [ + "status" + ] + }, "PipelineTriggerDescriptor": { "type": "object", "properties": { @@ -5809,52 +7532,113 @@ } } }, - "PipelineSourceTriggerDescriptor": { + "PipelineTriggerProperties": { "type": "object", "properties": { - "timestamp": { - "format": "date-time", - "description": "The timestamp when the source update happened.", - "type": "string" + "sourceTrigger": { + "$ref": "#/definitions/PipelineSourceTriggerProperties", + "description": "The source trigger properties of the pipeline." } } }, - "PrivateEndpointConnectionListResult": { - "description": "The result of a request to list private endpoint connections for a container registry.", + "Policies": { "type": "object", + "description": "The policies for a container registry.", "properties": { - "value": { - "description": "The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } + "quarantinePolicy": { + "$ref": "#/definitions/QuarantinePolicy", + "description": "The quarantine policy for a container registry." }, - "nextLink": { - "description": "The URI that can be used to request the next list of private endpoint connections.", - "type": "string" + "trustPolicy": { + "$ref": "#/definitions/TrustPolicy", + "description": "The content trust policy for a container registry." + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "The retention policy for a container registry." + }, + "exportPolicy": { + "$ref": "#/definitions/ExportPolicy", + "description": "The export policy for a container registry." + }, + "azureADAuthenticationAsArmPolicy": { + "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", + "description": "The policy for using Azure Resource Manager audience token for a container registry." + }, + "softDeletePolicy": { + "$ref": "#/definitions/SoftDeletePolicy", + "description": "The soft delete policy for a container registry." } } }, - "PrivateEndpointConnection": { - "description": "An object that represents a private endpoint connection for a container registry.", + "PolicyStatus": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, + "PrivateEndpoint": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" + "description": "The Private Endpoint resource.", + "properties": { + "id": { + "type": "string", + "description": "This is private endpoint resource created with Microsoft.Network resource provider." } - ], + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "An object that represents a private endpoint connection for a container registry.", "properties": { "properties": { "$ref": "#/definitions/PrivateEndpointConnectionProperties", "description": "The properties of a private endpoint connection.", "x-ms-client-flatten": true } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "The result of a request to list private endpoint connections for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections.", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of private endpoint connections." + } } }, "PrivateEndpointConnectionProperties": { - "description": "The properties of a private endpoint connection.", "type": "object", + "description": "The properties of a private endpoint connection.", "properties": { "privateEndpoint": { "$ref": "#/definitions/PrivateEndpoint", @@ -5865,183 +7649,337 @@ "description": "A collection of information about the state of the connection between service consumer and provider." }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of private endpoint connection resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } } }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", + "PrivateLinkResource": { "type": "object", + "description": "A resource that supports private link capabilities.", "properties": { - "id": { - "description": "This is private endpoint resource created with Microsoft.Network resource provider.", - "type": "string" + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "A resource that supports private link capabilities.", + "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, - "PrivateLinkServiceConnectionState": { - "description": "The state of a private link service connection.", + "PrivateLinkResourceListResult": { "type": "object", + "description": "The result of a request to list private link resources for a container registry.", "properties": { - "status": { - "description": "The private link service connection status.", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStatus", - "modelAsString": true + "value": { + "type": "array", + "description": "The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources.", + "items": { + "$ref": "#/definitions/PrivateLinkResource" } }, - "description": { - "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection.", - "type": "string" - }, - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "enum": [ - "None", - "Recreate" - ], + "nextLink": { "type": "string", - "x-ms-enum": { - "name": "ActionsRequired", - "modelAsString": true - } + "description": "The URI that can be used to request the next list of private link resources." } } }, - "RegistryListResult": { - "description": "The result of a request to list container registries.", + "PrivateLinkResourceProperties": { "type": "object", + "description": "The properties of a private link resource.", "properties": { - "value": { - "description": "The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.", + "groupId": { + "type": "string", + "description": "The private link resource group id." + }, + "requiredMembers": { "type": "array", + "description": "The private link resource required member names.", "items": { - "$ref": "#/definitions/Registry" + "type": "string" } }, - "nextLink": { - "description": "The URI that can be used to request the next list of container registries.", - "type": "string" + "requiredZoneNames": { + "type": "array", + "description": "The private link resource Private link DNS zone name.", + "items": { + "type": "string" + } } } }, - "Registry": { - "description": "An object that represents a container registry.", - "required": [ - "sku" - ], + "PrivateLinkServiceConnectionState": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], + "description": "The state of a private link service connection.", "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU of the container registry." + "status": { + "$ref": "#/definitions/ConnectionStatus", + "description": "The private link service connection status." }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the container registry." + "description": { + "type": "string", + "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection." }, - "properties": { - "$ref": "#/definitions/RegistryProperties", - "description": "The properties of the container registry.", - "x-ms-client-flatten": true + "actionsRequired": { + "$ref": "#/definitions/ActionsRequired", + "description": "A message indicating if changes on the service provider require any updates on the consumer." } } }, - "Sku": { - "description": "The SKU of a container registry.", - "required": [ - "name" - ], + "ProgressProperties": { "type": "object", "properties": { - "name": { - "description": "The SKU name of the container registry. Required for registry creation.", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], + "percentage": { "type": "string", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true + "description": "The percentage complete of the copy operation." + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning state of the archive at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" } - }, - "tier": { - "description": "The SKU tier based on the SKU name.", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true + ] + } + }, + "PublicNetworkAccess": { + "type": "string", + "description": "Whether or not public network access is allowed for the container registry.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" } - } + ] } }, - "RegistryProperties": { - "description": "The properties of a container registry.", + "QuarantinePolicy": { + "type": "object", + "description": "The quarantine policy for a container registry.", + "properties": { + "status": { + "$ref": "#/definitions/PolicyStatus", + "description": "The value that indicates whether the policy is enabled or not." + } + } + }, + "RegenerateCredentialParameters": { + "type": "object", + "description": "The parameters used to regenerate the login credential.", + "properties": { + "name": { + "$ref": "#/definitions/PasswordName", + "description": "Specifies name of the password which should be regenerated -- password or password2." + } + }, + "required": [ + "name" + ] + }, + "Registry": { + "type": "object", + "description": "An object that represents a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/RegistryProperties", + "description": "The properties of the container registry.", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the container registry." + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the container registry." + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "RegistryListCredentialsResult": { + "type": "object", + "description": "The response from the ListCredentials operation.", + "properties": { + "username": { + "type": "string", + "description": "The username for a container registry." + }, + "passwords": { + "type": "array", + "description": "The list of passwords for a container registry.", + "items": { + "$ref": "#/definitions/RegistryPassword" + }, + "x-ms-identifiers": [] + } + } + }, + "RegistryListResult": { + "type": "object", + "description": "The result of a request to list container registries.", + "properties": { + "value": { + "type": "array", + "description": "The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.", + "items": { + "$ref": "#/definitions/Registry" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of container registries." + } + } + }, + "RegistryNameCheckRequest": { + "type": "object", + "description": "A request to check whether a container registry name is available.", + "properties": { + "name": { + "type": "string", + "description": "The name of the container registry.", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + "type": { + "type": "string", + "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.", + "enum": [ + "Microsoft.ContainerRegistry/registries" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "resourceGroupName": { + "type": "string", + "description": "The resource group name of the container registry.", + "minLength": 1, + "maxLength": 90 + }, + "autoGeneratedDomainNameLabelScope": { + "$ref": "#/definitions/AutoGeneratedDomainNameLabelScope", + "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\"." + } + }, + "required": [ + "name", + "type" + ] + }, + "RegistryNameStatus": { + "type": "object", + "description": "The result of a request to check the availability of a container registry name.", + "properties": { + "availableLoginServerName": { + "type": "string", + "description": "The complete login server name with domain name label (DNL) hash, if available" + }, + "nameAvailable": { + "type": "boolean", + "description": "The value that indicates whether the name is available." + }, + "reason": { + "type": "string", + "description": "If any, the reason that the name is not available." + }, + "message": { + "type": "string", + "description": "If any, the error message that provides more detail for the reason that the name is not available." + } + } + }, + "RegistryPassword": { + "type": "object", + "description": "The login password for the container registry.", + "properties": { + "name": { + "$ref": "#/definitions/PasswordName", + "description": "The password name." + }, + "value": { + "type": "string", + "description": "The password value." + } + } + }, + "RegistryProperties": { "type": "object", + "description": "The properties of a container registry.", "properties": { "loginServer": { - "description": "The URL that can be used to log into the container registry.", "type": "string", + "description": "The URL that can be used to log into the container registry.", "readOnly": true }, "creationDate": { + "type": "string", "format": "date-time", "description": "The creation date of the container registry in ISO8601 format.", - "type": "string", "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the container registry at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true }, "status": { "$ref": "#/definitions/Status", @@ -6049,9 +7987,8 @@ "readOnly": true }, "adminUserEnabled": { - "description": "The value that indicates whether the admin user is enabled.", - "default": false, - "type": "boolean" + "type": "boolean", + "description": "The value that indicates whether the admin user is enabled." }, "networkRuleSet": { "$ref": "#/definitions/NetworkRuleSet", @@ -6066,2031 +8003,1317 @@ "description": "The encryption settings of container registry." }, "dataEndpointEnabled": { - "description": "Enable a single data endpoint per region for serving data.", - "type": "boolean" + "type": "boolean", + "description": "Enable a single data endpoint per region for serving data." }, "dataEndpointHostNames": { - "description": "List of host names that will serve data when dataEndpointEnabled is true.", "type": "array", + "description": "List of host names that will serve data when dataEndpointEnabled is true.", "items": { "type": "string" }, "readOnly": true }, "privateEndpointConnections": { - "description": "List of private endpoint connections for a container registry.", "type": "array", + "description": "List of private endpoint connections for a container registry.", "items": { "$ref": "#/definitions/PrivateEndpointConnection" }, "readOnly": true }, "publicNetworkAccess": { - "description": "Whether or not public network access is allowed for the container registry.", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Whether or not public network access is allowed for the container registry." }, "networkRuleBypassOptions": { - "description": "Whether to allow trusted Azure services to access a network restricted registry.", - "default": "AzureServices", - "enum": [ - "AzureServices", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } + "$ref": "#/definitions/NetworkRuleBypassOptions", + "description": "Whether to allow trusted Azure services to access a network restricted registry." }, "networkRuleBypassAllowedForTasks": { - "description": "Whether or not Tasks allowed to bypass the network rules for this container registry.", - "default": false, - "type": "boolean" + "type": "boolean", + "description": "Whether or not Tasks allowed to bypass the network rules for this container registry." }, "zoneRedundancy": { - "description": "Whether or not zone redundancy is enabled for this container registry", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } + "$ref": "#/definitions/ZoneRedundancy", + "description": "Whether or not zone redundancy is enabled for this container registry" }, "anonymousPullEnabled": { - "description": "Enables registry-wide pull from unauthenticated clients.", - "default": false, - "type": "boolean" + "type": "boolean", + "description": "Enables registry-wide pull from unauthenticated clients." }, "metadataSearch": { - "description": "Determines whether registry artifacts are indexed for metadata search.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true - } + "$ref": "#/definitions/MetadataSearch", + "description": "Determines whether registry artifacts are indexed for metadata search." }, "autoGeneratedDomainNameLabelScope": { - "description": "Determines the domain name label reuse scope.", - "default": "Unsecure", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true - } + "$ref": "#/definitions/AutoGeneratedDomainNameLabelScope", + "description": "Determines the domain name label reuse scope." }, "roleAssignmentMode": { - "description": "Determines registry role assignment mode.", - "default": "LegacyRegistryPermissions", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } + "$ref": "#/definitions/RoleAssignmentMode", + "description": "Determines registry role assignment mode." } } }, - "Status": { - "description": "The status of an Azure resource at the time the operation was called.", + "RegistryPropertiesUpdateParameters": { "type": "object", + "description": "The parameters for updating the properties of a container registry.", "properties": { - "displayStatus": { - "description": "The short label for the status.", - "type": "string", - "readOnly": true + "adminUserEnabled": { + "type": "boolean", + "description": "The value that indicates whether the admin user is enabled." }, - "message": { - "description": "The detailed message for the status, including alerts and error messages.", - "type": "string", - "readOnly": true + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "The network rule set for a container registry." }, - "timestamp": { - "format": "date-time", - "description": "The timestamp when the status was changed to the current value.", - "type": "string", - "readOnly": true + "policies": { + "$ref": "#/definitions/Policies", + "description": "The policies for a container registry." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of container registry." + }, + "dataEndpointEnabled": { + "type": "boolean", + "description": "Enable a single data endpoint per region for serving data." + }, + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Whether or not public network access is allowed for the container registry." + }, + "networkRuleBypassOptions": { + "$ref": "#/definitions/NetworkRuleBypassOptions", + "description": "Whether to allow trusted Azure services to access a network restricted registry." + }, + "networkRuleBypassAllowedForTasks": { + "type": "boolean", + "description": "Whether to allow ACR Tasks service to access a network restricted registry." + }, + "anonymousPullEnabled": { + "type": "boolean", + "description": "Enables registry-wide pull from unauthenticated clients." + }, + "metadataSearch": { + "$ref": "#/definitions/MetadataSearch", + "description": "Determines whether registry artifacts are indexed for metadata search." + }, + "roleAssignmentMode": { + "$ref": "#/definitions/RoleAssignmentMode", + "description": "Determines registry role assignment mode." } } }, - "StatusDetailProperties": { - "description": "The status detail properties of the connected registry.", + "RegistryUpdateParameters": { "type": "object", + "description": "The parameters for updating a container registry.", "properties": { - "type": { - "description": "The component of the connected registry corresponding to the status.", - "type": "string", - "readOnly": true + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the container registry." }, - "code": { - "description": "The HTTP status code.", - "type": "string", - "readOnly": true + "tags": { + "type": "object", + "description": "The tags for the container registry.", + "additionalProperties": { + "type": "string" + } }, - "description": { - "description": "The description of the status.", - "type": "string", - "readOnly": true + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the container registry." }, - "timestamp": { - "format": "date-time", - "description": "The timestamp of the status.", + "properties": { + "$ref": "#/definitions/RegistryPropertiesUpdateParameters", + "description": "The properties that the container registry will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "RegistryUsage": { + "type": "object", + "description": "The quota usage for a container registry.", + "properties": { + "name": { "type": "string", - "readOnly": true + "description": "The name of the usage." }, - "correlationId": { - "description": "The correlation ID of the status.", - "type": "string", - "readOnly": true + "limit": { + "type": "integer", + "format": "int64", + "description": "The limit of the usage." + }, + "currentValue": { + "type": "integer", + "format": "int64", + "description": "The current value of the usage." + }, + "unit": { + "$ref": "#/definitions/RegistryUsageUnit", + "description": "The unit of measurement." } } }, - "StorageAccountProperties": { - "description": "The properties of a storage account for a container registry. Only applicable to Classic SKU.", - "required": [ - "id" - ], + "RegistryUsageListResult": { "type": "object", + "description": "The result of a request to get container registry quota usages.", "properties": { - "id": { - "description": "The resource ID of the storage account.", - "type": "string" + "value": { + "type": "array", + "description": "The list of container registry quota usages.", + "items": { + "$ref": "#/definitions/RegistryUsage" + }, + "x-ms-identifiers": [ + "name" + ] } } }, - "SyncProperties": { - "description": "The sync properties of the connected registry with its parent.", - "required": [ - "tokenId", - "messageTtl" + "RegistryUsageUnit": { + "type": "string", + "description": "The unit of measurement.", + "enum": [ + "Count", + "Bytes" ], + "x-ms-enum": { + "name": "RegistryUsageUnit", + "modelAsString": true, + "values": [ + { + "name": "Count", + "value": "Count" + }, + { + "name": "Bytes", + "value": "Bytes" + } + ] + } + }, + "Replication": { "type": "object", + "description": "An object that represents a replication for a container registry.", "properties": { - "tokenId": { - "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.", - "type": "string" - }, - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", - "type": "string" - }, - "syncWindow": { - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" - }, - "messageTtl": { - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" - }, - "lastSyncTime": { - "format": "date-time", - "description": "The last time a sync occurred between the connected registry and its parent.", - "type": "string", - "readOnly": true + "properties": { + "$ref": "#/definitions/ReplicationProperties", + "description": "The properties of the replication.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ReplicationListResult": { + "type": "object", + "description": "The result of a request to list replications for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications.", + "items": { + "$ref": "#/definitions/Replication" + } }, - "gatewayEndpoint": { - "description": "The gateway endpoint used by the connected registry to communicate with its parent.", + "nextLink": { "type": "string", - "readOnly": true + "description": "The URI that can be used to request the next list of replications." } } }, - "SyncUpdateProperties": { - "description": "The parameters for updating the sync properties of the connected registry with its parent.", + "ReplicationProperties": { "type": "object", + "description": "The properties of a replication.", "properties": { - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", - "type": "string" + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the replication at the time the operation was called.", + "readOnly": true }, - "syncWindow": { - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" + "status": { + "$ref": "#/definitions/Status", + "description": "The status of the replication at the time the operation was called.", + "readOnly": true }, - "messageTtl": { - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" + "regionEndpointEnabled": { + "type": "boolean", + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", + "default": true + }, + "zoneRedundancy": { + "$ref": "#/definitions/ZoneRedundancy", + "description": "Whether or not zone redundancy is enabled for this container registry replication" } } }, - "NetworkRuleSet": { - "description": "The network rule set for a container registry.", - "required": [ - "defaultAction" - ], + "ReplicationUpdateParameters": { "type": "object", + "description": "The parameters for updating a replication.", "properties": { - "defaultAction": { - "description": "The default action of allow or deny when no other rules match.", - "default": "Allow", - "enum": [ - "Allow", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": true + "tags": { + "type": "object", + "description": "The tags for the replication.", + "additionalProperties": { + "type": "string" } }, - "ipRules": { - "description": "The IP ACL rules.", - "type": "array", - "items": { - "$ref": "#/definitions/IPRule" - }, - "x-ms-identifiers": [] + "properties": { + "$ref": "#/definitions/ReplicationUpdateParametersProperties", + "description": "The parameters for updating a replication's properties", + "x-ms-client-flatten": true } } }, - "Policies": { - "description": "The policies for a container registry.", + "ReplicationUpdateParametersProperties": { "type": "object", "properties": { - "quarantinePolicy": { - "$ref": "#/definitions/QuarantinePolicy", - "description": "The quarantine policy for a container registry." - }, - "trustPolicy": { - "$ref": "#/definitions/TrustPolicy", - "description": "The content trust policy for a container registry." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "The retention policy for a container registry." - }, - "exportPolicy": { - "$ref": "#/definitions/ExportPolicy", - "description": "The export policy for a container registry." - }, - "azureADAuthenticationAsArmPolicy": { - "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", - "description": "The policy for using Azure Resource Manager audience token for a container registry." - }, - "softDeletePolicy": { - "$ref": "#/definitions/SoftDeletePolicy", - "description": "The soft delete policy for a container registry." + "regionEndpointEnabled": { + "type": "boolean", + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications." } } }, - "EncryptionProperty": { + "Request": { "type": "object", + "description": "The request that generated the event.", "properties": { - "status": { - "description": "Indicates whether or not the encryption is enabled for container registry.", - "enum": [ - "enabled", - "disabled" - ], + "id": { "type": "string", - "x-ms-enum": { - "name": "EncryptionStatus", - "modelAsString": true - } + "description": "The ID of the request that initiated the event." }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", - "description": "Key vault properties." + "addr": { + "type": "string", + "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request." + }, + "host": { + "type": "string", + "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests." + }, + "method": { + "type": "string", + "description": "The request method that generated the event." + }, + "useragent": { + "type": "string", + "description": "The user agent header of the request." } } }, - "PackageType": { - "description": "The properties of a package type.", + "ResourceIdentityType": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "RetentionPolicy": { "type": "object", + "description": "The retention policy for a container registry.", "properties": { - "name": { - "description": "The name of the package type.", - "type": "string" + "days": { + "type": "integer", + "format": "int32", + "description": "The number of days to retain an untagged manifest after which it gets purged.", + "default": 7 }, - "endpoint": { - "description": "The endpoint of the package type.", + "lastUpdatedTime": { "type": "string", + "format": "date-time", + "description": "The timestamp when the policy was last updated.", "readOnly": true + }, + "status": { + "$ref": "#/definitions/PolicyStatus", + "description": "The value that indicates whether the policy is enabled or not." } } }, - "IPRule": { - "description": "IP rule with specific IP or IP range in CIDR format.", - "required": [ - "value" + "RoleAssignmentMode": { + "type": "string", + "description": "Determines registry role assignment mode.", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" ], - "type": "object", - "properties": { - "action": { - "description": "The action of IP ACL rule.", - "default": "Allow", - "enum": [ - "Allow" - ], - "type": "string", - "x-ms-enum": { - "name": "Action", - "modelAsString": true + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true, + "values": [ + { + "name": "AbacRepositoryPermissions", + "value": "AbacRepositoryPermissions" + }, + { + "name": "LegacyRegistryPermissions", + "value": "LegacyRegistryPermissions" } - }, - "value": { - "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", - "type": "string", - "x-ms-client-name": "IPAddressOrRange" - } + ] } }, - "QuarantinePolicy": { - "description": "The quarantine policy for a container registry.", + "ScopeMap": { "type": "object", + "description": "An object that represents a scope map for a container registry.", "properties": { - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } + "properties": { + "$ref": "#/definitions/ScopeMapProperties", + "description": "The properties of the scope map.", + "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, - "TrustPolicy": { - "description": "The content trust policy for a container registry.", + "ScopeMapListResult": { "type": "object", + "description": "The result of a request to list scope maps for a container registry.", "properties": { - "type": { - "description": "The type of trust policy.", - "default": "Notary", - "enum": [ - "Notary" - ], - "type": "string", - "x-ms-enum": { - "name": "TrustPolicyType", - "modelAsString": true + "value": { + "type": "array", + "description": "The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.", + "items": { + "$ref": "#/definitions/ScopeMap" } }, - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], + "nextLink": { "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } + "description": "The URI that can be used to request the next list of scope maps." } } }, - "RetentionPolicy": { - "description": "The retention policy for a container registry.", + "ScopeMapProperties": { "type": "object", + "description": "The properties of a scope map.", "properties": { - "days": { - "format": "int32", - "description": "The number of days to retain an untagged manifest after which it gets purged.", - "default": 7, - "type": "integer" + "description": { + "type": "string", + "description": "The user friendly description of the scope map." }, - "lastUpdatedTime": { - "format": "date-time", - "description": "The timestamp when the policy was last updated.", + "type": { "type": "string", + "description": "The type of the scope map. E.g. BuildIn scope map.", "readOnly": true }, - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], + "creationDate": { "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true + "format": "date-time", + "description": "The creation date of scope map.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "actions": { + "type": "array", + "description": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write", + "items": { + "type": "string" } } - } + }, + "required": [ + "actions" + ] }, - "ExportPolicy": { - "description": "The export policy for a container registry.", + "ScopeMapPropertiesUpdateParameters": { "type": "object", + "description": "The update parameters for scope map properties.", "properties": { - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], + "description": { "type": "string", - "x-ms-enum": { - "name": "ExportPolicyStatus", - "modelAsString": true + "description": "The user friendly description of the scope map." + }, + "actions": { + "type": "array", + "description": "The list of scope permissions for registry artifacts.\nE.g. repositories/repository-name/pull,\nrepositories/repository-name/delete", + "items": { + "type": "string" } } } }, + "ScopeMapUpdateParameters": { + "type": "object", + "description": "The properties for updating the scope map.", + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", + "description": "The update parameters for scope map properties.", + "x-ms-client-flatten": true + } + } + }, + "Sku": { + "type": "object", + "description": "The SKU of a container registry.", + "properties": { + "name": { + "$ref": "#/definitions/SkuName", + "description": "The SKU name of the container registry. Required for registry creation." + }, + "tier": { + "$ref": "#/definitions/SkuTier", + "description": "The SKU tier based on the SKU name.", + "readOnly": true + } + }, + "required": [ + "name" + ] + }, + "SkuName": { + "type": "string", + "description": "The SKU name of the container registry. Required for registry creation.", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "name": "Classic", + "value": "Classic" + }, + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Premium", + "value": "Premium" + } + ] + } + }, + "SkuTier": { + "type": "string", + "description": "The SKU tier based on the SKU name.", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true, + "values": [ + { + "name": "Classic", + "value": "Classic" + }, + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Premium", + "value": "Premium" + } + ] + } + }, "SoftDeletePolicy": { - "description": "The soft delete policy for a container registry", "type": "object", + "description": "The soft delete policy for a container registry", "properties": { "retentionDays": { + "type": "integer", "format": "int32", "description": "The number of days after which a soft-deleted item is permanently deleted.", - "default": 7, - "type": "integer" + "default": 7 }, "lastUpdatedTime": { + "type": "string", "format": "date-time", "description": "The timestamp when the policy was last updated.", - "type": "string", "readOnly": true }, "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } + "$ref": "#/definitions/PolicyStatus", + "description": "The value that indicates whether the policy is enabled or not." } } }, - "KeyVaultProperties": { + "Source": { "type": "object", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", "properties": { - "keyIdentifier": { - "description": "Key vault uri to access the encryption key.", - "type": "string" - }, - "versionedKeyIdentifier": { - "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", + "addr": { "type": "string", - "readOnly": true - }, - "identity": { - "description": "The client id of the identity which will be used to access key vault.", - "type": "string" - }, - "keyRotationEnabled": { - "description": "Auto key rotation status for a CMK enabled registry.", - "type": "boolean", - "readOnly": true + "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port." }, - "lastKeyRotationTimestamp": { - "format": "date-time", - "description": "Timestamp of the last successful key rotation.", + "instanceID": { "type": "string", - "readOnly": true + "description": "The running instance of an application. Changes after each restart." } } }, - "RegistryUpdateParameters": { - "description": "The parameters for updating a container registry.", + "Status": { "type": "object", + "description": "The status of an Azure resource at the time the operation was called.", "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the container registry." - }, - "tags": { - "description": "The tags for the container registry.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "displayStatus": { + "type": "string", + "description": "The short label for the status.", + "readOnly": true }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU of the container registry." + "message": { + "type": "string", + "description": "The detailed message for the status, including alerts and error messages.", + "readOnly": true }, - "properties": { - "$ref": "#/definitions/RegistryPropertiesUpdateParameters", - "description": "The properties that the container registry will be updated with.", - "x-ms-client-flatten": true + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the status was changed to the current value.", + "readOnly": true } } }, - "RegistryPropertiesUpdateParameters": { - "description": "The parameters for updating the properties of a container registry.", + "StatusDetailProperties": { "type": "object", + "description": "The status detail properties of the connected registry.", "properties": { - "adminUserEnabled": { - "description": "The value that indicates whether the admin user is enabled.", - "type": "boolean" + "type": { + "type": "string", + "description": "The component of the connected registry corresponding to the status.", + "readOnly": true }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet", - "description": "The network rule set for a container registry." - }, - "policies": { - "$ref": "#/definitions/Policies", - "description": "The policies for a container registry." + "code": { + "type": "string", + "description": "The HTTP status code.", + "readOnly": true }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty", - "description": "The encryption settings of container registry." + "description": { + "type": "string", + "description": "The description of the status.", + "readOnly": true }, - "dataEndpointEnabled": { - "description": "Enable a single data endpoint per region for serving data.", - "type": "boolean" + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp of the status.", + "readOnly": true }, - "publicNetworkAccess": { - "description": "Whether or not public network access is allowed for the container registry.", - "enum": [ - "Enabled", - "Disabled" - ], + "correlationId": { "type": "string", - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } + "description": "The correlation ID of the status.", + "readOnly": true + } + } + }, + "SyncProperties": { + "type": "object", + "description": "The sync properties of the connected registry with its parent.", + "properties": { + "tokenId": { + "type": "string", + "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync." }, - "networkRuleBypassOptions": { - "description": "Whether to allow trusted Azure services to access a network restricted registry.", - "default": "AzureServices", - "enum": [ - "AzureServices", - "None" - ], + "schedule": { "type": "string", - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." }, - "networkRuleBypassAllowedForTasks": { - "description": "Whether to allow ACR Tasks service to access a network restricted registry.", - "type": "boolean" + "syncWindow": { + "type": "string", + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." }, - "anonymousPullEnabled": { - "description": "Enables registry-wide pull from unauthenticated clients.", - "type": "boolean" + "messageTtl": { + "type": "string", + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." }, - "metadataSearch": { - "description": "Determines whether registry artifacts are indexed for metadata search.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], + "lastSyncTime": { "type": "string", - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true - } + "format": "date-time", + "description": "The last time a sync occurred between the connected registry and its parent.", + "readOnly": true }, - "roleAssignmentMode": { - "description": "Determines registry role assignment mode.", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], + "gatewayEndpoint": { "type": "string", - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } + "description": "The gateway endpoint used by the connected registry to communicate with its parent.", + "readOnly": true } - } + }, + "required": [ + "tokenId", + "messageTtl" + ] }, - "RegistryUsageListResult": { - "description": "The result of a request to get container registry quota usages.", + "SyncUpdateProperties": { "type": "object", + "description": "The parameters for updating the sync properties of the connected registry with its parent.", "properties": { - "value": { - "description": "The list of container registry quota usages.", - "type": "array", - "items": { - "$ref": "#/definitions/RegistryUsage" - }, - "x-ms-identifiers": [ - "name" - ] + "schedule": { + "type": "string", + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." + }, + "syncWindow": { + "type": "string", + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "messageTtl": { + "type": "string", + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." } } }, - "RegistryUsage": { - "description": "The quota usage for a container registry.", + "Target": { "type": "object", + "description": "The target of the event.", "properties": { - "name": { - "description": "The name of the usage.", - "type": "string" + "mediaType": { + "type": "string", + "description": "The MIME type of the referenced object." }, - "limit": { + "size": { + "type": "integer", "format": "int64", - "description": "The limit of the usage.", - "type": "integer" + "description": "The number of bytes of the content. Same as Length field." }, - "currentValue": { + "digest": { + "type": "string", + "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification." + }, + "length": { + "type": "integer", "format": "int64", - "description": "The current value of the usage.", - "type": "integer" + "description": "The number of bytes of the content. Same as Size field." }, - "unit": { - "description": "The unit of measurement.", - "enum": [ - "Count", - "Bytes" - ], + "repository": { "type": "string", - "x-ms-enum": { - "name": "RegistryUsageUnit", - "modelAsString": true - } + "description": "The repository name." + }, + "url": { + "type": "string", + "description": "The direct URL to the content." + }, + "tag": { + "type": "string", + "description": "The tag name." + }, + "name": { + "type": "string", + "description": "The name of the artifact." + }, + "version": { + "type": "string", + "description": "The version of the artifact." } } }, - "PrivateLinkResourceListResult": { - "description": "The result of a request to list private link resources for a container registry.", + "TlsCertificateProperties": { "type": "object", + "description": "The TLS certificate properties of the connected registry login server.", "properties": { - "value": { - "description": "The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } + "type": { + "$ref": "#/definitions/CertificateType", + "description": "The type of certificate location.", + "readOnly": true }, - "nextLink": { - "description": "The URI that can be used to request the next list of private link resources.", - "type": "string" + "location": { + "type": "string", + "description": "Indicates the location of the certificates.", + "readOnly": true } } }, - "PrivateLinkResource": { - "description": "A resource that supports private link capabilities.", + "TlsProperties": { "type": "object", + "description": "The TLS properties of the connected registry login server.", "properties": { - "type": { - "description": "The resource type is private link resource.", - "type": "string", + "status": { + "$ref": "#/definitions/TlsStatus", + "description": "Indicates whether HTTPS is enabled for the login server.", "readOnly": true }, - "id": { - "description": "The resource ID.", - "type": "string" - }, - "name": { - "description": "The name of the resource.", - "type": "string" - }, + "certificate": { + "$ref": "#/definitions/TlsCertificateProperties", + "description": "The certificate used to configure HTTPS for the login server.", + "readOnly": true + } + } + }, + "TlsStatus": { + "type": "string", + "description": "Indicates whether HTTPS is enabled for the login server.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "TlsStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "Token": { + "type": "object", + "description": "An object that represents a token for a container registry.", + "properties": { "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "A resource that supports private link capabilities.", + "$ref": "#/definitions/TokenProperties", + "description": "The properties of the token.", "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, - "PrivateLinkResourceProperties": { - "description": "The properties of a private link resource.", + "TokenCertificate": { "type": "object", + "description": "The properties of a certificate used for authenticating a token.", "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string" + "name": { + "$ref": "#/definitions/TokenCertificateName" }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - } + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry datetime of the certificate." }, - "requiredZoneNames": { - "description": "The private link resource Private link DNS zone name.", - "type": "array", - "items": { - "type": "string" - } + "thumbprint": { + "type": "string", + "description": "The thumbprint of the certificate." + }, + "encodedPemCertificate": { + "type": "string", + "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token." } } }, - "RegistryListCredentialsResult": { - "description": "The response from the ListCredentials operation.", + "TokenCertificateName": { + "type": "string", + "enum": [ + "certificate1", + "certificate2" + ], + "x-ms-enum": { + "name": "TokenCertificateName", + "modelAsString": true, + "values": [ + { + "name": "certificate1", + "value": "certificate1" + }, + { + "name": "certificate2", + "value": "certificate2" + } + ] + } + }, + "TokenCredentialsProperties": { "type": "object", + "description": "The properties of the credentials that can be used for authenticating the token.", "properties": { - "username": { - "description": "The username for a container registry.", - "type": "string" + "certificates": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCertificate" + }, + "x-ms-identifiers": [ + "thumbprint" + ] }, "passwords": { - "description": "The list of passwords for a container registry.", "type": "array", "items": { - "$ref": "#/definitions/RegistryPassword" + "$ref": "#/definitions/TokenPassword" }, "x-ms-identifiers": [] } } }, - "RegistryPassword": { - "description": "The login password for the container registry.", + "TokenListResult": { "type": "object", + "description": "The result of a request to list tokens for a container registry.", "properties": { - "name": { - "description": "The password name.", - "enum": [ - "password", - "password2" - ], - "type": "string", - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false + "value": { + "type": "array", + "description": "The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens.", + "items": { + "$ref": "#/definitions/Token" } }, - "value": { - "description": "The password value.", - "type": "string" + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of tokens." } } }, - "RegenerateCredentialParameters": { - "description": "The parameters used to regenerate the login credential.", - "required": [ - "name" - ], + "TokenPassword": { "type": "object", + "description": "The password that will be used for authenticating the token of a container registry.", "properties": { + "creationTime": { + "type": "string", + "format": "date-time", + "description": "The creation datetime of the password." + }, + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry datetime of the password." + }, "name": { - "description": "Specifies name of the password which should be regenerated -- password or password2.", - "enum": [ - "password", - "password2" - ], + "$ref": "#/definitions/TokenPasswordName", + "description": "The password name \"password1\" or \"password2\"" + }, + "value": { "type": "string", - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } + "description": "The password value.", + "readOnly": true } } }, - "ReplicationListResult": { - "description": "The result of a request to list replications for a container registry.", + "TokenPasswordName": { + "type": "string", + "description": "The password name \"password1\" or \"password2\"", + "enum": [ + "password1", + "password2" + ], + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true, + "values": [ + { + "name": "password1", + "value": "password1" + }, + { + "name": "password2", + "value": "password2" + } + ] + } + }, + "TokenProperties": { "type": "object", + "description": "The properties of a token.", "properties": { - "value": { - "description": "The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications.", - "type": "array", - "items": { - "$ref": "#/definitions/Replication" - } + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of scope map.", + "readOnly": true }, - "nextLink": { - "description": "The URI that can be used to request the next list of replications.", - "type": "string" + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "scopeMapId": { + "type": "string", + "description": "The resource ID of the scope map to which the token will be associated with." + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." + }, + "status": { + "$ref": "#/definitions/TokenStatus", + "description": "The status of the token example enabled or disabled." } } }, - "Replication": { - "description": "An object that represents a replication for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } + "TokenStatus": { + "type": "string", + "description": "The status of the token example enabled or disabled.", + "enum": [ + "enabled", + "disabled" ], + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, + "TokenUpdateParameters": { + "type": "object", + "description": "The parameters for updating a token.", "properties": { "properties": { - "$ref": "#/definitions/ReplicationProperties", - "description": "The properties of the replication.", + "$ref": "#/definitions/TokenUpdateProperties", + "description": "The properties of the token update parameters.", "x-ms-client-flatten": true } } }, - "ReplicationProperties": { - "description": "The properties of a replication.", + "TokenUpdateProperties": { "type": "object", + "description": "The parameters for updating token properties.", "properties": { - "provisioningState": { - "description": "The provisioning state of the replication at the time the operation was called.", + "scopeMapId": { + "type": "string", + "description": "The resource ID of the scope map to which the token will be associated with." + }, + "status": { + "$ref": "#/definitions/TokenStatus", + "description": "The status of the token example enabled or disabled." + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." + } + } + }, + "TrustPolicy": { + "type": "object", + "description": "The content trust policy for a container registry.", + "properties": { + "type": { + "type": "string", + "description": "The type of trust policy.", + "default": "Notary", "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" + "Notary" ], - "type": "string", - "readOnly": true, "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true + "name": "TrustPolicyType", + "modelAsString": true, + "values": [ + { + "name": "Notary", + "value": "Notary" + } + ] } }, "status": { - "$ref": "#/definitions/Status", - "description": "The status of the replication at the time the operation was called.", + "$ref": "#/definitions/PolicyStatus", + "description": "The value that indicates whether the policy is enabled or not." + } + } + }, + "TypeSpec.Http.OkResponse": { + "type": "object", + "description": "The request has succeeded." + }, + "UserIdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity.", "readOnly": true }, - "regionEndpointEnabled": { - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", - "default": true, - "type": "boolean" - }, - "zoneRedundancy": { - "description": "Whether or not zone redundancy is enabled for this container registry replication", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], + "clientId": { "type": "string", - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } + "description": "The client id of user assigned identity.", + "readOnly": true } } }, - "ReplicationUpdateParameters": { - "description": "The parameters for updating a replication.", + "Webhook": { + "type": "object", + "description": "An object that represents a webhook for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/WebhookProperties", + "description": "The properties of the webhook.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "WebhookAction": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true, + "values": [ + { + "name": "push", + "value": "push" + }, + { + "name": "delete", + "value": "delete" + }, + { + "name": "quarantine", + "value": "quarantine" + }, + { + "name": "chart_push", + "value": "chart_push" + }, + { + "name": "chart_delete", + "value": "chart_delete" + } + ] + } + }, + "WebhookCreateParameters": { "type": "object", + "description": "The parameters for creating a webhook.", "properties": { "tags": { - "description": "The tags for the replication.", "type": "object", + "description": "The tags for the webhook.", "additionalProperties": { "type": "string" } }, + "location": { + "type": "string", + "description": "The location of the webhook. This cannot be changed after the resource is created." + }, "properties": { - "$ref": "#/definitions/ReplicationUpdateParametersProperties", - "description": "The parameters for updating a replication's properties", + "$ref": "#/definitions/WebhookPropertiesCreateParameters", + "description": "The properties that the webhook will be created with.", "x-ms-client-flatten": true } - } - }, - "ReplicationUpdateParametersProperties": { - "type": "object", - "properties": { - "regionEndpointEnabled": { - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", - "type": "boolean" - } - } + }, + "required": [ + "location" + ] }, - "ScopeMapListResult": { - "description": "The result of a request to list scope maps for a container registry.", + "WebhookListResult": { "type": "object", + "description": "The result of a request to list webhooks for a container registry.", "properties": { "value": { - "description": "The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.", "type": "array", + "description": "The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.", "items": { - "$ref": "#/definitions/ScopeMap" + "$ref": "#/definitions/Webhook" } }, "nextLink": { - "description": "The URI that can be used to request the next list of scope maps.", - "type": "string" - } - } - }, - "ScopeMap": { - "description": "An object that represents a scope map for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapProperties", - "description": "The properties of the scope map.", - "x-ms-client-flatten": true + "type": "string", + "description": "The URI that can be used to request the next list of webhooks." } } }, - "ScopeMapProperties": { - "description": "The properties of a scope map.", - "required": [ - "actions" - ], + "WebhookProperties": { "type": "object", + "description": "The properties of a webhook.", "properties": { - "description": { - "description": "The user friendly description of the scope map.", - "type": "string" + "status": { + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." }, - "type": { - "description": "The type of the scope map. E.g. BuildIn scope map.", + "scope": { "type": "string", - "readOnly": true - }, - "creationDate": { - "format": "date-time", - "description": "The creation date of scope map.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." }, "actions": { - "description": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write", "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", "items": { - "type": "string" + "$ref": "#/definitions/WebhookAction" } - } - } - }, - "ScopeMapUpdateParameters": { - "description": "The properties for updating the scope map.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", - "description": "The update parameters for scope map properties.", - "x-ms-client-flatten": true - } - } - }, - "ScopeMapPropertiesUpdateParameters": { - "description": "The update parameters for scope map properties.", - "type": "object", - "properties": { - "description": { - "description": "The user friendly description of the scope map.", - "type": "string" }, - "actions": { - "description": "The list of scope permissions for registry artifacts.\r\nE.g. repositories/repository-name/pull, \r\nrepositories/repository-name/delete", - "type": "array", - "items": { - "type": "string" - } + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the webhook at the time the operation was called.", + "readOnly": true } - } + }, + "required": [ + "actions" + ] }, - "TlsCertificateProperties": { - "description": "The TLS certificate properties of the connected registry login server.", + "WebhookPropertiesCreateParameters": { "type": "object", + "description": "The parameters for creating the properties of a webhook.", "properties": { - "type": { - "description": "The type of certificate location.", - "enum": [ - "LocalDirectory" - ], + "serviceUri": { "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "CertificateType", - "modelAsString": true + "description": "The service URI for the webhook to post notifications." + }, + "customHeaders": { + "type": "object", + "description": "Custom headers that will be added to the webhook notifications.", + "additionalProperties": { + "type": "string" } }, - "location": { - "description": "Indicates the location of the certificates.", - "type": "string", - "readOnly": true - } - } - }, - "TlsProperties": { - "description": "The TLS properties of the connected registry login server.", - "type": "object", - "properties": { "status": { - "description": "Indicates whether HTTPS is enabled for the login server.", - "enum": [ - "Enabled", - "Disabled" - ], + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." + }, + "scope": { "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "TlsStatus", - "modelAsString": true - } + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." }, - "certificate": { - "$ref": "#/definitions/TlsCertificateProperties", - "description": "The certificate used to configure HTTPS for the login server.", - "readOnly": true - } - } - }, - "TokenListResult": { - "description": "The result of a request to list tokens for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens.", + "actions": { "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", "items": { - "$ref": "#/definitions/Token" + "$ref": "#/definitions/WebhookAction" } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of tokens.", - "type": "string" - } - } - }, - "Token": { - "description": "An object that represents a token for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/TokenProperties", - "description": "The properties of the token.", - "x-ms-client-flatten": true } - } + }, + "required": [ + "serviceUri", + "actions" + ] }, - "TokenProperties": { - "description": "The properties of a token.", + "WebhookPropertiesUpdateParameters": { "type": "object", + "description": "The parameters for updating the properties of a webhook.", "properties": { - "creationDate": { - "format": "date-time", - "description": "The creation date of scope map.", + "serviceUri": { "type": "string", - "readOnly": true + "description": "The service URI for the webhook to post notifications." }, - "provisioningState": { - "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true + "customHeaders": { + "type": "object", + "description": "Custom headers that will be added to the webhook notifications.", + "additionalProperties": { + "type": "string" } }, - "scopeMapId": { - "description": "The resource ID of the scope map to which the token will be associated with.", - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." - }, "status": { - "description": "The status of the token example enabled or disabled.", - "enum": [ - "enabled", - "disabled" - ], + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." + }, + "scope": { "type": "string", - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } - } - } - }, - "TokenCredentialsProperties": { - "description": "The properties of the credentials that can be used for authenticating the token.", - "type": "object", - "properties": { - "certificates": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenCertificate" - }, - "x-ms-identifiers": [ - "thumbprint" - ] + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." }, - "passwords": { + "actions": { "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", "items": { - "$ref": "#/definitions/TokenPassword" - }, - "x-ms-identifiers": [] - } - } - }, - "ActiveDirectoryObject": { - "description": "The Active Directory Object that will be used for authenticating the token of a container registry.", - "type": "object", - "properties": { - "objectId": { - "description": "The user/group/application object ID for Active Directory Object that will be used for authenticating the token of a container registry.", - "type": "string" - }, - "tenantId": { - "description": "The tenant ID of user/group/application object Active Directory Object that will be used for authenticating the token of a container registry.", - "type": "string" + "$ref": "#/definitions/WebhookAction" + } } } }, - "TokenCertificate": { - "description": "The properties of a certificate used for authenticating a token.", - "type": "object", - "properties": { - "name": { - "enum": [ - "certificate1", - "certificate2" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenCertificateName", - "modelAsString": true + "WebhookStatus": { + "type": "string", + "description": "The status of the webhook at the time the operation was called.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" } - }, - "expiry": { - "format": "date-time", - "description": "The expiry datetime of the certificate.", - "type": "string" - }, - "thumbprint": { - "description": "The thumbprint of the certificate.", - "type": "string" - }, - "encodedPemCertificate": { - "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token.", - "type": "string" - } + ] } }, - "TokenPassword": { - "description": "The password that will be used for authenticating the token of a container registry.", + "WebhookUpdateParameters": { "type": "object", + "description": "The parameters for updating a webhook.", "properties": { - "creationTime": { - "format": "date-time", - "description": "The creation datetime of the password.", - "type": "string" - }, - "expiry": { - "format": "date-time", - "description": "The expiry datetime of the password.", - "type": "string" - }, - "name": { - "description": "The password name \"password1\" or \"password2\"", - "enum": [ - "password1", - "password2" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true + "tags": { + "type": "object", + "description": "The tags for the webhook.", + "additionalProperties": { + "type": "string" } }, - "value": { - "description": "The password value.", - "type": "string", - "readOnly": true - } - } - }, - "TokenUpdateParameters": { - "description": "The parameters for updating a token.", - "type": "object", - "properties": { "properties": { - "$ref": "#/definitions/TokenUpdateProperties", - "description": "The properties of the token update parameters.", + "$ref": "#/definitions/WebhookPropertiesUpdateParameters", + "description": "The properties that the webhook will be updated with.", "x-ms-client-flatten": true } } }, - "TokenUpdateProperties": { - "description": "The parameters for updating token properties.", - "type": "object", - "properties": { - "scopeMapId": { - "description": "The resource ID of the scope map to which the token will be associated with.", - "type": "string" - }, - "status": { - "description": "The status of the token example enabled or disabled.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." - } - } - }, - "GenerateCredentialsParameters": { - "description": "The parameters used to generate credentials for a specified token or user of a container registry.", - "type": "object", - "properties": { - "tokenId": { - "description": "The resource ID of the token for which credentials have to be generated.", - "type": "string" - }, - "expiry": { - "format": "date-time", - "description": "The expiry date of the generated credentials after which the credentials become invalid.", - "type": "string" - }, - "name": { - "description": "Specifies name of the password which should be regenerated if any -- password1 or password2.", - "enum": [ - "password1", - "password2" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } - } - } - }, - "GenerateCredentialsResult": { - "description": "The response from the GenerateCredentials operation.", - "type": "object", - "properties": { - "username": { - "description": "The username for a container registry.", - "type": "string" - }, - "passwords": { - "description": "The list of passwords for a container registry.", - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - }, - "x-ms-identifiers": [] - } - } - }, - "WebhookListResult": { - "description": "The result of a request to list webhooks for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.", - "type": "array", - "items": { - "$ref": "#/definitions/Webhook" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of webhooks.", - "type": "string" - } - } - }, - "Webhook": { - "description": "An object that represents a webhook for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/WebhookProperties", - "description": "The properties of the webhook.", - "x-ms-client-flatten": true - } - } - }, - "WebhookProperties": { - "description": "The properties of a webhook.", - "required": [ - "actions" - ], - "type": "object", - "properties": { - "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" - }, - "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", - "type": "array", - "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - }, - "provisioningState": { - "description": "The provisioning state of the webhook at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "WebhookCreateParameters": { - "description": "The parameters for creating a webhook.", - "required": [ - "location" - ], - "type": "object", - "properties": { - "tags": { - "description": "The tags for the webhook.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "location": { - "description": "The location of the webhook. This cannot be changed after the resource is created.", - "type": "string" - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesCreateParameters", - "description": "The properties that the webhook will be created with.", - "x-ms-client-flatten": true - } - } - }, - "WebhookPropertiesCreateParameters": { - "description": "The parameters for creating the properties of a webhook.", - "required": [ - "serviceUri", - "actions" + "ZoneRedundancy": { + "type": "string", + "description": "Whether or not zone redundancy is enabled for this container registry", + "enum": [ + "Enabled", + "Disabled" ], - "type": "object", - "properties": { - "serviceUri": { - "description": "The service URI for the webhook to post notifications.", - "type": "string", - "x-ms-secret": true - }, - "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-secret": true - }, - "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" - }, - "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", - "type": "array", - "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - } - }, - "WebhookUpdateParameters": { - "description": "The parameters for updating a webhook.", - "type": "object", - "properties": { - "tags": { - "description": "The tags for the webhook.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesUpdateParameters", - "description": "The properties that the webhook will be updated with.", - "x-ms-client-flatten": true - } - } - }, - "WebhookPropertiesUpdateParameters": { - "description": "The parameters for updating the properties of a webhook.", - "type": "object", - "properties": { - "serviceUri": { - "description": "The service URI for the webhook to post notifications.", - "type": "string", - "x-ms-secret": true - }, - "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", - "type": "object", - "additionalProperties": { - "type": "string" + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" }, - "x-ms-secret": true - }, - "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" - }, - "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", - "type": "array", - "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - } - }, - "EventInfo": { - "description": "The basic information of an event.", - "type": "object", - "properties": { - "id": { - "description": "The event ID.", - "type": "string" - } - } - }, - "EventListResult": { - "description": "The result of a request to list events for a webhook.", - "type": "object", - "properties": { - "value": { - "description": "The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.", - "type": "array", - "items": { - "$ref": "#/definitions/Event" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of events.", - "type": "string" - } - } - }, - "Event": { - "description": "The event for a webhook.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EventInfo" - } - ], - "properties": { - "eventRequestMessage": { - "$ref": "#/definitions/EventRequestMessage", - "description": "The event request message sent to the service URI." - }, - "eventResponseMessage": { - "$ref": "#/definitions/EventResponseMessage", - "description": "The event response message received from the service URI." - } - } - }, - "EventRequestMessage": { - "description": "The event request message sent to the service URI.", - "type": "object", - "properties": { - "content": { - "$ref": "#/definitions/EventContent", - "description": "The content of the event request message." - }, - "headers": { - "description": "The headers of the event request message.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "method": { - "description": "The HTTP method used to send the event request message.", - "type": "string" - }, - "requestUri": { - "description": "The URI used to send the event request message.", - "type": "string" - }, - "version": { - "description": "The HTTP message version.", - "type": "string" - } - } - }, - "EventResponseMessage": { - "description": "The event response message received from the service URI.", - "type": "object", - "properties": { - "content": { - "description": "The content of the event response message.", - "type": "string" - }, - "headers": { - "description": "The headers of the event response message.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "reasonPhrase": { - "description": "The reason phrase of the event response message.", - "type": "string" - }, - "statusCode": { - "description": "The status code of the event response message.", - "type": "string" - }, - "version": { - "description": "The HTTP message version.", - "type": "string" - } - } - }, - "EventContent": { - "description": "The content of the event request message.", - "type": "object", - "properties": { - "id": { - "description": "The event ID.", - "type": "string" - }, - "timestamp": { - "format": "date-time", - "description": "The time at which the event occurred.", - "type": "string" - }, - "action": { - "description": "The action that encompasses the provided event.", - "type": "string" - }, - "target": { - "$ref": "#/definitions/Target", - "description": "The target of the event." - }, - "request": { - "$ref": "#/definitions/Request", - "description": "The request that generated the event." - }, - "actor": { - "$ref": "#/definitions/Actor", - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." - }, - "source": { - "$ref": "#/definitions/Source", - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." - } - } - }, - "Target": { - "description": "The target of the event.", - "type": "object", - "properties": { - "mediaType": { - "description": "The MIME type of the referenced object.", - "type": "string" - }, - "size": { - "format": "int64", - "description": "The number of bytes of the content. Same as Length field.", - "type": "integer" - }, - "digest": { - "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification.", - "type": "string" - }, - "length": { - "format": "int64", - "description": "The number of bytes of the content. Same as Size field.", - "type": "integer" - }, - "repository": { - "description": "The repository name.", - "type": "string" - }, - "url": { - "description": "The direct URL to the content.", - "type": "string" - }, - "tag": { - "description": "The tag name.", - "type": "string" - }, - "name": { - "description": "The name of the artifact.", - "type": "string" - }, - "version": { - "description": "The version of the artifact.", - "type": "string" - } - } - }, - "Request": { - "description": "The request that generated the event.", - "type": "object", - "properties": { - "id": { - "description": "The ID of the request that initiated the event.", - "type": "string" - }, - "addr": { - "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.", - "type": "string" - }, - "host": { - "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.", - "type": "string" - }, - "method": { - "description": "The request method that generated the event.", - "type": "string" - }, - "useragent": { - "description": "The user agent header of the request.", - "type": "string" - } - } - }, - "Actor": { - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", - "type": "object", - "properties": { - "name": { - "description": "The subject or username associated with the request context that generated the event.", - "type": "string" - } - } - }, - "Source": { - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", - "type": "object", - "properties": { - "addr": { - "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.", - "type": "string" - }, - "instanceID": { - "description": "The running instance of an application. Changes after each restart.", - "type": "string" - } - } - }, - "CallbackConfig": { - "description": "The configuration of service URI and custom headers for the webhook.", - "required": [ - "serviceUri" - ], - "type": "object", - "properties": { - "serviceUri": { - "description": "The service URI for the webhook to post notifications.", - "type": "string" - }, - "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", - "type": "object", - "additionalProperties": { - "type": "string" + { + "name": "Disabled", + "value": "Disabled" } - } - } - } - }, - "parameters": { - "RegistryNameParameter": { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "WebhookNameParameter": { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ReplicationNameParameter": { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ScopeMapNameParameter": { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-_]*$", - "x-ms-parameter-location": "method" - }, - "TokenNameParameter": { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "PrivateEndpointConnectionNameParameter": { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "GroupNameParameter": { - "name": "groupName", - "in": "path", - "description": "The name of the private link resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "ExportPipelineNameParameter": { - "name": "exportPipelineName", - "in": "path", - "description": "The name of the export pipeline.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ImportPipelineNameParameter": { - "name": "importPipelineName", - "in": "path", - "description": "The name of the import pipeline.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "PipelineRunNameParameter": { - "name": "pipelineRunName", - "in": "path", - "description": "The name of the pipeline run.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ConnectedRegistryNameParameter": { - "in": "path", - "name": "connectedRegistryName", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ConnectedRegistryFilterParameter": { - "in": "query", - "name": "$filter", - "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, - "PackageTypeParameter": { - "name": "packageType", - "in": "path", - "description": "The type of the package resource.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 3, - "pattern": "^[a-zA-Z]*$", - "x-ms-parameter-location": "method" - }, - "ArchiveNameParameter": { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "maxLength": 200, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "ArchiveVersionNameParameter": { - "name": "archiveVersionName", - "in": "path", - "description": "The name of the archive version resource.", - "required": true, - "type": "string", - "maxLength": 200, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "CredentialSetNameParameter": { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "CacheRuleNameParameter": { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" + ] } } }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] + "parameters": {} } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json index 43851adf172a..dc04c33cefdf 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json @@ -1,11 +1,6 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "packageType": "rpm", - "archiveName": "myArchiveName", "archiveCreateParameters": { "properties": { "packageSource": { @@ -15,45 +10,52 @@ "publishedVersion": "string", "repositoryEndpointPrefix": "string" } - } + }, + "archiveName": "myArchiveName", + "packageType": "rpm", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName", - "name": "myArchiveName", "properties": { "packageSource": { "type": "remote", "url": "string" }, + "provisioningState": "Succeeded", "publishedVersion": "string", - "repositoryEndpointPrefix": "string", "repositoryEndpoint": "string", - "provisioningState": "Succeeded" + "repositoryEndpointPrefix": "string" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" - }, "body": { + "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives/myArchiveName", - "name": "myArchiveName", "properties": { "packageSource": { "type": "remote", "url": "string" }, + "provisioningState": "Succeeded", "publishedVersion": "string", - "repositoryEndpointPrefix": "string", "repositoryEndpoint": "string", - "provisioningState": "Succeeded" + "repositoryEndpointPrefix": "string" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" } } - } -} + }, + "operationId": "Archives_Create", + "title": "ArchiveCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json index c2e14a168ff5..9aba0f664905 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json @@ -1,11 +1,11 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", + "archiveName": "myArchiveName", "packageType": "myPackageType", - "archiveName": "myArchiveName" + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -14,5 +14,7 @@ } }, "204": {} - } -} + }, + "operationId": "Archives_Delete", + "title": "ArchiveDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json index 4f6d02ffec9b..476b471dff97 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json @@ -1,35 +1,37 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", + "archiveName": "myArchiveName", "packageType": "myPackageType", - "archiveName": "myArchiveName" + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/packages/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", - "name": "myArchiveName", - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2023-02-24T00:13:46.836Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-02-24T00:13:46.836Z" - }, "properties": { "packageSource": { "type": "string", "url": "string" }, - "publishedVersion": "string", - "provisioningState": "Creating" + "provisioningState": "Creating", + "publishedVersion": "string" + }, + "systemData": { + "createdAt": "2023-02-24T00:13:46.836Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-02-24T00:13:46.836Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" } } } - } -} + }, + "operationId": "Archives_Get", + "title": "ArchiveGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json index e8f025cde669..f3fbd3b88ba5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json @@ -1,39 +1,41 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "packageType": "myPackageType", "registryName": "myRegistry", - "packageType": "myPackageType" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "string", "value": [ { - "id": "string", "name": "string", "type": "string", - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2023-02-24T00:22:47.311Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-02-24T00:22:47.311Z" - }, + "id": "string", "properties": { "packageSource": { "type": "string", "url": "string" }, - "publishedVersion": "string", - "provisioningState": "Creating" + "provisioningState": "Creating", + "publishedVersion": "string" + }, + "systemData": { + "createdAt": "2023-02-24T00:22:47.311Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-02-24T00:22:47.311Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" } } - ], - "nextLink": "string" + ] } } - } -} + }, + "operationId": "Archives_List", + "title": "ArchiveList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json index e61b82790090..d2e7aa9a6a42 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json @@ -1,42 +1,44 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "packageType": "myPackageType", "archiveName": "myArchiveName", "archiveUpdateParameters": { "properties": { "publishedVersion": "string" } - } + }, + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/packages/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", - "name": "myArchiveName", - "systemData": { - "createdBy": "string", - "createdByType": "User", - "createdAt": "2023-06-09T23:41:38.720Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-06-09T23:41:38.720Z" - }, "properties": { "packageSource": { "type": "remote", "url": "string" }, + "provisioningState": "Creating", "publishedVersion": "string", - "repositoryEndpointPrefix": "string", "repositoryEndpoint": "string", - "provisioningState": "Creating" + "repositoryEndpointPrefix": "string" + }, + "systemData": { + "createdAt": "2023-06-09T23:41:38.720Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-06-09T23:41:38.720Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" } } } - } -} + }, + "operationId": "Archives_Update", + "title": "ArchiveUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json index 21f308bf2c07..bf3e7bae50d0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json @@ -1,36 +1,38 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "packageType": "rpm", "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName" + "archiveVersionName": "myArchiveVersionName", + "packageType": "rpm", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myArchiveVersionName", "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", - "name": "myArchiveVersionName", "properties": { "provisioningState": "Succeeded" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archoveversion-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" - }, "body": { + "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", - "name": "myCacheRule", "properties": { "provisioningState": "Succeeded" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archoveversion-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" } } - } -} + }, + "operationId": "ArchiveVersions_Create", + "title": "ArchiveVersionCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json index 1bb27ba69ff9..c7dfd5b3f787 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json @@ -1,12 +1,12 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "packageType": "myPackageType", "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName" + "archiveVersionName": "myArchiveVersionName", + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -15,5 +15,7 @@ } }, "204": {} - } -} + }, + "operationId": "ArchiveVersions_Delete", + "title": "ArchiveVersionDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json index d454bba6284e..562336e2bad0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json @@ -1,32 +1,34 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "packageType": "rpm", "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName" + "archiveVersionName": "myArchiveVersionName", + "packageType": "rpm", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/packages/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", - "name": "myArchiveName", + "properties": { + "archiveVersionErrorMessage": "string", + "provisioningState": "Creating" + }, "systemData": { + "createdAt": "2023-02-24T00:13:46.836Z", "createdBy": "string", "createdByType": "User", - "createdAt": "2023-02-24T00:13:46.836Z", + "lastModifiedAt": "2023-02-24T00:13:46.836Z", "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-02-24T00:13:46.836Z" - }, - "properties": { - "provisioningState": "Creating", - "archiveVersionErrorMessage": "string" + "lastModifiedByType": "User" } } } - } -} + }, + "operationId": "ArchiveVersions_Get", + "title": "ArchiveVersionGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json index a59f7bab2fac..591543bc2709 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json @@ -1,36 +1,38 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", + "archiveName": "myArchiveName", "packageType": "myPackageType", - "archiveName": "myArchiveName" + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "string", "value": [ { - "id": "string", "name": "string", "type": "string", + "id": "string", + "properties": { + "archiveVersionErrorMessage": "string", + "provisioningState": "Creating" + }, "systemData": { + "createdAt": "2023-02-24T00:22:47.311Z", "createdBy": "string", "createdByType": "User", - "createdAt": "2023-02-24T00:22:47.311Z", + "lastModifiedAt": "2023-02-24T00:22:47.311Z", "lastModifiedBy": "string", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-02-24T00:22:47.311Z" - }, - "properties": { - "provisioningState": "Creating", - "archiveVersionErrorMessage": "string" + "lastModifiedByType": "User" } } - ], - "nextLink": "string" + ] } } - } -} + }, + "operationId": "ArchiveVersions_List", + "title": "ArchiveVersionList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json index d802bd9d635b..75d48bd44545 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json @@ -1,49 +1,51 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "cacheRuleName": "myCacheRule", "cacheRuleCreateParameters": { "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world", - "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet" + "targetRepository": "cached-docker-hub/hello-world" } - } + }, + "cacheRuleName": "myCacheRule", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "name": "myCacheRule", "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world", - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "provisioningState": "Succeeded" + "targetRepository": "cached-docker-hub/hello-world" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { + "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "name": "myCacheRule", "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Creating", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world", - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "provisioningState": "Creating" + "targetRepository": "cached-docker-hub/hello-world" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "CacheRules_Create", + "title": "CacheRuleCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json index 6f461b1a81fb..1e6684d297c4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "cacheRuleName": "myCacheRule", "registryName": "myRegistry", - "cacheRuleName": "myCacheRule" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -13,5 +13,7 @@ } }, "204": {} - } -} + }, + "operationId": "CacheRules_Delete", + "title": "CacheRuleDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json index aecac6277e9a..995f262c5dd8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json @@ -1,25 +1,27 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "cacheRuleName": "myCacheRule", "registryName": "myRegistry", - "cacheRuleName": "myCacheRule" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "name": "myCacheRule", "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world", - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "provisioningState": "Succeeded" + "targetRepository": "cached-docker-hub/hello-world" } } } - } -} + }, + "operationId": "CacheRules_Get", + "title": "CacheRuleGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json index 03422d10682c..a0699412ee9a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json @@ -1,28 +1,30 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { + "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "name": "myCacheRule", "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world", - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "provisioningState": "Succeeded" + "targetRepository": "cached-docker-hub/hello-world" } } ] } } - } -} + }, + "operationId": "CacheRules_List", + "title": "CacheRuleList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json index da66d174d016..cb06ebf79a1d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json @@ -1,47 +1,49 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "cacheRuleName": "myCacheRule", "cacheRuleUpdateParameters": { "properties": { "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2" } - } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "name": "myCacheRule", "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", + "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world", - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "provisioningState": "Succeeded" + "targetRepository": "cached-docker-hub/hello-world" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { + "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "name": "myCacheRule", "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", + "provisioningState": "Updating", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world", - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "provisioningState": "Updating" + "targetRepository": "cached-docker-hub/hello-world" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "CacheRules_Update", + "title": "CacheRuleUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json index d0998932c162..c502d14686f7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json @@ -1,110 +1,112 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "connectedRegistryName": "myConnectedRegistry", "connectedRegistryCreateParameters": { "properties": { - "mode": "ReadWrite", - "parent": { - "syncProperties": { - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", - "schedule": "0 9 * * *", - "messageTtl": "P2D", - "syncWindow": "PT3H" - } - }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } } } - } + }, + "connectedRegistryName": "myConnectedRegistry", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { - "mode": "ReadWrite", "activation": { "status": "Inactive" }, - "parent": { - "syncProperties": { - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", - "schedule": "0 9 * * *", - "messageTtl": "P2D", - "syncWindow": "PT3H" - } - }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, "logging": { - "logLevel": "Information", - "auditLogStatus": "Disabled" + "auditLogStatus": "Disabled", + "logLevel": "Information" }, + "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } } } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { - "mode": "ReadWrite", "activation": { "status": "Inactive" }, - "parent": { - "syncProperties": { - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", - "schedule": "0 9 * * *", - "messageTtl": "P2D", - "syncWindow": "PT3H" - } - }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, "logging": { - "logLevel": "Information", - "auditLogStatus": "Disabled" + "auditLogStatus": "Disabled", + "logLevel": "Information" }, + "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } } } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "ConnectedRegistries_Create", + "title": "ConnectedRegistryCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json index e365d68a1a0e..6e189a00e328 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "connectedRegistryName": "myConnectedRegistry", "registryName": "myRegistry", - "connectedRegistryName": "myConnectedRegistry" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -13,5 +13,7 @@ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "ConnectedRegistries_Deactivate", + "title": "ConnectedRegistryDeactivate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json index 3423d52b7d40..a2eba1b22be4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "connectedRegistryName": "myConnectedRegistry", "registryName": "myRegistry", - "connectedRegistryName": "myConnectedRegistry" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -14,5 +14,7 @@ } }, "204": {} - } -} + }, + "operationId": "ConnectedRegistries_Delete", + "title": "ConnectedRegistryDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json index 939ec49a5a9c..f1ce8a3fcb5a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json @@ -1,47 +1,49 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "connectedRegistryName": "myConnectedRegistry", "registryName": "myRegistry", - "connectedRegistryName": "myConnectedRegistry" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { - "mode": "ReadWrite", "activation": { "status": "Inactive" }, - "parent": { - "syncProperties": { - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", - "schedule": "0 9 * * *", - "messageTtl": "P2D", - "syncWindow": "PT3H" - } - }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, "logging": { - "logLevel": "Information", - "auditLogStatus": "Disabled" + "auditLogStatus": "Disabled", + "logLevel": "Information" }, + "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } } } } } - } -} + }, + "operationId": "ConnectedRegistries_Get", + "title": "ConnectedRegistryGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json index c47f8ac71a17..803edeb1e126 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json @@ -1,50 +1,52 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { - "mode": "ReadWrite", "activation": { "status": "Inactive" }, - "parent": { - "syncProperties": { - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", - "schedule": "0 9 * * *", - "messageTtl": "P2D", - "syncWindow": "PT3H" - } - }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, "logging": { - "logLevel": "Information", - "auditLogStatus": "Disabled" + "auditLogStatus": "Disabled", + "logLevel": "Information" }, + "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } } } } ] } } - } -} + }, + "operationId": "ConnectedRegistries_List", + "title": "ConnectedRegistryList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json index d1ed29ed4d64..f2b68454277c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json @@ -1,107 +1,109 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "connectedRegistryName": "myScopeMap", "connectedRegistryUpdateParameters": { "properties": { - "syncProperties": { - "schedule": "0 0 */10 * *", - "messageTtl": "P30D", - "syncWindow": "P2D" - }, - "logging": { - "logLevel": "Debug", - "auditLogStatus": "Enabled" - }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Enabled", + "logLevel": "Debug" + }, "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" + "syncProperties": { + "messageTtl": "P30D", + "schedule": "0 0 */10 * *", + "syncWindow": "P2D" } } - } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { - "mode": "ReadWrite", - "parent": { - "syncProperties": { - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", - "schedule": "0 0 */10 * *", - "messageTtl": "P30D", - "syncWindow": "P2D" - } - }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, "logging": { - "logLevel": "Debug", - "auditLogStatus": "Enabled" + "auditLogStatus": "Enabled", + "logLevel": "Debug" }, + "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" + "parent": { + "syncProperties": { + "messageTtl": "P30D", + "schedule": "0 0 */10 * *", + "syncWindow": "P2D", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } } } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { - "mode": "ReadWrite", - "parent": { - "syncProperties": { - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", - "schedule": "0 0 */10 * *", - "messageTtl": "P30D", - "syncWindow": "P2D" - } - }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, "logging": { - "logLevel": "Debug", - "auditLogStatus": "Enabled" + "auditLogStatus": "Enabled", + "logLevel": "Debug" }, + "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" + "parent": { + "syncProperties": { + "messageTtl": "P30D", + "schedule": "0 0 */10 * *", + "syncWindow": "P2D", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } } } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "ConnectedRegistries_Update", + "title": "ConnectedRegistryUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json index 0aa2f03af132..c2b6391738a5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json @@ -1,83 +1,85 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "credentialSetName": "myCredentialSet", "credentialSetCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, "properties": { - "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password" + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" } - ] - }, - "identity": { - "type": "SystemAssigned" + ], + "loginServer": "docker.io" } - } + }, + "credentialSetName": "myCredentialSet", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { + "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000", - "type": "SystemAssigned" + "tenantId": "00000000-0000-0000-0000-000000000000" }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "name": "myCredentialSet", "properties": { - "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - } + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", "provisioningState": "Succeeded" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { + "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { + "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000", - "type": "SystemAssigned" + "tenantId": "00000000-0000-0000-0000-000000000000" }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "name": "myCredentialSet", "properties": { - "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - } + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", "provisioningState": "Creating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "CredentialSets_Create", + "title": "CredentialSetCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json index e6db7cc9ea48..e4058a6a6d3a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "credentialSetName": "myCredentialSet", "registryName": "myRegistry", - "credentialSetName": "myCredentialSet" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -13,5 +13,7 @@ } }, "204": {} - } -} + }, + "operationId": "CredentialSets_Delete", + "title": "CredentialSetDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json index 8fab56f071b8..42249cde643e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json @@ -1,38 +1,40 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "credentialSetName": "myCredentialSet", "registryName": "myRegistry", - "credentialSetName": "myCredentialSet" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { + "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000", - "type": "SystemAssigned" + "tenantId": "00000000-0000-0000-0000-000000000000" }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "name": "myCredentialSet", "properties": { - "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - } + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", "provisioningState": "Succeeded" } } } - } -} + }, + "operationId": "CredentialSets_Get", + "title": "CredentialSetGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json index 9d53089cce73..75655128524d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json @@ -1,41 +1,43 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { + "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { + "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000", - "type": "SystemAssigned" + "tenantId": "00000000-0000-0000-0000-000000000000" }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "name": "myCredentialSet", "properties": { - "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - } + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", "provisioningState": "Succeeded" } } ] } } - } -} + }, + "operationId": "CredentialSets_List", + "title": "CredentialSetList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json index c184d116009a..45d99e9e938b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json @@ -1,79 +1,81 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "credentialSetName": "myCredentialSet", "credentialSetUpdateParameters": { "properties": { "authCredentials": [ { "name": "Credential1", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2" + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" } ] } - } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { + "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000", - "type": "SystemAssigned" + "tenantId": "00000000-0000-0000-0000-000000000000" }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "name": "myCredentialSet", "properties": { - "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", "credentialHealth": { "status": "Healthy" - } + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", "provisioningState": "Succeeded" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { + "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { + "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000", - "type": "SystemAssigned" + "tenantId": "00000000-0000-0000-0000-000000000000" }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "name": "myCredentialSet", "properties": { - "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", "credentialHealth": { "status": "Healthy" - } + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", "provisioningState": "Updating" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "CredentialSets_Update", + "title": "CredentialSetUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json index 09985d940f14..66271fac5b88 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json @@ -1,78 +1,80 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "exportPipelineName": "myExportPipeline", "exportPipelineCreateParameters": { - "location": "westus", "identity": { "type": "SystemAssigned" }, + "location": "westus", "properties": { - "target": { - "type": "AzureStorageBlobContainer", - "uri": "https://accountname.blob.core.windows.net/containername", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" - }, "options": [ "OverwriteBlobs" - ] + ], + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } } - } + }, + "exportPipelineName": "myExportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", "properties": { - "target": { - "type": "AzureStorageBlobContainer", - "uri": "https://accountname.blob.core.windows.net/containername", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" - }, "options": [ "OverwriteBlobs" ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", "properties": { - "target": { - "type": "AzureStorageBlobContainer", - "uri": "https://accountname.blob.core.windows.net/containername", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" - }, "options": [ "OverwriteBlobs" ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "ExportPipelines_Create", + "title": "ExportPipelineCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json index 1b2066242804..8ce6b112904d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "exportPipelineName": "myExportPipeline", "registryName": "myRegistry", - "exportPipelineName": "myExportPipeline" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -14,5 +14,7 @@ } }, "204": {} - } -} + }, + "operationId": "ExportPipelines_Delete", + "title": "ExportPipelineDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json index bf89f0c77e53..662586ed7f09 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json @@ -1,35 +1,37 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "exportPipelineName": "myExportPipeline", "registryName": "myRegistry", - "exportPipelineName": "myExportPipeline" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", "properties": { - "target": { - "type": "AzureStorageBlobContainer", - "uri": "https://accountname.blob.core.windows.net/containername", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" - }, "options": [ "OverwriteBlobs" ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } } } } - } -} + }, + "operationId": "ExportPipelines_Get", + "title": "ExportPipelineGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json index a609807c6799..426f7146429e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json @@ -1,38 +1,40 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", "properties": { - "target": { - "type": "AzureStorageBlobContainer", - "uri": "https://accountname.blob.core.windows.net/containername", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" - }, "options": [ "OverwriteBlobs" ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } } } ] } } - } -} + }, + "operationId": "ExportPipelines_List", + "title": "ExportPipelineList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json index f3d4d298473c..bffb2268d135 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json @@ -1,10 +1,8 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "parameters": { + "mode": "Force", "source": { "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000" @@ -14,9 +12,11 @@ ], "untaggedTargetRepositories": [ "targetRepository1" - ], - "mode": "Force" - } + ] + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -25,5 +25,7 @@ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Registries_ImportImage", + "title": "ImportImageByManifestDigest" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json index 08216662dce3..d27cdecc5311 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json @@ -1,10 +1,8 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "parameters": { + "mode": "Force", "source": { "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", "sourceImage": "sourceRepository:sourceTag" @@ -14,9 +12,11 @@ ], "untaggedTargetRepositories": [ "targetRepository1" - ], - "mode": "Force" - } + ] + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -25,5 +25,7 @@ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Registries_ImportImage", + "title": "ImportImageByTag" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json index 5fe5bfdcd1f4..62a5d60c7e4e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json @@ -1,10 +1,8 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "parameters": { + "mode": "Force", "source": { "registryUri": "registry.hub.docker.com", "sourceImage": "library/hello-world" @@ -14,9 +12,11 @@ ], "untaggedTargetRepositories": [ "targetRepository1" - ], - "mode": "Force" - } + ] + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -25,5 +25,7 @@ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Registries_ImportImage", + "title": "ImportImageFromPublicRegistry" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json index dd6b715ed250..d1f54159b956 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json @@ -1,105 +1,107 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "importPipelineName": "myImportPipeline", "importPipelineCreateParameters": { - "location": "westus", "identity": { "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} } }, + "location": "westus", "properties": { - "source": { - "type": "AzureStorageBlobContainer", - "uri": "https://accountname.blob.core.windows.net/containername", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" - }, "options": [ "OverwriteTags", "DeleteSourceBlobOnSuccess", "ContinueOnErrors" - ] + ], + "source": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } } - } + }, + "importPipelineName": "myImportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "name": "myImportPipeline", "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", - "uri": "https://accountname.blob.core.windows.net/containername", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" }, "trigger": { "sourceTrigger": { "status": "Enabled" } - }, - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } } } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "name": "myImportPipeline", "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", - "uri": "https://accountname.blob.core.windows.net/containername", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" }, "trigger": { "sourceTrigger": { "status": "Enabled" } - }, - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } } } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "ImportPipelines_Create", + "title": "ImportPipelineCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json index 635e29c38f06..d695627df8a5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "importPipelineName": "myImportPipeline", "registryName": "myRegistry", - "importPipelineName": "myImportPipeline" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -14,5 +14,7 @@ } }, "204": {} - } -} + }, + "operationId": "ImportPipelines_Delete", + "title": "ImportPipelineDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json index 8004f8b8259a..b1ab529b009a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json @@ -1,46 +1,48 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "importPipelineName": "myImportPipeline", "registryName": "myRegistry", - "importPipelineName": "myImportPipeline" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "name": "myImportPipeline", "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", - "uri": "https://accountname.blob.core.windows.net/containername", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" }, "trigger": { "sourceTrigger": { "status": "Enabled" } - }, - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } } } } } - } -} + }, + "operationId": "ImportPipelines_Get", + "title": "ImportPipelineGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json index 2387cf5c33d9..9671f76049d6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json @@ -1,49 +1,51 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "name": "myImportPipeline", "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", - "uri": "https://accountname.blob.core.windows.net/containername", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" }, "trigger": { "sourceTrigger": { "status": "Enabled" } - }, - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } } } } ] } } - } -} + }, + "operationId": "ImportPipelines_List", + "title": "ImportPipelineList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json index c32b7f5873e1..f1937f9c350d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json @@ -9,14 +9,16 @@ { "name": "Microsoft.ContainerRegistry/locations/deleteVirtualNetworkOrSubnets/action", "display": { - "provider": "Microsoft ContainerRegistry", - "resource": "", + "description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted", "operation": "Delete virtual network or subnets notifications", - "description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted" + "provider": "Microsoft ContainerRegistry", + "resource": "" } } ] } } - } -} + }, + "operationId": "Operations_List", + "title": "OperationList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json index 5db6bf4ea7c8..5d16d74802fb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json @@ -1,89 +1,91 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "pipelineRunName": "myPipelineRun", "pipelineRunCreateParameters": { "properties": { "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "target": { - "type": "AzureStorageBlob", - "name": "myblob.tar.gz" - }, "artifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" - ] + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "target": { + "name": "myblob.tar.gz", + "type": "AzureStorageBlob" + } } } - } + }, + "pipelineRunName": "myPipelineRun", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ] - }, + "provisioningState": "Succeeded", "response": { - "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", "target": { "type": "AzureStorageBlob", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" } }, - "provisioningState": "Succeeded" + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ] - }, + "provisioningState": "Succeeded", "response": { - "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", "target": { "type": "AzureStorageBlob", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" } }, - "provisioningState": "Succeeded" + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "PipelineRuns_Create", + "title": "PipelineRunCreate_Export" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json index 15d37848f2b6..93e0d2d11f38 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json @@ -1,88 +1,90 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "pipelineRunName": "myPipelineRun", "pipelineRunCreateParameters": { "properties": { + "forceUpdateTag": "2020-03-04T17:23:21.9261521+00:00", "request": { + "catalogDigest": "sha256@", "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "source": { - "type": "AzureStorageBlob", - "name": "myblob.tar.gz" - }, - "catalogDigest": "sha256@" - }, - "forceUpdateTag": "2020-03-04T17:23:21.9261521+00:00" + "name": "myblob.tar.gz", + "type": "AzureStorageBlob" + } + } } - } + }, + "pipelineRunName": "myPipelineRun", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - }, + "provisioningState": "Succeeded", "response": { - "status": "Succeeded", - "progress": { - "percentage": "100" - }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", + "catalogDigest": "sha256@", "importedArtifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" ], + "progress": { + "percentage": "100" + }, "source": { "type": "AzureStorageBlob", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" }, - "catalogDigest": "sha256@" + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Succeeded" }, - "provisioningState": "Succeeded" + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + } } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - }, + "provisioningState": "Succeeded", "response": { - "status": "Succeeded", - "progress": { - "percentage": "100" - }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", + "catalogDigest": "sha256@", "finishTime": "2020-03-04T17:25:21.9261521+00:00", "importedArtifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" ], + "progress": { + "percentage": "100" + }, "source": { "type": "AzureStorageBlob", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" }, - "catalogDigest": "sha256@" + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Succeeded" }, - "provisioningState": "Succeeded" + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + } } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "PipelineRuns_Create", + "title": "PipelineRunCreate_Import" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json index 5c8731d62a08..da55ee26c0f1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "pipelineRunName": "myPipelineRun", "registryName": "myRegistry", - "pipelineRunName": "myPipelineRun" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -14,5 +14,7 @@ } }, "204": {} - } -} + }, + "operationId": "PipelineRuns_Delete", + "title": "PipelineRunDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json index 7b32ba4e2c48..31902e21c3bc 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json @@ -1,41 +1,43 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "pipelineRunName": "myPipelineRun", "registryName": "myRegistry", - "pipelineRunName": "myPipelineRun" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ] - }, + "provisioningState": "Succeeded", "response": { - "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", "target": { "type": "AzureStorageBlob", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" } }, - "provisioningState": "Succeeded" + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } } } } - } -} + }, + "operationId": "PipelineRuns_Get", + "title": "PipelineRunGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json index 754fc109399a..b2e4212f91e1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json @@ -1,72 +1,74 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ] - }, + "provisioningState": "Succeeded", "response": { - "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", "target": { "type": "AzureStorageBlob", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" } }, - "provisioningState": "Succeeded" + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } } }, { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - }, + "provisioningState": "Succeeded", "response": { - "status": "Succeeded", - "progress": { - "percentage": "100" - }, - "startTime": "2020-03-03T17:23:21.9261521+00:00", + "catalogDigest": "sha256@", "importedArtifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" ], + "progress": { + "percentage": "100" + }, "source": { "type": "AzureStorageBlob", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" }, - "catalogDigest": "sha256@" + "startTime": "2020-03-03T17:23:21.9261521+00:00", + "status": "Succeeded" }, - "provisioningState": "Succeeded" + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + } } } ] } } - } -} + }, + "operationId": "PipelineRuns_List", + "title": "PipelineRunList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json index 2bb39e227f3a..9ff344e76287 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json @@ -1,58 +1,60 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "privateEndpointConnectionName": "myConnection", "privateEndpointConnection": { "properties": { "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-Approved" + "description": "Auto-Approved", + "status": "Approved" } } - } + }, + "privateEndpointConnectionName": "myConnection", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None" - } + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None" - } + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "title": "PrivateEndpointConnectionCreateOrUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json index 1ee6967f3e1e..bd4139622487 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "privateEndpointConnectionName": "myConnection", "registryName": "myRegistry", - "privateEndpointConnectionName": "myConnection" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -14,5 +14,7 @@ } }, "204": {} - } -} + }, + "operationId": "PrivateEndpointConnections_Delete", + "title": "PrivateEndpointConnectionDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json index 0defe27c7f42..943f93e6c6d1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json @@ -1,29 +1,31 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "privateEndpointConnectionName": "myConnection", "registryName": "myRegistry", - "privateEndpointConnectionName": "myConnection" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None" - } + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" } } } - } -} + }, + "operationId": "PrivateEndpointConnections_Get", + "title": "PrivateEndpointConnectionGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json index 59d6dee7955b..04db068f7d2b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json @@ -1,32 +1,34 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None" - } + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" } } ] } } - } -} + }, + "operationId": "PrivateEndpointConnections_List", + "title": "PrivateEndpointConnectionList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json index 836311f59ed9..1acb07a0b671 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json @@ -1,13 +1,13 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", "registryNameCheckRequest": { "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "resourceGroupName": "myResourceGroup", - "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse" - } + "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", + "resourceGroupName": "myResourceGroup" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -16,5 +16,7 @@ "nameAvailable": true } } - } -} + }, + "operationId": "Registries_CheckNameAvailability", + "title": "RegistryCheckNameAvailable" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json index a946137bc2b8..74bf7e432868 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json @@ -1,21 +1,23 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", "registryNameCheckRequest": { "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "resourceGroupName": "myResourceGroup", - "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse" - } + "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", + "resourceGroupName": "myResourceGroup" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "message": "The registry myRegistry is already in use.", "nameAvailable": false, - "reason": "AlreadyExists", - "message": "The registry myRegistry is already in use." + "reason": "AlreadyExists" } } - } -} + }, + "operationId": "Registries_CheckNameAvailability", + "title": "RegistryCheckNameNotAvailable" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json index 446e46822e5b..affc04259789 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json @@ -1,51 +1,52 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "registry": { "location": "westus", - "tags": { - "key": "value" + "properties": { + "adminUserEnabled": true }, "sku": { "name": "Standard" }, - "properties": { - "adminUserEnabled": true + "tags": { + "key": "value" } - } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Succeeded", "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -53,56 +54,56 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Disabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "Unsecure", - "roleAssignmentMode": "LegacyRegistryPermissions" + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } } }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Creating", "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -110,27 +111,28 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Disabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "Unsecure", - "roleAssignmentMode": "LegacyRegistryPermissions" + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } } } - } -} + }, + "operationId": "Registries_Create", + "title": "RegistryCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json index cf9ca8f278be..e22674626cd9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json @@ -1,51 +1,52 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "registry": { "location": "westus", - "tags": { - "key": "value" + "properties": { + "roleAssignmentMode": "AbacRepositoryPermissions" }, "sku": { "name": "Standard" }, - "properties": { - "roleAssignmentMode": "AbacRepositoryPermissions" + "tags": { + "key": "value" } - } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Succeeded", "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -53,56 +54,56 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Disabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "Unsecure", - "roleAssignmentMode": "AbacRepositoryPermissions" + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } } }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Creating", "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -110,27 +111,28 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Disabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "Unsecure", - "roleAssignmentMode": "AbacRepositoryPermissions" + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } } } - } -} + }, + "operationId": "Registries_Create", + "title": "RegistryCreateAbac" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json index 7880beeb33c9..2a27118c9d37 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json @@ -1,51 +1,52 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "registry": { "location": "westus", - "tags": { - "key": "value" + "properties": { + "autoGeneratedDomainNameLabelScope": "TenantReuse" }, "sku": { "name": "Standard" }, - "properties": { - "autoGeneratedDomainNameLabelScope": "TenantReuse" + "tags": { + "key": "value" } - } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Succeeded", "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -53,56 +54,56 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Disabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "roleAssignmentMode": "LegacyRegistryPermissions" + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } } }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Creating", "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -110,27 +111,28 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Disabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "roleAssignmentMode": "LegacyRegistryPermissions" + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } } } - } -} + }, + "operationId": "Registries_Create", + "title": "RegistryCreateDomainNameLabelScope" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json index 92cd6f57f8f5..0577e026e093 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json @@ -1,51 +1,52 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "registry": { "location": "westus", - "tags": { - "key": "value" + "properties": { + "zoneRedundancy": "Enabled" }, "sku": { "name": "Standard" }, - "properties": { - "zoneRedundancy": "Enabled" + "tags": { + "key": "value" } - } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Succeeded", "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -53,59 +54,56 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Enabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "Unsecure", - "roleAssignmentMode": "LegacyRegistryPermissions" + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Enabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Creating", "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -113,27 +111,31 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Enabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "Unsecure", - "roleAssignmentMode": "LegacyRegistryPermissions" + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Enabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Registries_Create", + "title": "RegistryCreateZoneRedundant" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json index 8a5db5e5f87c..1b4ce26eea41 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -13,5 +13,7 @@ } }, "204": {} - } -} + }, + "operationId": "Registries_Delete", + "title": "RegistryDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json index 6331d594f65a..6a12db62ede5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json @@ -1,30 +1,30 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "generateCredentialsParameters": { - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "expiry": "2020-12-31T15:59:59.0707808Z" - } + "expiry": "2020-12-31T15:59:59.0707808Z", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken" + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "username": "myToken", "passwords": [ { - "expiry": "2020-12-31T15:59:59.0707808Z", "name": "password1", + "expiry": "2020-12-31T15:59:59.0707808Z", "value": "00000000000000000000000000000000" }, { - "expiry": "2020-12-31T15:59:59.0707808Z", "name": "password2", + "expiry": "2020-12-31T15:59:59.0707808Z", "value": "00000000000000000000000000000000" } - ] + ], + "username": "myToken" } }, "202": { @@ -32,5 +32,7 @@ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Registries_GenerateCredentials", + "title": "RegistryGenerateCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json index 286b4de339b6..db87e0484cca 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json @@ -1,39 +1,40 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Succeeded", "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -41,27 +42,28 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Disabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "Unsecure", - "roleAssignmentMode": "LegacyRegistryPermissions" + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } } } - } -} + }, + "operationId": "Registries_Get", + "title": "RegistryGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json index 78a194e7ec0b..fc5370d8cb4a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json @@ -1,17 +1,17 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "groupName": "registry", "registryName": "myRegistry", - "groupName": "registry" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "name": "registry", "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "properties": { "groupId": "registry", "requiredMembers": [ @@ -24,5 +24,7 @@ } } } - } -} + }, + "operationId": "Registries_GetPrivateLinkResource", + "title": "RegistryGetPrivateLinkResource" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json index 12bc60dce4b0..b09dc55caca6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json @@ -8,32 +8,33 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Succeeded", "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -41,29 +42,30 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Disabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "Unsecure", - "roleAssignmentMode": "LegacyRegistryPermissions" + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } } ] } } - } -} + }, + "operationId": "Registries_List", + "title": "RegistryList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json index 960d57a172f6..b5db1648e40f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json @@ -1,40 +1,41 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Succeeded", "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -42,29 +43,30 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Disabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "Unsecure", - "roleAssignmentMode": "LegacyRegistryPermissions" + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } } ] } } - } -} + }, + "operationId": "Registries_ListByResourceGroup", + "title": "RegistryListByResourceGroup" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json index a7bf7c2b39a8..cad13979f5af 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json @@ -1,14 +1,13 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "username": "myRegistry", "passwords": [ { "name": "password", @@ -18,8 +17,11 @@ "name": "password2", "value": "00000000000000000000000000000000" } - ] + ], + "username": "myRegistry" } } - } -} + }, + "operationId": "Registries_ListCredentials", + "title": "RegistryListCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json index 9814c983f899..8bcee5174f5e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json @@ -1,18 +1,18 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "name": "registry", "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "properties": { "groupId": "registry", "requiredMembers": [ @@ -27,5 +27,7 @@ ] } } - } -} + }, + "operationId": "Registries_ListPrivateLinkResources", + "title": "RegistryListPrivateLinkResources" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json index 11b98a2c095b..e9f9bd026795 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -11,18 +11,20 @@ "value": [ { "name": "Size", - "limit": 107374182400, "currentValue": 12345678, + "limit": 107374182400, "unit": "Bytes" }, { "name": "Webhooks", - "limit": 10, "currentValue": 2, + "limit": 10, "unit": "Count" } ] } } - } -} + }, + "operationId": "Registries_ListUsages", + "title": "RegistryListUsages" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json index b77f9278af57..a62ee263538d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json @@ -1,17 +1,16 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "regenerateCredentialParameters": { "name": "password" - } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "username": "myRegistry", "passwords": [ { "name": "password", @@ -21,8 +20,11 @@ "name": "password2", "value": "00000000000000000000000000000000" } - ] + ], + "username": "myRegistry" } } - } -} + }, + "operationId": "Registries_RegenerateCredential", + "title": "RegistryRegenerateCredential" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json index 14f0607ed277..c33269beb299 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json @@ -1,51 +1,52 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", "registryUpdateParameters": { - "tags": { - "key": "value" + "properties": { + "adminUserEnabled": true, + "roleAssignmentMode": "AbacRepositoryPermissions" }, "sku": { "name": "Standard" }, - "properties": { - "adminUserEnabled": true, - "roleAssignmentMode": "AbacRepositoryPermissions" + "tags": { + "key": "value" } - } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Succeeded", "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -53,59 +54,56 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Disabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "Unsecure", - "roleAssignmentMode": "AbacRepositoryPermissions" + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", - "tags": { - "key": "value" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, "properties": { - "loginServer": "myRegistry.azurecr-test.io", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "provisioningState": "Updating", "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "quarantinePolicy": { - "status": "disabled" + "exportPolicy": { + "status": "enabled" }, - "trustPolicy": { - "type": "Notary", + "quarantinePolicy": { "status": "disabled" }, "retentionPolicy": { @@ -113,27 +111,31 @@ "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "exportPolicy": { - "status": "enabled" + "trustPolicy": { + "type": "Notary", + "status": "disabled" } }, - "encryption": { - "status": "disabled" - }, - "status": null, - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], "privateEndpointConnections": [], + "provisioningState": "Updating", "publicNetworkAccess": "Enabled", - "networkRuleBypassOptions": "AzureServices", - "networkRuleBypassAllowedForTasks": false, - "zoneRedundancy": "Disabled", - "anonymousPullEnabled": false, - "metadataSearch": "Disabled", - "autoGeneratedDomainNameLabelScope": "Unsecure", - "roleAssignmentMode": "AbacRepositoryPermissions" + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Registries_Update", + "title": "RegistryUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json index 6b2138ab76b6..796288cf90fe 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json @@ -1,62 +1,64 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", - "replicationName": "myReplication", "replication": { "location": "eastus", "tags": { "key": "value" } - } + }, + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", - "tags": { - "key": "value" - }, "properties": { "provisioningState": "Succeeded", + "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, - "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", - "tags": { - "key": "value" - }, "properties": { "provisioningState": "Creating", + "regionEndpointEnabled": true, "status": { "displayStatus": "Provisioning", "message": "The replication is provisioning.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, - "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Replications_Create", + "title": "ReplicationCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json index 6cc50e1dc3dd..c37cf3b8de41 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json @@ -1,66 +1,68 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", - "replicationName": "myReplication", "replication": { "location": "eastus", - "tags": { - "key": "value" - }, "properties": { "regionEndpointEnabled": true, "zoneRedundancy": "Enabled" + }, + "tags": { + "key": "value" } - } + }, + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", - "tags": { - "key": "value" - }, "properties": { "provisioningState": "Succeeded", + "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, - "regionEndpointEnabled": true, "zoneRedundancy": "Enabled" + }, + "tags": { + "key": "value" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", - "tags": { - "key": "value" - }, "properties": { "provisioningState": "Creating", + "regionEndpointEnabled": true, "status": { "displayStatus": "Provisioning", "message": "The replication is provisioning.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, - "regionEndpointEnabled": true, "zoneRedundancy": "Enabled" + }, + "tags": { + "key": "value" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Replications_Create", + "title": "ReplicationCreateZoneRedundant" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json index af826948601e..0b32a1ee4c27 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", - "replicationName": "myReplication" + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -14,5 +14,7 @@ } }, "204": {} - } -} + }, + "operationId": "Replications_Delete", + "title": "ReplicationDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json index 453c2c1aba2d..4d5c6423f04c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json @@ -1,32 +1,34 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", - "replicationName": "myReplication" + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", - "tags": { - "key": "value" - }, "properties": { "provisioningState": "Succeeded", + "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, - "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" } } } - } -} + }, + "operationId": "Replications_Get", + "title": "ReplicationGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json index 445a91470610..9c852ae198ae 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json @@ -1,35 +1,37 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", - "tags": { - "key": "value" - }, "properties": { "provisioningState": "Succeeded", + "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, - "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" } } ] } } - } -} + }, + "operationId": "Replications_List", + "title": "ReplicationList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json index 4a00d02a7699..3b9d0f9aa469 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json @@ -1,61 +1,63 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", "replicationName": "myReplication", "replicationUpdateParameters": { "tags": { "key": "value" } - } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", - "tags": { - "key": "value" - }, "properties": { "provisioningState": "Succeeded", + "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, - "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", - "tags": { - "key": "value" - }, "properties": { "provisioningState": "Updating", + "regionEndpointEnabled": true, "status": { "displayStatus": "Provisioning", "message": "The replication is provisioning.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, - "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Replications_Update", + "title": "ReplicationUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json index 9c3ebb6cb8bb..0f43bbc379b5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json @@ -1,10 +1,8 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", - "scopeMapName": "myScopeMap", + "resourceGroupName": "myResourceGroup", "scopeMapCreateParameters": { "properties": { "description": "Developer Scopes", @@ -13,43 +11,47 @@ "repositories/myrepository/delete" ] } - } + }, + "scopeMapName": "myScopeMap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], + "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], + "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "ScopeMaps_Create", + "title": "ScopeMapCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json index 518b23f780e5..e2dbbccfd963 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", - "scopeMapName": "myScopeMap" + "resourceGroupName": "myResourceGroup", + "scopeMapName": "myScopeMap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -14,5 +14,7 @@ } }, "204": {} - } -} + }, + "operationId": "ScopeMaps_Delete", + "title": "ScopeMapDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json index f4fb930db211..4df130731d3f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json @@ -1,27 +1,29 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", - "scopeMapName": "myScopeMap" + "resourceGroupName": "myResourceGroup", + "scopeMapName": "myScopeMap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], + "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } } - } -} + }, + "operationId": "ScopeMaps_Get", + "title": "ScopeMapGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json index c966c1556d47..45fe4ea3835a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json @@ -1,30 +1,32 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], + "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } ] } } - } -} + }, + "operationId": "ScopeMaps_List", + "title": "ScopeMapList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json index 17d4d48ddef2..c9c1a5468cc7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json @@ -1,9 +1,8 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", "scopeMapName": "myScopeMap", "scopeMapUpdateParameters": { "properties": { @@ -13,43 +12,46 @@ "repositories/myrepository/contentRead" ] } - } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/contentRead" ], + "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/contentRead" ], + "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "ScopeMaps_Update", + "title": "ScopeMapUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json index 52eab850634e..73d5f6060763 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json @@ -1,14 +1,11 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", - "tokenName": "myToken", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "tokenCreateParameters": { "properties": { - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "disabled", "credentials": { "certificates": [ { @@ -16,57 +13,62 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - } + }, + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled" } - } + }, + "tokenName": "myToken" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "provisioningState": "Succeeded", - "status": "disabled", "credentials": { "certificates": [ { "name": "certificate1", - "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", - "expiry": "2020-12-04T15:32:48.0707808Z" + "expiry": "2020-12-04T15:32:48.0707808Z", + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" } ] - } + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "provisioningState": "Succeeded", - "status": "disabled", "credentials": { "certificates": [ { "name": "certificate1", - "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", - "expiry": "2020-12-04T15:32:48.0707808Z" + "expiry": "2020-12-04T15:32:48.0707808Z", + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" } ] - } + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Tokens_Create", + "title": "TokenCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json index 38cb6fdceeb1..e9621195b024 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "tokenName": "myToken" }, "responses": { @@ -14,5 +14,7 @@ } }, "204": {} - } -} + }, + "operationId": "Tokens_Delete", + "title": "TokenDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json index a6297896d1f5..354b772d26c1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json @@ -1,24 +1,26 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "tokenName": "myToken" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "status": "enabled" } } } - } -} + }, + "operationId": "Tokens_Get", + "title": "TokenGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json index c6ea3ac5c7c6..541987d9de15 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json @@ -1,27 +1,29 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "status": "enabled" } } ] } } - } -} + }, + "operationId": "Tokens_List", + "title": "TokenList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json index ffe40c97359a..ec52fff2fff2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json @@ -1,13 +1,12 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "tokenName": "myToken", "tokenUpdateParameters": { "properties": { - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", "credentials": { "certificates": [ { @@ -15,21 +14,19 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - } + }, + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", - "provisioningState": "Succeeded", - "status": "enabled", "credentials": { "certificates": [ { @@ -37,23 +34,20 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - } + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "status": "enabled" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", - "provisioningState": "Succeeded", - "status": "enabled", "credentials": { "certificates": [ { @@ -61,9 +55,17 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - } + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "status": "enabled" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Tokens_Update", + "title": "TokenUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json index a1f54f8ccc8c..4613db166023 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json @@ -1,69 +1,71 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", - "webhookName": "myWebhook", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "webhookCreateParameters": { "location": "westus", - "tags": { - "key": "value" - }, "properties": { - "serviceUri": "http://myservice.com", + "actions": [ + "push" + ], "customHeaders": { "Authorization": "******" }, - "status": "enabled", "scope": "myRepository", - "actions": [ - "push" - ] + "serviceUri": "http://myservice.com", + "status": "enabled" + }, + "tags": { + "key": "value" } - } + }, + "webhookName": "myWebhook" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", - "tags": { - "key": "value" - }, "properties": { - "status": "enabled", - "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", - "tags": { - "key": "value" - }, "properties": { - "status": "enabled", - "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Creating" + "provisioningState": "Creating", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Webhooks_Create", + "title": "WebhookCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json index 7f1d4c9594b8..1a576bf58359 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "webhookName": "myWebhook" }, "responses": { @@ -14,5 +14,7 @@ } }, "204": {} - } -} + }, + "operationId": "Webhooks_Delete", + "title": "WebhookDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json index 676b60fe5db3..1468d1602ec9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json @@ -1,30 +1,32 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "webhookName": "myWebhook" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", - "tags": { - "key": "value" - }, "properties": { - "status": "enabled", - "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" } } } - } -} + }, + "operationId": "Webhooks_Get", + "title": "WebhookGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json index 9113727cce1f..06cac76bec5c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json @@ -1,19 +1,21 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "webhookName": "myWebhook" }, "responses": { "200": { "body": { - "serviceUri": "http://myservice.com", "customHeaders": { "Authorization": "******" - } + }, + "serviceUri": "http://myservice.com" } } - } -} + }, + "operationId": "Webhooks_GetCallbackConfig", + "title": "WebhookGetCallbackConfig" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json index 39379704f815..15e6239a49a9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json @@ -1,33 +1,35 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryName": "myRegistry", "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", - "tags": { - "key": "value" - }, "properties": { - "status": "enabled", - "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" } } ] } } - } -} + }, + "operationId": "Webhooks_List", + "title": "WebhookList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json index 3169cc37ed95..f4e39977c108 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "webhookName": "myWebhook" }, "responses": { @@ -11,40 +11,39 @@ "body": { "value": [ { - "id": "00000000-0000-0000-0000-000000000000", "eventRequestMessage": { + "method": "POST", "content": { - "id": "00000000-0000-0000-0000-000000000000", - "timestamp": "2017-03-01T23:14:37.0707808Z", "action": "push", + "actor": {}, + "id": "00000000-0000-0000-0000-000000000000", + "source": { + "addr": "xtal.local:5000", + "instanceID": "00000000-0000-0000-0000-000000000000" + }, "target": { - "mediaType": "application/vnd.docker.distribution.manifest.v2+json", - "size": 708, "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", "length": 708, + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "repository": "hello-world", - "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", - "tag": "latest" + "size": 708, + "tag": "latest", + "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf" }, + "timestamp": "2017-03-01T23:14:37.0707808Z", "request": { - "id": "00000000-0000-0000-0000-000000000000", + "method": "GET", "addr": "192.168.64.11:42961", "host": "192.168.100.227:5000", - "method": "GET", + "id": "00000000-0000-0000-0000-000000000000", "useragent": "curl/7.38.0" - }, - "actor": {}, - "source": { - "addr": "xtal.local:5000", - "instanceID": "00000000-0000-0000-0000-000000000000" } }, "headers": { - "Content-Type": "application/json", + "Authorization": "******", "Content-Length": "719", - "Authorization": "******" + "Content-Type": "application/json" }, - "method": "POST", "requestUri": "http://myservice.com", "version": "1.1" }, @@ -54,10 +53,13 @@ }, "statusCode": "200", "version": "1.1" - } + }, + "id": "00000000-0000-0000-0000-000000000000" } ] } } - } -} + }, + "operationId": "Webhooks_ListEvents", + "title": "WebhookListEvents" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json index 07dfe63d2cee..7aee705896dd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "webhookName": "myWebhook" }, "responses": { @@ -12,5 +12,7 @@ "id": "00000000-0000-0000-0000-000000000000" } } - } -} + }, + "operationId": "Webhooks_Ping", + "title": "WebhookPing" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json index f61f876b8703..e10e232907fa 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json @@ -1,68 +1,70 @@ { "parameters": { "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "webhookName": "myWebhook", "webhookUpdateParameters": { - "tags": { - "key": "value" - }, "properties": { - "serviceUri": "http://myservice.com", + "actions": [ + "push" + ], "customHeaders": { "Authorization": "******" }, - "status": "enabled", "scope": "myRepository", - "actions": [ - "push" - ] + "serviceUri": "http://myservice.com", + "status": "enabled" + }, + "tags": { + "key": "value" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", - "tags": { - "key": "value" - }, "properties": { - "status": "enabled", - "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", - "tags": { - "key": "value" - }, "properties": { - "status": "enabled", - "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Updating" + "provisioningState": "Updating", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - } -} + }, + "operationId": "Webhooks_Update", + "title": "WebhookUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/readme.typescript.md b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/readme.typescript.md deleted file mode 100644 index 892de536d210..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/readme.typescript.md +++ /dev/null @@ -1,20 +0,0 @@ -## TypeScript - -These settings apply only when `--typescript` is specified on the command line. -Please also specify `--typescript-sdks-folder=`. - -### Rename OS -```yaml -modelerfour: - naming: - override: - OS: $DO_NOT_NORMALIZE$OS -``` - -``` yaml $(typescript) -typescript: - azure-arm: true - package-name: "@azure/arm-containerregistry" - output-folder: "$(typescript-sdks-folder)/sdk/containerregistry/arm-containerregistry" - generate-metadata: true -``` diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml new file mode 100644 index 000000000000..45d23c0c46f3 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml @@ -0,0 +1,54 @@ +parameters: + "service-dir": + default: "sdk/containerregistry" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}" + azure-resource-provider-folder: "resource-manager" + output-file: "{version-status}/{version}/containerregistry.json" + examples-dir: "{project-root}/examples" + arm-resource-flattening: true + arm-types-dir: "{project-root}/../../../../common-types/resource-management" + emit-lro-options: "all" + "@azure-tools/typespec-csharp": + flavor: azure + package-dir: "Azure.ResourceManager.ContainerRegistry" + clear-output-folder: true + model-namespace: true + namespace: "{package-dir}" + "@azure-tools/typespec-python": + service-dir: "sdk/containerregistry" + package-dir: "azure-mgmt-containerregistry" + namespace: "azure.mgmt.containerregistry" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + service-dir: "sdk/containerregistry" + package-dir: "azure-resourcemanager-containerregistry" + namespace: "com.azure.resourcemanager.containerregistry" + service-name: "ContainerRegistry" + flavor: azure + use-object-for-unknown: true + "@azure-tools/typespec-ts": + package-dir: "arm-containerregistry" + flavor: azure + experimental-extensible-enums: true + package-details: + name: "@azure/arm-containerregistry" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/containerregistry" + package-dir: "armcontainerregistries" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + fix-const-stuttering: true + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp new file mode 100644 index 000000000000..300bbdefcef1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp @@ -0,0 +1,80 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * The agentpool that has the ARM resource and properties. + * The agentpool will have all information to create an agent pool. + */ +model AgentPool is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = AgentPool, + KeyName = "agentPoolName", + SegmentName = "agentPools", + NamePattern = "^[a-zA-Z0-9-]*$" + >; +} + +@armResourceOperations +interface AgentPools { + /** + * Gets the detailed information for a given agent pool. + */ + get is ArmResourceRead; + + /** + * Creates an agent pool for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates an agent pool with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + AgentPool, + PatchModel = AgentPoolUpdateParameters, + Response = ArmResponse | ArmResourceCreatedResponse, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * Deletes a specified agent pool resource. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all the agent pools for a specified container registry. + */ + list is ArmResourceListByParent; + + /** + * Gets the count of queued runs for a given agent pool. + */ + @action("listQueueStatus") + getQueueStatus is ArmResourceActionSync< + AgentPool, + void, + ArmResponse + >; +} + +@@maxLength(AgentPool.name, 20); +@@minLength(AgentPool.name, 3); +@@doc(AgentPool.name, "The name of the agent pool."); +@@doc(AgentPool.properties, "The properties associated with the agent pool"); +@@doc(AgentPools.create::parameters.resource, + "The parameters of an agent pool that needs to scheduled." +); +@@doc(AgentPools.update::parameters.properties, + "The parameters for updating an agent pool." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Run.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Run.tsp new file mode 100644 index 000000000000..c032ab89aed5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Run.tsp @@ -0,0 +1,76 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * Run resource properties + */ +model Run is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Run, + KeyName = "runId", + SegmentName = "runs", + NamePattern = "" + >; +} + +@armResourceOperations +interface Runs { + /** + * Gets the detailed information for a given run. + */ + get is ArmResourceRead; + + /** + * Patch the run properties. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync; + + /** + * Gets all the runs for a registry. + */ + list is ArmResourceListByParent< + Run, + Parameters = { + /** + * The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed. + */ + @query("$filter") + $filter?: string; + + /** + * $top is supported for get list of runs, which limits the maximum number of runs to return. + */ + @query("$top") + $top?: int32; + } + >; + + /** + * Gets a link to download the run logs. + */ + @action("listLogSasUrl") + getLogSasUrl is ArmResourceActionSync< + Run, + void, + ArmResponse + >; + + /** + * Cancel an existing run. + */ + cancel is ArmResourceActionSync; +} + +@@doc(Run.name, "The run ID."); +@@doc(Run.properties, "The properties of a run."); +@@doc(Runs.update::parameters.properties, "The run update properties."); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp new file mode 100644 index 000000000000..88e99c19d670 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp @@ -0,0 +1,74 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * The task that has the ARM resource and task properties. + * The task will have all information to schedule a run against it. + */ +model Task is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Task, + KeyName = "taskName", + SegmentName = "tasks", + NamePattern = "^[a-zA-Z0-9-_]*$" + >; + + /** + * Identity for the resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + identity?: IdentityProperties; +} + +@armResourceOperations +interface Tasks { + /** + * Get the properties of a specified task. + */ + get is ArmResourceRead; + + /** + * Creates a task for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceSync; + + /** + * Updates a task with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync; + + /** + * Deletes a specified task. + */ + delete is ArmResourceDeleteSync; + + /** + * Lists all the tasks for a specified container registry. + */ + list is ArmResourceListByParent; + + /** + * Returns a task with extended information that includes all secrets. + */ + @action("listDetails") + getDetails is ArmResourceActionSync>; +} + +@@maxLength(Task.name, 50); +@@minLength(Task.name, 5); +@@doc(Task.name, "The name of the container registry task."); +@@doc(Task.properties, "The properties of a task."); +@@doc(Tasks.create::parameters.resource, "The parameters for creating a task."); +@@doc(Tasks.update::parameters.properties, + "The parameters for updating a task." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp new file mode 100644 index 000000000000..19fddb084cd6 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp @@ -0,0 +1,90 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; +/** + * The task run that has the ARM resource and properties. + * The task run will have the information of request and result of a run. + */ +model TaskRun is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = TaskRun, + KeyName = "taskRunName", + SegmentName = "taskRuns", + NamePattern = "^[a-zA-Z0-9-]*$" + >; + + /** + * Identity for the resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + identity?: IdentityProperties; + + /** + * The location of the resource + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + location?: string; +} + +@armResourceOperations +interface TaskRuns { + /** + * Gets the detailed information for a given task run. + */ + get is ArmResourceRead; + + /** + * Creates a task run for a container registry with the specified parameters. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates a task run with the specified parameters. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + TaskRun, + PatchModel = TaskRunUpdateParameters, + Response = ArmResponse | ArmResourceCreatedResponse, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * Deletes a specified task run resource. + */ + delete is ArmResourceDeleteSync; + + /** + * Lists all the task runs for a specified container registry. + */ + list is ArmResourceListByParent; + + /** + * Gets the detailed information for a given task run that includes all secrets. + */ + @action("listDetails") + getDetails is ArmResourceActionSync>; +} + +@@maxLength(TaskRun.name, 50); +@@minLength(TaskRun.name, 5); +@@doc(TaskRun.name, "The name of the task run."); +@@doc(TaskRun.properties, + "The properties associated with the task run, i.e., request and result of the run" +); +@@doc(TaskRuns.create::parameters.resource, + "The parameters of a run that needs to scheduled." +); +@@doc(TaskRuns.update::parameters.properties, + "The parameters for updating a task run." +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp new file mode 100644 index 000000000000..b395890f0cdd --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp @@ -0,0 +1,37 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.ContainerRegistry; + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(AgentPoolUpdateParameters.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(TaskRunUpdateParameters.properties); + +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(TaskUpdateParameters.properties); + +@@clientName(AgentPools.create::parameters.resource, "agentPool"); +@@clientName(AgentPools.update::parameters.properties, "updateParameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(AgentPool.properties); + +@@clientName(Runs.update::parameters.properties, "runUpdateParameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(Run.properties); + +@@clientName(TaskRuns.create::parameters.resource, "taskRun"); +@@clientName(TaskRuns.update::parameters.properties, "updateParameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(TaskRun.properties); + +@@clientName(Tasks.create::parameters.resource, "taskCreateParameters"); +@@clientName(Tasks.update::parameters.properties, "taskUpdateParameters"); +#suppress "deprecated" "@flattenProperty decorator is not recommended to use." +@@flattenProperty(Task.properties); + +@@clientLocation(RegistriesOperationGroup.scheduleRun, "Registries"); +@@clientLocation(RegistriesOperationGroup.getBuildSourceUploadUrl, + "Registries" +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsCreate.json new file mode 100644 index 000000000000..9b990a0ff01c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsCreate.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "agentPool": { + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "tier": "S1" + }, + "tags": { + "key": "value" + } + }, + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + }, + "201": { + "body": { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + } + }, + "operationId": "AgentPools_Create", + "title": "AgentPools_Create" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsDelete.json new file mode 100644 index 000000000000..ce63d22205da --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/agentPoolsOperationResults/00000000-0000-0000-0000-000000000000/status?api-version=2025-03-01-preview" + } + }, + "204": {} + }, + "operationId": "AgentPools_Delete", + "title": "AgentPools_Delete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGet.json new file mode 100644 index 000000000000..2954ee2c1b41 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + } + }, + "operationId": "AgentPools_Get", + "title": "AgentPools_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGetQueueStatus.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGetQueueStatus.json new file mode 100644 index 000000000000..8c8780758bce --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGetQueueStatus.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "count": 10 + } + } + }, + "operationId": "AgentPools_GetQueueStatus", + "title": "AgentPools_GetQueueStatus" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsList.json new file mode 100644 index 000000000000..5a7188b5835b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsList.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + ] + } + } + }, + "operationId": "AgentPools_List", + "title": "AgentPools_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsUpdate.json new file mode 100644 index 000000000000..e6d8cd533cc5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsUpdate.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "updateParameters": { + "properties": { + "count": 1 + } + } + }, + "responses": { + "200": { + "body": { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + }, + "201": { + "body": { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + } + }, + "operationId": "AgentPools_Update", + "title": "AgentPools_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithLoginIdentity.json new file mode 100644 index 000000000000..754f29e35b23 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithLoginIdentity.json @@ -0,0 +1,250 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "mytTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithLoginIdentity" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json new file mode 100644 index 000000000000..7aebdbfa2a61 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json @@ -0,0 +1,256 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "mytTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned, UserAssigned", + "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned, UserAssigned", + "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithSystemAndUserIdentities" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemIdentity.json new file mode 100644 index 000000000000..234524ee8e79 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemIdentity.json @@ -0,0 +1,235 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "mytTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithUserIdentities_WithSystemIdentity" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithUserIdentities.json new file mode 100644 index 000000000000..3fb5af85dc17 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithUserIdentities.json @@ -0,0 +1,261 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "mytTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + }, + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + }, + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithUserIdentities" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json new file mode 100644 index 000000000000..14aa7d77780c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "identity": "[system]", + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/password" + }, + "userName": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/username" + } + } + } + }, + "logTemplate": null, + "status": "Enabled", + "step": { + "type": "Docker", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ] + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": null + }, + "sourceRegistry": null + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithKeyVaultCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithLoginIdentity.json new file mode 100644 index 000000000000..27709a3df937 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithLoginIdentity.json @@ -0,0 +1,132 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "logTemplate": null, + "status": "Enabled", + "step": { + "type": "Docker", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ] + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithLoginIdentity" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json new file mode 100644 index 000000000000..f4814334f82e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "identity": "[system]" + } + } + }, + "logTemplate": null, + "status": "Enabled", + "step": { + "type": "Docker", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ] + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithMSICustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesGetBuildSourceUploadUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesGetBuildSourceUploadUrl.json new file mode 100644 index 000000000000..a1cb2e510e55 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesGetBuildSourceUploadUrl.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "relativePath": "source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz", + "uploadUrl": "https://registrystorageaccount.blob.core.windows.net/registrycontainer/source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + } + } + }, + "operationId": "Registries_GetBuildSourceUploadUrl", + "title": "Registries_GetBuildSourceUploadUrl" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun.json new file mode 100644 index 000000000000..5d33cde26aa0 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "DockerBuildRequest", + "agentConfiguration": { + "cpu": 2 + }, + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "dockerFilePath": "DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isArchiveEnabled": true, + "isPushEnabled": true, + "noCache": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_EncodedTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_EncodedTaskRun.json new file mode 100644 index 000000000000..c1429e996f08 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_EncodedTaskRun.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "EncodedTaskRunRequest", + "agentConfiguration": { + "cpu": 2 + }, + "encodedTaskContent": "c3RlcHM6Cnt7IGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAncHJvZCcgfX0KICAtIHJ1bjogcHJvZCBzZXR1cAp7eyBlbHNlIGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAnc3RhZ2luZycgfX0KICAtIHJ1bjogc3RhZ2luZyBzZXR1cAp7eyBlbHNlIH19CiAgLSBydW46IGRlZmF1bHQgc2V0dXAKe3sgZW5kIH19CgogIC0gcnVuOiBidWlsZCAtdCBGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0gLgoKcHVzaDogWydGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0nXQ==", + "encodedValuesContent": "ZW52aXJvbm1lbnQ6IHByb2QKdmVyc2lvbjogMQ==", + "platform": { + "os": "Linux" + }, + "values": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ] + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_EncodedTaskRun" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTaskRun.json new file mode 100644 index 000000000000..b6163d6ff7df --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTaskRun.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "FileTaskRunRequest", + "agentConfiguration": { + "cpu": 2 + }, + "platform": { + "os": "Linux" + }, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "taskFilePath": "acb.yaml", + "values": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "valuesFilePath": "prod-values.yaml" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_FileTaskRun" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTask_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTask_WithCustomCredentials.json new file mode 100644 index 000000000000..86c52b4164f0 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTask_WithCustomCredentials.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "FileTaskRunRequest", + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "password": { + "type": "Opaque", + "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "reg1" + } + } + }, + "sourceRegistry": { + "loginMode": "Default" + } + }, + "platform": { + "os": "Linux" + }, + "taskFilePath": "acb.yaml", + "values": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ] + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_Task_WithCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_Task.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_Task.json new file mode 100644 index 000000000000..b275627c16eb --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_Task.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "TaskRunRequest", + "overrideTaskStepProperties": { + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "file": "overriddenDockerfile", + "target": "build", + "updateTriggerToken": "aGVsbG8gd29ybGQ=", + "values": [ + { + "name": "mytestname", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestname", + "isSecret": true, + "value": "mysecrettestvalue" + } + ] + }, + "taskId": "myTask" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_Task" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithCustomCredentials.json new file mode 100644 index 000000000000..2f1ad86b1c74 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithCustomCredentials.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "DockerBuildRequest", + "agentConfiguration": { + "cpu": 2 + }, + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "password": { + "type": "Opaque", + "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "reg1" + } + }, + "myregistry2.azurecr.io": { + "password": { + "type": "Opaque", + "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "reg2" + } + } + }, + "sourceRegistry": { + "loginMode": "Default" + } + }, + "dockerFilePath": "DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isArchiveEnabled": true, + "isPushEnabled": true, + "noCache": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "target": "stage1" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_WithCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithLogTemplate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithLogTemplate.json new file mode 100644 index 000000000000..b11d3b616edd --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithLogTemplate.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "DockerBuildRequest", + "agentConfiguration": { + "cpu": 2 + }, + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "dockerFilePath": "DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isArchiveEnabled": true, + "isPushEnabled": true, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "noCache": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_WithLogTemplate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsCancel.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsCancel.json new file mode 100644 index 000000000000..7ab56cf944e5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsCancel.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": {} + }, + "operationId": "Runs_Cancel", + "title": "Runs_Cancel" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGet.json new file mode 100644 index 000000000000..93a34e25552a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGet.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2018-01-25T05:13:51.618Z", + "finishTime": "2018-01-25T06:13:51.618Z", + "imageUpdateTrigger": { + "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", + "images": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "registry.hub.docker.com", + "repository": "mybaseimage", + "tag": "latest" + } + ], + "timestamp": "2018-01-25T05:13:51.618Z" + }, + "isArchiveEnabled": true, + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "logArtifact": { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry", + "repository": "acr/tasks", + "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" + }, + "outputImages": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest" + } + ], + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runType": "AutoBuild", + "startTime": "2018-01-25T05:50:51.618Z", + "status": "Succeeded", + "task": "myTask" + } + } + } + }, + "operationId": "Runs_Get", + "title": "Runs_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGetLogSasUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGetLogSasUrl.json new file mode 100644 index 000000000000..ab2b06b6b505 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGetLogSasUrl.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "logLink": "https://registrystorageaccount.blob.core.windows.net/sascontainer/logs/0accec26-d6de-4757-8e74-d080f38eaaab/rawtext.log?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + } + } + }, + "operationId": "Runs_GetLogSasUrl", + "title": "Runs_GetLogSasUrl" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsList.json new file mode 100644 index 000000000000..cd0a4996c0ab --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsList.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "$filter": "", + "$top": 10, + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2018-01-25T05:13:51.618Z", + "finishTime": "2018-01-25T06:13:51.618Z", + "imageUpdateTrigger": { + "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", + "images": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "registry.hub.docker.com", + "repository": "mybaseimage", + "tag": "latest" + } + ], + "timestamp": "2018-01-25T05:13:51.618Z" + }, + "isArchiveEnabled": true, + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "logArtifact": { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry", + "repository": "acr/tasks", + "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" + }, + "outputImages": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest" + } + ], + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runType": "AutoBuild", + "startTime": "2018-01-25T05:50:51.618Z", + "status": "Succeeded", + "task": "myTask" + } + } + ] + } + } + }, + "operationId": "Runs_List", + "title": "Runs_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsUpdate.json new file mode 100644 index 000000000000..c55d23360923 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsUpdate.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runUpdateParameters": { + "isArchiveEnabled": true + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2018-01-25T05:13:51.618Z", + "finishTime": "2018-01-25T06:13:51.618Z", + "imageUpdateTrigger": { + "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", + "images": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "registry.hub.docker.com", + "repository": "mybaseimage", + "tag": "latest" + } + ], + "timestamp": "2018-01-25T05:13:51.618Z" + }, + "isArchiveEnabled": true, + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "logArtifact": { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry", + "repository": "acr/tasks", + "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" + }, + "outputImages": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest" + } + ], + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runType": "AutoBuild", + "startTime": "2018-01-25T05:50:51.618Z", + "status": "Succeeded", + "task": "myTask" + } + } + } + }, + "operationId": "Runs_Update", + "title": "Runs_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsCreate.json new file mode 100644 index 000000000000..95cc6de96a06 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsCreate.json @@ -0,0 +1,115 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskRun": { + "properties": { + "forceUpdateTag": "test", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + } + } + }, + "taskRunName": "myRun" + }, + "responses": { + "200": { + "body": { + "name": "myrun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Creating", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd5", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:23:21.9261521+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:21+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd5", + "runType": "QuickRun", + "status": "Queued" + } + } + } + } + }, + "201": { + "body": { + "name": "myrun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Creating", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd5", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:23:21.9261521+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:21+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd5", + "runType": "QuickRun", + "status": "Queued" + } + } + } + } + } + }, + "operationId": "TaskRuns_Create", + "title": "TaskRuns_Create" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsDelete.json new file mode 100644 index 000000000000..9a7cfe9667e0 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskRunName": "myRun" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "TaskRuns_Delete", + "title": "TaskRuns_Delete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGet.json new file mode 100644 index 000000000000..ccee28c4ae37 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskRunName": "myRun" + }, + "responses": { + "200": { + "body": { + "name": "myRun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Succeeded", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd5", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:23:21.9261521+00:00", + "finishTime": "2019-09-06T17:23:29.8792157+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:29+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd5", + "runType": "QuickRun", + "startTime": "2019-09-06T17:23:22.1348714+00:00", + "status": "Succeeded" + } + } + } + } + } + }, + "operationId": "TaskRuns_Get", + "title": "TaskRuns_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGetDetails.json new file mode 100644 index 000000000000..c15489473dad --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGetDetails.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskRunName": "myRun" + }, + "responses": { + "200": { + "body": { + "name": "myRun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Succeeded", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd5", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:23:21.9261521+00:00", + "finishTime": "2019-09-06T17:23:29.8792157+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:29+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd5", + "runType": "QuickRun", + "startTime": "2019-09-06T17:23:22.1348714+00:00", + "status": "Succeeded" + } + } + } + } + } + }, + "operationId": "TaskRuns_GetDetails", + "title": "TaskRuns_GetDetails" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsList.json new file mode 100644 index 000000000000..bc9e915d36ab --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsList.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "mytestrun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Succeeded", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd4", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd4", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-04T17:15:29.2278794+00:00", + "finishTime": "2019-09-04T17:15:37.0349516+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-04T17:15:37+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd4", + "runType": "QuickRun", + "startTime": "2019-09-04T17:15:29.4589616+00:00", + "status": "Succeeded" + } + } + } + } + ] + } + } + }, + "operationId": "TaskRuns_List", + "title": "TaskRuns_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsUpdate.json new file mode 100644 index 000000000000..1639e953bc7c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsUpdate.json @@ -0,0 +1,116 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskRunName": "myRun", + "updateParameters": { + "properties": { + "forceUpdateTag": "test", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "mytestrun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Creating", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd6", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd6", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:31:34.1184031+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:31:34+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd6", + "runType": "QuickRun", + "status": "Queued" + } + } + } + } + }, + "201": { + "body": { + "name": "mytestrun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Creating", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd6", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd6", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:31:34.1184031+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:31:34+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd6", + "runType": "QuickRun", + "status": "Queued" + } + } + } + } + } + }, + "operationId": "TaskRuns_Update", + "title": "TaskRuns_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate.json new file mode 100644 index 000000000000..72a2de71e7d2 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate.json @@ -0,0 +1,241 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "isSystemTask": false, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "mytTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate_QuickTask.json new file mode 100644 index 000000000000..330570226afd --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate_QuickTask.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": null, + "location": "eastus", + "properties": { + "isSystemTask": true, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "status": "Enabled" + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "quicktask" + }, + "responses": { + "200": { + "body": { + "name": "quicktask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": null, + "location": "eastus", + "properties": { + "agentConfiguration": null, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": true, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": null, + "provisioningState": "Succeeded", + "status": "Enabled", + "trigger": null + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "quicktask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": null, + "location": "eastus", + "properties": { + "agentConfiguration": null, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": true, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": null, + "provisioningState": "Creating", + "status": "Enabled", + "trigger": null + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_QuickTask" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksDelete.json new file mode 100644 index 000000000000..c95ab4d440b1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "Tasks_Delete", + "title": "Tasks_Delete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGet.json new file mode 100644 index 000000000000..fb911defd10b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGet.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Get", + "title": "Tasks_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGetDetails.json new file mode 100644 index 000000000000..865475732a7f --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGetDetails.json @@ -0,0 +1,110 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "credentials": { + "customRegistries": { + "myregistry.azure-test.io": { + "identity": "[system]", + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/username" + }, + "userName": { + "type": "Opaque", + "value": "username" + } + } + }, + "sourceRegistry": null + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_GetDetails", + "title": "Tasks_GetDetails" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksList.json new file mode 100644 index 000000000000..9742a895334c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksList.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myRegistry.azure.io": null + }, + "sourceRegistry": null + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + ] + } + } + }, + "operationId": "Tasks_List", + "title": "Tasks_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate.json new file mode 100644 index 000000000000..5d690c516306 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "identity": "[system]", + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/password" + }, + "userName": { + "type": "Opaque", + "value": "username" + } + } + } + }, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "status": "Enabled", + "step": { + "type": "Docker", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ] + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": null + }, + "sourceRegistry": null + }, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_QuickTask.json new file mode 100644 index 000000000000..4f1768a47bee --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_QuickTask.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "quicktask", + "taskUpdateParameters": { + "properties": { + "logTemplate": "acr/tasks:{{.Run.OS}}", + "status": "Enabled" + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": null, + "location": "eastus", + "properties": { + "agentConfiguration": null, + "creationDate": "2018-01-25T06:54:23.536Z", + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": null, + "provisioningState": "Succeeded", + "status": "Enabled", + "trigger": null + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_QuickTask" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_WithOpaqueCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_WithOpaqueCustomCredentials.json new file mode 100644 index 000000000000..0b7dcf4d73f8 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_WithOpaqueCustomCredentials.json @@ -0,0 +1,142 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "password": { + "type": "Opaque", + "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "username" + } + } + } + }, + "logTemplate": null, + "status": "Enabled", + "step": { + "type": "Docker", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ] + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithOpaqueCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp new file mode 100644 index 000000000000..9e233dbe1e76 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp @@ -0,0 +1,45 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.9 + * Date: 2025-09-05T03:34:41.761Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./AgentPool.tsp"; +import "./Run.tsp"; +import "./TaskRun.tsp"; +import "./Task.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** + * // (missing-service-description) Add service description + */ +@armProviderNamespace +@service(#{ title: "ContainerRegistryManagementClient" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v6) +namespace Microsoft.ContainerRegistry; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2025-03-01-preview API version. + */ + v2025_03_01_preview: "2025-03-01-preview", +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp new file mode 100644 index 000000000000..d2ab97c39220 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp @@ -0,0 +1,2024 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; + +namespace Microsoft.ContainerRegistry; + +/** + * The OS of agent machine + */ +union OS { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Windows: "Windows", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Linux: "Linux", +} + +/** + * The provisioning state of this agent pool + */ +union ProvisioningState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Canceled: "Canceled", +} + +/** + * The type of identity that created the resource. + */ +union CreatedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Key: "Key", +} + +/** + * The type of identity that last modified the resource. + */ +union LastModifiedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Key: "Key", +} + +/** + * The current status of the run. + */ +union RunStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Queued: "Queued", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Started: "Started", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Running: "Running", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Canceled: "Canceled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Error: "Error", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Timeout: "Timeout", +} + +/** + * The type of run. + */ +union RunType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + QuickBuild: "QuickBuild", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + QuickRun: "QuickRun", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + AutoBuild: "AutoBuild", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + AutoRun: "AutoRun", +} + +/** + * The OS architecture. + */ +union Architecture { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + amd64: "amd64", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + x86: "x86", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + `386`: "386", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + arm: "arm", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + arm64: "arm64", +} + +/** + * Variant of the CPU. + */ +union Variant { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + v6: "v6", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + v7: "v7", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + v8: "v8", +} + +/** + * The current status of task. + */ +union TaskStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Enabled: "Enabled", +} + +/** + * The type of the step. + */ +union StepType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Docker: "Docker", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + FileTask: "FileTask", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + EncodedTask: "EncodedTask", +} + +/** + * The type of the base image dependency. + */ +union BaseImageDependencyType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + BuildTime: "BuildTime", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + RunTime: "RunTime", +} + +/** + * The current status of trigger. + */ +union TriggerStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Enabled: "Enabled", +} + +/** + * The type of source control service. + */ +union SourceControlType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Github: "Github", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + VisualStudioTeamService: "VisualStudioTeamService", +} + +/** + * The type of Auth token. + */ +union TokenType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + PAT: "PAT", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + OAuth: "OAuth", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +union SourceTriggerEvent { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + commit: "commit", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + pullrequest: "pullrequest", +} + +/** + * The type of the auto trigger for base image dependency updates. + */ +union BaseImageTriggerType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + All: "All", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Runtime: "Runtime", +} + +/** + * Type of Payload body for Base image update triggers. + */ +union UpdateTriggerPayloadType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Default: "Default", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Token: "Token", +} + +/** + * The authentication mode which determines the source registry login scope. The credentials for the source registry + * will be generated using the given scope. These credentials will be used to login to + * the source registry during the run. + */ +union SourceRegistryLoginMode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Default: "Default", +} + +/** + * The type of the secret object which determines how the value of the secret object has to be + * interpreted. + */ +union SecretObjectType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Opaque: "Opaque", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + Vaultsecret: "Vaultsecret", +} + +/** + * The identity type. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "For backward compatibility" +enum ResourceIdentityType { + SystemAssigned, + UserAssigned, + `SystemAssigned, UserAssigned`, + None, +} + +/** + * The properties of agent pool. + */ +model AgentPoolProperties { + /** + * The count of agent machine + */ + count?: int32; + + /** + * The Tier of agent machine + */ + tier?: string; + + /** + * The OS of agent machine + */ + os?: OS; + + /** + * The Virtual Network Subnet Resource Id of the agent machine + */ + virtualNetworkSubnetResourceId?: string; + + /** + * The provisioning state of this agent pool + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * An Azure resource. + */ +model Resource { + /** + * The resource ID. + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * The name of the resource. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The type of the resource. + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * The location of the resource. This cannot be changed after the resource is created. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + location: string; + + /** + * The tags of the resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + tags?: Record; + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + @visibility(Lifecycle.Read) + systemData?: SystemData; +} + +/** + * Metadata pertaining to creation and last modification of the resource. + */ +model SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + + /** + * The type of identity that created the resource. + */ + createdByType?: CreatedByType; + + /** + * The timestamp of resource creation (UTC). + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdAt?: utcDateTime; + + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: LastModifiedByType; + + /** + * The timestamp of resource modification (UTC). + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedAt?: utcDateTime; +} + +/** + * The parameters for updating an agent pool. + */ +model AgentPoolUpdateParameters { + /** + * The properties associated with the agent pool + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: AgentPoolPropertiesUpdateParameters; + + /** + * The ARM resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + tags?: Record; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model AgentPoolPropertiesUpdateParameters { + /** + * The count of agent machine + */ + count?: int32; +} + +/** + * The QueueStatus of Agent Pool + */ +model AgentPoolQueueStatus { + /** + * The number of pending runs in the queue + */ + count?: int32; +} + +/** + * The request parameters for scheduling a run. + */ +@discriminator("type") +model RunRequest { + /** + * The type of the run request. + */ + type: string; + + /** + * The value that indicates whether archiving is enabled for the run or not. + */ + isArchiveEnabled?: boolean; + + /** + * The dedicated agent pool for the run. + */ + agentPoolName?: string; + + /** + * The template that describes the repository and tag information for run log artifact. + */ + logTemplate?: string; +} + +/** + * The properties for a run. + */ +model RunProperties { + /** + * The unique identifier for the run. + */ + runId?: string; + + /** + * The current status of the run. + */ + status?: RunStatus; + + /** + * The last updated time for the run. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastUpdatedTime?: utcDateTime; + + /** + * The type of run. + */ + runType?: RunType; + + /** + * The dedicated agent pool for the run. + */ + agentPoolName?: string; + + /** + * The time the run was scheduled. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createTime?: utcDateTime; + + /** + * The time the run started. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * The time the run finished. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + finishTime?: utcDateTime; + + /** + * The list of all images that were generated from the run. This is applicable if the run generates base image dependencies. + */ + @OpenAPI.extension("x-ms-identifiers", #["registry"]) + outputImages?: ImageDescriptor[]; + + /** + * The task against which run was scheduled. + */ + task?: string; + + /** + * The image update trigger that caused the run. This is applicable if the task has base image trigger configured. + */ + imageUpdateTrigger?: ImageUpdateTrigger; + + /** + * The source trigger that caused the run. + */ + sourceTrigger?: SourceTriggerDescriptor; + + /** + * The timer trigger that caused the run. + */ + timerTrigger?: TimerTriggerDescriptor; + + /** + * The platform properties against which the run will happen. + */ + platform?: PlatformProperties; + + /** + * The machine configuration of the run agent. + */ + agentConfiguration?: AgentProperties; + + /** + * The scope of the credentials that were used to login to the source registry during this run. + */ + sourceRegistryAuth?: string; + + /** + * The list of custom registries that were logged in during this run. + */ + customRegistries?: string[]; + + /** + * The error message received from backend systems after the run is scheduled. + */ + @visibility(Lifecycle.Read) + runErrorMessage?: string; + + /** + * The update trigger token passed for the Run. + */ + updateTriggerToken?: string; + + /** + * The image description for the log artifact. + */ + @visibility(Lifecycle.Read) + logArtifact?: ImageDescriptor; + + /** + * The provisioning state of a run. + */ + provisioningState?: ProvisioningState; + + /** + * The value that indicates whether archiving is enabled or not. + */ + isArchiveEnabled?: boolean; +} + +/** + * Properties for a registry image. + */ +model ImageDescriptor { + /** + * The registry login server. + */ + registry?: string; + + /** + * The repository name. + */ + repository?: string; + + /** + * The tag name. + */ + tag?: string; + + /** + * The sha256-based digest of the image manifest. + */ + digest?: string; +} + +/** + * The image update trigger that caused a build. + */ +model ImageUpdateTrigger { + /** + * The unique ID of the trigger. + */ + id?: string; + + /** + * The timestamp when the image update happened. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timestamp?: utcDateTime; + + /** + * The list of image updates that caused the build. + */ + @OpenAPI.extension("x-ms-identifiers", #["registry"]) + images?: ImageDescriptor[]; +} + +/** + * The source trigger that caused a run. + */ +model SourceTriggerDescriptor { + /** + * The unique ID of the trigger. + */ + id?: string; + + /** + * The event type of the trigger. + */ + eventType?: string; + + /** + * The unique ID that identifies a commit. + */ + commitId?: string; + + /** + * The unique ID that identifies pull request. + */ + pullRequestId?: string; + + /** + * The repository URL. + */ + repositoryUrl?: string; + + /** + * The branch name in the repository. + */ + branchName?: string; + + /** + * The source control provider type. + */ + providerType?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model TimerTriggerDescriptor { + /** + * The timer trigger name that caused the run. + */ + timerTriggerName?: string; + + /** + * The occurrence that triggered the run. + */ + scheduleOccurrence?: string; +} + +/** + * The platform properties against which the run has to happen. + */ +model PlatformProperties { + /** + * The operating system type required for the run. + */ + os: OS; + + /** + * The OS architecture. + */ + architecture?: Architecture; + + /** + * Variant of the CPU. + */ + variant?: Variant; +} + +/** + * The properties that determine the run agent configuration. + */ +model AgentProperties { + /** + * The CPU configuration in terms of number of cores required for the run. + */ + cpu?: int32; +} + +/** + * The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + */ +model ProxyResource { + /** + * The resource ID. + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * The name of the resource. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The type of the resource. + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + @visibility(Lifecycle.Read) + systemData?: SystemData; +} + +/** + * The properties of a response to source upload request. + */ +model SourceUploadDefinition { + /** + * The URL where the client can upload the source. + */ + uploadUrl?: string; + + /** + * The relative path to the source. This is used to submit the subsequent queue build request. + */ + relativePath?: string; +} + +/** + * The set of run properties that can be updated. + */ +model RunUpdateParameters { + /** + * The value that indicates whether archiving is enabled or not. + */ + isArchiveEnabled?: boolean; +} + +/** + * The result of get log link operation. + */ +model RunGetLogResult { + /** + * The link to logs for a run on a azure container registry. + */ + logLink?: string; + + /** + * The link to logs in registry for a run on a azure container registry. + */ + logArtifactLink?: string; +} + +/** + * Managed identity for the resource. + */ +model IdentityProperties { + /** + * The principal ID of resource identity. + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * The tenant ID of resource. + */ + @visibility(Lifecycle.Read) + tenantId?: string; + + /** + * The identity type. + */ + type?: ResourceIdentityType; + + /** + * The list of user identities associated with the resource. The user identity + * dictionary key references will be ARM resource ids in the form: + * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ + * providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + userAssignedIdentities?: Record; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model UserIdentityProperties { + /** + * The principal id of user assigned identity. + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * The client id of user assigned identity. + */ + @visibility(Lifecycle.Read) + clientId?: string; +} + +/** + * The properties of task run. + */ +model TaskRunProperties { + /** + * The provisioning state of this task run + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The request (parameters) for the run + */ + runRequest?: RunRequest; + + /** + * The result of this task run + */ + @visibility(Lifecycle.Read) + runResult?: Run; + + /** + * How the run should be forced to rerun even if the run request configuration has not changed + */ + forceUpdateTag?: string; +} + +/** + * The parameters for updating a task run. + */ +model TaskRunUpdateParameters { + /** + * Identity for the resource. + */ + identity?: IdentityProperties; + + /** + * The properties for updating a task run. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: TaskRunPropertiesUpdateParameters; + + /** + * The location of the resource + */ + location?: string; + + /** + * The ARM resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + tags?: Record; +} + +/** + * The properties of a task run update parameters. + */ +model TaskRunPropertiesUpdateParameters { + /** + * The request (parameters) for the new run + */ + runRequest?: RunRequest; + + /** + * How the run should be forced to rerun even if the run request configuration has not changed + */ + forceUpdateTag?: string; +} + +/** + * The properties of a task. + */ +model TaskProperties { + /** + * The provisioning state of the task. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * The creation date of task. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationDate?: utcDateTime; + + /** + * The current status of task. + */ + status?: TaskStatus; + + /** + * The platform properties against which the run has to happen. + */ + platform?: PlatformProperties; + + /** + * The machine configuration of the run agent. + */ + agentConfiguration?: AgentProperties; + + /** + * The dedicated agent pool for the task. + */ + agentPoolName?: string; + + /** + * Run timeout in seconds. + */ + @maxValue(28800) + @minValue(300) + timeout?: int32 = 3600; + + /** + * The properties of a task step. + */ + step?: TaskStepProperties; + + /** + * The properties that describe all triggers for the task. + */ + trigger?: TriggerProperties; + + /** + * The properties that describes a set of credentials that will be used when this run is invoked. + */ + credentials?: Credentials; + + /** + * The template that describes the repository and tag information for run log artifact. + */ + logTemplate?: string; + + /** + * The value of this property indicates whether the task resource is system task or not. + */ + isSystemTask?: boolean; +} + +/** + * Base properties for any task step. + */ +@discriminator("type") +model TaskStepProperties { + /** + * The type of the step. + */ + type: StepType; + + /** + * List of base image dependencies for a step. + */ + @visibility(Lifecycle.Read) + @OpenAPI.extension("x-ms-identifiers", #[]) + baseImageDependencies?: BaseImageDependency[]; + + /** + * The URL(absolute or relative) of the source context for the task step. + */ + contextPath?: string; + + /** + * The token (git PAT or SAS token of storage account blob) associated with the context for a step. + */ + contextAccessToken?: string; +} + +/** + * Properties that describe a base image dependency. + */ +model BaseImageDependency { + /** + * The type of the base image dependency. + */ + type?: BaseImageDependencyType; + + /** + * The registry login server. + */ + registry?: string; + + /** + * The repository name. + */ + repository?: string; + + /** + * The tag name. + */ + tag?: string; + + /** + * The sha256-based digest of the image manifest. + */ + digest?: string; +} + +/** + * The properties of a trigger. + */ +model TriggerProperties { + /** + * The collection of timer triggers. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + timerTriggers?: TimerTrigger[]; + + /** + * The collection of triggers based on source code repository. + */ + @OpenAPI.extension( + "x-ms-identifiers", + #["name", "sourceRepository/repositoryUrl"] + ) + sourceTriggers?: SourceTrigger[]; + + /** + * The trigger based on base image dependencies. + */ + baseImageTrigger?: BaseImageTrigger; +} + +/** + * The properties of a timer trigger. + */ +model TimerTrigger { + /** + * The CRON expression for the task schedule + */ + schedule: string; + + /** + * The current status of trigger. + */ + status?: TriggerStatus; + + /** + * The name of the trigger. + */ + name: string; +} + +/** + * The properties of a source based trigger. + */ +model SourceTrigger { + /** + * The properties that describes the source(code) for the task. + */ + sourceRepository: SourceProperties; + + /** + * The source event corresponding to the trigger. + */ + sourceTriggerEvents: SourceTriggerEvent[]; + + /** + * The current status of trigger. + */ + status?: TriggerStatus; + + /** + * The name of the trigger. + */ + name: string; +} + +/** + * The properties of the source code repository. + */ +model SourceProperties { + /** + * The type of source control service. + */ + sourceControlType: SourceControlType; + + /** + * The full URL to the source code repository + */ + repositoryUrl: string; + + /** + * The branch name of the source code. + */ + branch?: string; + + /** + * The authorization properties for accessing the source code repository and to set up + * webhooks for notifications. + */ + sourceControlAuthProperties?: AuthInfo; +} + +/** + * The authorization properties for accessing the source code repository. + */ +model AuthInfo { + /** + * The type of Auth token. + */ + tokenType: TokenType; + + /** + * The access token used to access the source control provider. + */ + token: string; + + /** + * The refresh token used to refresh the access token. + */ + refreshToken?: string; + + /** + * The scope of the access token. + */ + scope?: string; + + /** + * Time in seconds that the token remains valid + */ + expiresIn?: int32; +} + +/** + * The trigger based on base image dependency. + */ +model BaseImageTrigger { + /** + * The type of the auto trigger for base image dependency updates. + */ + baseImageTriggerType: BaseImageTriggerType; + + /** + * The endpoint URL for receiving update triggers. + */ + updateTriggerEndpoint?: string; + + /** + * Type of Payload body for Base image update triggers. + */ + updateTriggerPayloadType?: UpdateTriggerPayloadType; + + /** + * The current status of trigger. + */ + status?: TriggerStatus; + + /** + * The name of the trigger. + */ + name: string; +} + +/** + * The parameters that describes a set of credentials that will be used when a run is invoked. + */ +model Credentials { + /** + * Describes the credential parameters for accessing the source registry. + */ + sourceRegistry?: SourceRegistryCredentials; + + /** + * Describes the credential parameters for accessing other custom registries. The key + * for the dictionary item will be the registry login server (myregistry.azurecr.io) and + * the value of the item will be the registry credentials for accessing the registry. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + customRegistries?: Record; +} + +/** + * Describes the credential parameters for accessing the source registry. + */ +model SourceRegistryCredentials { + /** + * The Entra identity used for source registry login. + * The value is `[system]` for system-assigned managed identity, `[caller]` for caller identity, + * and client ID for user-assigned managed identity. + */ + identity?: string; + + /** + * The authentication mode which determines the source registry login scope. The credentials for the source registry + * will be generated using the given scope. These credentials will be used to login to + * the source registry during the run. + */ + loginMode?: SourceRegistryLoginMode; +} + +/** + * Describes the credentials that will be used to access a custom registry during a run. + */ +model CustomRegistryCredentials { + /** + * The username for logging into the custom registry. + */ + userName?: SecretObject; + + /** + * The password for logging into the custom registry. The password is a secret + * object that allows multiple ways of providing the value for it. + */ + password?: SecretObject; + + /** + * Indicates the managed identity assigned to the custom credential. If a user-assigned identity + * this value is the Client ID. If a system-assigned identity, the value will be `system`. In + * the case of a system-assigned identity, the Client ID will be determined by the runner. This + * identity may be used to authenticate to key vault to retrieve credentials or it may be the only + * source of authentication used for accessing the registry. + */ + identity?: string; +} + +/** + * Describes the properties of a secret object value. + */ +model SecretObject { + /** + * The value of the secret. The format of this value will be determined + * based on the type of the secret object. If the type is Opaque, the value will be + * used as is without any modification. + */ + value?: string; + + /** + * The type of the secret object which determines how the value of the secret object has to be + * interpreted. + */ + type?: SecretObjectType; +} + +/** + * The parameters for updating a task. + */ +model TaskUpdateParameters { + /** + * Identity for the resource. + */ + identity?: IdentityProperties; + + /** + * The properties for updating a task. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + @Azure.ResourceManager.Private.conditionalClientFlatten + properties?: TaskPropertiesUpdateParameters; + + /** + * The ARM resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + tags?: Record; +} + +/** + * The properties for updating a task. + */ +model TaskPropertiesUpdateParameters { + /** + * The current status of task. + */ + status?: TaskStatus; + + /** + * The platform properties against which the run has to happen. + */ + platform?: PlatformUpdateParameters; + + /** + * The machine configuration of the run agent. + */ + agentConfiguration?: AgentProperties; + + /** + * The dedicated agent pool for the task. + */ + agentPoolName?: string; + + /** + * Run timeout in seconds. + */ + timeout?: int32; + + /** + * The properties for updating a task step. + */ + step?: TaskStepUpdateParameters; + + /** + * The properties for updating trigger properties. + */ + trigger?: TriggerUpdateParameters; + + /** + * The parameters that describes a set of credentials that will be used when this run is invoked. + */ + credentials?: Credentials; + + /** + * The template that describes the repository and tag information for run log artifact. + */ + logTemplate?: string; +} + +/** + * The properties for updating the platform configuration. + */ +model PlatformUpdateParameters { + /** + * The operating system type required for the run. + */ + os?: OS; + + /** + * The OS architecture. + */ + architecture?: Architecture; + + /** + * Variant of the CPU. + */ + variant?: Variant; +} + +/** + * Base properties for updating any task step. + */ +@discriminator("type") +model TaskStepUpdateParameters { + /** + * The type of the step. + */ + type: StepType; + + /** + * The URL(absolute or relative) of the source context for the task step. + */ + contextPath?: string; + + /** + * The token (git PAT or SAS token of storage account blob) associated with the context for a step. + */ + contextAccessToken?: string; +} + +/** + * The properties for updating triggers. + */ +model TriggerUpdateParameters { + /** + * The collection of timer triggers. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + timerTriggers?: TimerTriggerUpdateParameters[]; + + /** + * The collection of triggers based on source code repository. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + sourceTriggers?: SourceTriggerUpdateParameters[]; + + /** + * The trigger based on base image dependencies. + */ + baseImageTrigger?: BaseImageTriggerUpdateParameters; +} + +/** + * The properties for updating a timer trigger. + */ +model TimerTriggerUpdateParameters { + /** + * The CRON expression for the task schedule + */ + schedule?: string; + + /** + * The current status of trigger. + */ + status?: TriggerStatus; + + /** + * The name of the trigger. + */ + name: string; +} + +/** + * The properties for updating a source based trigger. + */ +model SourceTriggerUpdateParameters { + /** + * The properties that describes the source(code) for the task. + */ + sourceRepository?: SourceUpdateParameters; + + /** + * The source event corresponding to the trigger. + */ + sourceTriggerEvents?: SourceTriggerEvent[]; + + /** + * The current status of trigger. + */ + status?: TriggerStatus; + + /** + * The name of the trigger. + */ + name: string; +} + +/** + * The properties for updating the source code repository. + */ +model SourceUpdateParameters { + /** + * The type of source control service. + */ + sourceControlType?: SourceControlType; + + /** + * The full URL to the source code repository + */ + repositoryUrl?: string; + + /** + * The branch name of the source code. + */ + branch?: string; + + /** + * The authorization properties for accessing the source code repository and to set up + * webhooks for notifications. + */ + sourceControlAuthProperties?: AuthInfoUpdateParameters; +} + +/** + * The authorization properties for accessing the source code repository. + */ +model AuthInfoUpdateParameters { + /** + * The type of Auth token. + */ + tokenType?: TokenType; + + /** + * The access token used to access the source control provider. + */ + token?: string; + + /** + * The refresh token used to refresh the access token. + */ + refreshToken?: string; + + /** + * The scope of the access token. + */ + scope?: string; + + /** + * Time in seconds that the token remains valid + */ + expiresIn?: int32; +} + +/** + * The properties for updating base image dependency trigger. + */ +model BaseImageTriggerUpdateParameters { + /** + * The type of the auto trigger for base image dependency updates. + */ + baseImageTriggerType?: BaseImageTriggerType; + + /** + * The endpoint URL for receiving update triggers. + */ + updateTriggerEndpoint?: string; + + /** + * Type of Payload body for Base image update triggers. + */ + updateTriggerPayloadType?: UpdateTriggerPayloadType; + + /** + * The current status of trigger. + */ + status?: TriggerStatus; + + /** + * The name of the trigger. + */ + name: string; +} + +/** + * Properties that are enabled for Odata querying on runs. + */ +model RunFilter { + /** + * The unique identifier for the run. + */ + runId?: string; + + /** + * The type of run. + */ + runType?: RunType; + + /** + * The current status of the run. + */ + status?: RunStatus; + + /** + * The create time for a run. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createTime?: utcDateTime; + + /** + * The time the run finished. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + finishTime?: utcDateTime; + + /** + * The list of comma-separated image manifests that were generated from the run. This is applicable if the run is of + * build type. + */ + outputImageManifests?: string; + + /** + * The value that indicates whether archiving is enabled or not. + */ + isArchiveEnabled?: boolean; + + /** + * The name of the task that the run corresponds to. + */ + taskName?: string; + + /** + * The name of the agent pool that the run corresponds to. + */ + agentPoolName?: string; +} + +/** + * The parameters for a docker quick build. + */ +model DockerBuildRequest extends RunRequest { + /** + * The fully qualified image names including the repository and tag. + */ + imageNames?: string[]; + + /** + * The value of this property indicates whether the image built should be pushed to the registry or not. + */ + isPushEnabled?: boolean = true; + + /** + * The value of this property indicates whether the image cache is enabled or not. + */ + noCache?: boolean; + + /** + * The Docker file path relative to the source location. + */ + dockerFilePath: string; + + /** + * The name of the target build stage for the docker build. + */ + target?: string; + + /** + * The collection of override arguments to be used when executing the run. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + arguments?: Argument[]; + + /** + * Run timeout in seconds. + */ + @maxValue(28800) + @minValue(300) + timeout?: int32 = 3600; + + /** + * The platform properties against which the run has to happen. + */ + platform: PlatformProperties; + + /** + * The machine configuration of the run agent. + */ + agentConfiguration?: AgentProperties; + + /** + * The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository. + * If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API. + */ + sourceLocation?: string; + + /** + * The properties that describes a set of credentials that will be used when this run is invoked. + */ + credentials?: Credentials; + + /** + * The type of the run request. + */ + type: "DockerBuildRequest"; +} + +/** + * The properties of a run argument. + */ +model Argument { + /** + * The name of the argument. + */ + name: string; + + /** + * The value of the argument. + */ + value: string; + + /** + * Flag to indicate whether the argument represents a secret and want to be removed from build logs. + */ + isSecret?: boolean; +} + +/** + * The request parameters for a scheduling run against a task file. + */ +model FileTaskRunRequest extends RunRequest { + /** + * The template/definition file path relative to the source. + */ + taskFilePath: string; + + /** + * The values/parameters file path relative to the source. + */ + valuesFilePath?: string; + + /** + * The collection of overridable values that can be passed when running a task. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + values?: SetValue[]; + + /** + * Run timeout in seconds. + */ + @maxValue(28800) + @minValue(300) + timeout?: int32 = 3600; + + /** + * The platform properties against which the run has to happen. + */ + platform: PlatformProperties; + + /** + * The machine configuration of the run agent. + */ + agentConfiguration?: AgentProperties; + + /** + * The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository. + * If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API. + */ + sourceLocation?: string; + + /** + * The properties that describes a set of credentials that will be used when this run is invoked. + */ + credentials?: Credentials; + + /** + * The type of the run request. + */ + type: "FileTaskRunRequest"; +} + +/** + * The properties of a overridable value that can be passed to a task template. + */ +model SetValue { + /** + * The name of the overridable value. + */ + name: string; + + /** + * The overridable value. + */ + value: string; + + /** + * Flag to indicate whether the value represents a secret or not. + */ + isSecret?: boolean; +} + +/** + * The parameters for a task run request. + */ +model TaskRunRequest extends RunRequest { + /** + * The resource ID of task against which run has to be queued. + */ + taskId: string; + + /** + * Set of overridable parameters that can be passed when running a Task. + */ + overrideTaskStepProperties?: OverrideTaskStepProperties; + + /** + * The type of the run request. + */ + type: "TaskRunRequest"; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +model OverrideTaskStepProperties { + /** + * The source context against which run has to be queued. + */ + contextPath?: string; + + /** + * The file against which run has to be queued. + */ + file?: string; + + /** + * Gets or sets the collection of override arguments to be used when + * executing a build step. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + arguments?: Argument[]; + + /** + * The name of the target build stage for the docker build. + */ + target?: string; + + /** + * The collection of overridable values that can be passed when running a Task. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + values?: SetValue[]; + + /** + * Base64 encoded update trigger token that will be attached with the base image trigger webhook. + */ + updateTriggerToken?: string; +} + +/** + * The parameters for a quick task run request. + */ +model EncodedTaskRunRequest extends RunRequest { + /** + * Base64 encoded value of the template/definition file content. + */ + encodedTaskContent: string; + + /** + * Base64 encoded value of the parameters/values file content. + */ + encodedValuesContent?: string; + + /** + * The collection of overridable values that can be passed when running a task. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + values?: SetValue[]; + + /** + * Run timeout in seconds. + */ + @maxValue(28800) + @minValue(300) + timeout?: int32 = 3600; + + /** + * The platform properties against which the run has to happen. + */ + platform: PlatformProperties; + + /** + * The machine configuration of the run agent. + */ + agentConfiguration?: AgentProperties; + + /** + * The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository. + * If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API. + */ + sourceLocation?: string; + + /** + * The properties that describes a set of credentials that will be used when this run is invoked. + */ + credentials?: Credentials; + + /** + * The type of the run request. + */ + type: "EncodedTaskRunRequest"; +} + +/** + * The Docker build step. + */ +model DockerBuildStep extends TaskStepProperties { + /** + * The fully qualified image names including the repository and tag. + */ + imageNames?: string[]; + + /** + * The value of this property indicates whether the image built should be pushed to the registry or not. + */ + isPushEnabled?: boolean = true; + + /** + * The value of this property indicates whether the image cache is enabled or not. + */ + noCache?: boolean; + + /** + * The Docker file path relative to the source context. + */ + dockerFilePath: string; + + /** + * The name of the target build stage for the docker build. + */ + target?: string; + + /** + * The collection of override arguments to be used when executing this build step. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + arguments?: Argument[]; + + /** + * The type of the step. + */ + type: "Docker"; +} + +/** + * The properties of a task step. + */ +model FileTaskStep extends TaskStepProperties { + /** + * The task template/definition file path relative to the source context. + */ + taskFilePath: string; + + /** + * The task values/parameters file path relative to the source context. + */ + valuesFilePath?: string; + + /** + * The collection of overridable values that can be passed when running a task. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + values?: SetValue[]; + + /** + * The type of the step. + */ + type: "FileTask"; +} + +/** + * The properties of a encoded task step. + */ +model EncodedTaskStep extends TaskStepProperties { + /** + * Base64 encoded value of the template/definition file content. + */ + encodedTaskContent: string; + + /** + * Base64 encoded value of the parameters/values file content. + */ + encodedValuesContent?: string; + + /** + * The collection of overridable values that can be passed when running a task. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + values?: SetValue[]; + + /** + * The type of the step. + */ + type: "EncodedTask"; +} + +/** + * The properties for updating a docker build step. + */ +model DockerBuildStepUpdateParameters extends TaskStepUpdateParameters { + /** + * The fully qualified image names including the repository and tag. + */ + imageNames?: string[]; + + /** + * The value of this property indicates whether the image built should be pushed to the registry or not. + */ + isPushEnabled?: boolean; + + /** + * The value of this property indicates whether the image cache is enabled or not. + */ + noCache?: boolean; + + /** + * The Docker file path relative to the source context. + */ + dockerFilePath?: string; + + /** + * The collection of override arguments to be used when executing this build step. + */ + @OpenAPI.extension("x-ms-identifiers", #["name"]) + arguments?: Argument[]; + + /** + * The name of the target build stage for the docker build. + */ + target?: string; + + /** + * The type of the step. + */ + type: "Docker"; +} + +/** + * The properties of updating a task step. + */ +model FileTaskStepUpdateParameters extends TaskStepUpdateParameters { + /** + * The task template/definition file path relative to the source context. + */ + taskFilePath?: string; + + /** + * The values/parameters file path relative to the source context. + */ + valuesFilePath?: string; + + /** + * The collection of overridable values that can be passed when running a task. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + values?: SetValue[]; + + /** + * The type of the step. + */ + type: "FileTask"; +} + +/** + * The properties for updating encoded task step. + */ +model EncodedTaskStepUpdateParameters extends TaskStepUpdateParameters { + /** + * Base64 encoded value of the template/definition file content. + */ + encodedTaskContent?: string; + + /** + * Base64 encoded value of the parameters/values file content. + */ + encodedValuesContent?: string; + + /** + * The collection of overridable values that can be passed when running a task. + */ + @OpenAPI.extension("x-ms-identifiers", #[]) + values?: SetValue[]; + + /** + * The type of the step. + */ + type: "EncodedTask"; +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/routes.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/routes.tsp new file mode 100644 index 000000000000..c8d2452e750a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/routes.tsp @@ -0,0 +1,62 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.ContainerRegistry; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility" +interface RegistriesOperationGroup { + /** + * Schedules a new run based on the request parameters and add it to the run queue. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Registries_ScheduleRun") + @autoRoute + scheduleRun is ArmProviderActionSync< + Request = RunRequest, + Response = Run, + Scope = Extension.ResourceGroup, + Parameters = { + /** + * The name of the container registry. + */ + @maxLength(50) + @minLength(5) + @pattern("^[a-zA-Z0-9]*$") + @path + @segment("registries") + registryName: string; + } + >; + /** + * Get the upload location for the user to be able to upload the source. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" + @operationId("Registries_GetBuildSourceUploadUrl") + @autoRoute + @action("listBuildSourceUploadUrl") + getBuildSourceUploadUrl is ArmProviderActionSync< + Response = SourceUploadDefinition, + Scope = Extension.ResourceGroup, + Parameters = { + /** + * The name of the container registry. + */ + @maxLength(50) + @minLength(5) + @pattern("^[a-zA-Z0-9]*$") + @path + @segment("registries") + registryName: string; + } + >; +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml new file mode 100644 index 000000000000..095f44e65c1e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml @@ -0,0 +1,15 @@ +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}" + azure-resource-provider-folder: "resource-manager" + output-file: "{version-status}/{version}/containerregistry_build.json" + examples-dir: "{project-root}/examples" + arm-resource-flattening: true + arm-types-dir: "{project-root}/../../../../common-types/resource-management" + emit-lro-options: "all" +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/containerregistry_build.json new file mode 100644 index 000000000000..863fcec9666e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/containerregistry_build.json @@ -0,0 +1,3699 @@ +{ + "swagger": "2.0", + "info": { + "title": "ContainerRegistryManagementClient", + "version": "2025-03-01-preview", + "description": "// (missing-service-description) Add service description", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "AgentPools" + }, + { + "name": "Runs" + }, + { + "name": "TaskRuns" + }, + { + "name": "Tasks" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/agentPools": { + "get": { + "operationId": "AgentPools_List", + "tags": [ + "AgentPools" + ], + "description": "Lists all the agent pools for a specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AgentPoolListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AgentPools_List": { + "$ref": "./examples/AgentPoolsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/agentPools/{agentPoolName}": { + "get": { + "operationId": "AgentPools_Get", + "tags": [ + "AgentPools" + ], + "description": "Gets the detailed information for a given agent pool.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "agentPoolName", + "in": "path", + "description": "The name of the agent pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AgentPool" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AgentPools_Get": { + "$ref": "./examples/AgentPoolsGet.json" + } + } + }, + "put": { + "operationId": "AgentPools_Create", + "tags": [ + "AgentPools" + ], + "description": "Creates an agent pool for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "agentPoolName", + "in": "path", + "description": "The name of the agent pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "agentPool", + "in": "body", + "description": "The parameters of an agent pool that needs to scheduled.", + "required": true, + "schema": { + "$ref": "#/definitions/AgentPool" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AgentPool' update operation succeeded", + "schema": { + "$ref": "#/definitions/AgentPool" + } + }, + "201": { + "description": "Resource 'AgentPool' create operation succeeded", + "schema": { + "$ref": "#/definitions/AgentPool" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AgentPools_Create": { + "$ref": "./examples/AgentPoolsCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/AgentPool" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "AgentPools_Update", + "tags": [ + "AgentPools" + ], + "description": "Updates an agent pool with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "agentPoolName", + "in": "path", + "description": "The name of the agent pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "updateParameters", + "in": "body", + "description": "The parameters for updating an agent pool.", + "required": true, + "schema": { + "$ref": "#/definitions/AgentPoolUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AgentPool" + } + }, + "201": { + "description": "Resource 'AgentPool' create operation succeeded", + "schema": { + "$ref": "#/definitions/AgentPool" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AgentPools_Update": { + "$ref": "./examples/AgentPoolsUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CAgentPool%3E" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "AgentPools_Delete", + "tags": [ + "AgentPools" + ], + "description": "Deletes a specified agent pool resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "agentPoolName", + "in": "path", + "description": "The name of the agent pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AgentPools_Delete": { + "$ref": "./examples/AgentPoolsDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/agentPools/{agentPoolName}/listQueueStatus": { + "post": { + "operationId": "AgentPools_GetQueueStatus", + "tags": [ + "AgentPools" + ], + "description": "Gets the count of queued runs for a given agent pool.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "agentPoolName", + "in": "path", + "description": "The name of the agent pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AgentPoolQueueStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AgentPools_GetQueueStatus": { + "$ref": "./examples/AgentPoolsGetQueueStatus.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl": { + "post": { + "operationId": "Registries_GetBuildSourceUploadUrl", + "description": "Get the upload location for the user to be able to upload the source.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/SourceUploadDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Registries_GetBuildSourceUploadUrl": { + "$ref": "./examples/RegistriesGetBuildSourceUploadUrl.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun": { + "post": { + "operationId": "Registries_ScheduleRun", + "description": "Schedules a new run based on the request parameters and add it to the run queue.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/RunRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Run" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Registries_ScheduleRun": { + "$ref": "./examples/RegistriesScheduleRun.json" + }, + "Registries_ScheduleRun_EncodedTaskRun": { + "$ref": "./examples/RegistriesScheduleRun_EncodedTaskRun.json" + }, + "Registries_ScheduleRun_FileTaskRun": { + "$ref": "./examples/RegistriesScheduleRun_FileTaskRun.json" + }, + "Registries_ScheduleRun_Task": { + "$ref": "./examples/RegistriesScheduleRun_Task.json" + }, + "Registries_ScheduleRun_Task_WithCustomCredentials": { + "$ref": "./examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json" + }, + "Registries_ScheduleRun_WithCustomCredentials": { + "$ref": "./examples/RegistriesScheduleRun_WithCustomCredentials.json" + }, + "Registries_ScheduleRun_WithLogTemplate": { + "$ref": "./examples/RegistriesScheduleRun_WithLogTemplate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/runs": { + "get": { + "operationId": "Runs_List", + "tags": [ + "Runs" + ], + "description": "Gets all the runs for a registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed.", + "required": false, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "$top is supported for get list of runs, which limits the maximum number of runs to return.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RunListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Runs_List": { + "$ref": "./examples/RunsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/runs/{runId}": { + "get": { + "operationId": "Runs_Get", + "tags": [ + "Runs" + ], + "description": "Gets the detailed information for a given run.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "runId", + "in": "path", + "description": "The run ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Run" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Runs_Get": { + "$ref": "./examples/RunsGet.json" + } + } + }, + "patch": { + "operationId": "Runs_Update", + "tags": [ + "Runs" + ], + "description": "Patch the run properties.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "runId", + "in": "path", + "description": "The run ID.", + "required": true, + "type": "string" + }, + { + "name": "runUpdateParameters", + "in": "body", + "description": "The run update properties.", + "required": true, + "schema": { + "$ref": "#/definitions/RunUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Run" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Runs_Update": { + "$ref": "./examples/RunsUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/runs/{runId}/cancel": { + "post": { + "operationId": "Runs_Cancel", + "tags": [ + "Runs" + ], + "description": "Cancel an existing run.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "runId", + "in": "path", + "description": "The run ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Runs_Cancel": { + "$ref": "./examples/RunsCancel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/runs/{runId}/listLogSasUrl": { + "post": { + "operationId": "Runs_GetLogSasUrl", + "tags": [ + "Runs" + ], + "description": "Gets a link to download the run logs.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "runId", + "in": "path", + "description": "The run ID.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RunGetLogResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Runs_GetLogSasUrl": { + "$ref": "./examples/RunsGetLogSasUrl.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/taskRuns": { + "get": { + "operationId": "TaskRuns_List", + "tags": [ + "TaskRuns" + ], + "description": "Lists all the task runs for a specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TaskRunListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TaskRuns_List": { + "$ref": "./examples/TaskRunsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/taskRuns/{taskRunName}": { + "get": { + "operationId": "TaskRuns_Get", + "tags": [ + "TaskRuns" + ], + "description": "Gets the detailed information for a given task run.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "taskRunName", + "in": "path", + "description": "The name of the task run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TaskRun" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TaskRuns_Get": { + "$ref": "./examples/TaskRunsGet.json" + } + } + }, + "put": { + "operationId": "TaskRuns_Create", + "tags": [ + "TaskRuns" + ], + "description": "Creates a task run for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "taskRunName", + "in": "path", + "description": "The name of the task run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "taskRun", + "in": "body", + "description": "The parameters of a run that needs to scheduled.", + "required": true, + "schema": { + "$ref": "#/definitions/TaskRun" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TaskRun' update operation succeeded", + "schema": { + "$ref": "#/definitions/TaskRun" + } + }, + "201": { + "description": "Resource 'TaskRun' create operation succeeded", + "schema": { + "$ref": "#/definitions/TaskRun" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TaskRuns_Create": { + "$ref": "./examples/TaskRunsCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/TaskRun" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TaskRuns_Update", + "tags": [ + "TaskRuns" + ], + "description": "Updates a task run with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "taskRunName", + "in": "path", + "description": "The name of the task run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "updateParameters", + "in": "body", + "description": "The parameters for updating a task run.", + "required": true, + "schema": { + "$ref": "#/definitions/TaskRunUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TaskRun" + } + }, + "201": { + "description": "Resource 'TaskRun' create operation succeeded", + "schema": { + "$ref": "#/definitions/TaskRun" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TaskRuns_Update": { + "$ref": "./examples/TaskRunsUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CTaskRun%3E" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TaskRuns_Delete", + "tags": [ + "TaskRuns" + ], + "description": "Deletes a specified task run resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "taskRunName", + "in": "path", + "description": "The name of the task run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TaskRuns_Delete": { + "$ref": "./examples/TaskRunsDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/taskRuns/{taskRunName}/listDetails": { + "post": { + "operationId": "TaskRuns_GetDetails", + "tags": [ + "TaskRuns" + ], + "description": "Gets the detailed information for a given task run that includes all secrets.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "taskRunName", + "in": "path", + "description": "The name of the task run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TaskRun" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TaskRuns_GetDetails": { + "$ref": "./examples/TaskRunsGetDetails.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/tasks": { + "get": { + "operationId": "Tasks_List", + "tags": [ + "Tasks" + ], + "description": "Lists all the tasks for a specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TaskListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Tasks_List": { + "$ref": "./examples/TasksList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/tasks/{taskName}": { + "get": { + "operationId": "Tasks_Get", + "tags": [ + "Tasks" + ], + "description": "Get the properties of a specified task.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "taskName", + "in": "path", + "description": "The name of the container registry task.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Tasks_Get": { + "$ref": "./examples/TasksGet.json" + } + } + }, + "put": { + "operationId": "Tasks_Create", + "tags": [ + "Tasks" + ], + "description": "Creates a task for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "taskName", + "in": "path", + "description": "The name of the container registry task.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + }, + { + "name": "taskCreateParameters", + "in": "body", + "description": "The parameters for creating a task.", + "required": true, + "schema": { + "$ref": "#/definitions/Task" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Task' update operation succeeded", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "201": { + "description": "Resource 'Task' create operation succeeded", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Tasks_Create": { + "$ref": "./examples/TasksCreate.json" + }, + "Tasks_Create_QuickTask": { + "$ref": "./examples/TasksCreate_QuickTask.json" + }, + "Tasks_Create_WithLoginIdentity": { + "$ref": "./examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json" + }, + "Tasks_Create_WithSystemAndUserIdentities": { + "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json" + }, + "Tasks_Create_WithUserIdentities": { + "$ref": "./examples/ManagedIdentity/TasksCreate_WithUserIdentities.json" + }, + "Tasks_Create_WithUserIdentities_WithSystemIdentity": { + "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json" + } + } + }, + "patch": { + "operationId": "Tasks_Update", + "tags": [ + "Tasks" + ], + "description": "Updates a task with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "taskName", + "in": "path", + "description": "The name of the container registry task.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + }, + { + "name": "taskUpdateParameters", + "in": "body", + "description": "The parameters for updating a task.", + "required": true, + "schema": { + "$ref": "#/definitions/TaskUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Tasks_Update": { + "$ref": "./examples/TasksUpdate.json" + }, + "Tasks_Update_QuickTask": { + "$ref": "./examples/TasksUpdate_QuickTask.json" + }, + "Tasks_Update_WithKeyVaultCustomCredentials": { + "$ref": "./examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json" + }, + "Tasks_Update_WithLoginIdentity": { + "$ref": "./examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json" + }, + "Tasks_Update_WithMSICustomCredentials": { + "$ref": "./examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json" + }, + "Tasks_Update_WithOpaqueCustomCredentials": { + "$ref": "./examples/TasksUpdate_WithOpaqueCustomCredentials.json" + } + } + }, + "delete": { + "operationId": "Tasks_Delete", + "tags": [ + "Tasks" + ], + "description": "Deletes a specified task.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "taskName", + "in": "path", + "description": "The name of the container registry task.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Tasks_Delete": { + "$ref": "./examples/TasksDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/tasks/{taskName}/listDetails": { + "post": { + "operationId": "Tasks_GetDetails", + "tags": [ + "Tasks" + ], + "description": "Returns a task with extended information that includes all secrets.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "taskName", + "in": "path", + "description": "The name of the container registry task.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Task" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Tasks_GetDetails": { + "$ref": "./examples/TasksGetDetails.json" + } + } + } + } + }, + "definitions": { + "AgentPool": { + "type": "object", + "description": "The agentpool that has the ARM resource and properties.\nThe agentpool will have all information to create an agent pool.", + "properties": { + "properties": { + "$ref": "#/definitions/AgentPoolProperties", + "description": "The properties associated with the agent pool", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "AgentPoolListResult": { + "type": "object", + "description": "The response of a AgentPool list operation.", + "properties": { + "value": { + "type": "array", + "description": "The AgentPool items on this page", + "items": { + "$ref": "#/definitions/AgentPool" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AgentPoolProperties": { + "type": "object", + "description": "The properties of agent pool.", + "properties": { + "count": { + "type": "integer", + "format": "int32", + "description": "The count of agent machine" + }, + "tier": { + "type": "string", + "description": "The Tier of agent machine" + }, + "os": { + "$ref": "#/definitions/OS", + "description": "The OS of agent machine" + }, + "virtualNetworkSubnetResourceId": { + "type": "string", + "description": "The Virtual Network Subnet Resource Id of the agent machine" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of this agent pool", + "readOnly": true + } + } + }, + "AgentPoolPropertiesUpdateParameters": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "format": "int32", + "description": "The count of agent machine" + } + } + }, + "AgentPoolQueueStatus": { + "type": "object", + "description": "The QueueStatus of Agent Pool", + "properties": { + "count": { + "type": "integer", + "format": "int32", + "description": "The number of pending runs in the queue" + } + } + }, + "AgentPoolUpdateParameters": { + "type": "object", + "description": "The parameters for updating an agent pool.", + "properties": { + "properties": { + "$ref": "#/definitions/AgentPoolPropertiesUpdateParameters", + "description": "The properties associated with the agent pool", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "The ARM resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "AgentProperties": { + "type": "object", + "description": "The properties that determine the run agent configuration.", + "properties": { + "cpu": { + "type": "integer", + "format": "int32", + "description": "The CPU configuration in terms of number of cores required for the run." + } + } + }, + "Architecture": { + "type": "string", + "description": "The OS architecture.", + "enum": [ + "amd64", + "x86", + "386", + "arm", + "arm64" + ], + "x-ms-enum": { + "name": "Architecture", + "modelAsString": true, + "values": [ + { + "name": "amd64", + "value": "amd64" + }, + { + "name": "x86", + "value": "x86" + }, + { + "name": "386", + "value": "386" + }, + { + "name": "arm", + "value": "arm" + }, + { + "name": "arm64", + "value": "arm64" + } + ] + } + }, + "Argument": { + "type": "object", + "description": "The properties of a run argument.", + "properties": { + "name": { + "type": "string", + "description": "The name of the argument." + }, + "value": { + "type": "string", + "description": "The value of the argument." + }, + "isSecret": { + "type": "boolean", + "description": "Flag to indicate whether the argument represents a secret and want to be removed from build logs." + } + }, + "required": [ + "name", + "value" + ] + }, + "AuthInfo": { + "type": "object", + "description": "The authorization properties for accessing the source code repository.", + "properties": { + "tokenType": { + "$ref": "#/definitions/TokenType", + "description": "The type of Auth token." + }, + "token": { + "type": "string", + "description": "The access token used to access the source control provider." + }, + "refreshToken": { + "type": "string", + "description": "The refresh token used to refresh the access token." + }, + "scope": { + "type": "string", + "description": "The scope of the access token." + }, + "expiresIn": { + "type": "integer", + "format": "int32", + "description": "Time in seconds that the token remains valid" + } + }, + "required": [ + "tokenType", + "token" + ] + }, + "AuthInfoUpdateParameters": { + "type": "object", + "description": "The authorization properties for accessing the source code repository.", + "properties": { + "tokenType": { + "$ref": "#/definitions/TokenType", + "description": "The type of Auth token." + }, + "token": { + "type": "string", + "description": "The access token used to access the source control provider." + }, + "refreshToken": { + "type": "string", + "description": "The refresh token used to refresh the access token." + }, + "scope": { + "type": "string", + "description": "The scope of the access token." + }, + "expiresIn": { + "type": "integer", + "format": "int32", + "description": "Time in seconds that the token remains valid" + } + } + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/AgentPool", + "description": "The body type of the operation request or response." + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/TaskRun", + "description": "The body type of the operation request or response." + } + }, + "required": [ + "body" + ] + }, + "BaseImageDependency": { + "type": "object", + "description": "Properties that describe a base image dependency.", + "properties": { + "type": { + "$ref": "#/definitions/BaseImageDependencyType", + "description": "The type of the base image dependency." + }, + "registry": { + "type": "string", + "description": "The registry login server." + }, + "repository": { + "type": "string", + "description": "The repository name." + }, + "tag": { + "type": "string", + "description": "The tag name." + }, + "digest": { + "type": "string", + "description": "The sha256-based digest of the image manifest." + } + } + }, + "BaseImageDependencyType": { + "type": "string", + "description": "The type of the base image dependency.", + "enum": [ + "BuildTime", + "RunTime" + ], + "x-ms-enum": { + "name": "BaseImageDependencyType", + "modelAsString": true, + "values": [ + { + "name": "BuildTime", + "value": "BuildTime" + }, + { + "name": "RunTime", + "value": "RunTime" + } + ] + } + }, + "BaseImageTrigger": { + "type": "object", + "description": "The trigger based on base image dependency.", + "properties": { + "baseImageTriggerType": { + "$ref": "#/definitions/BaseImageTriggerType", + "description": "The type of the auto trigger for base image dependency updates." + }, + "updateTriggerEndpoint": { + "type": "string", + "description": "The endpoint URL for receiving update triggers." + }, + "updateTriggerPayloadType": { + "$ref": "#/definitions/UpdateTriggerPayloadType", + "description": "Type of Payload body for Base image update triggers." + }, + "status": { + "$ref": "#/definitions/TriggerStatus", + "description": "The current status of trigger." + }, + "name": { + "type": "string", + "description": "The name of the trigger." + } + }, + "required": [ + "baseImageTriggerType", + "name" + ] + }, + "BaseImageTriggerType": { + "type": "string", + "description": "The type of the auto trigger for base image dependency updates.", + "enum": [ + "All", + "Runtime" + ], + "x-ms-enum": { + "name": "BaseImageTriggerType", + "modelAsString": true, + "values": [ + { + "name": "All", + "value": "All" + }, + { + "name": "Runtime", + "value": "Runtime" + } + ] + } + }, + "BaseImageTriggerUpdateParameters": { + "type": "object", + "description": "The properties for updating base image dependency trigger.", + "properties": { + "baseImageTriggerType": { + "$ref": "#/definitions/BaseImageTriggerType", + "description": "The type of the auto trigger for base image dependency updates." + }, + "updateTriggerEndpoint": { + "type": "string", + "description": "The endpoint URL for receiving update triggers." + }, + "updateTriggerPayloadType": { + "$ref": "#/definitions/UpdateTriggerPayloadType", + "description": "Type of Payload body for Base image update triggers." + }, + "status": { + "$ref": "#/definitions/TriggerStatus", + "description": "The current status of trigger." + }, + "name": { + "type": "string", + "description": "The name of the trigger." + } + }, + "required": [ + "name" + ] + }, + "Credentials": { + "type": "object", + "description": "The parameters that describes a set of credentials that will be used when a run is invoked.", + "properties": { + "sourceRegistry": { + "$ref": "#/definitions/SourceRegistryCredentials", + "description": "Describes the credential parameters for accessing the source registry." + }, + "customRegistries": { + "type": "object", + "description": "Describes the credential parameters for accessing other custom registries. The key\nfor the dictionary item will be the registry login server (myregistry.azurecr.io) and\nthe value of the item will be the registry credentials for accessing the registry.", + "additionalProperties": { + "$ref": "#/definitions/CustomRegistryCredentials" + } + } + } + }, + "CustomRegistryCredentials": { + "type": "object", + "description": "Describes the credentials that will be used to access a custom registry during a run.", + "properties": { + "userName": { + "$ref": "#/definitions/SecretObject", + "description": "The username for logging into the custom registry." + }, + "password": { + "$ref": "#/definitions/SecretObject", + "description": "The password for logging into the custom registry. The password is a secret\nobject that allows multiple ways of providing the value for it." + }, + "identity": { + "type": "string", + "description": "Indicates the managed identity assigned to the custom credential. If a user-assigned identity\nthis value is the Client ID. If a system-assigned identity, the value will be `system`. In\nthe case of a system-assigned identity, the Client ID will be determined by the runner. This\nidentity may be used to authenticate to key vault to retrieve credentials or it may be the only\nsource of authentication used for accessing the registry." + } + } + }, + "DockerBuildRequest": { + "type": "object", + "description": "The parameters for a docker quick build.", + "properties": { + "imageNames": { + "type": "array", + "description": "The fully qualified image names including the repository and tag.", + "items": { + "type": "string" + } + }, + "isPushEnabled": { + "type": "boolean", + "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", + "default": true + }, + "noCache": { + "type": "boolean", + "description": "The value of this property indicates whether the image cache is enabled or not." + }, + "dockerFilePath": { + "type": "string", + "description": "The Docker file path relative to the source location." + }, + "target": { + "type": "string", + "description": "The name of the target build stage for the docker build." + }, + "arguments": { + "type": "array", + "description": "The collection of override arguments to be used when executing the run.", + "items": { + "$ref": "#/definitions/Argument" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "Run timeout in seconds.", + "default": 3600, + "minimum": 300, + "maximum": 28800 + }, + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run has to happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "sourceLocation": { + "type": "string", + "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API." + }, + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The properties that describes a set of credentials that will be used when this run is invoked." + } + }, + "required": [ + "dockerFilePath", + "platform" + ], + "allOf": [ + { + "$ref": "#/definitions/RunRequest" + } + ], + "x-ms-discriminator-value": "DockerBuildRequest" + }, + "DockerBuildStep": { + "type": "object", + "description": "The Docker build step.", + "properties": { + "imageNames": { + "type": "array", + "description": "The fully qualified image names including the repository and tag.", + "items": { + "type": "string" + } + }, + "isPushEnabled": { + "type": "boolean", + "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", + "default": true + }, + "noCache": { + "type": "boolean", + "description": "The value of this property indicates whether the image cache is enabled or not." + }, + "dockerFilePath": { + "type": "string", + "description": "The Docker file path relative to the source context." + }, + "target": { + "type": "string", + "description": "The name of the target build stage for the docker build." + }, + "arguments": { + "type": "array", + "description": "The collection of override arguments to be used when executing this build step.", + "items": { + "$ref": "#/definitions/Argument" + }, + "x-ms-identifiers": [ + "name" + ] + } + }, + "required": [ + "dockerFilePath" + ], + "allOf": [ + { + "$ref": "#/definitions/TaskStepProperties" + } + ], + "x-ms-discriminator-value": "Docker" + }, + "DockerBuildStepUpdateParameters": { + "type": "object", + "description": "The properties for updating a docker build step.", + "properties": { + "imageNames": { + "type": "array", + "description": "The fully qualified image names including the repository and tag.", + "items": { + "type": "string" + } + }, + "isPushEnabled": { + "type": "boolean", + "description": "The value of this property indicates whether the image built should be pushed to the registry or not." + }, + "noCache": { + "type": "boolean", + "description": "The value of this property indicates whether the image cache is enabled or not." + }, + "dockerFilePath": { + "type": "string", + "description": "The Docker file path relative to the source context." + }, + "arguments": { + "type": "array", + "description": "The collection of override arguments to be used when executing this build step.", + "items": { + "$ref": "#/definitions/Argument" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "target": { + "type": "string", + "description": "The name of the target build stage for the docker build." + } + }, + "allOf": [ + { + "$ref": "#/definitions/TaskStepUpdateParameters" + } + ], + "x-ms-discriminator-value": "Docker" + }, + "EncodedTaskRunRequest": { + "type": "object", + "description": "The parameters for a quick task run request.", + "properties": { + "encodedTaskContent": { + "type": "string", + "description": "Base64 encoded value of the template/definition file content." + }, + "encodedValuesContent": { + "type": "string", + "description": "Base64 encoded value of the parameters/values file content." + }, + "values": { + "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", + "items": { + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "Run timeout in seconds.", + "default": 3600, + "minimum": 300, + "maximum": 28800 + }, + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run has to happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "sourceLocation": { + "type": "string", + "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API." + }, + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The properties that describes a set of credentials that will be used when this run is invoked." + } + }, + "required": [ + "encodedTaskContent", + "platform" + ], + "allOf": [ + { + "$ref": "#/definitions/RunRequest" + } + ], + "x-ms-discriminator-value": "EncodedTaskRunRequest" + }, + "EncodedTaskStep": { + "type": "object", + "description": "The properties of a encoded task step.", + "properties": { + "encodedTaskContent": { + "type": "string", + "description": "Base64 encoded value of the template/definition file content." + }, + "encodedValuesContent": { + "type": "string", + "description": "Base64 encoded value of the parameters/values file content." + }, + "values": { + "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", + "items": { + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "encodedTaskContent" + ], + "allOf": [ + { + "$ref": "#/definitions/TaskStepProperties" + } + ], + "x-ms-discriminator-value": "EncodedTask" + }, + "EncodedTaskStepUpdateParameters": { + "type": "object", + "description": "The properties for updating encoded task step.", + "properties": { + "encodedTaskContent": { + "type": "string", + "description": "Base64 encoded value of the template/definition file content." + }, + "encodedValuesContent": { + "type": "string", + "description": "Base64 encoded value of the parameters/values file content." + }, + "values": { + "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", + "items": { + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/TaskStepUpdateParameters" + } + ], + "x-ms-discriminator-value": "EncodedTask" + }, + "FileTaskRunRequest": { + "type": "object", + "description": "The request parameters for a scheduling run against a task file.", + "properties": { + "taskFilePath": { + "type": "string", + "description": "The template/definition file path relative to the source." + }, + "valuesFilePath": { + "type": "string", + "description": "The values/parameters file path relative to the source." + }, + "values": { + "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", + "items": { + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "Run timeout in seconds.", + "default": 3600, + "minimum": 300, + "maximum": 28800 + }, + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run has to happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "sourceLocation": { + "type": "string", + "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API." + }, + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The properties that describes a set of credentials that will be used when this run is invoked." + } + }, + "required": [ + "taskFilePath", + "platform" + ], + "allOf": [ + { + "$ref": "#/definitions/RunRequest" + } + ], + "x-ms-discriminator-value": "FileTaskRunRequest" + }, + "FileTaskStep": { + "type": "object", + "description": "The properties of a task step.", + "properties": { + "taskFilePath": { + "type": "string", + "description": "The task template/definition file path relative to the source context." + }, + "valuesFilePath": { + "type": "string", + "description": "The task values/parameters file path relative to the source context." + }, + "values": { + "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", + "items": { + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "taskFilePath" + ], + "allOf": [ + { + "$ref": "#/definitions/TaskStepProperties" + } + ], + "x-ms-discriminator-value": "FileTask" + }, + "FileTaskStepUpdateParameters": { + "type": "object", + "description": "The properties of updating a task step.", + "properties": { + "taskFilePath": { + "type": "string", + "description": "The task template/definition file path relative to the source context." + }, + "valuesFilePath": { + "type": "string", + "description": "The values/parameters file path relative to the source context." + }, + "values": { + "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", + "items": { + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/TaskStepUpdateParameters" + } + ], + "x-ms-discriminator-value": "FileTask" + }, + "IdentityProperties": { + "type": "object", + "description": "Managed identity for the resource.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID of resource identity.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant ID of resource.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ResourceIdentityType", + "description": "The identity type." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } + } + } + }, + "ImageDescriptor": { + "type": "object", + "description": "Properties for a registry image.", + "properties": { + "registry": { + "type": "string", + "description": "The registry login server." + }, + "repository": { + "type": "string", + "description": "The repository name." + }, + "tag": { + "type": "string", + "description": "The tag name." + }, + "digest": { + "type": "string", + "description": "The sha256-based digest of the image manifest." + } + } + }, + "ImageUpdateTrigger": { + "type": "object", + "description": "The image update trigger that caused a build.", + "properties": { + "id": { + "type": "string", + "description": "The unique ID of the trigger." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the image update happened." + }, + "images": { + "type": "array", + "description": "The list of image updates that caused the build.", + "items": { + "$ref": "#/definitions/ImageDescriptor" + }, + "x-ms-identifiers": [ + "registry" + ] + } + } + }, + "OS": { + "type": "string", + "description": "The OS of agent machine", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OS", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows" + }, + { + "name": "Linux", + "value": "Linux" + } + ] + } + }, + "OverrideTaskStepProperties": { + "type": "object", + "properties": { + "contextPath": { + "type": "string", + "description": "The source context against which run has to be queued." + }, + "file": { + "type": "string", + "description": "The file against which run has to be queued." + }, + "arguments": { + "type": "array", + "description": "Gets or sets the collection of override arguments to be used when\nexecuting a build step.", + "items": { + "$ref": "#/definitions/Argument" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "target": { + "type": "string", + "description": "The name of the target build stage for the docker build." + }, + "values": { + "type": "array", + "description": "The collection of overridable values that can be passed when running a Task.", + "items": { + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] + }, + "updateTriggerToken": { + "type": "string", + "description": "Base64 encoded update trigger token that will be attached with the base image trigger webhook." + } + } + }, + "PlatformProperties": { + "type": "object", + "description": "The platform properties against which the run has to happen.", + "properties": { + "os": { + "$ref": "#/definitions/OS", + "description": "The operating system type required for the run." + }, + "architecture": { + "$ref": "#/definitions/Architecture", + "description": "The OS architecture." + }, + "variant": { + "$ref": "#/definitions/Variant", + "description": "Variant of the CPU." + } + }, + "required": [ + "os" + ] + }, + "PlatformUpdateParameters": { + "type": "object", + "description": "The properties for updating the platform configuration.", + "properties": { + "os": { + "$ref": "#/definitions/OS", + "description": "The operating system type required for the run." + }, + "architecture": { + "$ref": "#/definitions/Architecture", + "description": "The OS architecture." + }, + "variant": { + "$ref": "#/definitions/Variant", + "description": "Variant of the CPU." + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning state of this agent pool", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + } + ] + } + }, + "ResourceIdentityType": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "Run": { + "type": "object", + "description": "Run resource properties", + "properties": { + "properties": { + "$ref": "#/definitions/RunProperties", + "description": "The properties of a run.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "RunGetLogResult": { + "type": "object", + "description": "The result of get log link operation.", + "properties": { + "logLink": { + "type": "string", + "description": "The link to logs for a run on a azure container registry." + }, + "logArtifactLink": { + "type": "string", + "description": "The link to logs in registry for a run on a azure container registry." + } + } + }, + "RunListResult": { + "type": "object", + "description": "The response of a Run list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Run items on this page", + "items": { + "$ref": "#/definitions/Run" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RunProperties": { + "type": "object", + "description": "The properties for a run.", + "properties": { + "runId": { + "type": "string", + "description": "The unique identifier for the run." + }, + "status": { + "$ref": "#/definitions/RunStatus", + "description": "The current status of the run." + }, + "lastUpdatedTime": { + "type": "string", + "format": "date-time", + "description": "The last updated time for the run." + }, + "runType": { + "$ref": "#/definitions/RunType", + "description": "The type of run." + }, + "agentPoolName": { + "type": "string", + "description": "The dedicated agent pool for the run." + }, + "createTime": { + "type": "string", + "format": "date-time", + "description": "The time the run was scheduled." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The time the run started." + }, + "finishTime": { + "type": "string", + "format": "date-time", + "description": "The time the run finished." + }, + "outputImages": { + "type": "array", + "description": "The list of all images that were generated from the run. This is applicable if the run generates base image dependencies.", + "items": { + "$ref": "#/definitions/ImageDescriptor" + }, + "x-ms-identifiers": [ + "registry" + ] + }, + "task": { + "type": "string", + "description": "The task against which run was scheduled." + }, + "imageUpdateTrigger": { + "$ref": "#/definitions/ImageUpdateTrigger", + "description": "The image update trigger that caused the run. This is applicable if the task has base image trigger configured." + }, + "sourceTrigger": { + "$ref": "#/definitions/SourceTriggerDescriptor", + "description": "The source trigger that caused the run." + }, + "timerTrigger": { + "$ref": "#/definitions/TimerTriggerDescriptor", + "description": "The timer trigger that caused the run." + }, + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run will happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "sourceRegistryAuth": { + "type": "string", + "description": "The scope of the credentials that were used to login to the source registry during this run." + }, + "customRegistries": { + "type": "array", + "description": "The list of custom registries that were logged in during this run.", + "items": { + "type": "string" + } + }, + "runErrorMessage": { + "type": "string", + "description": "The error message received from backend systems after the run is scheduled.", + "readOnly": true + }, + "updateTriggerToken": { + "type": "string", + "description": "The update trigger token passed for the Run." + }, + "logArtifact": { + "$ref": "#/definitions/ImageDescriptor", + "description": "The image description for the log artifact.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of a run." + }, + "isArchiveEnabled": { + "type": "boolean", + "description": "The value that indicates whether archiving is enabled or not." + } + } + }, + "RunRequest": { + "type": "object", + "description": "The request parameters for scheduling a run.", + "properties": { + "type": { + "type": "string", + "description": "The type of the run request." + }, + "isArchiveEnabled": { + "type": "boolean", + "description": "The value that indicates whether archiving is enabled for the run or not." + }, + "agentPoolName": { + "type": "string", + "description": "The dedicated agent pool for the run." + }, + "logTemplate": { + "type": "string", + "description": "The template that describes the repository and tag information for run log artifact." + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "RunStatus": { + "type": "string", + "description": "The current status of the run.", + "enum": [ + "Queued", + "Started", + "Running", + "Succeeded", + "Failed", + "Canceled", + "Error", + "Timeout" + ], + "x-ms-enum": { + "name": "RunStatus", + "modelAsString": true, + "values": [ + { + "name": "Queued", + "value": "Queued" + }, + { + "name": "Started", + "value": "Started" + }, + { + "name": "Running", + "value": "Running" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Error", + "value": "Error" + }, + { + "name": "Timeout", + "value": "Timeout" + } + ] + } + }, + "RunType": { + "type": "string", + "description": "The type of run.", + "enum": [ + "QuickBuild", + "QuickRun", + "AutoBuild", + "AutoRun" + ], + "x-ms-enum": { + "name": "RunType", + "modelAsString": true, + "values": [ + { + "name": "QuickBuild", + "value": "QuickBuild" + }, + { + "name": "QuickRun", + "value": "QuickRun" + }, + { + "name": "AutoBuild", + "value": "AutoBuild" + }, + { + "name": "AutoRun", + "value": "AutoRun" + } + ] + } + }, + "RunUpdateParameters": { + "type": "object", + "description": "The set of run properties that can be updated.", + "properties": { + "isArchiveEnabled": { + "type": "boolean", + "description": "The value that indicates whether archiving is enabled or not." + } + } + }, + "SecretObject": { + "type": "object", + "description": "Describes the properties of a secret object value.", + "properties": { + "value": { + "type": "string", + "description": "The value of the secret. The format of this value will be determined\nbased on the type of the secret object. If the type is Opaque, the value will be\nused as is without any modification." + }, + "type": { + "$ref": "#/definitions/SecretObjectType", + "description": "The type of the secret object which determines how the value of the secret object has to be\ninterpreted." + } + } + }, + "SecretObjectType": { + "type": "string", + "description": "The type of the secret object which determines how the value of the secret object has to be\ninterpreted.", + "enum": [ + "Opaque", + "Vaultsecret" + ], + "x-ms-enum": { + "name": "SecretObjectType", + "modelAsString": true, + "values": [ + { + "name": "Opaque", + "value": "Opaque" + }, + { + "name": "Vaultsecret", + "value": "Vaultsecret" + } + ] + } + }, + "SetValue": { + "type": "object", + "description": "The properties of a overridable value that can be passed to a task template.", + "properties": { + "name": { + "type": "string", + "description": "The name of the overridable value." + }, + "value": { + "type": "string", + "description": "The overridable value." + }, + "isSecret": { + "type": "boolean", + "description": "Flag to indicate whether the value represents a secret or not." + } + }, + "required": [ + "name", + "value" + ] + }, + "SourceControlType": { + "type": "string", + "description": "The type of source control service.", + "enum": [ + "Github", + "VisualStudioTeamService" + ], + "x-ms-enum": { + "name": "SourceControlType", + "modelAsString": true, + "values": [ + { + "name": "Github", + "value": "Github" + }, + { + "name": "VisualStudioTeamService", + "value": "VisualStudioTeamService" + } + ] + } + }, + "SourceProperties": { + "type": "object", + "description": "The properties of the source code repository.", + "properties": { + "sourceControlType": { + "$ref": "#/definitions/SourceControlType", + "description": "The type of source control service." + }, + "repositoryUrl": { + "type": "string", + "description": "The full URL to the source code repository" + }, + "branch": { + "type": "string", + "description": "The branch name of the source code." + }, + "sourceControlAuthProperties": { + "$ref": "#/definitions/AuthInfo", + "description": "The authorization properties for accessing the source code repository and to set up\nwebhooks for notifications." + } + }, + "required": [ + "sourceControlType", + "repositoryUrl" + ] + }, + "SourceRegistryCredentials": { + "type": "object", + "description": "Describes the credential parameters for accessing the source registry.", + "properties": { + "identity": { + "type": "string", + "description": "The Entra identity used for source registry login.\nThe value is `[system]` for system-assigned managed identity, `[caller]` for caller identity,\nand client ID for user-assigned managed identity." + }, + "loginMode": { + "$ref": "#/definitions/SourceRegistryLoginMode", + "description": "The authentication mode which determines the source registry login scope. The credentials for the source registry\nwill be generated using the given scope. These credentials will be used to login to\nthe source registry during the run." + } + } + }, + "SourceRegistryLoginMode": { + "type": "string", + "description": "The authentication mode which determines the source registry login scope. The credentials for the source registry\nwill be generated using the given scope. These credentials will be used to login to\nthe source registry during the run.", + "enum": [ + "None", + "Default" + ], + "x-ms-enum": { + "name": "SourceRegistryLoginMode", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Default", + "value": "Default" + } + ] + } + }, + "SourceTrigger": { + "type": "object", + "description": "The properties of a source based trigger.", + "properties": { + "sourceRepository": { + "$ref": "#/definitions/SourceProperties", + "description": "The properties that describes the source(code) for the task." + }, + "sourceTriggerEvents": { + "type": "array", + "description": "The source event corresponding to the trigger.", + "items": { + "$ref": "#/definitions/SourceTriggerEvent" + } + }, + "status": { + "$ref": "#/definitions/TriggerStatus", + "description": "The current status of trigger." + }, + "name": { + "type": "string", + "description": "The name of the trigger." + } + }, + "required": [ + "sourceRepository", + "sourceTriggerEvents", + "name" + ] + }, + "SourceTriggerDescriptor": { + "type": "object", + "description": "The source trigger that caused a run.", + "properties": { + "id": { + "type": "string", + "description": "The unique ID of the trigger." + }, + "eventType": { + "type": "string", + "description": "The event type of the trigger." + }, + "commitId": { + "type": "string", + "description": "The unique ID that identifies a commit." + }, + "pullRequestId": { + "type": "string", + "description": "The unique ID that identifies pull request." + }, + "repositoryUrl": { + "type": "string", + "description": "The repository URL." + }, + "branchName": { + "type": "string", + "description": "The branch name in the repository." + }, + "providerType": { + "type": "string", + "description": "The source control provider type." + } + } + }, + "SourceTriggerEvent": { + "type": "string", + "enum": [ + "commit", + "pullrequest" + ], + "x-ms-enum": { + "name": "SourceTriggerEvent", + "modelAsString": true, + "values": [ + { + "name": "commit", + "value": "commit" + }, + { + "name": "pullrequest", + "value": "pullrequest" + } + ] + } + }, + "SourceTriggerUpdateParameters": { + "type": "object", + "description": "The properties for updating a source based trigger.", + "properties": { + "sourceRepository": { + "$ref": "#/definitions/SourceUpdateParameters", + "description": "The properties that describes the source(code) for the task." + }, + "sourceTriggerEvents": { + "type": "array", + "description": "The source event corresponding to the trigger.", + "items": { + "$ref": "#/definitions/SourceTriggerEvent" + } + }, + "status": { + "$ref": "#/definitions/TriggerStatus", + "description": "The current status of trigger." + }, + "name": { + "type": "string", + "description": "The name of the trigger." + } + }, + "required": [ + "name" + ] + }, + "SourceUpdateParameters": { + "type": "object", + "description": "The properties for updating the source code repository.", + "properties": { + "sourceControlType": { + "$ref": "#/definitions/SourceControlType", + "description": "The type of source control service." + }, + "repositoryUrl": { + "type": "string", + "description": "The full URL to the source code repository" + }, + "branch": { + "type": "string", + "description": "The branch name of the source code." + }, + "sourceControlAuthProperties": { + "$ref": "#/definitions/AuthInfoUpdateParameters", + "description": "The authorization properties for accessing the source code repository and to set up\nwebhooks for notifications." + } + } + }, + "SourceUploadDefinition": { + "type": "object", + "description": "The properties of a response to source upload request.", + "properties": { + "uploadUrl": { + "type": "string", + "description": "The URL where the client can upload the source." + }, + "relativePath": { + "type": "string", + "description": "The relative path to the source. This is used to submit the subsequent queue build request." + } + } + }, + "StepType": { + "type": "string", + "description": "The type of the step.", + "enum": [ + "Docker", + "FileTask", + "EncodedTask" + ], + "x-ms-enum": { + "name": "StepType", + "modelAsString": true, + "values": [ + { + "name": "Docker", + "value": "Docker" + }, + { + "name": "FileTask", + "value": "FileTask" + }, + { + "name": "EncodedTask", + "value": "EncodedTask" + } + ] + } + }, + "Task": { + "type": "object", + "description": "The task that has the ARM resource and task properties.\nThe task will have all information to schedule a run against it.", + "properties": { + "properties": { + "$ref": "#/definitions/TaskProperties", + "description": "The properties of a task.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identity for the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "TaskListResult": { + "type": "object", + "description": "The response of a Task list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Task items on this page", + "items": { + "$ref": "#/definitions/Task" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TaskProperties": { + "type": "object", + "description": "The properties of a task.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the task.", + "readOnly": true + }, + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of task.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/TaskStatus", + "description": "The current status of task." + }, + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run has to happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "agentPoolName": { + "type": "string", + "description": "The dedicated agent pool for the task." + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "Run timeout in seconds.", + "default": 3600, + "minimum": 300, + "maximum": 28800 + }, + "step": { + "$ref": "#/definitions/TaskStepProperties", + "description": "The properties of a task step." + }, + "trigger": { + "$ref": "#/definitions/TriggerProperties", + "description": "The properties that describe all triggers for the task." + }, + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The properties that describes a set of credentials that will be used when this run is invoked." + }, + "logTemplate": { + "type": "string", + "description": "The template that describes the repository and tag information for run log artifact." + }, + "isSystemTask": { + "type": "boolean", + "description": "The value of this property indicates whether the task resource is system task or not." + } + } + }, + "TaskPropertiesUpdateParameters": { + "type": "object", + "description": "The properties for updating a task.", + "properties": { + "status": { + "$ref": "#/definitions/TaskStatus", + "description": "The current status of task." + }, + "platform": { + "$ref": "#/definitions/PlatformUpdateParameters", + "description": "The platform properties against which the run has to happen." + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." + }, + "agentPoolName": { + "type": "string", + "description": "The dedicated agent pool for the task." + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "Run timeout in seconds." + }, + "step": { + "$ref": "#/definitions/TaskStepUpdateParameters", + "description": "The properties for updating a task step." + }, + "trigger": { + "$ref": "#/definitions/TriggerUpdateParameters", + "description": "The properties for updating trigger properties." + }, + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The parameters that describes a set of credentials that will be used when this run is invoked." + }, + "logTemplate": { + "type": "string", + "description": "The template that describes the repository and tag information for run log artifact." + } + } + }, + "TaskRun": { + "type": "object", + "description": "The task run that has the ARM resource and properties.\nThe task run will have the information of request and result of a run.", + "properties": { + "properties": { + "$ref": "#/definitions/TaskRunProperties", + "description": "The properties associated with the task run, i.e., request and result of the run", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "TaskRunListResult": { + "type": "object", + "description": "The response of a TaskRun list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TaskRun items on this page", + "items": { + "$ref": "#/definitions/TaskRun" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TaskRunProperties": { + "type": "object", + "description": "The properties of task run.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of this task run", + "readOnly": true + }, + "runRequest": { + "$ref": "#/definitions/RunRequest", + "description": "The request (parameters) for the run" + }, + "runResult": { + "$ref": "#/definitions/Run", + "description": "The result of this task run", + "readOnly": true + }, + "forceUpdateTag": { + "type": "string", + "description": "How the run should be forced to rerun even if the run request configuration has not changed" + } + } + }, + "TaskRunPropertiesUpdateParameters": { + "type": "object", + "description": "The properties of a task run update parameters.", + "properties": { + "runRequest": { + "$ref": "#/definitions/RunRequest", + "description": "The request (parameters) for the new run" + }, + "forceUpdateTag": { + "type": "string", + "description": "How the run should be forced to rerun even if the run request configuration has not changed" + } + } + }, + "TaskRunRequest": { + "type": "object", + "description": "The parameters for a task run request.", + "properties": { + "taskId": { + "type": "string", + "description": "The resource ID of task against which run has to be queued." + }, + "overrideTaskStepProperties": { + "$ref": "#/definitions/OverrideTaskStepProperties", + "description": "Set of overridable parameters that can be passed when running a Task." + } + }, + "required": [ + "taskId" + ], + "allOf": [ + { + "$ref": "#/definitions/RunRequest" + } + ], + "x-ms-discriminator-value": "TaskRunRequest" + }, + "TaskRunUpdateParameters": { + "type": "object", + "description": "The parameters for updating a task run.", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identity for the resource." + }, + "properties": { + "$ref": "#/definitions/TaskRunPropertiesUpdateParameters", + "description": "The properties for updating a task run.", + "x-ms-client-flatten": true + }, + "location": { + "type": "string", + "description": "The location of the resource" + }, + "tags": { + "type": "object", + "description": "The ARM resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "TaskStatus": { + "type": "string", + "description": "The current status of task.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "TaskStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, + "TaskStepProperties": { + "type": "object", + "description": "Base properties for any task step.", + "properties": { + "type": { + "$ref": "#/definitions/StepType", + "description": "The type of the step." + }, + "baseImageDependencies": { + "type": "array", + "description": "List of base image dependencies for a step.", + "items": { + "$ref": "#/definitions/BaseImageDependency" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "contextPath": { + "type": "string", + "description": "The URL(absolute or relative) of the source context for the task step." + }, + "contextAccessToken": { + "type": "string", + "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step." + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "TaskStepUpdateParameters": { + "type": "object", + "description": "Base properties for updating any task step.", + "properties": { + "type": { + "$ref": "#/definitions/StepType", + "description": "The type of the step." + }, + "contextPath": { + "type": "string", + "description": "The URL(absolute or relative) of the source context for the task step." + }, + "contextAccessToken": { + "type": "string", + "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step." + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "TaskUpdateParameters": { + "type": "object", + "description": "The parameters for updating a task.", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identity for the resource." + }, + "properties": { + "$ref": "#/definitions/TaskPropertiesUpdateParameters", + "description": "The properties for updating a task.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "The ARM resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "TimerTrigger": { + "type": "object", + "description": "The properties of a timer trigger.", + "properties": { + "schedule": { + "type": "string", + "description": "The CRON expression for the task schedule" + }, + "status": { + "$ref": "#/definitions/TriggerStatus", + "description": "The current status of trigger." + }, + "name": { + "type": "string", + "description": "The name of the trigger." + } + }, + "required": [ + "schedule", + "name" + ] + }, + "TimerTriggerDescriptor": { + "type": "object", + "properties": { + "timerTriggerName": { + "type": "string", + "description": "The timer trigger name that caused the run." + }, + "scheduleOccurrence": { + "type": "string", + "description": "The occurrence that triggered the run." + } + } + }, + "TimerTriggerUpdateParameters": { + "type": "object", + "description": "The properties for updating a timer trigger.", + "properties": { + "schedule": { + "type": "string", + "description": "The CRON expression for the task schedule" + }, + "status": { + "$ref": "#/definitions/TriggerStatus", + "description": "The current status of trigger." + }, + "name": { + "type": "string", + "description": "The name of the trigger." + } + }, + "required": [ + "name" + ] + }, + "TokenType": { + "type": "string", + "description": "The type of Auth token.", + "enum": [ + "PAT", + "OAuth" + ], + "x-ms-enum": { + "name": "TokenType", + "modelAsString": true, + "values": [ + { + "name": "PAT", + "value": "PAT" + }, + { + "name": "OAuth", + "value": "OAuth" + } + ] + } + }, + "TriggerProperties": { + "type": "object", + "description": "The properties of a trigger.", + "properties": { + "timerTriggers": { + "type": "array", + "description": "The collection of timer triggers.", + "items": { + "$ref": "#/definitions/TimerTrigger" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "sourceTriggers": { + "type": "array", + "description": "The collection of triggers based on source code repository.", + "items": { + "$ref": "#/definitions/SourceTrigger" + }, + "x-ms-identifiers": [ + "name", + "sourceRepository/repositoryUrl" + ] + }, + "baseImageTrigger": { + "$ref": "#/definitions/BaseImageTrigger", + "description": "The trigger based on base image dependencies." + } + } + }, + "TriggerStatus": { + "type": "string", + "description": "The current status of trigger.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, + "TriggerUpdateParameters": { + "type": "object", + "description": "The properties for updating triggers.", + "properties": { + "timerTriggers": { + "type": "array", + "description": "The collection of timer triggers.", + "items": { + "$ref": "#/definitions/TimerTriggerUpdateParameters" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "sourceTriggers": { + "type": "array", + "description": "The collection of triggers based on source code repository.", + "items": { + "$ref": "#/definitions/SourceTriggerUpdateParameters" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "baseImageTrigger": { + "$ref": "#/definitions/BaseImageTriggerUpdateParameters", + "description": "The trigger based on base image dependencies." + } + } + }, + "UpdateTriggerPayloadType": { + "type": "string", + "description": "Type of Payload body for Base image update triggers.", + "enum": [ + "Default", + "Token" + ], + "x-ms-enum": { + "name": "UpdateTriggerPayloadType", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default" + }, + { + "name": "Token", + "value": "Token" + } + ] + } + }, + "UserIdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity.", + "readOnly": true + }, + "clientId": { + "type": "string", + "description": "The client id of user assigned identity.", + "readOnly": true + } + } + }, + "Variant": { + "type": "string", + "description": "Variant of the CPU.", + "enum": [ + "v6", + "v7", + "v8" + ], + "x-ms-enum": { + "name": "Variant", + "modelAsString": true, + "values": [ + { + "name": "v6", + "value": "v6" + }, + { + "name": "v7", + "value": "v7" + }, + { + "name": "v8", + "value": "v8" + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsCreate.json new file mode 100644 index 000000000000..9b990a0ff01c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsCreate.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "agentPool": { + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "tier": "S1" + }, + "tags": { + "key": "value" + } + }, + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + }, + "201": { + "body": { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + } + }, + "operationId": "AgentPools_Create", + "title": "AgentPools_Create" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsDelete.json new file mode 100644 index 000000000000..ce63d22205da --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/agentPoolsOperationResults/00000000-0000-0000-0000-000000000000/status?api-version=2025-03-01-preview" + } + }, + "204": {} + }, + "operationId": "AgentPools_Delete", + "title": "AgentPools_Delete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGet.json new file mode 100644 index 000000000000..2954ee2c1b41 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + } + }, + "operationId": "AgentPools_Get", + "title": "AgentPools_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json new file mode 100644 index 000000000000..8c8780758bce --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "count": 10 + } + } + }, + "operationId": "AgentPools_GetQueueStatus", + "title": "AgentPools_GetQueueStatus" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsList.json new file mode 100644 index 000000000000..5a7188b5835b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsList.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + ] + } + } + }, + "operationId": "AgentPools_List", + "title": "AgentPools_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json new file mode 100644 index 000000000000..e6d8cd533cc5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "updateParameters": { + "properties": { + "count": 1 + } + } + }, + "responses": { + "200": { + "body": { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + }, + "201": { + "body": { + "name": "myAgentPool", + "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", + "properties": { + "count": 1, + "os": "Linux", + "provisioningState": "Succeeded", + "tier": "S1" + } + } + } + }, + "operationId": "AgentPools_Update", + "title": "AgentPools_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json new file mode 100644 index 000000000000..754f29e35b23 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json @@ -0,0 +1,250 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "mytTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithLoginIdentity" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json new file mode 100644 index 000000000000..7aebdbfa2a61 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json @@ -0,0 +1,256 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "mytTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned, UserAssigned", + "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned, UserAssigned", + "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithSystemAndUserIdentities" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json new file mode 100644 index 000000000000..234524ee8e79 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json @@ -0,0 +1,235 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "mytTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithUserIdentities_WithSystemIdentity" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json new file mode 100644 index 000000000000..3fb5af85dc17 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json @@ -0,0 +1,261 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "mytTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + }, + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + }, + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithUserIdentities" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json new file mode 100644 index 000000000000..14aa7d77780c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "identity": "[system]", + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/password" + }, + "userName": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/username" + } + } + } + }, + "logTemplate": null, + "status": "Enabled", + "step": { + "type": "Docker", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ] + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": null + }, + "sourceRegistry": null + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithKeyVaultCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json new file mode 100644 index 000000000000..27709a3df937 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json @@ -0,0 +1,132 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "logTemplate": null, + "status": "Enabled", + "step": { + "type": "Docker", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ] + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithLoginIdentity" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json new file mode 100644 index 000000000000..f4814334f82e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "identity": "[system]" + } + } + }, + "logTemplate": null, + "status": "Enabled", + "step": { + "type": "Docker", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ] + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithMSICustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json new file mode 100644 index 000000000000..a1cb2e510e55 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "relativePath": "source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz", + "uploadUrl": "https://registrystorageaccount.blob.core.windows.net/registrycontainer/source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + } + } + }, + "operationId": "Registries_GetBuildSourceUploadUrl", + "title": "Registries_GetBuildSourceUploadUrl" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json new file mode 100644 index 000000000000..5d33cde26aa0 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "DockerBuildRequest", + "agentConfiguration": { + "cpu": 2 + }, + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "dockerFilePath": "DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isArchiveEnabled": true, + "isPushEnabled": true, + "noCache": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json new file mode 100644 index 000000000000..c1429e996f08 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "EncodedTaskRunRequest", + "agentConfiguration": { + "cpu": 2 + }, + "encodedTaskContent": "c3RlcHM6Cnt7IGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAncHJvZCcgfX0KICAtIHJ1bjogcHJvZCBzZXR1cAp7eyBlbHNlIGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAnc3RhZ2luZycgfX0KICAtIHJ1bjogc3RhZ2luZyBzZXR1cAp7eyBlbHNlIH19CiAgLSBydW46IGRlZmF1bHQgc2V0dXAKe3sgZW5kIH19CgogIC0gcnVuOiBidWlsZCAtdCBGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0gLgoKcHVzaDogWydGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0nXQ==", + "encodedValuesContent": "ZW52aXJvbm1lbnQ6IHByb2QKdmVyc2lvbjogMQ==", + "platform": { + "os": "Linux" + }, + "values": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ] + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_EncodedTaskRun" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json new file mode 100644 index 000000000000..b6163d6ff7df --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "FileTaskRunRequest", + "agentConfiguration": { + "cpu": 2 + }, + "platform": { + "os": "Linux" + }, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "taskFilePath": "acb.yaml", + "values": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "valuesFilePath": "prod-values.yaml" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_FileTaskRun" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json new file mode 100644 index 000000000000..86c52b4164f0 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "FileTaskRunRequest", + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "password": { + "type": "Opaque", + "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "reg1" + } + } + }, + "sourceRegistry": { + "loginMode": "Default" + } + }, + "platform": { + "os": "Linux" + }, + "taskFilePath": "acb.yaml", + "values": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ] + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_Task_WithCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json new file mode 100644 index 000000000000..b275627c16eb --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "TaskRunRequest", + "overrideTaskStepProperties": { + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "file": "overriddenDockerfile", + "target": "build", + "updateTriggerToken": "aGVsbG8gd29ybGQ=", + "values": [ + { + "name": "mytestname", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestname", + "isSecret": true, + "value": "mysecrettestvalue" + } + ] + }, + "taskId": "myTask" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_Task" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json new file mode 100644 index 000000000000..2f1ad86b1c74 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "DockerBuildRequest", + "agentConfiguration": { + "cpu": 2 + }, + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "password": { + "type": "Opaque", + "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "reg1" + } + }, + "myregistry2.azurecr.io": { + "password": { + "type": "Opaque", + "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "reg2" + } + } + }, + "sourceRegistry": { + "loginMode": "Default" + } + }, + "dockerFilePath": "DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isArchiveEnabled": true, + "isPushEnabled": true, + "noCache": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "target": "stage1" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_WithCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json new file mode 100644 index 000000000000..b11d3b616edd --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runRequest": { + "type": "DockerBuildRequest", + "agentConfiguration": { + "cpu": 2 + }, + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "dockerFilePath": "DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isArchiveEnabled": true, + "isPushEnabled": true, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "noCache": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "status": "Succeeded" + } + } + } + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_WithLogTemplate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsCancel.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsCancel.json new file mode 100644 index 000000000000..7ab56cf944e5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsCancel.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": {} + }, + "operationId": "Runs_Cancel", + "title": "Runs_Cancel" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGet.json new file mode 100644 index 000000000000..93a34e25552a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGet.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2018-01-25T05:13:51.618Z", + "finishTime": "2018-01-25T06:13:51.618Z", + "imageUpdateTrigger": { + "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", + "images": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "registry.hub.docker.com", + "repository": "mybaseimage", + "tag": "latest" + } + ], + "timestamp": "2018-01-25T05:13:51.618Z" + }, + "isArchiveEnabled": true, + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "logArtifact": { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry", + "repository": "acr/tasks", + "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" + }, + "outputImages": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest" + } + ], + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runType": "AutoBuild", + "startTime": "2018-01-25T05:50:51.618Z", + "status": "Succeeded", + "task": "myTask" + } + } + } + }, + "operationId": "Runs_Get", + "title": "Runs_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json new file mode 100644 index 000000000000..ab2b06b6b505 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "logLink": "https://registrystorageaccount.blob.core.windows.net/sascontainer/logs/0accec26-d6de-4757-8e74-d080f38eaaab/rawtext.log?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + } + } + }, + "operationId": "Runs_GetLogSasUrl", + "title": "Runs_GetLogSasUrl" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsList.json new file mode 100644 index 000000000000..cd0a4996c0ab --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsList.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "$filter": "", + "$top": 10, + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2018-01-25T05:13:51.618Z", + "finishTime": "2018-01-25T06:13:51.618Z", + "imageUpdateTrigger": { + "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", + "images": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "registry.hub.docker.com", + "repository": "mybaseimage", + "tag": "latest" + } + ], + "timestamp": "2018-01-25T05:13:51.618Z" + }, + "isArchiveEnabled": true, + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "logArtifact": { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry", + "repository": "acr/tasks", + "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" + }, + "outputImages": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest" + } + ], + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runType": "AutoBuild", + "startTime": "2018-01-25T05:50:51.618Z", + "status": "Succeeded", + "task": "myTask" + } + } + ] + } + } + }, + "operationId": "Runs_List", + "title": "Runs_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsUpdate.json new file mode 100644 index 000000000000..c55d23360923 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsUpdate.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runUpdateParameters": { + "isArchiveEnabled": true + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2018-01-25T05:13:51.618Z", + "finishTime": "2018-01-25T06:13:51.618Z", + "imageUpdateTrigger": { + "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", + "images": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "registry.hub.docker.com", + "repository": "mybaseimage", + "tag": "latest" + } + ], + "timestamp": "2018-01-25T05:13:51.618Z" + }, + "isArchiveEnabled": true, + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", + "logArtifact": { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry", + "repository": "acr/tasks", + "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" + }, + "outputImages": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest" + } + ], + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runType": "AutoBuild", + "startTime": "2018-01-25T05:50:51.618Z", + "status": "Succeeded", + "task": "myTask" + } + } + } + }, + "operationId": "Runs_Update", + "title": "Runs_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsCreate.json new file mode 100644 index 000000000000..95cc6de96a06 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsCreate.json @@ -0,0 +1,115 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskRun": { + "properties": { + "forceUpdateTag": "test", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + } + } + }, + "taskRunName": "myRun" + }, + "responses": { + "200": { + "body": { + "name": "myrun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Creating", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd5", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:23:21.9261521+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:21+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd5", + "runType": "QuickRun", + "status": "Queued" + } + } + } + } + }, + "201": { + "body": { + "name": "myrun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Creating", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd5", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:23:21.9261521+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:21+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd5", + "runType": "QuickRun", + "status": "Queued" + } + } + } + } + } + }, + "operationId": "TaskRuns_Create", + "title": "TaskRuns_Create" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsDelete.json new file mode 100644 index 000000000000..9a7cfe9667e0 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskRunName": "myRun" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "TaskRuns_Delete", + "title": "TaskRuns_Delete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGet.json new file mode 100644 index 000000000000..ccee28c4ae37 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskRunName": "myRun" + }, + "responses": { + "200": { + "body": { + "name": "myRun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Succeeded", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd5", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:23:21.9261521+00:00", + "finishTime": "2019-09-06T17:23:29.8792157+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:29+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd5", + "runType": "QuickRun", + "startTime": "2019-09-06T17:23:22.1348714+00:00", + "status": "Succeeded" + } + } + } + } + } + }, + "operationId": "TaskRuns_Get", + "title": "TaskRuns_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json new file mode 100644 index 000000000000..c15489473dad --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskRunName": "myRun" + }, + "responses": { + "200": { + "body": { + "name": "myRun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Succeeded", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd5", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:23:21.9261521+00:00", + "finishTime": "2019-09-06T17:23:29.8792157+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:29+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd5", + "runType": "QuickRun", + "startTime": "2019-09-06T17:23:22.1348714+00:00", + "status": "Succeeded" + } + } + } + } + } + }, + "operationId": "TaskRuns_GetDetails", + "title": "TaskRuns_GetDetails" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsList.json new file mode 100644 index 000000000000..bc9e915d36ab --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsList.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "mytestrun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Succeeded", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd4", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd4", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-04T17:15:29.2278794+00:00", + "finishTime": "2019-09-04T17:15:37.0349516+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-04T17:15:37+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd4", + "runType": "QuickRun", + "startTime": "2019-09-04T17:15:29.4589616+00:00", + "status": "Succeeded" + } + } + } + } + ] + } + } + }, + "operationId": "TaskRuns_List", + "title": "TaskRuns_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsUpdate.json new file mode 100644 index 000000000000..1639e953bc7c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsUpdate.json @@ -0,0 +1,116 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskRunName": "myRun", + "updateParameters": { + "properties": { + "forceUpdateTag": "test", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "mytestrun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Creating", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd6", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd6", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:31:34.1184031+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:31:34+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd6", + "runType": "QuickRun", + "status": "Queued" + } + } + } + } + }, + "201": { + "body": { + "name": "mytestrun", + "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", + "properties": { + "provisioningState": "Creating", + "runRequest": { + "type": "EncodedTaskRunRequest", + "credentials": {}, + "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", + "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", + "isArchiveEnabled": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "values": [] + }, + "runResult": { + "name": "yd6", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd6", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "createTime": "2019-09-06T17:31:34.1184031+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:31:34+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "yd6", + "runType": "QuickRun", + "status": "Queued" + } + } + } + } + } + }, + "operationId": "TaskRuns_Update", + "title": "TaskRuns_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate.json new file mode 100644 index 000000000000..72a2de71e7d2 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate.json @@ -0,0 +1,241 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "isSystemTask": false, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "mytTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json new file mode 100644 index 000000000000..330570226afd --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskCreateParameters": { + "identity": null, + "location": "eastus", + "properties": { + "isSystemTask": true, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "status": "Enabled" + }, + "tags": { + "testkey": "value" + } + }, + "taskName": "quicktask" + }, + "responses": { + "200": { + "body": { + "name": "quicktask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": null, + "location": "eastus", + "properties": { + "agentConfiguration": null, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": true, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": null, + "provisioningState": "Succeeded", + "status": "Enabled", + "trigger": null + }, + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { + "name": "quicktask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": null, + "location": "eastus", + "properties": { + "agentConfiguration": null, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": true, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": null, + "provisioningState": "Creating", + "status": "Enabled", + "trigger": null + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_QuickTask" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksDelete.json new file mode 100644 index 000000000000..c95ab4d440b1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "Tasks_Delete", + "title": "Tasks_Delete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGet.json new file mode 100644 index 000000000000..fb911defd10b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGet.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask" + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Get", + "title": "Tasks_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGetDetails.json new file mode 100644 index 000000000000..865475732a7f --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGetDetails.json @@ -0,0 +1,110 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "credentials": { + "customRegistries": { + "myregistry.azure-test.io": { + "identity": "[system]", + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/username" + }, + "userName": { + "type": "Opaque", + "value": "username" + } + } + }, + "sourceRegistry": null + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_GetDetails", + "title": "Tasks_GetDetails" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksList.json new file mode 100644 index 000000000000..9742a895334c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksList.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 2 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myRegistry.azure.io": null + }, + "sourceRegistry": null + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + ] + } + } + }, + "operationId": "Tasks_List", + "title": "Tasks_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate.json new file mode 100644 index 000000000000..5d690c516306 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "identity": "[system]", + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/password" + }, + "userName": { + "type": "Opaque", + "value": "username" + } + } + } + }, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "status": "Enabled", + "step": { + "type": "Docker", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ] + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": null + }, + "sourceRegistry": null + }, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json new file mode 100644 index 000000000000..4f1768a47bee --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "quicktask", + "taskUpdateParameters": { + "properties": { + "logTemplate": "acr/tasks:{{.Run.OS}}", + "status": "Enabled" + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": null, + "location": "eastus", + "properties": { + "agentConfiguration": null, + "creationDate": "2018-01-25T06:54:23.536Z", + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": null, + "provisioningState": "Succeeded", + "status": "Enabled", + "trigger": null + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_QuickTask" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json new file mode 100644 index 000000000000..0b7dcf4d73f8 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json @@ -0,0 +1,142 @@ +{ + "parameters": { + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "taskName": "myTask", + "taskUpdateParameters": { + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "password": { + "type": "Opaque", + "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "username" + } + } + } + }, + "logTemplate": null, + "status": "Enabled", + "step": { + "type": "Docker", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ] + }, + "trigger": { + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "sourceControlAuthProperties": { + "token": "xxxxx", + "tokenType": "PAT" + } + }, + "sourceTriggerEvents": [ + "commit" + ] + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", + "properties": { + "agentConfiguration": { + "cpu": 3 + }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", + "step": { + "type": "Docker", + "arguments": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + } + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false + }, + "trigger": { + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, + "sourceTriggers": [ + { + "name": "mySourceTrigger", + "sourceRepository": { + "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", + "sourceControlType": "Github" + }, + "sourceTriggerEvents": [ + "commit" + ], + "status": "Enabled" + } + ], + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } + }, + "tags": { + "testkey": "value" + } + } + } + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithOpaqueCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/containerregistry.json new file mode 100644 index 000000000000..011a3ce20909 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/containerregistry.json @@ -0,0 +1,9375 @@ +{ + "swagger": "2.0", + "info": { + "title": "ContainerRegistryManagementClient", + "version": "2025-05-01-preview", + "description": "// (missing-service-description) Add service description", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Archives" + }, + { + "name": "Registries" + }, + { + "name": "ArchiveVersions" + }, + { + "name": "CacheRules" + }, + { + "name": "ConnectedRegistries" + }, + { + "name": "CredentialSets" + }, + { + "name": "ExportPipelines" + }, + { + "name": "PrivateLinkResources" + }, + { + "name": "ImportPipelines" + }, + { + "name": "PipelineRuns" + }, + { + "name": "PrivateEndpointConnections" + }, + { + "name": "Replications" + }, + { + "name": "ScopeMaps" + }, + { + "name": "Tokens" + }, + { + "name": "Webhooks" + } + ], + "paths": { + "/providers/Microsoft.ContainerRegistry/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "OperationList": { + "$ref": "./examples/OperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { + "post": { + "operationId": "Registries_CheckNameAvailability", + "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryNameCheckRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/RegistryNameStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryCheckNameAvailable": { + "$ref": "./examples/RegistryCheckNameAvailable.json" + }, + "RegistryCheckNameNotAvailable": { + "$ref": "./examples/RegistryCheckNameNotAvailable.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_List", + "tags": [ + "Registries" + ], + "description": "Lists all the container registries under the specified subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegistryListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryList": { + "$ref": "./examples/RegistryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_ListByResourceGroup", + "tags": [ + "Registries" + ], + "description": "Lists all the container registries under the specified resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegistryListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryListByResourceGroup": { + "$ref": "./examples/RegistryListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { + "get": { + "operationId": "Registries_Get", + "tags": [ + "Registries" + ], + "description": "Gets the properties of the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGet": { + "$ref": "./examples/RegistryGet.json" + } + } + }, + "put": { + "operationId": "Registries_Create", + "tags": [ + "Registries" + ], + "description": "Creates a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "registry", + "in": "body", + "description": "The parameters for creating a container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/Registry" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Registry' update operation succeeded", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "201": { + "description": "Resource 'Registry' create operation succeeded", + "schema": { + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryCreate": { + "$ref": "./examples/RegistryCreate.json" + }, + "RegistryCreateAbac": { + "$ref": "./examples/RegistryCreateAbac.json" + }, + "RegistryCreateDomainNameLabelScope": { + "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" + }, + "RegistryCreateZoneRedundant": { + "$ref": "./examples/RegistryCreateZoneRedundant.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Registry" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Registries_Update", + "tags": [ + "Registries" + ], + "description": "Updates a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "registryUpdateParameters", + "in": "body", + "description": "The parameters for updating a container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "201": { + "description": "Resource 'Registry' create operation succeeded", + "schema": { + "$ref": "#/definitions/Registry" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryUpdate": { + "$ref": "./examples/RegistryUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CRegistry%3E" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Registries_Delete", + "tags": [ + "Registries" + ], + "description": "Deletes a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryDelete": { + "$ref": "./examples/RegistryDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/archives": { + "get": { + "operationId": "Archives_List", + "tags": [ + "Archives" + ], + "description": "Lists all archives for the specified container registry and package type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ArchiveListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveList": { + "$ref": "./examples/ArchiveList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/archives/{archiveName}": { + "get": { + "operationId": "Archives_Get", + "tags": [ + "Archives" + ], + "description": "Gets the properties of the archive.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveGet": { + "$ref": "./examples/ArchiveGet.json" + } + } + }, + "put": { + "operationId": "Archives_Create", + "tags": [ + "Archives" + ], + "description": "Creates a archive for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveCreateParameters", + "in": "body", + "description": "The parameters for creating a archive.", + "required": true, + "schema": { + "$ref": "#/definitions/Archive" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Archive' update operation succeeded", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "201": { + "description": "Resource 'Archive' create operation succeeded", + "schema": { + "$ref": "#/definitions/Archive" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveCreate": { + "$ref": "./examples/ArchiveCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Archive" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Archives_Update", + "tags": [ + "Archives" + ], + "description": "Updates a archive for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveUpdateParameters", + "in": "body", + "description": "The parameters for updating a archive.", + "required": true, + "schema": { + "$ref": "#/definitions/ArchiveUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Archive" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveUpdate": { + "$ref": "./examples/ArchiveUpdate.json" + } + } + }, + "delete": { + "operationId": "Archives_Delete", + "tags": [ + "Archives" + ], + "description": "Deletes a archive from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveDelete": { + "$ref": "./examples/ArchiveDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/archives/{archiveName}/versions": { + "get": { + "operationId": "ArchiveVersions_List", + "tags": [ + "ArchiveVersions" + ], + "description": "Lists all archive versions for the specified container registry, repository type and archive name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ArchiveVersionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionList": { + "$ref": "./examples/ArchiveVersionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/archives/{archiveName}/versions/{archiveVersionName}": { + "get": { + "operationId": "ArchiveVersions_Get", + "tags": [ + "ArchiveVersions" + ], + "description": "Gets the properties of the archive version.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveVersionName", + "in": "path", + "description": "The name of the archive version resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionGet": { + "$ref": "./examples/ArchiveVersionGet.json" + } + } + }, + "put": { + "operationId": "ArchiveVersions_Create", + "tags": [ + "ArchiveVersions" + ], + "description": "Creates a archive for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveVersionName", + "in": "path", + "description": "The name of the archive version resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Resource 'ArchiveVersion' update operation succeeded", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "201": { + "description": "Resource 'ArchiveVersion' create operation succeeded", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionCreate": { + "$ref": "./examples/ArchiveVersionCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ArchiveVersion" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ArchiveVersions_Delete", + "tags": [ + "ArchiveVersions" + ], + "description": "Deletes a archive version from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveVersionName", + "in": "path", + "description": "The name of the archive version resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveVersionDelete": { + "$ref": "./examples/ArchiveVersionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { + "get": { + "operationId": "CacheRules_List", + "tags": [ + "CacheRules" + ], + "description": "Lists all cache rule resources for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CacheRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleList": { + "$ref": "./examples/CacheRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { + "get": { + "operationId": "CacheRules_Get", + "tags": [ + "CacheRules" + ], + "description": "Gets the properties of the specified cache rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleGet": { + "$ref": "./examples/CacheRuleGet.json" + } + } + }, + "put": { + "operationId": "CacheRules_Create", + "tags": [ + "CacheRules" + ], + "description": "Creates a cache rule for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "cacheRuleCreateParameters", + "in": "body", + "description": "The parameters for creating a cache rule.", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CacheRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "Resource 'CacheRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleCreate": { + "$ref": "./examples/CacheRuleCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CacheRule" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CacheRules_Update", + "tags": [ + "CacheRules" + ], + "description": "Updates a cache rule for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "cacheRuleUpdateParameters", + "in": "body", + "description": "The parameters for updating a cache rule.", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRuleUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "Resource 'CacheRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleUpdate": { + "$ref": "./examples/CacheRuleUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CCacheRule%3E" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CacheRules_Delete", + "tags": [ + "CacheRules" + ], + "description": "Deletes a cache rule resource from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleDelete": { + "$ref": "./examples/CacheRuleDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { + "get": { + "operationId": "ConnectedRegistries_List", + "tags": [ + "ConnectedRegistries" + ], + "description": "Lists all connected registries for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "$filter", + "in": "query", + "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectedRegistryListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryList": { + "$ref": "./examples/ConnectedRegistryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { + "get": { + "operationId": "ConnectedRegistries_Get", + "tags": [ + "ConnectedRegistries" + ], + "description": "Gets the properties of the connected registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryGet": { + "$ref": "./examples/ConnectedRegistryGet.json" + } + } + }, + "put": { + "operationId": "ConnectedRegistries_Create", + "tags": [ + "ConnectedRegistries" + ], + "description": "Creates a connected registry for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryCreateParameters", + "in": "body", + "description": "The parameters for creating a connectedRegistry.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ConnectedRegistry' update operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "201": { + "description": "Resource 'ConnectedRegistry' create operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryCreate": { + "$ref": "./examples/ConnectedRegistryCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectedRegistry" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ConnectedRegistries_Update", + "tags": [ + "ConnectedRegistries" + ], + "description": "Updates a connected registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryUpdateParameters", + "in": "body", + "description": "The parameters for updating a connectedRegistry.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectedRegistryUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "201": { + "description": "Resource 'ConnectedRegistry' create operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryUpdate": { + "$ref": "./examples/ConnectedRegistryUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CConnectedRegistry%3E" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ConnectedRegistries_Delete", + "tags": [ + "ConnectedRegistries" + ], + "description": "Deletes a connected registry from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryDelete": { + "$ref": "./examples/ConnectedRegistryDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { + "post": { + "operationId": "ConnectedRegistries_Deactivate", + "tags": [ + "ConnectedRegistries" + ], + "description": "Deactivates the connected registry instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryDeactivate": { + "$ref": "./examples/ConnectedRegistryDeactivate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/TypeSpec.Http.OkResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { + "get": { + "operationId": "CredentialSets_List", + "tags": [ + "CredentialSets" + ], + "description": "Lists all credential set resources for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CredentialSetListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetList": { + "$ref": "./examples/CredentialSetList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { + "get": { + "operationId": "CredentialSets_Get", + "tags": [ + "CredentialSets" + ], + "description": "Gets the properties of the specified credential set resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetGet": { + "$ref": "./examples/CredentialSetGet.json" + } + } + }, + "put": { + "operationId": "CredentialSets_Create", + "tags": [ + "CredentialSets" + ], + "description": "Creates a credential set for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "credentialSetCreateParameters", + "in": "body", + "description": "The parameters for creating a credential set.", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSet" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CredentialSet' update operation succeeded", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "Resource 'CredentialSet' create operation succeeded", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetCreate": { + "$ref": "./examples/CredentialSetCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CredentialSet" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CredentialSets_Update", + "tags": [ + "CredentialSets" + ], + "description": "Updates a credential set for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "credentialSetUpdateParameters", + "in": "body", + "description": "The parameters for updating a credential set.", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSetUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "Resource 'CredentialSet' create operation succeeded", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetUpdate": { + "$ref": "./examples/CredentialSetUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CCredentialSet%3E" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CredentialSets_Delete", + "tags": [ + "CredentialSets" + ], + "description": "Deletes a credential set from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetDelete": { + "$ref": "./examples/CredentialSetDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines": { + "get": { + "operationId": "ExportPipelines_List", + "tags": [ + "ExportPipelines" + ], + "description": "Lists all export pipelines for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExportPipelineListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineList": { + "$ref": "./examples/ExportPipelineList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { + "get": { + "operationId": "ExportPipelines_Get", + "tags": [ + "ExportPipelines" + ], + "description": "Gets the properties of the export pipeline.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineName", + "in": "path", + "description": "The name of the export pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineGet": { + "$ref": "./examples/ExportPipelineGet.json" + } + } + }, + "put": { + "operationId": "ExportPipelines_Create", + "tags": [ + "ExportPipelines" + ], + "description": "Creates an export pipeline for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineName", + "in": "path", + "description": "The name of the export pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineCreateParameters", + "in": "body", + "description": "The parameters for creating an export pipeline.", + "required": true, + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExportPipeline' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "201": { + "description": "Resource 'ExportPipeline' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExportPipeline" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineCreate": { + "$ref": "./examples/ExportPipelineCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExportPipeline" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExportPipelines_Delete", + "tags": [ + "ExportPipelines" + ], + "description": "Deletes an export pipeline from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "exportPipelineName", + "in": "path", + "description": "The name of the export pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExportPipelineDelete": { + "$ref": "./examples/ExportPipelineDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { + "post": { + "operationId": "Registries_GenerateCredentials", + "tags": [ + "Registries" + ], + "description": "Generate keys for a token of a specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "generateCredentialsParameters", + "in": "body", + "description": "The parameters for generating credentials.", + "required": true, + "schema": { + "$ref": "#/definitions/GenerateCredentialsParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GenerateCredentialsResult" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGenerateCredentials": { + "$ref": "./examples/RegistryGenerateCredentials.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CGenerateCredentialsResult%3E" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { + "post": { + "operationId": "Registries_ImportImage", + "tags": [ + "Registries" + ], + "description": "Copies an image to this container registry from the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters specifying the image to copy and the source container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/ImportImageParameters" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportImageByManifestDigest": { + "$ref": "./examples/ImportImageByManifestDigest.json" + }, + "ImportImageByTag": { + "$ref": "./examples/ImportImageByTag.json" + }, + "ImportImageFromPublicRegistry": { + "$ref": "./examples/ImportImageFromPublicRegistry.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/TypeSpec.Http.OkResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { + "get": { + "operationId": "ImportPipelines_List", + "tags": [ + "ImportPipelines" + ], + "description": "Lists all import pipelines for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImportPipelineListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineList": { + "$ref": "./examples/ImportPipelineList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { + "get": { + "operationId": "ImportPipelines_Get", + "tags": [ + "ImportPipelines" + ], + "description": "Gets the properties of the import pipeline.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineName", + "in": "path", + "description": "The name of the import pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineGet": { + "$ref": "./examples/ImportPipelineGet.json" + } + } + }, + "put": { + "operationId": "ImportPipelines_Create", + "tags": [ + "ImportPipelines" + ], + "description": "Creates an import pipeline for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineName", + "in": "path", + "description": "The name of the import pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineCreateParameters", + "in": "body", + "description": "The parameters for creating an import pipeline.", + "required": true, + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ImportPipeline' update operation succeeded", + "schema": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "201": { + "description": "Resource 'ImportPipeline' create operation succeeded", + "schema": { + "$ref": "#/definitions/ImportPipeline" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineCreate": { + "$ref": "./examples/ImportPipelineCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ImportPipeline" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ImportPipelines_Delete", + "tags": [ + "ImportPipelines" + ], + "description": "Deletes an import pipeline from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "importPipelineName", + "in": "path", + "description": "The name of the import pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportPipelineDelete": { + "$ref": "./examples/ImportPipelineDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { + "post": { + "operationId": "Registries_ListCredentials", + "tags": [ + "Registries" + ], + "description": "Lists the login credentials for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryListCredentials": { + "$ref": "./examples/RegistryListCredentials.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { + "get": { + "operationId": "Registries_ListUsages", + "tags": [ + "Registries" + ], + "description": "Gets the quota usages for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegistryUsageListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryListUsages": { + "$ref": "./examples/RegistryListUsages.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { + "get": { + "operationId": "PipelineRuns_List", + "tags": [ + "PipelineRuns" + ], + "description": "Lists all the pipeline runs for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PipelineRunListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunList": { + "$ref": "./examples/PipelineRunList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { + "get": { + "operationId": "PipelineRuns_Get", + "tags": [ + "PipelineRuns" + ], + "description": "Gets the detailed information for a given pipeline run.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "description": "The name of the pipeline run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PipelineRun" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunGet": { + "$ref": "./examples/PipelineRunGet.json" + } + } + }, + "put": { + "operationId": "PipelineRuns_Create", + "tags": [ + "PipelineRuns" + ], + "description": "Creates a pipeline run for a container registry with the specified parameters", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "description": "The name of the pipeline run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunCreateParameters", + "in": "body", + "description": "The parameters for creating a pipeline run.", + "required": true, + "schema": { + "$ref": "#/definitions/PipelineRun" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PipelineRun' update operation succeeded", + "schema": { + "$ref": "#/definitions/PipelineRun" + } + }, + "201": { + "description": "Resource 'PipelineRun' create operation succeeded", + "schema": { + "$ref": "#/definitions/PipelineRun" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunCreate_Export": { + "$ref": "./examples/PipelineRunCreate_Export.json" + }, + "PipelineRunCreate_Import": { + "$ref": "./examples/PipelineRunCreate_Import.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/PipelineRun" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PipelineRuns_Delete", + "tags": [ + "PipelineRuns" + ], + "description": "Deletes a pipeline run from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "description": "The name of the pipeline run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PipelineRunDelete": { + "$ref": "./examples/PipelineRunDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { + "get": { + "operationId": "PrivateEndpointConnections_List", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "List all private endpoint connections in a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionList": { + "$ref": "./examples/PrivateEndpointConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "PrivateEndpointConnections_Get", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Get the specified private endpoint connection associated with the container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionGet": { + "$ref": "./examples/PrivateEndpointConnectionGet.json" + } + } + }, + "put": { + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Update the state of specified private endpoint connection associated with the container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnection", + "in": "body", + "description": "The parameters for creating a private endpoint connection.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PrivateEndpointConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "Resource 'PrivateEndpointConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionCreateOrUpdate": { + "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/PrivateEndpointConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PrivateEndpointConnections_Delete", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes the specified private endpoint connection associated with the container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionDelete": { + "$ref": "./examples/PrivateEndpointConnectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { + "get": { + "operationId": "Registries_ListPrivateLinkResources", + "tags": [ + "PrivateLinkResources" + ], + "description": "Lists the private link resources for a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryListPrivateLinkResources": { + "$ref": "./examples/RegistryListPrivateLinkResources.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { + "get": { + "operationId": "Registries_GetPrivateLinkResource", + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets a private link resource by a specified group name for a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "groupName", + "in": "path", + "description": "The name of the private link resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGetPrivateLinkResource": { + "$ref": "./examples/RegistryGetPrivateLinkResource.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { + "post": { + "operationId": "Registries_RegenerateCredential", + "tags": [ + "Registries" + ], + "description": "Regenerates one of the login credentials for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "regenerateCredentialParameters", + "in": "body", + "description": "Specifies name of the password which should be regenerated -- password or password2.", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateCredentialParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryRegenerateCredential": { + "$ref": "./examples/RegistryRegenerateCredential.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications": { + "get": { + "operationId": "Replications_List", + "tags": [ + "Replications" + ], + "description": "Lists all the replications for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ReplicationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ReplicationList": { + "$ref": "./examples/ReplicationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { + "get": { + "operationId": "Replications_Get", + "tags": [ + "Replications" + ], + "description": "Gets the properties of the specified replication.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ReplicationGet": { + "$ref": "./examples/ReplicationGet.json" + } + } + }, + "put": { + "operationId": "Replications_Create", + "tags": [ + "Replications" + ], + "description": "Creates a replication for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replication", + "in": "body", + "description": "The parameters for creating a replication.", + "required": true, + "schema": { + "$ref": "#/definitions/Replication" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Replication' update operation succeeded", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "201": { + "description": "Resource 'Replication' create operation succeeded", + "schema": { + "$ref": "#/definitions/Replication" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ReplicationCreate": { + "$ref": "./examples/ReplicationCreate.json" + }, + "ReplicationCreateZoneRedundant": { + "$ref": "./examples/ReplicationCreateZoneRedundant.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Replication" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Replications_Update", + "tags": [ + "Replications" + ], + "description": "Updates a replication for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationUpdateParameters", + "in": "body", + "description": "The parameters for updating a replication.", + "required": true, + "schema": { + "$ref": "#/definitions/ReplicationUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "201": { + "description": "Resource 'Replication' create operation succeeded", + "schema": { + "$ref": "#/definitions/Replication" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ReplicationUpdate": { + "$ref": "./examples/ReplicationUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CReplication%3E" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Replications_Delete", + "tags": [ + "Replications" + ], + "description": "Deletes a replication from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ReplicationDelete": { + "$ref": "./examples/ReplicationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { + "get": { + "operationId": "ScopeMaps_List", + "tags": [ + "ScopeMaps" + ], + "description": "Lists all the scope maps for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScopeMapListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapList": { + "$ref": "./examples/ScopeMapList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { + "get": { + "operationId": "ScopeMaps_Get", + "tags": [ + "ScopeMaps" + ], + "description": "Gets the properties of the specified scope map.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapGet": { + "$ref": "./examples/ScopeMapGet.json" + } + } + }, + "put": { + "operationId": "ScopeMaps_Create", + "tags": [ + "ScopeMaps" + ], + "description": "Creates a scope map for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + }, + { + "name": "scopeMapCreateParameters", + "in": "body", + "description": "The parameters for creating a scope map.", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMap" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ScopeMap' update operation succeeded", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "201": { + "description": "Resource 'ScopeMap' create operation succeeded", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapCreate": { + "$ref": "./examples/ScopeMapCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ScopeMap" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ScopeMaps_Update", + "tags": [ + "ScopeMaps" + ], + "description": "Updates a scope map with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + }, + { + "name": "scopeMapUpdateParameters", + "in": "body", + "description": "The parameters for updating a scope map.", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMapUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "201": { + "description": "Resource 'ScopeMap' create operation succeeded", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapUpdate": { + "$ref": "./examples/ScopeMapUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CScopeMap%3E" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ScopeMaps_Delete", + "tags": [ + "ScopeMaps" + ], + "description": "Deletes a scope map from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapDelete": { + "$ref": "./examples/ScopeMapDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens": { + "get": { + "operationId": "Tokens_List", + "tags": [ + "Tokens" + ], + "description": "Lists all the tokens for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TokenListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenList": { + "$ref": "./examples/TokenList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { + "get": { + "operationId": "Tokens_Get", + "tags": [ + "Tokens" + ], + "description": "Gets the properties of the specified token.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenGet": { + "$ref": "./examples/TokenGet.json" + } + } + }, + "put": { + "operationId": "Tokens_Create", + "tags": [ + "Tokens" + ], + "description": "Creates a token for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "tokenCreateParameters", + "in": "body", + "description": "The parameters for creating a token.", + "required": true, + "schema": { + "$ref": "#/definitions/Token" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Token' update operation succeeded", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "201": { + "description": "Resource 'Token' create operation succeeded", + "schema": { + "$ref": "#/definitions/Token" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenCreate": { + "$ref": "./examples/TokenCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Token" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Tokens_Update", + "tags": [ + "Tokens" + ], + "description": "Updates a token with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "tokenUpdateParameters", + "in": "body", + "description": "The parameters for updating a token.", + "required": true, + "schema": { + "$ref": "#/definitions/TokenUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "201": { + "description": "Resource 'Token' create operation succeeded", + "schema": { + "$ref": "#/definitions/Token" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenUpdate": { + "$ref": "./examples/TokenUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CToken%3E" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Tokens_Delete", + "tags": [ + "Tokens" + ], + "description": "Deletes a token from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenDelete": { + "$ref": "./examples/TokenDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks": { + "get": { + "operationId": "Webhooks_List", + "tags": [ + "Webhooks" + ], + "description": "Lists all the webhooks for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebhookListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookList": { + "$ref": "./examples/WebhookList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { + "get": { + "operationId": "Webhooks_Get", + "tags": [ + "Webhooks" + ], + "description": "Gets the properties of the specified webhook.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookGet": { + "$ref": "./examples/WebhookGet.json" + } + } + }, + "put": { + "operationId": "Webhooks_Create", + "tags": [ + "Webhooks" + ], + "description": "Creates a webhook for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookCreateParameters", + "in": "body", + "description": "The parameters for creating a webhook.", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookCreateParameters" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Webhook' update operation succeeded", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "201": { + "description": "Resource 'Webhook' create operation succeeded", + "schema": { + "$ref": "#/definitions/Webhook" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookCreate": { + "$ref": "./examples/WebhookCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Webhook" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Webhooks_Update", + "tags": [ + "Webhooks" + ], + "description": "Updates a webhook with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookUpdateParameters", + "in": "body", + "description": "The parameters for updating a webhook.", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "201": { + "description": "Resource 'Webhook' create operation succeeded", + "schema": { + "$ref": "#/definitions/Webhook" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookUpdate": { + "$ref": "./examples/WebhookUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CWebhook%3E" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Webhooks_Delete", + "tags": [ + "Webhooks" + ], + "description": "Deletes a webhook from a container registry.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookDelete": { + "$ref": "./examples/WebhookDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { + "post": { + "operationId": "Webhooks_GetCallbackConfig", + "tags": [ + "Webhooks" + ], + "description": "Gets the configuration of service URI and custom headers for the webhook.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CallbackConfig" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookGetCallbackConfig": { + "$ref": "./examples/WebhookGetCallbackConfig.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { + "post": { + "operationId": "Webhooks_ListEvents", + "tags": [ + "Webhooks" + ], + "description": "Lists recent events for the specified webhook.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EventListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookListEvents": { + "$ref": "./examples/WebhookListEvents.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { + "post": { + "operationId": "Webhooks_Ping", + "tags": [ + "Webhooks" + ], + "description": "Triggers a ping event to be sent to the webhook.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EventInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "WebhookPing": { + "$ref": "./examples/WebhookPing.json" + } + } + } + } + }, + "definitions": { + "ActionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer.", + "enum": [ + "None", + "Recreate" + ], + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Recreate", + "value": "Recreate" + } + ] + } + }, + "ActivationProperties": { + "type": "object", + "description": "The activation properties of the connected registry.", + "properties": { + "status": { + "$ref": "#/definitions/ActivationStatus", + "description": "The activation status of the connected registry.", + "readOnly": true + } + } + }, + "ActivationStatus": { + "type": "string", + "description": "The activation status of the connected registry.", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "ActivationStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active" + }, + { + "name": "Inactive", + "value": "Inactive" + } + ] + } + }, + "Actor": { + "type": "object", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", + "properties": { + "name": { + "type": "string", + "description": "The subject or username associated with the request context that generated the event." + } + } + }, + "Archive": { + "type": "object", + "description": "An object that represents a archive for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveProperties", + "description": "The properties of the archive.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ArchiveListResult": { + "type": "object", + "description": "The response of a Archive list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Archive items on this page", + "items": { + "$ref": "#/definitions/Archive" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ArchivePackageSourceProperties": { + "type": "object", + "description": "The properties of the archive package source.", + "properties": { + "type": { + "$ref": "#/definitions/PackageSourceType", + "description": "The type of package source for a archive." + }, + "url": { + "type": "string", + "description": "The external repository url." + } + } + }, + "ArchiveProperties": { + "type": "object", + "description": "The properties of a archive.", + "properties": { + "packageSource": { + "$ref": "#/definitions/ArchivePackageSourceProperties", + "description": "The package source of the archive." + }, + "publishedVersion": { + "type": "string", + "description": "The published version of the archive." + }, + "repositoryEndpointPrefix": { + "type": "string" + }, + "repositoryEndpoint": { + "type": "string", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the archive at the time the operation was called.", + "readOnly": true + } + } + }, + "ArchiveUpdateParameters": { + "type": "object", + "description": "The parameters for updating a archive.", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveUpdateProperties", + "description": "The properties of the connected registry update parameters.", + "x-ms-client-flatten": true + } + } + }, + "ArchiveUpdateProperties": { + "type": "object", + "description": "The properties of a archive.", + "properties": { + "publishedVersion": { + "type": "string", + "description": "The published version of the archive." + } + } + }, + "ArchiveVersion": { + "type": "object", + "description": "An object that represents an export pipeline for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveVersionProperties", + "description": "The properties of the archive.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ArchiveVersionListResult": { + "type": "object", + "description": "The response of a ArchiveVersion list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ArchiveVersion items on this page", + "items": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ArchiveVersionProperties": { + "type": "object", + "description": "The properties of an export pipeline.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the archive at the time the operation was called.", + "readOnly": true + }, + "archiveVersionErrorMessage": { + "type": "string", + "description": "The detailed error message for the archive version in the case of failure." + } + } + }, + "AuthCredential": { + "type": "object", + "description": "Authentication credential stored for an upstream.", + "properties": { + "name": { + "$ref": "#/definitions/CredentialName", + "description": "The name of the credential." + }, + "usernameSecretIdentifier": { + "type": "string", + "description": "KeyVault Secret URI for accessing the username." + }, + "passwordSecretIdentifier": { + "type": "string", + "description": "KeyVault Secret URI for accessing the password." + }, + "credentialHealth": { + "$ref": "#/definitions/CredentialHealth", + "description": "This provides data pertaining to the health of the auth credential.", + "readOnly": true + } + } + }, + "AutoGeneratedDomainNameLabelScope": { + "type": "string", + "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true, + "values": [ + { + "name": "Unsecure", + "value": "Unsecure" + }, + { + "name": "TenantReuse", + "value": "TenantReuse" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse" + }, + { + "name": "NoReuse", + "value": "NoReuse" + } + ] + } + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/CacheRule", + "description": "The body type of the operation request or response." + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/ConnectedRegistry", + "description": "The body type of the operation request or response." + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/CredentialSet", + "description": "The body type of the operation request or response." + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/GenerateCredentialsResult", + "description": "The body type of the operation request or response." + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/Registry", + "description": "The body type of the operation request or response." + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/Replication", + "description": "The body type of the operation request or response." + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/ScopeMap", + "description": "The body type of the operation request or response." + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/Token", + "description": "The body type of the operation request or response." + } + }, + "required": [ + "body" + ] + }, + "Azure.ResourceManager.ArmResponse": { + "type": "object", + "description": "Azure operation completed successfully.", + "properties": { + "body": { + "$ref": "#/definitions/Webhook", + "description": "The body type of the operation request or response." + } + }, + "required": [ + "body" + ] + }, + "AzureADAuthenticationAsArmPolicy": { + "type": "object", + "description": "The policy for using Azure Resource Manager audience token for a container registry.", + "properties": { + "status": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "AzureADAuthenticationAsArmPolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + } + } + }, + "CacheRule": { + "type": "object", + "description": "An object that represents a cache rule for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/CacheRuleProperties", + "description": "The properties of the cache rule.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "CacheRuleListResult": { + "type": "object", + "description": "The response of a CacheRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CacheRule items on this page", + "items": { + "$ref": "#/definitions/CacheRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CacheRuleProperties": { + "type": "object", + "description": "The properties of a cache rule.", + "properties": { + "credentialSetResourceId": { + "type": "string", + "description": "The ARM resource ID of the credential store which is associated with the cache rule." + }, + "sourceRepository": { + "type": "string", + "description": "Source repository pulled from upstream." + }, + "targetRepository": { + "type": "string", + "description": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}" + }, + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of the cache rule.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + } + }, + "CacheRuleUpdateParameters": { + "type": "object", + "description": "The parameters for updating a cache rule.", + "properties": { + "properties": { + "$ref": "#/definitions/CacheRuleUpdateProperties", + "description": "The properties of the cache rule update parameters.", + "x-ms-client-flatten": true + } + } + }, + "CacheRuleUpdateProperties": { + "type": "object", + "description": "The parameters for updating cache rule properties.", + "properties": { + "credentialSetResourceId": { + "type": "string", + "description": "The ARM resource ID of the credential store which is associated with the Cache rule." + } + } + }, + "CallbackConfig": { + "type": "object", + "description": "The configuration of service URI and custom headers for the webhook.", + "properties": { + "serviceUri": { + "type": "string", + "description": "The service URI for the webhook to post notifications." + }, + "customHeaders": { + "type": "object", + "description": "Custom headers that will be added to the webhook notifications.", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "serviceUri" + ] + }, + "CertificateType": { + "type": "string", + "description": "The type of certificate location.", + "enum": [ + "LocalDirectory" + ], + "x-ms-enum": { + "name": "CertificateType", + "modelAsString": true, + "values": [ + { + "name": "LocalDirectory", + "value": "LocalDirectory" + } + ] + } + }, + "ConnectedRegistry": { + "type": "object", + "description": "An object that represents a connected registry for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectedRegistryProperties", + "description": "The properties of the connected registry.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ConnectedRegistryListResult": { + "type": "object", + "description": "The response of a ConnectedRegistry list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ConnectedRegistry items on this page", + "items": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ConnectedRegistryMode": { + "type": "string", + "description": "The mode of the connected registry resource that indicates the permissions of the registry.", + "enum": [ + "ReadWrite", + "ReadOnly", + "Registry", + "Mirror" + ], + "x-ms-enum": { + "name": "ConnectedRegistryMode", + "modelAsString": true, + "values": [ + { + "name": "ReadWrite", + "value": "ReadWrite" + }, + { + "name": "ReadOnly", + "value": "ReadOnly" + }, + { + "name": "Registry", + "value": "Registry" + }, + { + "name": "Mirror", + "value": "Mirror" + } + ] + } + }, + "ConnectedRegistryProperties": { + "type": "object", + "description": "The properties of a connected registry.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "mode": { + "$ref": "#/definitions/ConnectedRegistryMode", + "description": "The mode of the connected registry resource that indicates the permissions of the registry." + }, + "version": { + "type": "string", + "description": "The current version of ACR runtime on the connected registry.", + "readOnly": true + }, + "connectionState": { + "$ref": "#/definitions/ConnectionState", + "description": "The current connection state of the connected registry.", + "readOnly": true + }, + "lastActivityTime": { + "type": "string", + "format": "date-time", + "description": "The last activity time of the connected registry.", + "readOnly": true + }, + "activation": { + "$ref": "#/definitions/ActivationProperties", + "description": "The activation properties of the connected registry.", + "readOnly": true + }, + "parent": { + "$ref": "#/definitions/ParentProperties", + "description": "The parent of the connected registry." + }, + "clientTokenIds": { + "type": "array", + "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", + "items": { + "type": "string" + } + }, + "loginServer": { + "$ref": "#/definitions/LoginServerProperties", + "description": "The login server properties of the connected registry." + }, + "logging": { + "$ref": "#/definitions/LoggingProperties", + "description": "The logging properties of the connected registry." + }, + "statusDetails": { + "type": "array", + "description": "The list of current statuses of the connected registry.", + "items": { + "$ref": "#/definitions/StatusDetailProperties" + }, + "readOnly": true, + "x-ms-identifiers": [ + "correlationId" + ] + }, + "notificationsList": { + "type": "array", + "description": "The list of notifications subscription information for the connected registry.", + "items": { + "type": "string" + } + }, + "garbageCollection": { + "$ref": "#/definitions/GarbageCollectionProperties", + "description": "The garbage collection properties of the connected registry." + } + }, + "required": [ + "mode", + "parent" + ] + }, + "ConnectedRegistryUpdateParameters": { + "type": "object", + "description": "The parameters for updating a connected registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectedRegistryUpdateProperties", + "description": "The properties of the connected registry update parameters.", + "x-ms-client-flatten": true + } + } + }, + "ConnectedRegistryUpdateProperties": { + "type": "object", + "description": "The parameters for updating token properties.", + "properties": { + "syncProperties": { + "$ref": "#/definitions/SyncUpdateProperties", + "description": "The sync properties of the connected registry with its parent." + }, + "logging": { + "$ref": "#/definitions/LoggingProperties", + "description": "The logging properties of the connected registry." + }, + "clientTokenIds": { + "type": "array", + "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", + "items": { + "type": "string" + } + }, + "notificationsList": { + "type": "array", + "description": "The list of notifications subscription information for the connected registry.", + "items": { + "type": "string" + } + }, + "garbageCollection": { + "$ref": "#/definitions/GarbageCollectionProperties", + "description": "The garbage collection properties of the connected registry." + } + } + }, + "ConnectionState": { + "type": "string", + "description": "The current connection state of the connected registry.", + "enum": [ + "Online", + "Offline", + "Syncing", + "Unhealthy" + ], + "x-ms-enum": { + "name": "ConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Online", + "value": "Online" + }, + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "Syncing", + "value": "Syncing" + }, + { + "name": "Unhealthy", + "value": "Unhealthy" + } + ] + } + }, + "ConnectionStatus": { + "type": "string", + "description": "The private link service connection status.", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved" + }, + { + "name": "Pending", + "value": "Pending" + }, + { + "name": "Rejected", + "value": "Rejected" + }, + { + "name": "Disconnected", + "value": "Disconnected" + } + ] + } + }, + "CredentialHealth": { + "type": "object", + "description": "The health of the auth credential.", + "properties": { + "status": { + "$ref": "#/definitions/CredentialHealthStatus", + "description": "The health status of credential." + }, + "errorCode": { + "type": "string", + "description": "Error code representing the health check error." + }, + "errorMessage": { + "type": "string", + "description": "Descriptive message representing the health check error." + } + } + }, + "CredentialHealthStatus": { + "type": "string", + "description": "The health status of credential.", + "enum": [ + "Healthy", + "Unhealthy" + ], + "x-ms-enum": { + "name": "CredentialHealthStatus", + "modelAsString": true, + "values": [ + { + "name": "Healthy", + "value": "Healthy" + }, + { + "name": "Unhealthy", + "value": "Unhealthy" + } + ] + } + }, + "CredentialName": { + "type": "string", + "description": "The name of the credential.", + "enum": [ + "Credential1" + ], + "x-ms-enum": { + "name": "CredentialName", + "modelAsString": true, + "values": [ + { + "name": "Credential1", + "value": "Credential1" + } + ] + } + }, + "CredentialSet": { + "type": "object", + "description": "An object that represents a credential set resource for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/CredentialSetProperties", + "description": "The properties of the credential set.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "CredentialSetListResult": { + "type": "object", + "description": "The response of a CredentialSet list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CredentialSet items on this page", + "items": { + "$ref": "#/definitions/CredentialSet" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CredentialSetProperties": { + "type": "object", + "description": "The properties of a credential set resource.", + "properties": { + "loginServer": { + "type": "string", + "description": "The credentials are stored for this upstream or login server." + }, + "authCredentials": { + "type": "array", + "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of credential store resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + } + }, + "CredentialSetUpdateParameters": { + "type": "object", + "description": "The parameters for updating a credential set", + "properties": { + "properties": { + "$ref": "#/definitions/CredentialSetUpdateProperties", + "description": "The properties of the credential set update parameters", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." + } + } + }, + "CredentialSetUpdateProperties": { + "type": "object", + "description": "The parameters for updating credential set properties.", + "properties": { + "authCredentials": { + "type": "array", + "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "DebianArchivePackageSourceProperties": { + "type": "object", + "description": "The properties of the archive package source.", + "properties": { + "distributionName": { + "type": "string", + "description": "Upstream Debian distribution Name." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ArchivePackageSourceProperties" + } + ] + }, + "DebianArchiveProperties": { + "type": "object", + "description": "The properties of the Debian package Archive.", + "properties": { + "distributionName": { + "type": "string", + "description": "Debian distribution Name." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ArchiveProperties" + } + ] + }, + "EncryptionProperty": { + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/EncryptionStatus", + "description": "Indicates whether or not the encryption is enabled for container registry." + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Key vault properties." + } + } + }, + "EncryptionStatus": { + "type": "string", + "description": "Indicates whether or not the encryption is enabled for container registry.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, + "Event": { + "type": "object", + "description": "The event for a webhook.", + "properties": { + "eventRequestMessage": { + "$ref": "#/definitions/EventRequestMessage", + "description": "The event request message sent to the service URI." + }, + "eventResponseMessage": { + "$ref": "#/definitions/EventResponseMessage", + "description": "The event response message received from the service URI." + } + }, + "allOf": [ + { + "$ref": "#/definitions/EventInfo" + } + ] + }, + "EventContent": { + "type": "object", + "description": "The content of the event request message.", + "properties": { + "id": { + "type": "string", + "description": "The event ID." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the event occurred." + }, + "action": { + "type": "string", + "description": "The action that encompasses the provided event." + }, + "target": { + "$ref": "#/definitions/Target", + "description": "The target of the event." + }, + "request": { + "$ref": "#/definitions/Request", + "description": "The request that generated the event." + }, + "actor": { + "$ref": "#/definitions/Actor", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." + }, + "source": { + "$ref": "#/definitions/Source", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." + } + } + }, + "EventInfo": { + "type": "object", + "description": "The basic information of an event.", + "properties": { + "id": { + "type": "string", + "description": "The event ID." + } + } + }, + "EventListResult": { + "type": "object", + "description": "The result of a request to list events for a webhook.", + "properties": { + "value": { + "type": "array", + "description": "The Event items on this page", + "items": { + "$ref": "#/definitions/Event" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EventRequestMessage": { + "type": "object", + "description": "The event request message sent to the service URI.", + "properties": { + "content": { + "$ref": "#/definitions/EventContent", + "description": "The content of the event request message." + }, + "headers": { + "type": "object", + "description": "The headers of the event request message.", + "additionalProperties": { + "type": "string" + } + }, + "method": { + "type": "string", + "description": "The HTTP method used to send the event request message." + }, + "requestUri": { + "type": "string", + "description": "The URI used to send the event request message." + }, + "version": { + "type": "string", + "description": "The HTTP message version." + } + } + }, + "EventResponseMessage": { + "type": "object", + "description": "The event response message received from the service URI.", + "properties": { + "content": { + "type": "string", + "description": "The content of the event response message." + }, + "headers": { + "type": "object", + "description": "The headers of the event response message.", + "additionalProperties": { + "type": "string" + } + }, + "reasonPhrase": { + "type": "string", + "description": "The reason phrase of the event response message." + }, + "statusCode": { + "type": "string", + "description": "The status code of the event response message." + }, + "version": { + "type": "string", + "description": "The HTTP message version." + } + } + }, + "ExportPipeline": { + "type": "object", + "description": "An object that represents an export pipeline for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ExportPipelineProperties", + "description": "The properties of the export pipeline.", + "x-ms-client-flatten": true + }, + "location": { + "type": "string", + "description": "The location of the export pipeline." + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the export pipeline." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ExportPipelineListResult": { + "type": "object", + "description": "The response of a ExportPipeline list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExportPipeline items on this page", + "items": { + "$ref": "#/definitions/ExportPipeline" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExportPipelineProperties": { + "type": "object", + "description": "The properties of an export pipeline.", + "properties": { + "target": { + "$ref": "#/definitions/ExportPipelineTargetProperties", + "description": "The target properties of the export pipeline." + }, + "options": { + "type": "array", + "description": "The list of all options configured for the pipeline.", + "items": { + "$ref": "#/definitions/PipelineOptions" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the pipeline at the time the operation was called.", + "readOnly": true + } + }, + "required": [ + "target" + ] + }, + "ExportPipelineTargetProperties": { + "type": "object", + "description": "The properties of the export pipeline target.", + "properties": { + "type": { + "type": "string", + "description": "The type of target for the export pipeline." + }, + "uri": { + "type": "string", + "description": "The target uri of the export pipeline.\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" + }, + "keyVaultUri": { + "type": "string", + "description": "They key vault secret uri to obtain the target storage SAS token." + } + }, + "required": [ + "keyVaultUri" + ] + }, + "ExportPolicy": { + "type": "object", + "description": "The export policy for a container registry.", + "properties": { + "status": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "ExportPolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + } + } + }, + "GarbageCollectionProperties": { + "type": "object", + "description": "The garbage collection properties of the connected registry.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether garbage collection is enabled for the connected registry." + }, + "schedule": { + "type": "string", + "description": "The cron expression indicating the schedule that the connected registry will run garbage collection." + } + } + }, + "GenerateCredentialsParameters": { + "type": "object", + "description": "The parameters used to generate credentials for a specified token or user of a container registry.", + "properties": { + "tokenId": { + "type": "string", + "description": "The resource ID of the token for which credentials have to be generated." + }, + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry date of the generated credentials after which the credentials become invalid." + }, + "name": { + "$ref": "#/definitions/TokenPasswordName", + "description": "Specifies name of the password which should be regenerated if any -- password1 or password2." + } + } + }, + "GenerateCredentialsResult": { + "type": "object", + "description": "The response from the GenerateCredentials operation.", + "properties": { + "username": { + "type": "string", + "description": "The username for a container registry." + }, + "passwords": { + "type": "array", + "description": "The list of passwords for a container registry.", + "items": { + "$ref": "#/definitions/TokenPassword" + }, + "x-ms-identifiers": [] + } + } + }, + "IPRule": { + "type": "object", + "description": "IP rule with specific IP or IP range in CIDR format.", + "properties": { + "action": { + "type": "string", + "description": "The action of IP ACL rule.", + "default": "Allow", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow" + } + ] + } + }, + "value": { + "type": "string", + "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", + "x-ms-client-name": "IPAddressOrRange" + } + }, + "required": [ + "value" + ] + }, + "IdentityProperties": { + "type": "object", + "description": "Managed identity for the resource.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID of resource identity.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant ID of resource.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ResourceIdentityType", + "description": "The identity type." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } + } + } + }, + "ImportImageParameters": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/ImportSource", + "description": "The source of the image." + }, + "targetTags": { + "type": "array", + "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", + "items": { + "type": "string" + } + }, + "untaggedTargetRepositories": { + "type": "array", + "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", + "items": { + "type": "string" + } + }, + "mode": { + "type": "string", + "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.", + "default": "NoForce", + "enum": [ + "NoForce", + "Force" + ], + "x-ms-enum": { + "name": "ImportMode", + "modelAsString": true, + "values": [ + { + "name": "NoForce", + "value": "NoForce" + }, + { + "name": "Force", + "value": "Force" + } + ] + } + } + }, + "required": [ + "source" + ] + }, + "ImportPipeline": { + "type": "object", + "description": "An object that represents an import pipeline for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ImportPipelineProperties", + "description": "The properties of the import pipeline.", + "x-ms-client-flatten": true + }, + "location": { + "type": "string", + "description": "The location of the import pipeline." + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the import pipeline." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ImportPipelineListResult": { + "type": "object", + "description": "The response of a ImportPipeline list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ImportPipeline items on this page", + "items": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ImportPipelineProperties": { + "type": "object", + "description": "The properties of an import pipeline.", + "properties": { + "source": { + "$ref": "#/definitions/ImportPipelineSourceProperties", + "description": "The source properties of the import pipeline." + }, + "trigger": { + "$ref": "#/definitions/PipelineTriggerProperties", + "description": "The properties that describe the trigger of the import pipeline." + }, + "options": { + "type": "array", + "description": "The list of all options configured for the pipeline.", + "items": { + "$ref": "#/definitions/PipelineOptions" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the pipeline at the time the operation was called.", + "readOnly": true + } + }, + "required": [ + "source" + ] + }, + "ImportPipelineSourceProperties": { + "type": "object", + "description": "The properties of the import pipeline source.", + "properties": { + "type": { + "type": "string", + "description": "The type of source for the import pipeline.", + "default": "AzureStorageBlobContainer", + "enum": [ + "AzureStorageBlobContainer" + ], + "x-ms-enum": { + "name": "PipelineSourceType", + "modelAsString": true, + "values": [ + { + "name": "AzureStorageBlobContainer", + "value": "AzureStorageBlobContainer" + } + ] + } + }, + "uri": { + "type": "string", + "description": "The source uri of the import pipeline.\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" + }, + "keyVaultUri": { + "type": "string", + "description": "They key vault secret uri to obtain the source storage SAS token." + } + }, + "required": [ + "keyVaultUri" + ] + }, + "ImportSource": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "The resource identifier of the source Azure Container Registry." + }, + "registryUri": { + "type": "string", + "description": "The address of the source registry (e.g. 'mcr.microsoft.com')." + }, + "credentials": { + "$ref": "#/definitions/ImportSourceCredentials", + "description": "Credentials used when importing from a registry uri." + }, + "sourceImage": { + "type": "string", + "description": "Repository name of the source image.\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123')." + } + }, + "required": [ + "sourceImage" + ] + }, + "ImportSourceCredentials": { + "type": "object", + "properties": { + "username": { + "type": "string", + "description": "The username to authenticate with the source registry." + }, + "password": { + "type": "string", + "description": "The password used to authenticate with the source registry." + } + }, + "required": [ + "password" + ] + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "keyIdentifier": { + "type": "string", + "description": "Key vault uri to access the encryption key." + }, + "versionedKeyIdentifier": { + "type": "string", + "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", + "readOnly": true + }, + "identity": { + "type": "string", + "description": "The client id of the identity which will be used to access key vault." + }, + "keyRotationEnabled": { + "type": "boolean", + "description": "Auto key rotation status for a CMK enabled registry.", + "readOnly": true + }, + "lastKeyRotationTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp of the last successful key rotation.", + "readOnly": true + } + } + }, + "LoggingProperties": { + "type": "object", + "description": "The logging properties of the connected registry.", + "properties": { + "logLevel": { + "type": "string", + "description": "The verbosity of logs persisted on the connected registry.", + "default": "Information", + "enum": [ + "Debug", + "Information", + "Warning", + "Error", + "None" + ], + "x-ms-enum": { + "name": "LogLevel", + "modelAsString": true, + "values": [ + { + "name": "Debug", + "value": "Debug" + }, + { + "name": "Information", + "value": "Information" + }, + { + "name": "Warning", + "value": "Warning" + }, + { + "name": "Error", + "value": "Error" + }, + { + "name": "None", + "value": "None" + } + ] + } + }, + "auditLogStatus": { + "type": "string", + "description": "Indicates whether audit logs are enabled on the connected registry.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AuditLogStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + } + } + }, + "LoginServerProperties": { + "type": "object", + "description": "The login server properties of the connected registry.", + "properties": { + "host": { + "type": "string", + "description": "The host of the connected registry. Can be FQDN or IP.", + "readOnly": true + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "description": "The TLS properties of the connected registry login server.", + "readOnly": true + } + } + }, + "MetadataSearch": { + "type": "string", + "description": "Determines whether registry artifacts are indexed for metadata search.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "NetworkRuleBypassOptions": { + "type": "string", + "description": "Whether to allow trusted Azure services to access a network restricted registry.", + "enum": [ + "AzureServices", + "None" + ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true, + "values": [ + { + "name": "AzureServices", + "value": "AzureServices" + }, + { + "name": "None", + "value": "None" + } + ] + } + }, + "NetworkRuleSet": { + "type": "object", + "description": "The network rule set for a container registry.", + "properties": { + "defaultAction": { + "type": "string", + "description": "The default action of allow or deny when no other rules match.", + "default": "Allow", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow" + }, + { + "name": "Deny", + "value": "Deny" + } + ] + } + }, + "ipRules": { + "type": "array", + "description": "The IP ACL rules.", + "items": { + "$ref": "#/definitions/IPRule" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "defaultAction" + ] + }, + "PackageSourceType": { + "type": "string", + "description": "The type of package source for a archive.", + "enum": [ + "remote" + ], + "x-ms-enum": { + "name": "PackageSourceType", + "modelAsString": true, + "values": [ + { + "name": "remote", + "value": "remote" + } + ] + } + }, + "ParentProperties": { + "type": "object", + "description": "The properties of the connected registry parent.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of the parent to which the connected registry will be associated." + }, + "syncProperties": { + "$ref": "#/definitions/SyncProperties", + "description": "The sync properties of the connected registry with its parent." + } + }, + "required": [ + "syncProperties" + ] + }, + "PasswordName": { + "type": "string", + "description": "The password name.", + "enum": [ + "password", + "password2" + ], + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + }, + "PipelineOptions": { + "type": "string", + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "x-ms-enum": { + "name": "PipelineOptions", + "modelAsString": true, + "values": [ + { + "name": "OverwriteTags", + "value": "OverwriteTags" + }, + { + "name": "OverwriteBlobs", + "value": "OverwriteBlobs" + }, + { + "name": "DeleteSourceBlobOnSuccess", + "value": "DeleteSourceBlobOnSuccess" + }, + { + "name": "ContinueOnErrors", + "value": "ContinueOnErrors" + } + ] + } + }, + "PipelineRun": { + "type": "object", + "description": "An object that represents a pipeline run for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/PipelineRunProperties", + "description": "The properties of a pipeline run.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PipelineRunListResult": { + "type": "object", + "description": "The response of a PipelineRun list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PipelineRun items on this page", + "items": { + "$ref": "#/definitions/PipelineRun" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PipelineRunProperties": { + "type": "object", + "description": "The properties of a pipeline run.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of a pipeline run.", + "readOnly": true + }, + "request": { + "$ref": "#/definitions/PipelineRunRequest", + "description": "The request parameters for a pipeline run." + }, + "response": { + "$ref": "#/definitions/PipelineRunResponse", + "description": "The response of a pipeline run.", + "readOnly": true + }, + "forceUpdateTag": { + "type": "string", + "description": "How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed." + } + } + }, + "PipelineRunRequest": { + "type": "object", + "description": "The request properties provided for a pipeline run.", + "properties": { + "pipelineResourceId": { + "type": "string", + "description": "The resource ID of the pipeline to run." + }, + "artifacts": { + "type": "array", + "description": "List of source artifacts to be transferred by the pipeline. \nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", + "items": { + "type": "string" + } + }, + "source": { + "$ref": "#/definitions/PipelineRunSourceProperties", + "description": "The source properties of the pipeline run." + }, + "target": { + "$ref": "#/definitions/PipelineRunTargetProperties", + "description": "The target properties of the pipeline run." + }, + "catalogDigest": { + "type": "string", + "description": "The digest of the tar used to transfer the artifacts." + } + } + }, + "PipelineRunResponse": { + "type": "object", + "description": "The response properties returned for a pipeline run.", + "properties": { + "status": { + "type": "string", + "description": "The current status of the pipeline run." + }, + "importedArtifacts": { + "type": "array", + "description": "The artifacts imported in the pipeline run.", + "items": { + "type": "string" + } + }, + "progress": { + "$ref": "#/definitions/ProgressProperties", + "description": "The current progress of the copy operation." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The time the pipeline run started." + }, + "finishTime": { + "type": "string", + "format": "date-time", + "description": "The time the pipeline run finished." + }, + "source": { + "$ref": "#/definitions/ImportPipelineSourceProperties", + "description": "The source of the pipeline run." + }, + "target": { + "$ref": "#/definitions/ExportPipelineTargetProperties", + "description": "The target of the pipeline run." + }, + "catalogDigest": { + "type": "string", + "description": "The digest of the tar used to transfer the artifacts." + }, + "trigger": { + "$ref": "#/definitions/PipelineTriggerDescriptor", + "description": "The trigger that caused the pipeline run." + }, + "pipelineRunErrorMessage": { + "type": "string", + "description": "The detailed error message for the pipeline run in the case of failure." + } + } + }, + "PipelineRunSourceProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of the source.", + "default": "AzureStorageBlob", + "enum": [ + "AzureStorageBlob" + ], + "x-ms-enum": { + "name": "PipelineRunSourceType", + "modelAsString": true, + "values": [ + { + "name": "AzureStorageBlob", + "value": "AzureStorageBlob" + } + ] + } + }, + "name": { + "type": "string", + "description": "The name of the source." + } + } + }, + "PipelineRunTargetProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of the target.", + "default": "AzureStorageBlob", + "enum": [ + "AzureStorageBlob" + ], + "x-ms-enum": { + "name": "PipelineRunTargetType", + "modelAsString": true, + "values": [ + { + "name": "AzureStorageBlob", + "value": "AzureStorageBlob" + } + ] + } + }, + "name": { + "type": "string", + "description": "The name of the target." + } + } + }, + "PipelineSourceTriggerDescriptor": { + "type": "object", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the source update happened." + } + } + }, + "PipelineSourceTriggerProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The current status of the source trigger.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + } + }, + "required": [ + "status" + ] + }, + "PipelineTriggerDescriptor": { + "type": "object", + "properties": { + "sourceTrigger": { + "$ref": "#/definitions/PipelineSourceTriggerDescriptor", + "description": "The source trigger that caused the pipeline run." + } + } + }, + "PipelineTriggerProperties": { + "type": "object", + "properties": { + "sourceTrigger": { + "$ref": "#/definitions/PipelineSourceTriggerProperties", + "description": "The source trigger properties of the pipeline." + } + } + }, + "Policies": { + "type": "object", + "description": "The policies for a container registry.", + "properties": { + "quarantinePolicy": { + "$ref": "#/definitions/QuarantinePolicy", + "description": "The quarantine policy for a container registry." + }, + "trustPolicy": { + "$ref": "#/definitions/TrustPolicy", + "description": "The content trust policy for a container registry." + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "The retention policy for a container registry." + }, + "exportPolicy": { + "$ref": "#/definitions/ExportPolicy", + "description": "The export policy for a container registry." + }, + "azureADAuthenticationAsArmPolicy": { + "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", + "description": "The policy for using Azure Resource Manager audience token for a container registry." + }, + "softDeletePolicy": { + "$ref": "#/definitions/SoftDeletePolicy", + "description": "The soft delete policy for a container registry." + } + } + }, + "PolicyStatus": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, + "PrivateEndpoint": { + "type": "object", + "description": "The Private Endpoint resource.", + "properties": { + "id": { + "type": "string", + "description": "This is private endpoint resource created with Microsoft.Network resource provider." + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "An object that represents a private endpoint connection for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "The properties of a private endpoint connection.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "The response of a PrivateEndpointConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PrivateEndpointConnection items on this page", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "description": "The properties of a private endpoint connection.", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private endpoint." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of private endpoint connection resource.", + "readOnly": true + } + } + }, + "PrivateLinkResource": { + "type": "object", + "description": "A resource that supports private link capabilities.", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "A resource that supports private link capabilities.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "The response of a PrivateLinkResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PrivateLinkResource items on this page", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateLinkResourceProperties": { + "type": "object", + "description": "The properties of a private link resource.", + "properties": { + "groupId": { + "type": "string", + "description": "The private link resource group id." + }, + "requiredMembers": { + "type": "array", + "description": "The private link resource required member names.", + "items": { + "type": "string" + } + }, + "requiredZoneNames": { + "type": "array", + "description": "The private link resource Private link DNS zone name.", + "items": { + "type": "string" + } + } + } + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "description": "The state of a private link service connection.", + "properties": { + "status": { + "$ref": "#/definitions/ConnectionStatus", + "description": "The private link service connection status." + }, + "description": { + "type": "string", + "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection." + }, + "actionsRequired": { + "$ref": "#/definitions/ActionsRequired", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + } + }, + "ProgressProperties": { + "type": "object", + "properties": { + "percentage": { + "type": "string", + "description": "The percentage complete of the copy operation." + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning state of the archive at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + } + ] + } + }, + "PublicNetworkAccess": { + "type": "string", + "description": "Whether or not public network access is allowed for the container registry.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "QuarantinePolicy": { + "type": "object", + "description": "The quarantine policy for a container registry.", + "properties": { + "status": { + "$ref": "#/definitions/PolicyStatus", + "description": "The value that indicates whether the policy is enabled or not." + } + } + }, + "RegenerateCredentialParameters": { + "type": "object", + "description": "The parameters used to regenerate the login credential.", + "properties": { + "name": { + "$ref": "#/definitions/PasswordName", + "description": "Specifies name of the password which should be regenerated -- password or password2." + } + }, + "required": [ + "name" + ] + }, + "Registry": { + "type": "object", + "description": "An object that represents a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/RegistryProperties", + "description": "The properties of the container registry.", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the container registry." + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the container registry." + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "RegistryListCredentialsResult": { + "type": "object", + "description": "The response from the ListCredentials operation.", + "properties": { + "username": { + "type": "string", + "description": "The username for a container registry." + }, + "passwords": { + "type": "array", + "description": "The list of passwords for a container registry.", + "items": { + "$ref": "#/definitions/RegistryPassword" + }, + "x-ms-identifiers": [] + } + } + }, + "RegistryListResult": { + "type": "object", + "description": "The response of a Registry list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Registry items on this page", + "items": { + "$ref": "#/definitions/Registry" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RegistryNameCheckRequest": { + "type": "object", + "description": "A request to check whether a container registry name is available.", + "properties": { + "name": { + "type": "string", + "description": "The name of the container registry.", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + "type": { + "type": "string", + "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.", + "enum": [ + "Microsoft.ContainerRegistry/registries" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "resourceGroupName": { + "type": "string", + "description": "The resource group name of the container registry.", + "minLength": 1, + "maxLength": 90 + }, + "autoGeneratedDomainNameLabelScope": { + "$ref": "#/definitions/AutoGeneratedDomainNameLabelScope", + "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\"." + } + }, + "required": [ + "name", + "type" + ] + }, + "RegistryNameStatus": { + "type": "object", + "description": "The result of a request to check the availability of a container registry name.", + "properties": { + "availableLoginServerName": { + "type": "string", + "description": "The complete login server name with domain name label (DNL) hash, if available" + }, + "nameAvailable": { + "type": "boolean", + "description": "The value that indicates whether the name is available." + }, + "reason": { + "type": "string", + "description": "If any, the reason that the name is not available." + }, + "message": { + "type": "string", + "description": "If any, the error message that provides more detail for the reason that the name is not available." + } + } + }, + "RegistryPassword": { + "type": "object", + "description": "The login password for the container registry.", + "properties": { + "name": { + "$ref": "#/definitions/PasswordName", + "description": "The password name." + }, + "value": { + "type": "string", + "description": "The password value." + } + } + }, + "RegistryProperties": { + "type": "object", + "description": "The properties of a container registry.", + "properties": { + "loginServer": { + "type": "string", + "description": "The URL that can be used to log into the container registry.", + "readOnly": true + }, + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of the container registry in ISO8601 format.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the container registry at the time the operation was called.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/Status", + "description": "The status of the container registry at the time the operation was called.", + "readOnly": true + }, + "adminUserEnabled": { + "type": "boolean", + "description": "The value that indicates whether the admin user is enabled." + }, + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "The network rule set for a container registry." + }, + "policies": { + "$ref": "#/definitions/Policies", + "description": "The policies for a container registry." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of container registry." + }, + "dataEndpointEnabled": { + "type": "boolean", + "description": "Enable a single data endpoint per region for serving data." + }, + "dataEndpointHostNames": { + "type": "array", + "description": "List of host names that will serve data when dataEndpointEnabled is true.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "privateEndpointConnections": { + "type": "array", + "description": "List of private endpoint connections for a container registry.", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Whether or not public network access is allowed for the container registry." + }, + "networkRuleBypassOptions": { + "$ref": "#/definitions/NetworkRuleBypassOptions", + "description": "Whether to allow trusted Azure services to access a network restricted registry." + }, + "networkRuleBypassAllowedForTasks": { + "type": "boolean", + "description": "Whether or not Tasks allowed to bypass the network rules for this container registry." + }, + "zoneRedundancy": { + "$ref": "#/definitions/ZoneRedundancy", + "description": "Whether or not zone redundancy is enabled for this container registry" + }, + "anonymousPullEnabled": { + "type": "boolean", + "description": "Enables registry-wide pull from unauthenticated clients." + }, + "metadataSearch": { + "$ref": "#/definitions/MetadataSearch", + "description": "Determines whether registry artifacts are indexed for metadata search." + }, + "autoGeneratedDomainNameLabelScope": { + "$ref": "#/definitions/AutoGeneratedDomainNameLabelScope", + "description": "Determines the domain name label reuse scope." + }, + "roleAssignmentMode": { + "$ref": "#/definitions/RoleAssignmentMode", + "description": "Determines registry role assignment mode." + } + } + }, + "RegistryPropertiesUpdateParameters": { + "type": "object", + "description": "The parameters for updating the properties of a container registry.", + "properties": { + "adminUserEnabled": { + "type": "boolean", + "description": "The value that indicates whether the admin user is enabled." + }, + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "The network rule set for a container registry." + }, + "policies": { + "$ref": "#/definitions/Policies", + "description": "The policies for a container registry." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of container registry." + }, + "dataEndpointEnabled": { + "type": "boolean", + "description": "Enable a single data endpoint per region for serving data." + }, + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Whether or not public network access is allowed for the container registry." + }, + "networkRuleBypassOptions": { + "$ref": "#/definitions/NetworkRuleBypassOptions", + "description": "Whether to allow trusted Azure services to access a network restricted registry." + }, + "networkRuleBypassAllowedForTasks": { + "type": "boolean", + "description": "Whether to allow ACR Tasks service to access a network restricted registry." + }, + "anonymousPullEnabled": { + "type": "boolean", + "description": "Enables registry-wide pull from unauthenticated clients." + }, + "metadataSearch": { + "$ref": "#/definitions/MetadataSearch", + "description": "Determines whether registry artifacts are indexed for metadata search." + }, + "roleAssignmentMode": { + "$ref": "#/definitions/RoleAssignmentMode", + "description": "Determines registry role assignment mode." + } + } + }, + "RegistryUpdateParameters": { + "type": "object", + "description": "The parameters for updating a container registry.", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the container registry." + }, + "tags": { + "type": "object", + "description": "The tags for the container registry.", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the container registry." + }, + "properties": { + "$ref": "#/definitions/RegistryPropertiesUpdateParameters", + "description": "The properties that the container registry will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "RegistryUsage": { + "type": "object", + "description": "The quota usage for a container registry.", + "properties": { + "name": { + "type": "string", + "description": "The name of the usage." + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "The limit of the usage." + }, + "currentValue": { + "type": "integer", + "format": "int64", + "description": "The current value of the usage." + }, + "unit": { + "$ref": "#/definitions/RegistryUsageUnit", + "description": "The unit of measurement." + } + } + }, + "RegistryUsageListResult": { + "type": "object", + "description": "The result of a request to get container registry quota usages.", + "properties": { + "value": { + "type": "array", + "description": "The list of container registry quota usages.", + "items": { + "$ref": "#/definitions/RegistryUsage" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "RegistryUsageUnit": { + "type": "string", + "description": "The unit of measurement.", + "enum": [ + "Count", + "Bytes" + ], + "x-ms-enum": { + "name": "RegistryUsageUnit", + "modelAsString": true, + "values": [ + { + "name": "Count", + "value": "Count" + }, + { + "name": "Bytes", + "value": "Bytes" + } + ] + } + }, + "Replication": { + "type": "object", + "description": "An object that represents a replication for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ReplicationProperties", + "description": "The properties of the replication.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ReplicationListResult": { + "type": "object", + "description": "The response of a Replication list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Replication items on this page", + "items": { + "$ref": "#/definitions/Replication" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ReplicationProperties": { + "type": "object", + "description": "The properties of a replication.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the replication at the time the operation was called.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/Status", + "description": "The status of the replication at the time the operation was called.", + "readOnly": true + }, + "regionEndpointEnabled": { + "type": "boolean", + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", + "default": true + }, + "zoneRedundancy": { + "$ref": "#/definitions/ZoneRedundancy", + "description": "Whether or not zone redundancy is enabled for this container registry replication" + } + } + }, + "ReplicationUpdateParameters": { + "type": "object", + "description": "The parameters for updating a replication.", + "properties": { + "tags": { + "type": "object", + "description": "The tags for the replication.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ReplicationUpdateParametersProperties", + "description": "The parameters for updating a replication's properties", + "x-ms-client-flatten": true + } + } + }, + "ReplicationUpdateParametersProperties": { + "type": "object", + "properties": { + "regionEndpointEnabled": { + "type": "boolean", + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications." + } + } + }, + "Request": { + "type": "object", + "description": "The request that generated the event.", + "properties": { + "id": { + "type": "string", + "description": "The ID of the request that initiated the event." + }, + "addr": { + "type": "string", + "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request." + }, + "host": { + "type": "string", + "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests." + }, + "method": { + "type": "string", + "description": "The request method that generated the event." + }, + "useragent": { + "type": "string", + "description": "The user agent header of the request." + } + } + }, + "ResourceIdentityType": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "RetentionPolicy": { + "type": "object", + "description": "The retention policy for a container registry.", + "properties": { + "days": { + "type": "integer", + "format": "int32", + "description": "The number of days to retain an untagged manifest after which it gets purged.", + "default": 7 + }, + "lastUpdatedTime": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the policy was last updated.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/PolicyStatus", + "description": "The value that indicates whether the policy is enabled or not." + } + } + }, + "RoleAssignmentMode": { + "type": "string", + "description": "Determines registry role assignment mode.", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true, + "values": [ + { + "name": "AbacRepositoryPermissions", + "value": "AbacRepositoryPermissions" + }, + { + "name": "LegacyRegistryPermissions", + "value": "LegacyRegistryPermissions" + } + ] + } + }, + "ScopeMap": { + "type": "object", + "description": "An object that represents a scope map for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapProperties", + "description": "The properties of the scope map.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ScopeMapListResult": { + "type": "object", + "description": "The response of a ScopeMap list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ScopeMap items on this page", + "items": { + "$ref": "#/definitions/ScopeMap" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ScopeMapProperties": { + "type": "object", + "description": "The properties of a scope map.", + "properties": { + "description": { + "type": "string", + "description": "The user friendly description of the scope map." + }, + "type": { + "type": "string", + "description": "The type of the scope map. E.g. BuildIn scope map.", + "readOnly": true + }, + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of scope map.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "actions": { + "type": "array", + "description": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write", + "items": { + "type": "string" + } + } + }, + "required": [ + "actions" + ] + }, + "ScopeMapPropertiesUpdateParameters": { + "type": "object", + "description": "The update parameters for scope map properties.", + "properties": { + "description": { + "type": "string", + "description": "The user friendly description of the scope map." + }, + "actions": { + "type": "array", + "description": "The list of scope permissions for registry artifacts.\nE.g. repositories/repository-name/pull,\nrepositories/repository-name/delete", + "items": { + "type": "string" + } + } + } + }, + "ScopeMapUpdateParameters": { + "type": "object", + "description": "The properties for updating the scope map.", + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", + "description": "The update parameters for scope map properties.", + "x-ms-client-flatten": true + } + } + }, + "Sku": { + "type": "object", + "description": "The SKU of a container registry.", + "properties": { + "name": { + "$ref": "#/definitions/SkuName", + "description": "The SKU name of the container registry. Required for registry creation." + }, + "tier": { + "$ref": "#/definitions/SkuTier", + "description": "The SKU tier based on the SKU name.", + "readOnly": true + } + }, + "required": [ + "name" + ] + }, + "SkuName": { + "type": "string", + "description": "The SKU name of the container registry. Required for registry creation.", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "name": "Classic", + "value": "Classic" + }, + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Premium", + "value": "Premium" + } + ] + } + }, + "SkuTier": { + "type": "string", + "description": "The SKU tier based on the SKU name.", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true, + "values": [ + { + "name": "Classic", + "value": "Classic" + }, + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Premium", + "value": "Premium" + } + ] + } + }, + "SoftDeletePolicy": { + "type": "object", + "description": "The soft delete policy for a container registry", + "properties": { + "retentionDays": { + "type": "integer", + "format": "int32", + "description": "The number of days after which a soft-deleted item is permanently deleted.", + "default": 7 + }, + "lastUpdatedTime": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the policy was last updated.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/PolicyStatus", + "description": "The value that indicates whether the policy is enabled or not." + } + } + }, + "Source": { + "type": "object", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", + "properties": { + "addr": { + "type": "string", + "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port." + }, + "instanceID": { + "type": "string", + "description": "The running instance of an application. Changes after each restart." + } + } + }, + "Status": { + "type": "object", + "description": "The status of an Azure resource at the time the operation was called.", + "properties": { + "displayStatus": { + "type": "string", + "description": "The short label for the status.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "The detailed message for the status, including alerts and error messages.", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the status was changed to the current value.", + "readOnly": true + } + } + }, + "StatusDetailProperties": { + "type": "object", + "description": "The status detail properties of the connected registry.", + "properties": { + "type": { + "type": "string", + "description": "The component of the connected registry corresponding to the status.", + "readOnly": true + }, + "code": { + "type": "string", + "description": "The HTTP status code.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "The description of the status.", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp of the status.", + "readOnly": true + }, + "correlationId": { + "type": "string", + "description": "The correlation ID of the status.", + "readOnly": true + } + } + }, + "SyncProperties": { + "type": "object", + "description": "The sync properties of the connected registry with its parent.", + "properties": { + "tokenId": { + "type": "string", + "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync." + }, + "schedule": { + "type": "string", + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." + }, + "syncWindow": { + "type": "string", + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "messageTtl": { + "type": "string", + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "lastSyncTime": { + "type": "string", + "format": "date-time", + "description": "The last time a sync occurred between the connected registry and its parent.", + "readOnly": true + }, + "gatewayEndpoint": { + "type": "string", + "description": "The gateway endpoint used by the connected registry to communicate with its parent.", + "readOnly": true + } + }, + "required": [ + "tokenId", + "messageTtl" + ] + }, + "SyncUpdateProperties": { + "type": "object", + "description": "The parameters for updating the sync properties of the connected registry with its parent.", + "properties": { + "schedule": { + "type": "string", + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." + }, + "syncWindow": { + "type": "string", + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "messageTtl": { + "type": "string", + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + } + } + }, + "Target": { + "type": "object", + "description": "The target of the event.", + "properties": { + "mediaType": { + "type": "string", + "description": "The MIME type of the referenced object." + }, + "size": { + "type": "integer", + "format": "int64", + "description": "The number of bytes of the content. Same as Length field." + }, + "digest": { + "type": "string", + "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification." + }, + "length": { + "type": "integer", + "format": "int64", + "description": "The number of bytes of the content. Same as Size field." + }, + "repository": { + "type": "string", + "description": "The repository name." + }, + "url": { + "type": "string", + "description": "The direct URL to the content." + }, + "tag": { + "type": "string", + "description": "The tag name." + }, + "name": { + "type": "string", + "description": "The name of the artifact." + }, + "version": { + "type": "string", + "description": "The version of the artifact." + } + } + }, + "TlsCertificateProperties": { + "type": "object", + "description": "The TLS certificate properties of the connected registry login server.", + "properties": { + "type": { + "$ref": "#/definitions/CertificateType", + "description": "The type of certificate location.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "Indicates the location of the certificates.", + "readOnly": true + } + } + }, + "TlsProperties": { + "type": "object", + "description": "The TLS properties of the connected registry login server.", + "properties": { + "status": { + "$ref": "#/definitions/TlsStatus", + "description": "Indicates whether HTTPS is enabled for the login server.", + "readOnly": true + }, + "certificate": { + "$ref": "#/definitions/TlsCertificateProperties", + "description": "The certificate used to configure HTTPS for the login server.", + "readOnly": true + } + } + }, + "TlsStatus": { + "type": "string", + "description": "Indicates whether HTTPS is enabled for the login server.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "TlsStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "Token": { + "type": "object", + "description": "An object that represents a token for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/TokenProperties", + "description": "The properties of the token.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "TokenCertificate": { + "type": "object", + "description": "The properties of a certificate used for authenticating a token.", + "properties": { + "name": { + "$ref": "#/definitions/TokenCertificateName" + }, + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry datetime of the certificate." + }, + "thumbprint": { + "type": "string", + "description": "The thumbprint of the certificate." + }, + "encodedPemCertificate": { + "type": "string", + "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token." + } + } + }, + "TokenCertificateName": { + "type": "string", + "enum": [ + "certificate1", + "certificate2" + ], + "x-ms-enum": { + "name": "TokenCertificateName", + "modelAsString": true, + "values": [ + { + "name": "certificate1", + "value": "certificate1" + }, + { + "name": "certificate2", + "value": "certificate2" + } + ] + } + }, + "TokenCredentialsProperties": { + "type": "object", + "description": "The properties of the credentials that can be used for authenticating the token.", + "properties": { + "certificates": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCertificate" + }, + "x-ms-identifiers": [ + "thumbprint" + ] + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + }, + "x-ms-identifiers": [] + } + } + }, + "TokenListResult": { + "type": "object", + "description": "The response of a Token list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Token items on this page", + "items": { + "$ref": "#/definitions/Token" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TokenPassword": { + "type": "object", + "description": "The password that will be used for authenticating the token of a container registry.", + "properties": { + "creationTime": { + "type": "string", + "format": "date-time", + "description": "The creation datetime of the password." + }, + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry datetime of the password." + }, + "name": { + "$ref": "#/definitions/TokenPasswordName", + "description": "The password name \"password1\" or \"password2\"" + }, + "value": { + "type": "string", + "description": "The password value.", + "readOnly": true + } + } + }, + "TokenPasswordName": { + "type": "string", + "description": "The password name \"password1\" or \"password2\"", + "enum": [ + "password1", + "password2" + ], + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true, + "values": [ + { + "name": "password1", + "value": "password1" + }, + { + "name": "password2", + "value": "password2" + } + ] + } + }, + "TokenProperties": { + "type": "object", + "description": "The properties of a token.", + "properties": { + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of scope map.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "scopeMapId": { + "type": "string", + "description": "The resource ID of the scope map to which the token will be associated with." + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." + }, + "status": { + "$ref": "#/definitions/TokenStatus", + "description": "The status of the token example enabled or disabled." + } + } + }, + "TokenStatus": { + "type": "string", + "description": "The status of the token example enabled or disabled.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, + "TokenUpdateParameters": { + "type": "object", + "description": "The parameters for updating a token.", + "properties": { + "properties": { + "$ref": "#/definitions/TokenUpdateProperties", + "description": "The properties of the token update parameters.", + "x-ms-client-flatten": true + } + } + }, + "TokenUpdateProperties": { + "type": "object", + "description": "The parameters for updating token properties.", + "properties": { + "scopeMapId": { + "type": "string", + "description": "The resource ID of the scope map to which the token will be associated with." + }, + "status": { + "$ref": "#/definitions/TokenStatus", + "description": "The status of the token example enabled or disabled." + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." + } + } + }, + "TrustPolicy": { + "type": "object", + "description": "The content trust policy for a container registry.", + "properties": { + "type": { + "type": "string", + "description": "The type of trust policy.", + "default": "Notary", + "enum": [ + "Notary" + ], + "x-ms-enum": { + "name": "TrustPolicyType", + "modelAsString": true, + "values": [ + { + "name": "Notary", + "value": "Notary" + } + ] + } + }, + "status": { + "$ref": "#/definitions/PolicyStatus", + "description": "The value that indicates whether the policy is enabled or not." + } + } + }, + "TypeSpec.Http.OkResponse": { + "type": "object", + "description": "The request has succeeded." + }, + "UserIdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity.", + "readOnly": true + }, + "clientId": { + "type": "string", + "description": "The client id of user assigned identity.", + "readOnly": true + } + } + }, + "Webhook": { + "type": "object", + "description": "An object that represents a webhook for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/WebhookProperties", + "description": "The properties of the webhook.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "WebhookAction": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true, + "values": [ + { + "name": "push", + "value": "push" + }, + { + "name": "delete", + "value": "delete" + }, + { + "name": "quarantine", + "value": "quarantine" + }, + { + "name": "chart_push", + "value": "chart_push" + }, + { + "name": "chart_delete", + "value": "chart_delete" + } + ] + } + }, + "WebhookCreateParameters": { + "type": "object", + "description": "The parameters for creating a webhook.", + "properties": { + "tags": { + "type": "object", + "description": "The tags for the webhook.", + "additionalProperties": { + "type": "string" + } + }, + "location": { + "type": "string", + "description": "The location of the webhook. This cannot be changed after the resource is created." + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesCreateParameters", + "description": "The properties that the webhook will be created with.", + "x-ms-client-flatten": true + } + }, + "required": [ + "location" + ] + }, + "WebhookListResult": { + "type": "object", + "description": "The response of a Webhook list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Webhook items on this page", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WebhookProperties": { + "type": "object", + "description": "The properties of a webhook.", + "properties": { + "status": { + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." + }, + "scope": { + "type": "string", + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." + }, + "actions": { + "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", + "items": { + "$ref": "#/definitions/WebhookAction" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the webhook at the time the operation was called.", + "readOnly": true + } + }, + "required": [ + "actions" + ] + }, + "WebhookPropertiesCreateParameters": { + "type": "object", + "description": "The parameters for creating the properties of a webhook.", + "properties": { + "serviceUri": { + "type": "string", + "description": "The service URI for the webhook to post notifications." + }, + "customHeaders": { + "type": "object", + "description": "Custom headers that will be added to the webhook notifications.", + "additionalProperties": { + "type": "string" + } + }, + "status": { + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." + }, + "scope": { + "type": "string", + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." + }, + "actions": { + "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", + "items": { + "$ref": "#/definitions/WebhookAction" + } + } + }, + "required": [ + "serviceUri", + "actions" + ] + }, + "WebhookPropertiesUpdateParameters": { + "type": "object", + "description": "The parameters for updating the properties of a webhook.", + "properties": { + "serviceUri": { + "type": "string", + "description": "The service URI for the webhook to post notifications." + }, + "customHeaders": { + "type": "object", + "description": "Custom headers that will be added to the webhook notifications.", + "additionalProperties": { + "type": "string" + } + }, + "status": { + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." + }, + "scope": { + "type": "string", + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." + }, + "actions": { + "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", + "items": { + "$ref": "#/definitions/WebhookAction" + } + } + } + }, + "WebhookStatus": { + "type": "string", + "description": "The status of the webhook at the time the operation was called.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, + "WebhookUpdateParameters": { + "type": "object", + "description": "The parameters for updating a webhook.", + "properties": { + "tags": { + "type": "object", + "description": "The tags for the webhook.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesUpdateParameters", + "description": "The properties that the webhook will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "ZoneRedundancy": { + "type": "string", + "description": "Whether or not zone redundancy is enabled for this container registry", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveCreate.json new file mode 100644 index 000000000000..dc04c33cefdf --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveCreate.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveCreateParameters": { + "properties": { + "packageSource": { + "type": "remote", + "url": "string" + }, + "publishedVersion": "string", + "repositoryEndpointPrefix": "string" + } + }, + "archiveName": "myArchiveName", + "packageType": "rpm", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName", + "properties": { + "packageSource": { + "type": "remote", + "url": "string" + }, + "provisioningState": "Succeeded", + "publishedVersion": "string", + "repositoryEndpoint": "string", + "repositoryEndpointPrefix": "string" + } + } + }, + "201": { + "body": { + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives/myArchiveName", + "properties": { + "packageSource": { + "type": "remote", + "url": "string" + }, + "provisioningState": "Succeeded", + "publishedVersion": "string", + "repositoryEndpoint": "string", + "repositoryEndpointPrefix": "string" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + } + } + }, + "operationId": "Archives_Create", + "title": "ArchiveCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveDelete.json new file mode 100644 index 000000000000..9aba0f664905 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + } + }, + "204": {} + }, + "operationId": "Archives_Delete", + "title": "ArchiveDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveGet.json new file mode 100644 index 000000000000..476b471dff97 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/packages/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", + "properties": { + "packageSource": { + "type": "string", + "url": "string" + }, + "provisioningState": "Creating", + "publishedVersion": "string" + }, + "systemData": { + "createdAt": "2023-02-24T00:13:46.836Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-02-24T00:13:46.836Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Archives_Get", + "title": "ArchiveGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveList.json new file mode 100644 index 000000000000..f3fbd3b88ba5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "name": "string", + "type": "string", + "id": "string", + "properties": { + "packageSource": { + "type": "string", + "url": "string" + }, + "provisioningState": "Creating", + "publishedVersion": "string" + }, + "systemData": { + "createdAt": "2023-02-24T00:22:47.311Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-02-24T00:22:47.311Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "Archives_List", + "title": "ArchiveList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveUpdate.json new file mode 100644 index 000000000000..d2e7aa9a6a42 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveUpdate.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "archiveUpdateParameters": { + "properties": { + "publishedVersion": "string" + } + }, + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/packages/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", + "properties": { + "packageSource": { + "type": "remote", + "url": "string" + }, + "provisioningState": "Creating", + "publishedVersion": "string", + "repositoryEndpoint": "string", + "repositoryEndpointPrefix": "string" + }, + "systemData": { + "createdAt": "2023-06-09T23:41:38.720Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-06-09T23:41:38.720Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "Archives_Update", + "title": "ArchiveUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json new file mode 100644 index 000000000000..bf3e7bae50d0 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName", + "packageType": "rpm", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myArchiveVersionName", + "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", + "properties": { + "provisioningState": "Succeeded" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archoveversion-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + } + } + }, + "operationId": "ArchiveVersions_Create", + "title": "ArchiveVersionCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json new file mode 100644 index 000000000000..c7dfd5b3f787 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName", + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + } + }, + "204": {} + }, + "operationId": "ArchiveVersions_Delete", + "title": "ArchiveVersionDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json new file mode 100644 index 000000000000..562336e2bad0 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName", + "packageType": "rpm", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/packages/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", + "properties": { + "archiveVersionErrorMessage": "string", + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2023-02-24T00:13:46.836Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-02-24T00:13:46.836Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ArchiveVersions_Get", + "title": "ArchiveVersionGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionList.json new file mode 100644 index 000000000000..591543bc2709 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "archiveName": "myArchiveName", + "packageType": "myPackageType", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "name": "string", + "type": "string", + "id": "string", + "properties": { + "archiveVersionErrorMessage": "string", + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2023-02-24T00:22:47.311Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2023-02-24T00:22:47.311Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ArchiveVersions_List", + "title": "ArchiveVersionList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleCreate.json new file mode 100644 index 000000000000..75d48bd44545 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleCreate.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "cacheRuleCreateParameters": { + "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + }, + "cacheRuleName": "myCacheRule", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Succeeded", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + } + }, + "201": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Creating", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "CacheRules_Create", + "title": "CacheRuleCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleDelete.json new file mode 100644 index 000000000000..1e6684d297c4 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "cacheRuleName": "myCacheRule", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "CacheRules_Delete", + "title": "CacheRuleDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleGet.json new file mode 100644 index 000000000000..995f262c5dd8 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "cacheRuleName": "myCacheRule", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Succeeded", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + } + } + }, + "operationId": "CacheRules_Get", + "title": "CacheRuleGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleList.json new file mode 100644 index 000000000000..a0699412ee9a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "provisioningState": "Succeeded", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + } + ] + } + } + }, + "operationId": "CacheRules_List", + "title": "CacheRuleList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json new file mode 100644 index 000000000000..cb06ebf79a1d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "cacheRuleName": "myCacheRule", + "cacheRuleUpdateParameters": { + "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2" + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", + "provisioningState": "Succeeded", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + } + }, + "201": { + "body": { + "name": "myCacheRule", + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "properties": { + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", + "provisioningState": "Updating", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "CacheRules_Update", + "title": "CacheRuleUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json new file mode 100644 index 000000000000..c502d14686f7 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "connectedRegistryCreateParameters": { + "properties": { + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + }, + "connectedRegistryName": "myConnectedRegistry", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "activation": { + "status": "Inactive" + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Disabled", + "logLevel": "Information" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + } + }, + "201": { + "body": { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "activation": { + "status": "Inactive" + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Disabled", + "logLevel": "Information" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ConnectedRegistries_Create", + "title": "ConnectedRegistryCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json new file mode 100644 index 000000000000..6e189a00e328 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "connectedRegistryName": "myConnectedRegistry", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ConnectedRegistries_Deactivate", + "title": "ConnectedRegistryDeactivate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json new file mode 100644 index 000000000000..a2eba1b22be4 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "connectedRegistryName": "myConnectedRegistry", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "ConnectedRegistries_Delete", + "title": "ConnectedRegistryDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json new file mode 100644 index 000000000000..f1ce8a3fcb5a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "connectedRegistryName": "myConnectedRegistry", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "activation": { + "status": "Inactive" + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Disabled", + "logLevel": "Information" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + } + } + }, + "operationId": "ConnectedRegistries_Get", + "title": "ConnectedRegistryGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json new file mode 100644 index 000000000000..803edeb1e126 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "activation": { + "status": "Inactive" + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Disabled", + "logLevel": "Information" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P2D", + "schedule": "0 9 * * *", + "syncWindow": "PT3H", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + } + ] + } + } + }, + "operationId": "ConnectedRegistries_List", + "title": "ConnectedRegistryList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json new file mode 100644 index 000000000000..f2b68454277c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "connectedRegistryName": "myScopeMap", + "connectedRegistryUpdateParameters": { + "properties": { + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Enabled", + "logLevel": "Debug" + }, + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "syncProperties": { + "messageTtl": "P30D", + "schedule": "0 0 */10 * *", + "syncWindow": "P2D" + } + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Enabled", + "logLevel": "Debug" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P30D", + "schedule": "0 0 */10 * *", + "syncWindow": "P2D", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + } + }, + "201": { + "body": { + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "properties": { + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + }, + "logging": { + "auditLogStatus": "Enabled", + "logLevel": "Debug" + }, + "mode": "ReadWrite", + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "parent": { + "syncProperties": { + "messageTtl": "P30D", + "schedule": "0 0 */10 * *", + "syncWindow": "P2D", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" + } + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ConnectedRegistries_Update", + "title": "ConnectedRegistryUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetCreate.json new file mode 100644 index 000000000000..c2b6391738a5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetCreate.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "credentialSetCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } + ], + "loginServer": "docker.io" + } + }, + "credentialSetName": "myCredentialSet", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "CredentialSets_Create", + "title": "CredentialSetCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetDelete.json new file mode 100644 index 000000000000..e4058a6a6d3a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "credentialSetName": "myCredentialSet", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "CredentialSets_Delete", + "title": "CredentialSetDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetGet.json new file mode 100644 index 000000000000..42249cde643e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "credentialSetName": "myCredentialSet", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "CredentialSets_Get", + "title": "CredentialSetGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetList.json new file mode 100644 index 000000000000..75655128524d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "CredentialSets_List", + "title": "CredentialSetList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json new file mode 100644 index 000000000000..45d99e9e938b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "credentialSetName": "myCredentialSet", + "credentialSetUpdateParameters": { + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + } + ] + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myCredentialSet", + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "credentialHealth": { + "status": "Healthy" + }, + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "loginServer": "docker.io", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "CredentialSets_Update", + "title": "CredentialSetUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json new file mode 100644 index 000000000000..66271fac5b88 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "exportPipelineCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteBlobs" + ], + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + }, + "exportPipelineName": "myExportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myExportPipeline", + "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + } + }, + "201": { + "body": { + "name": "myExportPipeline", + "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ExportPipelines_Create", + "title": "ExportPipelineCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json new file mode 100644 index 000000000000..8ce6b112904d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "exportPipelineName": "myExportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "ExportPipelines_Delete", + "title": "ExportPipelineDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineGet.json new file mode 100644 index 000000000000..662586ed7f09 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "exportPipelineName": "myExportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myExportPipeline", + "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + } + } + }, + "operationId": "ExportPipelines_Get", + "title": "ExportPipelineGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineList.json new file mode 100644 index 000000000000..426f7146429e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myExportPipeline", + "type": "Microsoft.ContainerRegistry/registries/exportPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded", + "target": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + } + ] + } + } + }, + "operationId": "ExportPipelines_List", + "title": "ExportPipelineList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json new file mode 100644 index 000000000000..bffb2268d135 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "parameters": { + "mode": "Force", + "source": { + "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", + "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ] + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_ImportImage", + "title": "ImportImageByManifestDigest" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByTag.json new file mode 100644 index 000000000000..d27cdecc5311 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByTag.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "parameters": { + "mode": "Force", + "source": { + "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", + "sourceImage": "sourceRepository:sourceTag" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ] + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_ImportImage", + "title": "ImportImageByTag" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json new file mode 100644 index 000000000000..62a5d60c7e4e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "parameters": { + "mode": "Force", + "source": { + "registryUri": "registry.hub.docker.com", + "sourceImage": "library/hello-world" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ] + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_ImportImage", + "title": "ImportImageFromPublicRegistry" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json new file mode 100644 index 000000000000..d1f54159b956 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "importPipelineCreateParameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "source": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + } + } + }, + "importPipelineName": "myImportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myImportPipeline", + "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", + "source": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + }, + "trigger": { + "sourceTrigger": { + "status": "Enabled" + } + } + } + } + }, + "201": { + "body": { + "name": "myImportPipeline", + "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", + "source": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + }, + "trigger": { + "sourceTrigger": { + "status": "Enabled" + } + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ImportPipelines_Create", + "title": "ImportPipelineCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json new file mode 100644 index 000000000000..d695627df8a5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "importPipelineName": "myImportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "ImportPipelines_Delete", + "title": "ImportPipelineDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineGet.json new file mode 100644 index 000000000000..b1ab529b009a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineGet.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "importPipelineName": "myImportPipeline", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myImportPipeline", + "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", + "source": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + }, + "trigger": { + "sourceTrigger": { + "status": "Enabled" + } + } + } + } + } + }, + "operationId": "ImportPipelines_Get", + "title": "ImportPipelineGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineList.json new file mode 100644 index 000000000000..9671f76049d6 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myImportPipeline", + "type": "Microsoft.ContainerRegistry/registries/importPipelines", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } + } + }, + "location": "westus", + "properties": { + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded", + "source": { + "type": "AzureStorageBlobContainer", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername" + }, + "trigger": { + "sourceTrigger": { + "status": "Enabled" + } + } + } + } + ] + } + } + }, + "operationId": "ImportPipelines_List", + "title": "ImportPipelineList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/OperationList.json new file mode 100644 index 000000000000..f1937f9c350d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/OperationList.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ContainerRegistry/locations/deleteVirtualNetworkOrSubnets/action", + "display": { + "description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted", + "operation": "Delete virtual network or subnets notifications", + "provider": "Microsoft ContainerRegistry", + "resource": "" + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json new file mode 100644 index 000000000000..5d16d74802fb --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "pipelineRunCreateParameters": { + "properties": { + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "target": { + "name": "myblob.tar.gz", + "type": "AzureStorageBlob" + } + } + } + }, + "pipelineRunName": "myPipelineRun", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "progress": { + "percentage": "20" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", + "target": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + } + }, + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } + } + } + }, + "201": { + "body": { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "progress": { + "percentage": "20" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", + "target": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + } + }, + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "PipelineRuns_Create", + "title": "PipelineRunCreate_Export" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json new file mode 100644 index 000000000000..93e0d2d11f38 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "pipelineRunCreateParameters": { + "properties": { + "forceUpdateTag": "2020-03-04T17:23:21.9261521+00:00", + "request": { + "catalogDigest": "sha256@", + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "source": { + "name": "myblob.tar.gz", + "type": "AzureStorageBlob" + } + } + } + }, + "pipelineRunName": "myPipelineRun", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "importedArtifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "progress": { + "percentage": "100" + }, + "source": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Succeeded" + }, + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + } + } + } + }, + "201": { + "body": { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "finishTime": "2020-03-04T17:25:21.9261521+00:00", + "importedArtifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "progress": { + "percentage": "100" + }, + "source": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Succeeded" + }, + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "PipelineRuns_Create", + "title": "PipelineRunCreate_Import" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunDelete.json new file mode 100644 index 000000000000..da55ee26c0f1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "pipelineRunName": "myPipelineRun", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "PipelineRuns_Delete", + "title": "PipelineRunDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunGet.json new file mode 100644 index 000000000000..31902e21c3bc --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "pipelineRunName": "myPipelineRun", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "progress": { + "percentage": "20" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", + "target": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + } + }, + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } + } + } + } + }, + "operationId": "PipelineRuns_Get", + "title": "PipelineRunGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunList.json new file mode 100644 index 000000000000..b2e4212f91e1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunList.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "progress": { + "percentage": "20" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", + "status": "Running", + "target": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + } + }, + "request": { + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" + } + } + }, + { + "name": "myPipelineRun", + "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", + "properties": { + "provisioningState": "Succeeded", + "response": { + "catalogDigest": "sha256@", + "importedArtifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ], + "progress": { + "percentage": "100" + }, + "source": { + "type": "AzureStorageBlob", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + }, + "startTime": "2020-03-03T17:23:21.9261521+00:00", + "status": "Succeeded" + }, + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + } + } + } + ] + } + } + }, + "operationId": "PipelineRuns_List", + "title": "PipelineRunList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json new file mode 100644 index 000000000000..9ff344e76287 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "privateEndpointConnection": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "status": "Approved" + } + } + }, + "privateEndpointConnectionName": "myConnection", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "title": "PrivateEndpointConnectionCreateOrUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json new file mode 100644 index 000000000000..bd4139622487 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "privateEndpointConnectionName": "myConnection", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "PrivateEndpointConnections_Delete", + "title": "PrivateEndpointConnectionDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json new file mode 100644 index 000000000000..943f93e6c6d1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "privateEndpointConnectionName": "myConnection", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateEndpointConnections_Get", + "title": "PrivateEndpointConnectionGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json new file mode 100644 index 000000000000..04db068f7d2b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionsRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "PrivateEndpointConnections_List", + "title": "PrivateEndpointConnectionList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json new file mode 100644 index 000000000000..1acb07a0b671 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryNameCheckRequest": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", + "resourceGroupName": "myResourceGroup" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "availableLoginServerName": "myregistry-a1b2c3d4e5f6.azurecr.io", + "nameAvailable": true + } + } + }, + "operationId": "Registries_CheckNameAvailability", + "title": "RegistryCheckNameAvailable" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json new file mode 100644 index 000000000000..74bf7e432868 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryNameCheckRequest": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", + "resourceGroupName": "myResourceGroup" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "message": "The registry myRegistry is already in use.", + "nameAvailable": false, + "reason": "AlreadyExists" + } + } + }, + "operationId": "Registries_CheckNameAvailability", + "title": "RegistryCheckNameNotAvailable" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreate.json new file mode 100644 index 000000000000..affc04259789 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreate.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registry": { + "location": "westus", + "properties": { + "adminUserEnabled": true + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key": "value" + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Creating", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Registries_Create", + "title": "RegistryCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json new file mode 100644 index 000000000000..e22674626cd9 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registry": { + "location": "westus", + "properties": { + "roleAssignmentMode": "AbacRepositoryPermissions" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key": "value" + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Creating", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Registries_Create", + "title": "RegistryCreateAbac" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json new file mode 100644 index 000000000000..2a27118c9d37 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registry": { + "location": "westus", + "properties": { + "autoGeneratedDomainNameLabelScope": "TenantReuse" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key": "value" + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Creating", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Registries_Create", + "title": "RegistryCreateDomainNameLabelScope" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json new file mode 100644 index 000000000000..0577e026e093 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registry": { + "location": "westus", + "properties": { + "zoneRedundancy": "Enabled" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key": "value" + } + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Enabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Creating", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Enabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_Create", + "title": "RegistryCreateZoneRedundant" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryDelete.json new file mode 100644 index 000000000000..1b4ce26eea41 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "Registries_Delete", + "title": "RegistryDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json new file mode 100644 index 000000000000..6a12db62ede5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "generateCredentialsParameters": { + "expiry": "2020-12-31T15:59:59.0707808Z", + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken" + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "passwords": [ + { + "name": "password1", + "expiry": "2020-12-31T15:59:59.0707808Z", + "value": "00000000000000000000000000000000" + }, + { + "name": "password2", + "expiry": "2020-12-31T15:59:59.0707808Z", + "value": "00000000000000000000000000000000" + } + ], + "username": "myToken" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_GenerateCredentials", + "title": "RegistryGenerateCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGet.json new file mode 100644 index 000000000000..db87e0484cca --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGet.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Registries_Get", + "title": "RegistryGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json new file mode 100644 index 000000000000..fc5370d8cb4a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "groupName": "registry", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "registry", + "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", + "properties": { + "groupId": "registry", + "requiredMembers": [ + "registry", + "registry_data_myregion" + ], + "requiredZoneNames": [ + "privatelink.azurecr.io" + ] + } + } + } + }, + "operationId": "Registries_GetPrivateLinkResource", + "title": "RegistryGetPrivateLinkResource" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryList.json new file mode 100644 index 000000000000..b09dc55caca6 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryList.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + ] + } + } + }, + "operationId": "Registries_List", + "title": "RegistryList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json new file mode 100644 index 000000000000..b5db1648e40f --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": false, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "LegacyRegistryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + ] + } + } + }, + "operationId": "Registries_ListByResourceGroup", + "title": "RegistryListByResourceGroup" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListCredentials.json new file mode 100644 index 000000000000..cad13979f5af --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListCredentials.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "passwords": [ + { + "name": "password", + "value": "00000000000000000000000000000000" + }, + { + "name": "password2", + "value": "00000000000000000000000000000000" + } + ], + "username": "myRegistry" + } + } + }, + "operationId": "Registries_ListCredentials", + "title": "RegistryListCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json new file mode 100644 index 000000000000..8bcee5174f5e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "registry", + "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", + "properties": { + "groupId": "registry", + "requiredMembers": [ + "registry", + "registry_data_myregion" + ], + "requiredZoneNames": [ + "privatelink.azurecr.io" + ] + } + } + ] + } + } + }, + "operationId": "Registries_ListPrivateLinkResources", + "title": "RegistryListPrivateLinkResources" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListUsages.json new file mode 100644 index 000000000000..e9f9bd026795 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListUsages.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Size", + "currentValue": 12345678, + "limit": 107374182400, + "unit": "Bytes" + }, + { + "name": "Webhooks", + "currentValue": 2, + "limit": 10, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Registries_ListUsages", + "title": "RegistryListUsages" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json new file mode 100644 index 000000000000..a62ee263538d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "regenerateCredentialParameters": { + "name": "password" + }, + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "passwords": [ + { + "name": "password", + "value": "00000000000000000000000000000000" + }, + { + "name": "password2", + "value": "00000000000000000000000000000000" + } + ], + "username": "myRegistry" + } + } + }, + "operationId": "Registries_RegenerateCredential", + "title": "RegistryRegenerateCredential" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryUpdate.json new file mode 100644 index 000000000000..c33269beb299 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryUpdate.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "registryUpdateParameters": { + "properties": { + "adminUserEnabled": true, + "roleAssignmentMode": "AbacRepositoryPermissions" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key": "value" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "location": "westus", + "properties": { + "adminUserEnabled": true, + "anonymousPullEnabled": false, + "autoGeneratedDomainNameLabelScope": "Unsecure", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "encryption": { + "status": "disabled" + }, + "loginServer": "myRegistry.azurecr-test.io", + "metadataSearch": "Disabled", + "networkRuleBypassAllowedForTasks": false, + "networkRuleBypassOptions": "AzureServices", + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "exportPolicy": { + "status": "enabled" + }, + "quarantinePolicy": { + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + } + }, + "privateEndpointConnections": [], + "provisioningState": "Updating", + "publicNetworkAccess": "Enabled", + "roleAssignmentMode": "AbacRepositoryPermissions", + "status": null, + "zoneRedundancy": "Disabled" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Registries_Update", + "title": "RegistryUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreate.json new file mode 100644 index 000000000000..796288cf90fe --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "replication": { + "location": "eastus", + "tags": { + "key": "value" + } + }, + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Creating", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Provisioning", + "message": "The replication is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Replications_Create", + "title": "ReplicationCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json new file mode 100644 index 000000000000..c37cf3b8de41 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "replication": { + "location": "eastus", + "properties": { + "regionEndpointEnabled": true, + "zoneRedundancy": "Enabled" + }, + "tags": { + "key": "value" + } + }, + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Enabled" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Creating", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Provisioning", + "message": "The replication is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Enabled" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Replications_Create", + "title": "ReplicationCreateZoneRedundant" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationDelete.json new file mode 100644 index 000000000000..0b32a1ee4c27 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "Replications_Delete", + "title": "ReplicationDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationGet.json new file mode 100644 index 000000000000..4d5c6423f04c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "replicationName": "myReplication", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Replications_Get", + "title": "ReplicationGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationList.json new file mode 100644 index 000000000000..9c852ae198ae --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + } + ] + } + } + }, + "operationId": "Replications_List", + "title": "ReplicationList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationUpdate.json new file mode 100644 index 000000000000..3b9d0f9aa469 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationUpdate.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "replicationName": "myReplication", + "replicationUpdateParameters": { + "tags": { + "key": "value" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "location": "eastus", + "properties": { + "provisioningState": "Updating", + "regionEndpointEnabled": true, + "status": { + "displayStatus": "Provisioning", + "message": "The replication is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "zoneRedundancy": "Disabled" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Replications_Update", + "title": "ReplicationUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapCreate.json new file mode 100644 index 000000000000..0f43bbc379b5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapCreate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "scopeMapCreateParameters": { + "properties": { + "description": "Developer Scopes", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ] + } + }, + "scopeMapName": "myScopeMap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ScopeMaps_Create", + "title": "ScopeMapCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapDelete.json new file mode 100644 index 000000000000..e2dbbccfd963 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "scopeMapName": "myScopeMap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "ScopeMaps_Delete", + "title": "ScopeMapDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapGet.json new file mode 100644 index 000000000000..4df130731d3f --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapGet.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "scopeMapName": "myScopeMap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ScopeMaps_Get", + "title": "ScopeMapGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapList.json new file mode 100644 index 000000000000..45fe4ea3835a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ScopeMaps_List", + "title": "ScopeMapList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json new file mode 100644 index 000000000000..c9c1a5468cc7 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "scopeMapName": "myScopeMap", + "scopeMapUpdateParameters": { + "properties": { + "description": "Developer Scopes", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "properties": { + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ], + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "ScopeMaps_Update", + "title": "ScopeMapUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenCreate.json new file mode 100644 index 000000000000..73d5f6060763 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenCreate.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tokenCreateParameters": { + "properties": { + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + }, + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled" + } + }, + "tokenName": "myToken" + }, + "responses": { + "200": { + "body": { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "expiry": "2020-12-04T15:32:48.0707808Z", + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" + } + ] + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled" + } + } + }, + "201": { + "body": { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "expiry": "2020-12-04T15:32:48.0707808Z", + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" + } + ] + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Tokens_Create", + "title": "TokenCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenDelete.json new file mode 100644 index 000000000000..e9621195b024 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tokenName": "myToken" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "Tokens_Delete", + "title": "TokenDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenGet.json new file mode 100644 index 000000000000..354b772d26c1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tokenName": "myToken" + }, + "responses": { + "200": { + "body": { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "enabled" + } + } + } + }, + "operationId": "Tokens_Get", + "title": "TokenGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenList.json new file mode 100644 index 000000000000..541987d9de15 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenList.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "enabled" + } + } + ] + } + } + }, + "operationId": "Tokens_List", + "title": "TokenList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenUpdate.json new file mode 100644 index 000000000000..ec52fff2fff2 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenUpdate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tokenName": "myToken", + "tokenUpdateParameters": { + "properties": { + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + }, + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "status": "enabled" + } + } + }, + "201": { + "body": { + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + }, + "provisioningState": "Succeeded", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "status": "enabled" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Tokens_Update", + "title": "TokenUpdate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookCreate.json new file mode 100644 index 000000000000..4613db166023 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookCreate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookCreateParameters": { + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "customHeaders": { + "Authorization": "******" + }, + "scope": "myRepository", + "serviceUri": "http://myservice.com", + "status": "enabled" + }, + "tags": { + "key": "value" + } + }, + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Creating", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Webhooks_Create", + "title": "WebhookCreate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookDelete.json new file mode 100644 index 000000000000..1a576bf58359 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + }, + "204": {} + }, + "operationId": "Webhooks_Delete", + "title": "WebhookDelete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGet.json new file mode 100644 index 000000000000..1468d1602ec9 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Webhooks_Get", + "title": "WebhookGet" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json new file mode 100644 index 000000000000..06cac76bec5c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "customHeaders": { + "Authorization": "******" + }, + "serviceUri": "http://myservice.com" + } + } + }, + "operationId": "Webhooks_GetCallbackConfig", + "title": "WebhookGetCallbackConfig" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookList.json new file mode 100644 index 000000000000..15e6239a49a9 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookList.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + } + ] + } + } + }, + "operationId": "Webhooks_List", + "title": "WebhookList" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookListEvents.json new file mode 100644 index 000000000000..f4e39977c108 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookListEvents.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "eventRequestMessage": { + "method": "POST", + "content": { + "action": "push", + "actor": {}, + "id": "00000000-0000-0000-0000-000000000000", + "source": { + "addr": "xtal.local:5000", + "instanceID": "00000000-0000-0000-0000-000000000000" + }, + "target": { + "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", + "length": 708, + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "repository": "hello-world", + "size": 708, + "tag": "latest", + "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf" + }, + "timestamp": "2017-03-01T23:14:37.0707808Z", + "request": { + "method": "GET", + "addr": "192.168.64.11:42961", + "host": "192.168.100.227:5000", + "id": "00000000-0000-0000-0000-000000000000", + "useragent": "curl/7.38.0" + } + }, + "headers": { + "Authorization": "******", + "Content-Length": "719", + "Content-Type": "application/json" + }, + "requestUri": "http://myservice.com", + "version": "1.1" + }, + "eventResponseMessage": { + "headers": { + "Content-Length": "0" + }, + "statusCode": "200", + "version": "1.1" + }, + "id": "00000000-0000-0000-0000-000000000000" + } + ] + } + } + }, + "operationId": "Webhooks_ListEvents", + "title": "WebhookListEvents" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookPing.json new file mode 100644 index 000000000000..7aee705896dd --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookPing.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "id": "00000000-0000-0000-0000-000000000000" + } + } + }, + "operationId": "Webhooks_Ping", + "title": "WebhookPing" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookUpdate.json new file mode 100644 index 000000000000..e10e232907fa --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookUpdate.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-05-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "webhookName": "myWebhook", + "webhookUpdateParameters": { + "properties": { + "actions": [ + "push" + ], + "customHeaders": { + "Authorization": "******" + }, + "scope": "myRepository", + "serviceUri": "http://myservice.com", + "status": "enabled" + }, + "tags": { + "key": "value" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Succeeded", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + } + }, + "201": { + "body": { + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "location": "westus", + "properties": { + "actions": [ + "push" + ], + "provisioningState": "Updating", + "scope": "myRepository", + "status": "enabled" + }, + "tags": { + "key": "value" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + } + } + }, + "operationId": "Webhooks_Update", + "title": "WebhookUpdate" +} \ No newline at end of file From 79bfdf7f9e0ef92f501e38f09e295e651ba9c274 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 8 Sep 2025 15:03:30 +0800 Subject: [PATCH 02/41] update --- .../Registry/ConnectedRegistry.tsp | 7 +- .../Registry/Registry.tsp | 5 +- .../Registry/models.tsp | 50 +- .../oldswagger/containerregistry.json | 8096 ----------------- .../Registry/output/API_CHANGES.md | 264 - .../Registry/output/diff.json | 1405 --- .../Registry/output/newNormalizedSwagger.json | 7086 --------------- .../Registry/output/oldNormalizedSwagger.json | 7135 --------------- .../2025-05-01-preview/containerregistry.json | 525 +- 9 files changed, 392 insertions(+), 24181 deletions(-) delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/oldswagger/containerregistry.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/API_CHANGES.md delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/diff.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/newNormalizedSwagger.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/oldNormalizedSwagger.json diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp index 5176f57a57a8..3674afcb60ad 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp @@ -79,7 +79,12 @@ interface ConnectedRegistries { /** * Deactivates the connected registry instance. */ - deactivate is ArmResourceActionAsync; + deactivate is ArmResourceActionAsyncBase< + ConnectedRegistry, + void, + ArmAcceptedLroResponse | OkResponse, + Azure.ResourceManager.Foundations.ResourceGroupBaseParameters + >; } @@maxLength(ConnectedRegistry.name, 50); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp index 602846c715ed..1ff93332f3fa 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp @@ -90,10 +90,11 @@ interface Registries { /** * Copies an image to this container registry from the specified container registry. */ - importImage is ArmResourceActionAsync< + importImage is ArmResourceActionAsyncBase< Registry, ImportImageParameters, - OkResponse + ArmAcceptedLroResponse | OkResponse, + Azure.ResourceManager.Foundations.ResourceGroupBaseParameters >; /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp index c1fc084a2950..c65f6252ace8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp @@ -1547,6 +1547,18 @@ model OperationLogSpecificationDefinition { blobDuration?: string; } +/** The resource type for Container Registry. */ +@OpenAPI.extension( + "x-ms-enum", + #{ name: "ContainerRegistryResourceType", modelAsString: false } +) +union ContainerRegistryResourceType { + string, + + /** Microsoft.ContainerRegistry/registries */ + Registries: "Microsoft.ContainerRegistry/registries", +} + /** * A request to check whether a container registry name is available. */ @@ -1562,7 +1574,7 @@ model RegistryNameCheckRequest { /** * The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'. */ - type: "Microsoft.ContainerRegistry/registries"; + type: ContainerRegistryResourceType; /** * The resource group name of the container registry. @@ -1574,7 +1586,7 @@ model RegistryNameCheckRequest { /** * The auto generated domain name label of the container registry. This value defaults to "Unsecure". */ - autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; + autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope = AutoGeneratedDomainNameLabelScope.Unsecure; } /** @@ -1869,7 +1881,7 @@ model RegistryProperties { /** * The value that indicates whether the admin user is enabled. */ - adminUserEnabled?: boolean; + adminUserEnabled?: boolean = false; /** * The network rule set for a container registry. @@ -1906,42 +1918,42 @@ model RegistryProperties { /** * Whether or not public network access is allowed for the container registry. */ - publicNetworkAccess?: PublicNetworkAccess; + publicNetworkAccess?: PublicNetworkAccess = PublicNetworkAccess.Enabled; /** * Whether to allow trusted Azure services to access a network restricted registry. */ - networkRuleBypassOptions?: NetworkRuleBypassOptions; + networkRuleBypassOptions?: NetworkRuleBypassOptions = NetworkRuleBypassOptions.AzureServices; /** * Whether or not Tasks allowed to bypass the network rules for this container registry. */ - networkRuleBypassAllowedForTasks?: boolean; + networkRuleBypassAllowedForTasks?: boolean = false; /** * Whether or not zone redundancy is enabled for this container registry */ - zoneRedundancy?: ZoneRedundancy; + zoneRedundancy?: ZoneRedundancy = ZoneRedundancy.Disabled; /** * Enables registry-wide pull from unauthenticated clients. */ - anonymousPullEnabled?: boolean; + anonymousPullEnabled?: boolean = false; /** * Determines whether registry artifacts are indexed for metadata search. */ - metadataSearch?: MetadataSearch; + metadataSearch?: MetadataSearch = MetadataSearch.Disabled; /** * Determines the domain name label reuse scope. */ - autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope; + autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope = AutoGeneratedDomainNameLabelScope.Unsecure; /** * Determines registry role assignment mode. */ - roleAssignmentMode?: RoleAssignmentMode; + roleAssignmentMode?: RoleAssignmentMode = RoleAssignmentMode.LegacyRegistryPermissions; } /** @@ -2041,7 +2053,7 @@ model QuarantinePolicy { /** * The value that indicates whether the policy is enabled or not. */ - status?: PolicyStatus; + status?: PolicyStatus = PolicyStatus.disabled; } /** @@ -2056,7 +2068,7 @@ model TrustPolicy { /** * The value that indicates whether the policy is enabled or not. */ - status?: PolicyStatus; + status?: PolicyStatus = PolicyStatus.disabled; } /** @@ -2078,7 +2090,7 @@ model RetentionPolicy { /** * The value that indicates whether the policy is enabled or not. */ - status?: PolicyStatus; + status?: PolicyStatus = PolicyStatus.disabled; } /** @@ -2120,7 +2132,7 @@ model SoftDeletePolicy { /** * The value that indicates whether the policy is enabled or not. */ - status?: PolicyStatus; + status?: PolicyStatus = PolicyStatus.disabled; } #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" @@ -2274,7 +2286,7 @@ model RegistryPropertiesUpdateParameters { /** * Whether to allow trusted Azure services to access a network restricted registry. */ - networkRuleBypassOptions?: NetworkRuleBypassOptions; + networkRuleBypassOptions?: NetworkRuleBypassOptions = NetworkRuleBypassOptions.AzureServices; /** * Whether to allow ACR Tasks service to access a network restricted registry. @@ -2289,7 +2301,7 @@ model RegistryPropertiesUpdateParameters { /** * Determines whether registry artifacts are indexed for metadata search. */ - metadataSearch?: MetadataSearch; + metadataSearch?: MetadataSearch = MetadataSearch.Disabled; /** * Determines registry role assignment mode. @@ -2420,7 +2432,7 @@ model ReplicationProperties { /** * Whether or not zone redundancy is enabled for this container registry replication */ - zoneRedundancy?: ZoneRedundancy; + zoneRedundancy?: ZoneRedundancy = ZoneRedundancy.Disabled; } /** @@ -2737,6 +2749,7 @@ model WebhookPropertiesCreateParameters { /** * The service URI for the webhook to post notifications. */ + @secret serviceUri: string; /** @@ -2786,6 +2799,7 @@ model WebhookPropertiesUpdateParameters { /** * The service URI for the webhook to post notifications. */ + @secret serviceUri?: string; /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/oldswagger/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/oldswagger/containerregistry.json deleted file mode 100644 index 3424ea83aafd..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/oldswagger/containerregistry.json +++ /dev/null @@ -1,8096 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-05-01-preview", - "title": "ContainerRegistryManagementClient" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { - "get": { - "tags": [ - "Archives" - ], - "description": "Lists all archives for the specified container registry and package type.", - "operationId": "Archives_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ArchiveListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveList": { - "$ref": "./examples/ArchiveList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { - "get": { - "tags": [ - "Archives" - ], - "description": "Gets the properties of the archive.", - "operationId": "Archives_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveGet": { - "$ref": "./examples/ArchiveGet.json" - } - } - }, - "put": { - "tags": [ - "Archives" - ], - "description": "Creates a archive for a container registry with the specified parameters.", - "operationId": "Archives_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "name": "archiveCreateParameters", - "in": "body", - "description": "The parameters for creating a archive.", - "required": true, - "schema": { - "$ref": "#/definitions/Archive" - } - } - ], - "responses": { - "200": { - "description": "ARM update operation completed successfully.", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "201": { - "description": "ARM create operation completed successfully.", - "schema": { - "$ref": "#/definitions/Archive" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveCreate": { - "$ref": "./examples/ArchiveCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "Archives" - ], - "description": "Deletes a archive from a container registry.", - "operationId": "Archives_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - } - ], - "responses": { - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The archive does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveDelete": { - "$ref": "./examples/ArchiveDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "patch": { - "tags": [ - "Archives" - ], - "description": "Updates a archive for a container registry with the specified parameters.", - "operationId": "Archives_Update", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "name": "archiveUpdateParameters", - "in": "body", - "description": "The parameters for updating a archive.", - "required": true, - "schema": { - "$ref": "#/definitions/ArchiveUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the operation has completed successfully.", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveUpdate": { - "$ref": "./examples/ArchiveUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { - "get": { - "tags": [ - "ArchiveVersions" - ], - "description": "Lists all archive versions for the specified container registry, repository type and archive name.", - "operationId": "ArchiveVersions_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ArchiveVersionListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionList": { - "$ref": "./examples/ArchiveVersionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { - "get": { - "tags": [ - "ArchiveVersions" - ], - "description": "Gets the properties of the archive version.", - "operationId": "ArchiveVersions_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "$ref": "#/parameters/ArchiveVersionNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionGet": { - "$ref": "./examples/ArchiveVersionGet.json" - } - } - }, - "put": { - "tags": [ - "ArchiveVersions" - ], - "description": "Creates a archive for a container registry with the specified parameters.", - "operationId": "ArchiveVersions_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "$ref": "#/parameters/ArchiveVersionNameParameter" - } - ], - "responses": { - "200": { - "description": "ARM update operation completed successfully.", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "201": { - "description": "ARM create operation completed successfully.", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionCreate": { - "$ref": "./examples/ArchiveVersionCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "ArchiveVersions" - ], - "description": "Deletes a archive version from a container registry.", - "operationId": "ArchiveVersions_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "$ref": "#/parameters/ArchiveVersionNameParameter" - } - ], - "responses": { - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The archive does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionDelete": { - "$ref": "./examples/ArchiveVersionDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { - "get": { - "tags": [ - "CacheRules" - ], - "description": "Lists all cache rule resources for the specified container registry.", - "operationId": "CacheRules_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CacheRulesListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleList": { - "$ref": "./examples/CacheRuleList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { - "get": { - "tags": [ - "CacheRules" - ], - "description": "Gets the properties of the specified cache rule resource.", - "operationId": "CacheRules_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CacheRuleNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleGet": { - "$ref": "./examples/CacheRuleGet.json" - } - } - }, - "put": { - "tags": [ - "CacheRules" - ], - "description": "Creates a cache rule for a container registry with the specified parameters.", - "operationId": "CacheRules_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CacheRuleNameParameter" - }, - { - "name": "cacheRuleCreateParameters", - "in": "body", - "description": "The parameters for creating a cache rule.", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRule" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleCreate": { - "$ref": "./examples/CacheRuleCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "CacheRules" - ], - "description": "Deletes a cache rule resource from a container registry.", - "operationId": "CacheRules_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CacheRuleNameParameter" - } - ], - "responses": { - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The cache rule does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleDelete": { - "$ref": "./examples/CacheRuleDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "patch": { - "tags": [ - "CacheRules" - ], - "description": "Updates a cache rule for a container registry with the specified parameters.", - "operationId": "CacheRules_Update", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CacheRuleNameParameter" - }, - { - "name": "cacheRuleUpdateParameters", - "in": "body", - "description": "The parameters for updating a cache rule.", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRuleUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleUpdate": { - "$ref": "./examples/CacheRuleUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { - "get": { - "tags": [ - "ConnectedRegistries" - ], - "description": "Gets the properties of the connected registry.", - "operationId": "ConnectedRegistries_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ConnectedRegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryGet": { - "$ref": "./examples/ConnectedRegistryGet.json" - } - } - }, - "put": { - "tags": [ - "ConnectedRegistries" - ], - "description": "Creates a connected registry for a container registry with the specified parameters.", - "operationId": "ConnectedRegistries_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ConnectedRegistryNameParameter" - }, - { - "in": "body", - "name": "connectedRegistryCreateParameters", - "description": "The parameters for creating a connectedRegistry.", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "ConnectedRegistryCreate": { - "$ref": "./examples/ConnectedRegistryCreate.json" - } - } - }, - "patch": { - "tags": [ - "ConnectedRegistries" - ], - "description": "Updates a connected registry with the specified parameters.", - "operationId": "ConnectedRegistries_Update", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ConnectedRegistryNameParameter" - }, - { - "in": "body", - "name": "connectedRegistryUpdateParameters", - "description": "The parameters for updating a connectedRegistry.", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectedRegistryUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "ConnectedRegistryUpdate": { - "$ref": "./examples/ConnectedRegistryUpdate.json" - } - } - }, - "delete": { - "tags": [ - "ConnectedRegistries" - ], - "description": "Deletes a connected registry from a container registry.", - "operationId": "ConnectedRegistries_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ConnectedRegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The webhook does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "ConnectedRegistryDelete": { - "$ref": "./examples/ConnectedRegistryDelete.json" - } - }, - "produces": [ - "application/json" - ] - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { - "get": { - "tags": [ - "ConnectedRegistries" - ], - "description": "Lists all connected registries for the specified container registry.", - "operationId": "ConnectedRegistries_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ConnectedRegistryFilterParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ConnectedRegistryListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ConnectedRegistryList": { - "$ref": "./examples/ConnectedRegistryList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { - "post": { - "tags": [ - "ConnectedRegistries" - ], - "description": "Deactivates the connected registry instance.", - "operationId": "ConnectedRegistries_Deactivate", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ConnectedRegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "ConnectedRegistryDeactivate": { - "$ref": "./examples/ConnectedRegistryDeactivate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { - "get": { - "tags": [ - "CredentialSets" - ], - "description": "Lists all credential set resources for the specified container registry.", - "operationId": "CredentialSets_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CredentialSetListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetList": { - "$ref": "./examples/CredentialSetList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { - "get": { - "tags": [ - "CredentialSets" - ], - "description": "Gets the properties of the specified credential set resource.", - "operationId": "CredentialSets_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CredentialSetNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetGet": { - "$ref": "./examples/CredentialSetGet.json" - } - } - }, - "put": { - "tags": [ - "CredentialSets" - ], - "description": "Creates a credential set for a container registry with the specified parameters.", - "operationId": "CredentialSets_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CredentialSetNameParameter" - }, - { - "name": "credentialSetCreateParameters", - "in": "body", - "description": "The parameters for creating a credential set.", - "required": true, - "schema": { - "$ref": "#/definitions/CredentialSet" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetCreate": { - "$ref": "./examples/CredentialSetCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "CredentialSets" - ], - "description": "Deletes a credential set from a container registry.", - "operationId": "CredentialSets_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CredentialSetNameParameter" - } - ], - "responses": { - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The credential store resource does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetDelete": { - "$ref": "./examples/CredentialSetDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "patch": { - "tags": [ - "CredentialSets" - ], - "description": "Updates a credential set for a container registry with the specified parameters.", - "operationId": "CredentialSets_Update", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CredentialSetNameParameter" - }, - { - "name": "credentialSetUpdateParameters", - "in": "body", - "description": "The parameters for updating a credential set.", - "required": true, - "schema": { - "$ref": "#/definitions/CredentialSetUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetUpdate": { - "$ref": "./examples/CredentialSetUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines": { - "get": { - "tags": [ - "ExportPipelines" - ], - "description": "Lists all export pipelines for the specified container registry.", - "operationId": "ExportPipelines_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ExportPipelineListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineList": { - "$ref": "./examples/ExportPipelineList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { - "get": { - "tags": [ - "ExportPipelines" - ], - "description": "Gets the properties of the export pipeline.", - "operationId": "ExportPipelines_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ExportPipelineNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineGet": { - "$ref": "./examples/ExportPipelineGet.json" - } - } - }, - "put": { - "tags": [ - "ExportPipelines" - ], - "description": "Creates an export pipeline for a container registry with the specified parameters.", - "operationId": "ExportPipelines_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ExportPipelineNameParameter" - }, - { - "name": "exportPipelineCreateParameters", - "in": "body", - "description": "The parameters for creating an export pipeline.", - "required": true, - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the operation has completed successfully.", - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/ExportPipeline" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineCreate": { - "$ref": "./examples/ExportPipelineCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "ExportPipelines" - ], - "description": "Deletes an export pipeline from a container registry.", - "operationId": "ExportPipelines_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ExportPipelineNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The export pipeline does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineDelete": { - "$ref": "./examples/ExportPipelineDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { - "post": { - "tags": [ - "Registries" - ], - "description": "Copies an image to this container registry from the specified container registry.", - "operationId": "Registries_ImportImage", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "name": "parameters", - "in": "body", - "description": "The parameters specifying the image to copy and the source container registry.", - "required": true, - "schema": { - "$ref": "#/definitions/ImportImageParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the operation has completed successfully." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ImportImageByTag": { - "$ref": "./examples/ImportImageByTag.json" - }, - "ImportImageByManifestDigest": { - "$ref": "./examples/ImportImageByManifestDigest.json" - }, - "ImportImageFromPublicRegistry": { - "$ref": "./examples/ImportImageFromPublicRegistry.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { - "get": { - "tags": [ - "ImportPipelines" - ], - "description": "Lists all import pipelines for the specified container registry.", - "operationId": "ImportPipelines_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ImportPipelineListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineList": { - "$ref": "./examples/ImportPipelineList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { - "get": { - "tags": [ - "ImportPipelines" - ], - "description": "Gets the properties of the import pipeline.", - "operationId": "ImportPipelines_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ImportPipelineNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineGet": { - "$ref": "./examples/ImportPipelineGet.json" - } - } - }, - "put": { - "tags": [ - "ImportPipelines" - ], - "description": "Creates an import pipeline for a container registry with the specified parameters.", - "operationId": "ImportPipelines_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ImportPipelineNameParameter" - }, - { - "name": "importPipelineCreateParameters", - "in": "body", - "description": "The parameters for creating an import pipeline.", - "required": true, - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the operation has completed successfully.", - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/ImportPipeline" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineCreate": { - "$ref": "./examples/ImportPipelineCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "ImportPipelines" - ], - "description": "Deletes an import pipeline from a container registry.", - "operationId": "ImportPipelines_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ImportPipelineNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The import pipeline does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineDelete": { - "$ref": "./examples/ImportPipelineDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/providers/Microsoft.ContainerRegistry/operations": { - "get": { - "tags": [ - "Operation" - ], - "description": "Lists all of the available Azure Container Registry REST API operations.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - } - }, - "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { - "post": { - "tags": [ - "Operation" - ], - "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", - "operationId": "Registries_CheckNameAvailability", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "registryNameCheckRequest", - "in": "body", - "description": "The object containing information for the availability request.", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryNameCheckRequest" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/RegistryNameStatus" - } - } - }, - "x-ms-examples": { - "RegistryCheckNameAvailable": { - "$ref": "./examples/RegistryCheckNameAvailable.json" - }, - "RegistryCheckNameNotAvailable": { - "$ref": "./examples/RegistryCheckNameNotAvailable.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { - "get": { - "tags": [ - "PipelineRuns" - ], - "description": "Lists all the pipeline runs for the specified container registry.", - "operationId": "PipelineRuns_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well - formed and received properly.", - "schema": { - "$ref": "#/definitions/PipelineRunListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunList": { - "$ref": "./examples/PipelineRunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { - "get": { - "tags": [ - "PipelineRuns" - ], - "description": "Gets the detailed information for a given pipeline run.", - "operationId": "PipelineRuns_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PipelineRunNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well - formed and received properly.", - "schema": { - "$ref": "#/definitions/PipelineRun" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunGet": { - "$ref": "./examples/PipelineRunGet.json" - } - } - }, - "put": { - "tags": [ - "PipelineRuns" - ], - "description": "Creates a pipeline run for a container registry with the specified parameters", - "operationId": "PipelineRuns_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PipelineRunNameParameter" - }, - { - "name": "pipelineRunCreateParameters", - "in": "body", - "description": "The parameters for creating a pipeline run.", - "required": true, - "schema": { - "$ref": "#/definitions/PipelineRun" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well - formed and received properly.", - "schema": { - "$ref": "#/definitions/PipelineRun" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/PipelineRun" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunCreate_Export": { - "$ref": "./examples/PipelineRunCreate_Export.json" - }, - "PipelineRunCreate_Import": { - "$ref": "./examples/PipelineRunCreate_Import.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "PipelineRuns" - ], - "description": "Deletes a pipeline run from a container registry.", - "operationId": "PipelineRuns_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PipelineRunNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The pipeline run does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunDelete": { - "$ref": "./examples/PipelineRunDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { - "get": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "List all private endpoint connections in a container registry.", - "operationId": "PrivateEndpointConnections_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResult" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionList": { - "$ref": "./examples/PrivateEndpointConnectionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Get the specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionGet": { - "$ref": "./examples/PrivateEndpointConnectionGet.json" - } - } - }, - "put": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Update the state of specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" - }, - { - "name": "privateEndpointConnection", - "in": "body", - "description": "The parameters for creating a private endpoint connection.", - "required": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionCreateOrUpdate": { - "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Deletes the specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The private endpoint connection does not exist in the subscription." - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionDelete": { - "$ref": "./examples/PrivateEndpointConnectionDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { - "get": { - "tags": [ - "Registries" - ], - "description": "Lists all the container registries under the specified subscription.", - "operationId": "Registries_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/RegistryListResult" - } - } - }, - "x-ms-examples": { - "RegistryList": { - "$ref": "./examples/RegistryList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { - "get": { - "tags": [ - "Registries" - ], - "description": "Lists all the container registries under the specified resource group.", - "operationId": "Registries_ListByResourceGroup", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/RegistryListResult" - } - } - }, - "x-ms-examples": { - "RegistryListByResourceGroup": { - "$ref": "./examples/RegistryListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { - "get": { - "tags": [ - "Registries" - ], - "description": "Gets the properties of the specified container registry.", - "operationId": "Registries_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Registry" - } - } - }, - "x-ms-examples": { - "RegistryGet": { - "$ref": "./examples/RegistryGet.json" - } - } - }, - "put": { - "tags": [ - "Registries" - ], - "description": "Creates a container registry with the specified parameters.", - "operationId": "Registries_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "name": "registry", - "in": "body", - "description": "The parameters for creating a container registry.", - "required": true, - "schema": { - "$ref": "#/definitions/Registry" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "RegistryCreate": { - "$ref": "./examples/RegistryCreate.json" - }, - "RegistryCreateZoneRedundant": { - "$ref": "./examples/RegistryCreateZoneRedundant.json" - }, - "RegistryCreateDomainNameLabelScope": { - "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" - }, - "RegistryCreateAbac": { - "$ref": "./examples/RegistryCreateAbac.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "Registries" - ], - "description": "Deletes a container registry.", - "operationId": "Registries_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The container registry does not exist in the subscription." - } - }, - "x-ms-examples": { - "RegistryDelete": { - "$ref": "./examples/RegistryDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "patch": { - "tags": [ - "Registries" - ], - "description": "Updates a container registry with the specified parameters.", - "operationId": "Registries_Update", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "name": "registryUpdateParameters", - "in": "body", - "description": "The parameters for updating a container registry.", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "RegistryUpdate": { - "$ref": "./examples/RegistryUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { - "get": { - "tags": [ - "Registries" - ], - "description": "Gets the quota usages for the specified container registry.", - "operationId": "Registries_ListUsages", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the registry usages retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/RegistryUsageListResult" - } - } - }, - "x-ms-examples": { - "RegistryListUsages": { - "$ref": "./examples/RegistryListUsages.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { - "get": { - "tags": [ - "Registries" - ], - "description": "Lists the private link resources for a container registry.", - "operationId": "Registries_ListPrivateLinkResources", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the private link resources were retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" - } - } - }, - "x-ms-examples": { - "RegistryListPrivateLinkResources": { - "$ref": "./examples/RegistryListPrivateLinkResources.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { - "get": { - "tags": [ - "Registries" - ], - "description": "Gets a private link resource by a specified group name for a container registry.", - "operationId": "Registries_GetPrivateLinkResource", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/GroupNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the private link resource was retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGetPrivateLinkResource": { - "$ref": "./examples/RegistryGetPrivateLinkResource.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { - "post": { - "tags": [ - "Registries" - ], - "description": "Lists the login credentials for the specified container registry.", - "operationId": "Registries_ListCredentials", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the list of credentials retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - } - }, - "x-ms-examples": { - "RegistryListCredentials": { - "$ref": "./examples/RegistryListCredentials.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { - "post": { - "tags": [ - "Registries" - ], - "description": "Regenerates one of the login credentials for the specified container registry.", - "operationId": "Registries_RegenerateCredential", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "name": "regenerateCredentialParameters", - "in": "body", - "description": "Specifies name of the password which should be regenerated -- password or password2.", - "required": true, - "schema": { - "$ref": "#/definitions/RegenerateCredentialParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the specified credential regenerated successfully.", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - } - }, - "x-ms-examples": { - "RegistryRegenerateCredential": { - "$ref": "./examples/RegistryRegenerateCredential.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications": { - "get": { - "tags": [ - "Replications" - ], - "description": "Lists all the replications for the specified container registry.", - "operationId": "Replications_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ReplicationListResult" - } - } - }, - "x-ms-examples": { - "ReplicationList": { - "$ref": "./examples/ReplicationList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { - "get": { - "tags": [ - "Replications" - ], - "description": "Gets the properties of the specified replication.", - "operationId": "Replications_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ReplicationNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Replication" - } - } - }, - "x-ms-examples": { - "ReplicationGet": { - "$ref": "./examples/ReplicationGet.json" - } - } - }, - "put": { - "tags": [ - "Replications" - ], - "description": "Creates a replication for a container registry with the specified parameters.", - "operationId": "Replications_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ReplicationNameParameter" - }, - { - "name": "replication", - "in": "body", - "description": "The parameters for creating a replication.", - "required": true, - "schema": { - "$ref": "#/definitions/Replication" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Replication" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ReplicationCreate": { - "$ref": "./examples/ReplicationCreate.json" - }, - "ReplicationCreateZoneRedundant": { - "$ref": "./examples/ReplicationCreateZoneRedundant.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "Replications" - ], - "description": "Deletes a replication from a container registry.", - "operationId": "Replications_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ReplicationNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The replication does not exist in the subscription." - } - }, - "x-ms-examples": { - "ReplicationDelete": { - "$ref": "./examples/ReplicationDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "patch": { - "tags": [ - "Replications" - ], - "description": "Updates a replication for a container registry with the specified parameters.", - "operationId": "Replications_Update", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ReplicationNameParameter" - }, - { - "name": "replicationUpdateParameters", - "in": "body", - "description": "The parameters for updating a replication.", - "required": true, - "schema": { - "$ref": "#/definitions/ReplicationUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Replication" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ReplicationUpdate": { - "$ref": "./examples/ReplicationUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { - "get": { - "tags": [ - "ScopeMaps" - ], - "description": "Lists all the scope maps for the specified container registry.", - "operationId": "ScopeMaps_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ScopeMapListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapList": { - "$ref": "./examples/ScopeMapList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { - "get": { - "tags": [ - "ScopeMaps" - ], - "description": "Gets the properties of the specified scope map.", - "operationId": "ScopeMaps_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ScopeMapNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapGet": { - "$ref": "./examples/ScopeMapGet.json" - } - } - }, - "put": { - "tags": [ - "ScopeMaps" - ], - "description": "Creates a scope map for a container registry with the specified parameters.", - "operationId": "ScopeMaps_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ScopeMapNameParameter" - }, - { - "name": "scopeMapCreateParameters", - "in": "body", - "description": "The parameters for creating a scope map.", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeMap" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapCreate": { - "$ref": "./examples/ScopeMapCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "ScopeMaps" - ], - "description": "Deletes a scope map from a container registry.", - "operationId": "ScopeMaps_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ScopeMapNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The scopemap does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapDelete": { - "$ref": "./examples/ScopeMapDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "patch": { - "tags": [ - "ScopeMaps" - ], - "description": "Updates a scope map with the specified parameters.", - "operationId": "ScopeMaps_Update", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ScopeMapNameParameter" - }, - { - "name": "scopeMapUpdateParameters", - "in": "body", - "description": "The parameters for updating a scope map.", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeMapUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapUpdate": { - "$ref": "./examples/ScopeMapUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens": { - "get": { - "tags": [ - "Tokens" - ], - "description": "Lists all the tokens for the specified container registry.", - "operationId": "Tokens_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/TokenListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenList": { - "$ref": "./examples/TokenList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { - "get": { - "tags": [ - "Tokens" - ], - "description": "Gets the properties of the specified token.", - "operationId": "Tokens_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/TokenNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenGet": { - "$ref": "./examples/TokenGet.json" - } - } - }, - "put": { - "tags": [ - "Tokens" - ], - "description": "Creates a token for a container registry with the specified parameters.", - "operationId": "Tokens_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/TokenNameParameter" - }, - { - "name": "tokenCreateParameters", - "in": "body", - "description": "The parameters for creating a token.", - "required": true, - "schema": { - "$ref": "#/definitions/Token" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Token" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenCreate": { - "$ref": "./examples/TokenCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "Tokens" - ], - "description": "Deletes a token from a container registry.", - "operationId": "Tokens_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/TokenNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The token does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenDelete": { - "$ref": "./examples/TokenDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "patch": { - "tags": [ - "Tokens" - ], - "description": "Updates a token with the specified parameters.", - "operationId": "Tokens_Update", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/TokenNameParameter" - }, - { - "name": "tokenUpdateParameters", - "in": "body", - "description": "The parameters for updating a token.", - "required": true, - "schema": { - "$ref": "#/definitions/TokenUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Token" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenUpdate": { - "$ref": "./examples/TokenUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { - "post": { - "tags": [ - "Registries" - ], - "description": "Generate keys for a token of a specified container registry.", - "operationId": "Registries_GenerateCredentials", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "name": "generateCredentialsParameters", - "in": "body", - "description": "The parameters for generating credentials.", - "required": true, - "schema": { - "$ref": "#/definitions/GenerateCredentialsParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/GenerateCredentialsResult" - } - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGenerateCredentials": { - "$ref": "./examples/RegistryGenerateCredentials.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks": { - "get": { - "tags": [ - "Webhooks" - ], - "description": "Lists all the webhooks for the specified container registry.", - "operationId": "Webhooks_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/WebhookListResult" - } - } - }, - "x-ms-examples": { - "WebhookList": { - "$ref": "./examples/WebhookList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { - "get": { - "tags": [ - "Webhooks" - ], - "description": "Gets the properties of the specified webhook.", - "operationId": "Webhooks_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/WebhookNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Webhook" - } - } - }, - "x-ms-examples": { - "WebhookGet": { - "$ref": "./examples/WebhookGet.json" - } - } - }, - "put": { - "tags": [ - "Webhooks" - ], - "description": "Creates a webhook for a container registry with the specified parameters.", - "operationId": "Webhooks_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/WebhookNameParameter" - }, - { - "name": "webhookCreateParameters", - "in": "body", - "description": "The parameters for creating a webhook.", - "required": true, - "schema": { - "$ref": "#/definitions/WebhookCreateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Webhook" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "WebhookCreate": { - "$ref": "./examples/WebhookCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "Webhooks" - ], - "description": "Deletes a webhook from a container registry.", - "operationId": "Webhooks_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/WebhookNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The webhook does not exist in the subscription." - } - }, - "x-ms-examples": { - "WebhookDelete": { - "$ref": "./examples/WebhookDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "patch": { - "tags": [ - "Webhooks" - ], - "description": "Updates a webhook with the specified parameters.", - "operationId": "Webhooks_Update", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/WebhookNameParameter" - }, - { - "name": "webhookUpdateParameters", - "in": "body", - "description": "The parameters for updating a webhook.", - "required": true, - "schema": { - "$ref": "#/definitions/WebhookUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Webhook" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "WebhookUpdate": { - "$ref": "./examples/WebhookUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { - "post": { - "tags": [ - "Webhooks" - ], - "description": "Triggers a ping event to be sent to the webhook.", - "operationId": "Webhooks_Ping", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/WebhookNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/EventInfo" - } - } - }, - "x-ms-examples": { - "WebhookPing": { - "$ref": "./examples/WebhookPing.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { - "post": { - "tags": [ - "Webhooks" - ], - "description": "Lists recent events for the specified webhook.", - "operationId": "Webhooks_ListEvents", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/WebhookNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/EventListResult" - } - } - }, - "x-ms-examples": { - "WebhookListEvents": { - "$ref": "./examples/WebhookListEvents.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { - "post": { - "tags": [ - "Webhooks" - ], - "description": "Gets the configuration of service URI and custom headers for the webhook.", - "operationId": "Webhooks_GetCallbackConfig", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/WebhookNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CallbackConfig" - } - } - }, - "x-ms-examples": { - "WebhookGetCallbackConfig": { - "$ref": "./examples/WebhookGetCallbackConfig.json" - } - } - } - } - }, - "definitions": { - "ActivationProperties": { - "description": "The activation properties of the connected registry.", - "type": "object", - "properties": { - "status": { - "description": "The activation status of the connected registry.", - "enum": [ - "Active", - "Inactive" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ActivationStatus", - "modelAsString": true - } - } - } - }, - "AzureADAuthenticationAsArmPolicy": { - "description": "The policy for using Azure Resource Manager audience token for a container registry.", - "type": "object", - "properties": { - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "AzureADAuthenticationAsArmPolicyStatus", - "modelAsString": true - } - } - } - }, - "ArchiveListResult": { - "description": "The result of a request to list archives for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of archives. Since this list may be incomplete, the nextLink field should be used to request the next list of distributions.", - "type": "array", - "items": { - "$ref": "#/definitions/Archive" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of archives.", - "type": "string" - } - } - }, - "Archive": { - "description": "An object that represents a archive for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveProperties", - "description": "The properties of the archive.", - "x-ms-client-flatten": true - } - } - }, - "ArchiveProperties": { - "description": "The properties of a archive.", - "type": "object", - "properties": { - "packageSource": { - "$ref": "#/definitions/ArchivePackageSourceProperties", - "description": "The package source of the archive." - }, - "publishedVersion": { - "description": "The published version of the archive.", - "type": "string" - }, - "repositoryEndpointPrefix": { - "type": "string" - }, - "repositoryEndpoint": { - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "The provisioning state of the archive at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "ArchivePackageSourceProperties": { - "description": "The properties of the archive package source.", - "type": "object", - "properties": { - "type": { - "description": "The type of package source for a archive.", - "enum": [ - "remote" - ], - "type": "string", - "x-ms-enum": { - "name": "PackageSourceType", - "modelAsString": true - } - }, - "url": { - "description": "The external repository url.", - "type": "string" - } - } - }, - "ArchiveUpdateParameters": { - "description": "The parameters for updating a archive.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveUpdateProperties", - "description": "The properties of the connected registry update parameters.", - "x-ms-client-flatten": true - } - } - }, - "ArchiveUpdateProperties": { - "description": "The properties of a archive.", - "type": "object", - "properties": { - "publishedVersion": { - "description": "The published version of the archive.", - "type": "string" - } - } - }, - "ArchiveVersionListResult": { - "description": "The result of a request to list export pipelines for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", - "type": "array", - "items": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" - } - } - }, - "ArchiveVersion": { - "description": "An object that represents an export pipeline for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveVersionProperties", - "description": "The properties of the archive.", - "x-ms-client-flatten": true - } - } - }, - "ArchiveVersionProperties": { - "description": "The properties of an export pipeline.", - "type": "object", - "properties": { - "provisioningState": { - "description": "The provisioning state of the archive at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "archiveVersionErrorMessage": { - "description": "The detailed error message for the archive version in the case of failure.", - "type": "string" - } - } - }, - "CacheRulesListResult": { - "description": "The result of a request to list cache rules for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of cache rules.", - "type": "array", - "items": { - "$ref": "#/definitions/CacheRule" - } - }, - "nextLink": { - "description": "If provided, client must use NextLink URI to request next list of cache rules.", - "type": "string" - } - } - }, - "CacheRule": { - "description": "An object that represents a cache rule for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/CacheRuleProperties", - "description": "The properties of the cache rule.", - "x-ms-client-flatten": true - } - } - }, - "CacheRuleProperties": { - "description": "The properties of a cache rule.", - "type": "object", - "properties": { - "credentialSetResourceId": { - "description": "The ARM resource ID of the credential store which is associated with the cache rule.", - "type": "string" - }, - "sourceRepository": { - "description": "Source repository pulled from upstream.", - "type": "string" - }, - "targetRepository": { - "description": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}", - "type": "string" - }, - "creationDate": { - "format": "date-time", - "description": "The creation date of the cache rule.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "CacheRuleUpdateParameters": { - "description": "The parameters for updating a cache rule.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CacheRuleUpdateProperties", - "description": "The properties of the cache rule update parameters.", - "x-ms-client-flatten": true - } - } - }, - "CacheRuleUpdateProperties": { - "description": "The parameters for updating cache rule properties.", - "type": "object", - "properties": { - "credentialSetResourceId": { - "description": "The ARM resource ID of the credential store which is associated with the Cache rule.", - "type": "string" - } - } - }, - "ConnectedRegistry": { - "description": "An object that represents a connected registry for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryProperties", - "description": "The properties of the connected registry.", - "x-ms-client-flatten": true - } - } - }, - "ConnectedRegistryListResult": { - "description": "The result of a request to list connected registries for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of connected registries.", - "type": "string" - } - } - }, - "ConnectedRegistryProperties": { - "description": "The properties of a connected registry.", - "required": [ - "mode", - "parent" - ], - "type": "object", - "properties": { - "provisioningState": { - "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "mode": { - "description": "The mode of the connected registry resource that indicates the permissions of the registry.", - "enum": [ - "ReadWrite", - "ReadOnly", - "Registry", - "Mirror" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectedRegistryMode", - "modelAsString": true - } - }, - "version": { - "description": "The current version of ACR runtime on the connected registry.", - "type": "string", - "readOnly": true - }, - "connectionState": { - "description": "The current connection state of the connected registry.", - "enum": [ - "Online", - "Offline", - "Syncing", - "Unhealthy" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ConnectionState", - "modelAsString": true - } - }, - "lastActivityTime": { - "format": "date-time", - "description": "The last activity time of the connected registry.", - "type": "string", - "readOnly": true - }, - "activation": { - "$ref": "#/definitions/ActivationProperties", - "description": "The activation properties of the connected registry.", - "readOnly": true - }, - "parent": { - "$ref": "#/definitions/ParentProperties", - "description": "The parent of the connected registry." - }, - "clientTokenIds": { - "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", - "type": "array", - "items": { - "type": "string" - } - }, - "loginServer": { - "$ref": "#/definitions/LoginServerProperties", - "description": "The login server properties of the connected registry." - }, - "logging": { - "$ref": "#/definitions/LoggingProperties", - "description": "The logging properties of the connected registry." - }, - "statusDetails": { - "description": "The list of current statuses of the connected registry.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusDetailProperties" - }, - "readOnly": true, - "x-ms-identifiers": [ - "correlationId" - ] - }, - "notificationsList": { - "description": "The list of notifications subscription information for the connected registry.", - "type": "array", - "items": { - "type": "string" - } - }, - "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" - } - } - }, - "ConnectedRegistryUpdateParameters": { - "description": "The parameters for updating a connected registry.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryUpdateProperties", - "description": "The properties of the connected registry update parameters.", - "x-ms-client-flatten": true - } - } - }, - "ConnectedRegistryUpdateProperties": { - "description": "The parameters for updating token properties.", - "type": "object", - "properties": { - "syncProperties": { - "$ref": "#/definitions/SyncUpdateProperties", - "description": "The sync properties of the connected registry with its parent." - }, - "logging": { - "$ref": "#/definitions/LoggingProperties", - "description": "The logging properties of the connected registry." - }, - "clientTokenIds": { - "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", - "type": "array", - "items": { - "type": "string" - } - }, - "notificationsList": { - "description": "The list of notifications subscription information for the connected registry.", - "type": "array", - "items": { - "type": "string" - } - }, - "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" - } - } - }, - "GarbageCollectionProperties": { - "description": "The garbage collection properties of the connected registry.", - "type": "object", - "properties": { - "enabled": { - "description": "Indicates whether garbage collection is enabled for the connected registry.", - "type": "boolean" - }, - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will run garbage collection.", - "type": "string" - } - } - }, - "LoggingProperties": { - "description": "The logging properties of the connected registry.", - "type": "object", - "properties": { - "logLevel": { - "description": "The verbosity of logs persisted on the connected registry.", - "default": "Information", - "enum": [ - "Debug", - "Information", - "Warning", - "Error", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": true - } - }, - "auditLogStatus": { - "description": "Indicates whether audit logs are enabled on the connected registry.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "AuditLogStatus", - "modelAsString": true - } - } - } - }, - "LoginServerProperties": { - "description": "The login server properties of the connected registry.", - "type": "object", - "properties": { - "host": { - "description": "The host of the connected registry. Can be FQDN or IP.", - "type": "string", - "readOnly": true - }, - "tls": { - "$ref": "#/definitions/TlsProperties", - "description": "The TLS properties of the connected registry login server.", - "readOnly": true - } - } - }, - "ParentProperties": { - "description": "The properties of the connected registry parent.", - "required": [ - "syncProperties" - ], - "type": "object", - "properties": { - "id": { - "description": "The resource ID of the parent to which the connected registry will be associated.", - "type": "string", - "format": "arm-id" - }, - "syncProperties": { - "$ref": "#/definitions/SyncProperties", - "description": "The sync properties of the connected registry with its parent." - } - } - }, - "CredentialSetListResult": { - "description": "The result of a request to list credential sets for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets.", - "type": "array", - "items": { - "$ref": "#/definitions/CredentialSet" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of credential sets.", - "type": "string" - } - } - }, - "CredentialSet": { - "description": "An object that represents a credential set resource for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." - }, - "properties": { - "$ref": "#/definitions/CredentialSetProperties", - "description": "The properties of the credential set.", - "x-ms-client-flatten": true - } - } - }, - "IdentityProperties": { - "description": "Managed identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } - } - } - }, - "CredentialSetProperties": { - "description": "The properties of a credential set resource.", - "type": "object", - "properties": { - "loginServer": { - "description": "The credentials are stored for this upstream or login server.", - "type": "string" - }, - "authCredentials": { - "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", - "type": "array", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "creationDate": { - "format": "date-time", - "description": "The creation date of credential store resource.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "UserIdentityProperties": { - "type": "object", - "properties": { - "principalId": { - "description": "The principal id of user assigned identity.", - "type": "string", - "readOnly": true - }, - "clientId": { - "description": "The client id of user assigned identity.", - "type": "string", - "readOnly": true - } - } - }, - "Resource": { - "description": "An Azure resource.", - "required": [ - "location" - ], - "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", - "type": "string", - "readOnly": true - }, - "location": { - "description": "The location of the resource. This cannot be changed after the resource is created.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "description": "The tags of the resource.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "AuthCredential": { - "description": "Authentication credential stored for an upstream.", - "type": "object", - "properties": { - "name": { - "description": "The name of the credential.", - "enum": [ - "Credential1" - ], - "type": "string", - "x-ms-enum": { - "name": "CredentialName", - "modelAsString": true - } - }, - "usernameSecretIdentifier": { - "description": "KeyVault Secret URI for accessing the username.", - "type": "string" - }, - "passwordSecretIdentifier": { - "description": "KeyVault Secret URI for accessing the password.", - "type": "string" - }, - "credentialHealth": { - "$ref": "#/definitions/CredentialHealth", - "description": "This provides data pertaining to the health of the auth credential.", - "readOnly": true - } - } - }, - "ProxyResource": { - "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.", - "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", - "type": "string", - "readOnly": true - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true - } - }, - "x-ms-azure-resource": true - }, - "CredentialHealth": { - "description": "The health of the auth credential.", - "type": "object", - "properties": { - "status": { - "description": "The health status of credential.", - "enum": [ - "Healthy", - "Unhealthy" - ], - "type": "string", - "x-ms-enum": { - "name": "CredentialHealthStatus", - "modelAsString": true - } - }, - "errorCode": { - "description": "Error code representing the health check error.", - "type": "string" - }, - "errorMessage": { - "description": "Descriptive message representing the health check error.", - "type": "string" - } - } - }, - "SystemData": { - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "properties": { - "createdBy": { - "description": "The identity that created the resource.", - "type": "string" - }, - "createdByType": { - "description": "The type of identity that created the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "type": "string", - "x-ms-enum": { - "name": "createdByType", - "modelAsString": true - } - }, - "createdAt": { - "format": "date-time", - "description": "The timestamp of resource creation (UTC).", - "type": "string" - }, - "lastModifiedBy": { - "description": "The identity that last modified the resource.", - "type": "string" - }, - "lastModifiedByType": { - "description": "The type of identity that last modified the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "type": "string", - "x-ms-enum": { - "name": "lastModifiedByType", - "modelAsString": true - } - }, - "lastModifiedAt": { - "format": "date-time", - "description": "The timestamp of resource modification (UTC).", - "type": "string" - } - }, - "readOnly": true - }, - "DebianArchiveProperties": { - "description": "The properties of the Debian package Archive.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ArchiveProperties" - } - ], - "properties": { - "distributionName": { - "description": "Debian distribution Name.", - "type": "string" - } - } - }, - "DebianArchivePackageSourceProperties": { - "description": "The properties of the archive package source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ArchivePackageSourceProperties" - } - ], - "properties": { - "distributionName": { - "description": "Upstream Debian distribution Name.", - "type": "string" - } - } - }, - "CredentialSetUpdateParameters": { - "description": "The parameters for updating a credential set", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetUpdateProperties", - "description": "The properties of the credential set update parameters", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." - } - } - }, - "CredentialSetUpdateProperties": { - "description": "The parameters for updating credential set properties.", - "type": "object", - "properties": { - "authCredentials": { - "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", - "type": "array", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "ExportPipelineListResult": { - "description": "The result of a request to list export pipelines for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", - "type": "array", - "items": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" - } - } - }, - "ExportPipeline": { - "description": "An object that represents an export pipeline for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "location": { - "description": "The location of the export pipeline.", - "type": "string" - }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the export pipeline." - }, - "properties": { - "$ref": "#/definitions/ExportPipelineProperties", - "description": "The properties of the export pipeline.", - "x-ms-client-flatten": true - } - } - }, - "ExportPipelineProperties": { - "description": "The properties of an export pipeline.", - "required": [ - "target" - ], - "type": "object", - "properties": { - "target": { - "$ref": "#/definitions/ExportPipelineTargetProperties", - "description": "The target properties of the export pipeline." - }, - "options": { - "description": "The list of all options configured for the pipeline.", - "type": "array", - "items": { - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "type": "string", - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true - } - } - }, - "provisioningState": { - "description": "The provisioning state of the pipeline at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "ExportPipelineTargetProperties": { - "description": "The properties of the export pipeline target.", - "required": [ - "keyVaultUri" - ], - "type": "object", - "properties": { - "type": { - "description": "The type of target for the export pipeline.", - "type": "string" - }, - "uri": { - "description": "The target uri of the export pipeline.\r\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"", - "type": "string" - }, - "keyVaultUri": { - "description": "They key vault secret uri to obtain the target storage SAS token.", - "type": "string" - } - } - }, - "ImportImageParameters": { - "required": [ - "source" - ], - "type": "object", - "properties": { - "source": { - "$ref": "#/definitions/ImportSource", - "description": "The source of the image." - }, - "targetTags": { - "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", - "type": "array", - "items": { - "type": "string" - } - }, - "untaggedTargetRepositories": { - "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", - "type": "array", - "items": { - "type": "string" - } - }, - "mode": { - "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.", - "default": "NoForce", - "enum": [ - "NoForce", - "Force" - ], - "type": "string", - "x-ms-enum": { - "name": "ImportMode", - "modelAsString": true - } - } - } - }, - "ImportSource": { - "required": [ - "sourceImage" - ], - "type": "object", - "properties": { - "resourceId": { - "description": "The resource identifier of the source Azure Container Registry.", - "type": "string" - }, - "registryUri": { - "description": "The address of the source registry (e.g. 'mcr.microsoft.com').", - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/ImportSourceCredentials", - "description": "Credentials used when importing from a registry uri." - }, - "sourceImage": { - "description": "Repository name of the source image.\r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", - "type": "string" - } - } - }, - "ImportSourceCredentials": { - "required": [ - "password" - ], - "type": "object", - "properties": { - "username": { - "description": "The username to authenticate with the source registry.", - "type": "string" - }, - "password": { - "description": "The password used to authenticate with the source registry.", - "type": "string" - } - } - }, - "ImportPipelineListResult": { - "description": "The result of a request to list import pipelines for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines.", - "type": "array", - "items": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" - } - } - }, - "ImportPipeline": { - "description": "An object that represents an import pipeline for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "location": { - "description": "The location of the import pipeline.", - "type": "string" - }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the import pipeline." - }, - "properties": { - "$ref": "#/definitions/ImportPipelineProperties", - "description": "The properties of the import pipeline.", - "x-ms-client-flatten": true - } - } - }, - "ImportPipelineProperties": { - "description": "The properties of an import pipeline.", - "required": [ - "source" - ], - "type": "object", - "properties": { - "source": { - "$ref": "#/definitions/ImportPipelineSourceProperties", - "description": "The source properties of the import pipeline." - }, - "trigger": { - "$ref": "#/definitions/PipelineTriggerProperties", - "description": "The properties that describe the trigger of the import pipeline." - }, - "options": { - "description": "The list of all options configured for the pipeline.", - "type": "array", - "items": { - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "type": "string", - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true - } - } - }, - "provisioningState": { - "description": "The provisioning state of the pipeline at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "ImportPipelineSourceProperties": { - "description": "The properties of the import pipeline source.", - "required": [ - "keyVaultUri" - ], - "type": "object", - "properties": { - "type": { - "description": "The type of source for the import pipeline.", - "default": "AzureStorageBlobContainer", - "enum": [ - "AzureStorageBlobContainer" - ], - "type": "string", - "x-ms-enum": { - "name": "PipelineSourceType", - "modelAsString": true - } - }, - "uri": { - "description": "The source uri of the import pipeline.\r\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"", - "type": "string" - }, - "keyVaultUri": { - "description": "They key vault secret uri to obtain the source storage SAS token.", - "type": "string" - } - } - }, - "PipelineTriggerProperties": { - "type": "object", - "properties": { - "sourceTrigger": { - "$ref": "#/definitions/PipelineSourceTriggerProperties", - "description": "The source trigger properties of the pipeline." - } - } - }, - "PipelineSourceTriggerProperties": { - "required": [ - "status" - ], - "type": "object", - "properties": { - "status": { - "description": "The current status of the source trigger.", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true - } - } - } - }, - "OperationListResult": { - "description": "The result of a request to list container registry operations.", - "type": "object", - "properties": { - "value": { - "description": "The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "nextLink": { - "description": "The URI that can be used to request the next list of container registry operations.", - "type": "string" - } - } - }, - "OperationDefinition": { - "description": "The definition of a container registry operation.", - "type": "object", - "properties": { - "origin": { - "description": "The origin information of the container registry operation.", - "type": "string" - }, - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayDefinition", - "description": "The display information for the container registry operation." - }, - "properties": { - "$ref": "#/definitions/OperationPropertiesDefinition", - "description": "The properties information for the container registry operation.", - "x-ms-client-flatten": true - }, - "isDataAction": { - "description": "This property indicates if the operation is an action or a data action\r\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations", - "type": "boolean" - } - } - }, - "OperationDisplayDefinition": { - "description": "The display information for a container registry operation.", - "type": "object", - "properties": { - "provider": { - "description": "The resource provider name: Microsoft.ContainerRegistry.", - "type": "string" - }, - "resource": { - "description": "The resource on which the operation is performed.", - "type": "string" - }, - "operation": { - "description": "The operation that users can perform.", - "type": "string" - }, - "description": { - "description": "The description for the operation.", - "type": "string" - } - } - }, - "OperationPropertiesDefinition": { - "description": "The definition of Azure Monitoring properties.", - "type": "object", - "properties": { - "serviceSpecification": { - "$ref": "#/definitions/OperationServiceSpecificationDefinition", - "description": "The definition of Azure Monitoring service." - } - } - }, - "OperationServiceSpecificationDefinition": { - "description": "The definition of Azure Monitoring list.", - "type": "object", - "properties": { - "metricSpecifications": { - "description": "A list of Azure Monitoring metrics definition.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationMetricSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "logSpecifications": { - "description": "A list of Azure Monitoring log definitions.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationLogSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "OperationMetricSpecificationDefinition": { - "description": "The definition of Azure Monitoring metric.", - "type": "object", - "properties": { - "name": { - "description": "Metric name.", - "type": "string" - }, - "displayName": { - "description": "Metric display name.", - "type": "string" - }, - "displayDescription": { - "description": "Metric description.", - "type": "string" - }, - "unit": { - "description": "Metric unit.", - "type": "string" - }, - "aggregationType": { - "description": "Metric aggregation type.", - "type": "string" - }, - "internalMetricName": { - "description": "Internal metric name.", - "type": "string" - } - } - }, - "OperationLogSpecificationDefinition": { - "description": "The definition of Azure Monitoring log.", - "type": "object", - "properties": { - "name": { - "description": "Log name.", - "type": "string" - }, - "displayName": { - "description": "Log display name.", - "type": "string" - }, - "blobDuration": { - "description": "Log blob duration.", - "type": "string" - } - } - }, - "RegistryNameCheckRequest": { - "description": "A request to check whether a container registry name is available.", - "required": [ - "name", - "type" - ], - "type": "object", - "properties": { - "name": { - "description": "The name of the container registry.", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "type": "string" - }, - "type": { - "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.", - "enum": [ - "Microsoft.ContainerRegistry/registries" - ], - "type": "string", - "x-ms-enum": { - "name": "ContainerRegistryResourceType", - "modelAsString": false - } - }, - "resourceGroupName": { - "description": "The resource group name of the container registry.", - "maxLength": 90, - "minLength": 1, - "type": "string" - }, - "autoGeneratedDomainNameLabelScope": { - "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", - "default": "Unsecure", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true - } - } - } - }, - "RegistryNameStatus": { - "description": "The result of a request to check the availability of a container registry name.", - "type": "object", - "properties": { - "availableLoginServerName": { - "description": "The complete login server name with domain name label (DNL) hash, if available", - "type": "string" - }, - "nameAvailable": { - "description": "The value that indicates whether the name is available.", - "type": "boolean" - }, - "reason": { - "description": "If any, the reason that the name is not available.", - "type": "string" - }, - "message": { - "description": "If any, the error message that provides more detail for the reason that the name is not available.", - "type": "string" - } - } - }, - "PipelineRunListResult": { - "description": "The result of a request to list pipeline runs for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of pipeline runs. Since this list may be incomplete, the nextLink field should be used to request the next list of pipeline runs.", - "type": "array", - "items": { - "$ref": "#/definitions/PipelineRun" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" - } - } - }, - "PipelineRun": { - "description": "An object that represents a pipeline run for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PipelineRunProperties", - "description": "The properties of a pipeline run.", - "x-ms-client-flatten": true - } - } - }, - "PipelineRunProperties": { - "description": "The properties of a pipeline run.", - "type": "object", - "properties": { - "provisioningState": { - "description": "The provisioning state of a pipeline run.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "request": { - "$ref": "#/definitions/PipelineRunRequest", - "description": "The request parameters for a pipeline run." - }, - "response": { - "$ref": "#/definitions/PipelineRunResponse", - "description": "The response of a pipeline run.", - "readOnly": true - }, - "forceUpdateTag": { - "description": "How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed.", - "type": "string" - } - } - }, - "PipelineRunRequest": { - "description": "The request properties provided for a pipeline run.", - "type": "object", - "properties": { - "pipelineResourceId": { - "description": "The resource ID of the pipeline to run.", - "type": "string" - }, - "artifacts": { - "description": "List of source artifacts to be transferred by the pipeline. \r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", - "type": "array", - "items": { - "type": "string" - } - }, - "source": { - "$ref": "#/definitions/PipelineRunSourceProperties", - "description": "The source properties of the pipeline run." - }, - "target": { - "$ref": "#/definitions/PipelineRunTargetProperties", - "description": "The target properties of the pipeline run." - }, - "catalogDigest": { - "description": "The digest of the tar used to transfer the artifacts.", - "type": "string" - } - } - }, - "PipelineRunResponse": { - "description": "The response properties returned for a pipeline run.", - "type": "object", - "properties": { - "status": { - "description": "The current status of the pipeline run.", - "type": "string" - }, - "importedArtifacts": { - "description": "The artifacts imported in the pipeline run.", - "type": "array", - "items": { - "type": "string" - } - }, - "progress": { - "$ref": "#/definitions/ProgressProperties", - "description": "The current progress of the copy operation." - }, - "startTime": { - "format": "date-time", - "description": "The time the pipeline run started.", - "type": "string" - }, - "finishTime": { - "format": "date-time", - "description": "The time the pipeline run finished.", - "type": "string" - }, - "source": { - "$ref": "#/definitions/ImportPipelineSourceProperties", - "description": "The source of the pipeline run." - }, - "target": { - "$ref": "#/definitions/ExportPipelineTargetProperties", - "description": "The target of the pipeline run." - }, - "catalogDigest": { - "description": "The digest of the tar used to transfer the artifacts.", - "type": "string" - }, - "trigger": { - "$ref": "#/definitions/PipelineTriggerDescriptor", - "description": "The trigger that caused the pipeline run." - }, - "pipelineRunErrorMessage": { - "description": "The detailed error message for the pipeline run in the case of failure.", - "type": "string" - } - } - }, - "PipelineRunSourceProperties": { - "type": "object", - "properties": { - "type": { - "description": "The type of the source.", - "default": "AzureStorageBlob", - "enum": [ - "AzureStorageBlob" - ], - "type": "string", - "x-ms-enum": { - "name": "PipelineRunSourceType", - "modelAsString": true - } - }, - "name": { - "description": "The name of the source.", - "type": "string" - } - } - }, - "PipelineRunTargetProperties": { - "type": "object", - "properties": { - "type": { - "description": "The type of the target.", - "default": "AzureStorageBlob", - "enum": [ - "AzureStorageBlob" - ], - "type": "string", - "x-ms-enum": { - "name": "PipelineRunTargetType", - "modelAsString": true - } - }, - "name": { - "description": "The name of the target.", - "type": "string" - } - } - }, - "ProgressProperties": { - "type": "object", - "properties": { - "percentage": { - "description": "The percentage complete of the copy operation.", - "type": "string" - } - } - }, - "PipelineTriggerDescriptor": { - "type": "object", - "properties": { - "sourceTrigger": { - "$ref": "#/definitions/PipelineSourceTriggerDescriptor", - "description": "The source trigger that caused the pipeline run." - } - } - }, - "PipelineSourceTriggerDescriptor": { - "type": "object", - "properties": { - "timestamp": { - "format": "date-time", - "description": "The timestamp when the source update happened.", - "type": "string" - } - } - }, - "PrivateEndpointConnectionListResult": { - "description": "The result of a request to list private endpoint connections for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of private endpoint connections.", - "type": "string" - } - } - }, - "PrivateEndpointConnection": { - "description": "An object that represents a private endpoint connection for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "description": "The properties of a private endpoint connection.", - "x-ms-client-flatten": true - } - } - }, - "PrivateEndpointConnectionProperties": { - "description": "The properties of a private endpoint connection.", - "type": "object", - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", - "description": "The resource of private endpoint." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "description": "The provisioning state of private endpoint connection resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "type": "object", - "properties": { - "id": { - "description": "This is private endpoint resource created with Microsoft.Network resource provider.", - "type": "string" - } - } - }, - "PrivateLinkServiceConnectionState": { - "description": "The state of a private link service connection.", - "type": "object", - "properties": { - "status": { - "description": "The private link service connection status.", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStatus", - "modelAsString": true - } - }, - "description": { - "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection.", - "type": "string" - }, - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "enum": [ - "None", - "Recreate" - ], - "type": "string", - "x-ms-enum": { - "name": "ActionsRequired", - "modelAsString": true - } - } - } - }, - "RegistryListResult": { - "description": "The result of a request to list container registries.", - "type": "object", - "properties": { - "value": { - "description": "The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.", - "type": "array", - "items": { - "$ref": "#/definitions/Registry" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of container registries.", - "type": "string" - } - } - }, - "Registry": { - "description": "An object that represents a container registry.", - "required": [ - "sku" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU of the container registry." - }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the container registry." - }, - "properties": { - "$ref": "#/definitions/RegistryProperties", - "description": "The properties of the container registry.", - "x-ms-client-flatten": true - } - } - }, - "Sku": { - "description": "The SKU of a container registry.", - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "description": "The SKU name of the container registry. Required for registry creation.", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - "tier": { - "description": "The SKU tier based on the SKU name.", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - } - } - } - }, - "RegistryProperties": { - "description": "The properties of a container registry.", - "type": "object", - "properties": { - "loginServer": { - "description": "The URL that can be used to log into the container registry.", - "type": "string", - "readOnly": true - }, - "creationDate": { - "format": "date-time", - "description": "The creation date of the container registry in ISO8601 format.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "The provisioning state of the container registry at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "status": { - "$ref": "#/definitions/Status", - "description": "The status of the container registry at the time the operation was called.", - "readOnly": true - }, - "adminUserEnabled": { - "description": "The value that indicates whether the admin user is enabled.", - "default": false, - "type": "boolean" - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet", - "description": "The network rule set for a container registry." - }, - "policies": { - "$ref": "#/definitions/Policies", - "description": "The policies for a container registry." - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty", - "description": "The encryption settings of container registry." - }, - "dataEndpointEnabled": { - "description": "Enable a single data endpoint per region for serving data.", - "type": "boolean" - }, - "dataEndpointHostNames": { - "description": "List of host names that will serve data when dataEndpointEnabled is true.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "privateEndpointConnections": { - "description": "List of private endpoint connections for a container registry.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "readOnly": true - }, - "publicNetworkAccess": { - "description": "Whether or not public network access is allowed for the container registry.", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } - }, - "networkRuleBypassOptions": { - "description": "Whether to allow trusted Azure services to access a network restricted registry.", - "default": "AzureServices", - "enum": [ - "AzureServices", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } - }, - "networkRuleBypassAllowedForTasks": { - "description": "Whether or not Tasks allowed to bypass the network rules for this container registry.", - "default": false, - "type": "boolean" - }, - "zoneRedundancy": { - "description": "Whether or not zone redundancy is enabled for this container registry", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } - }, - "anonymousPullEnabled": { - "description": "Enables registry-wide pull from unauthenticated clients.", - "default": false, - "type": "boolean" - }, - "metadataSearch": { - "description": "Determines whether registry artifacts are indexed for metadata search.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true - } - }, - "autoGeneratedDomainNameLabelScope": { - "description": "Determines the domain name label reuse scope.", - "default": "Unsecure", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true - } - }, - "roleAssignmentMode": { - "description": "Determines registry role assignment mode.", - "default": "LegacyRegistryPermissions", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } - } - } - }, - "Status": { - "description": "The status of an Azure resource at the time the operation was called.", - "type": "object", - "properties": { - "displayStatus": { - "description": "The short label for the status.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "The detailed message for the status, including alerts and error messages.", - "type": "string", - "readOnly": true - }, - "timestamp": { - "format": "date-time", - "description": "The timestamp when the status was changed to the current value.", - "type": "string", - "readOnly": true - } - } - }, - "StatusDetailProperties": { - "description": "The status detail properties of the connected registry.", - "type": "object", - "properties": { - "type": { - "description": "The component of the connected registry corresponding to the status.", - "type": "string", - "readOnly": true - }, - "code": { - "description": "The HTTP status code.", - "type": "string", - "readOnly": true - }, - "description": { - "description": "The description of the status.", - "type": "string", - "readOnly": true - }, - "timestamp": { - "format": "date-time", - "description": "The timestamp of the status.", - "type": "string", - "readOnly": true - }, - "correlationId": { - "description": "The correlation ID of the status.", - "type": "string", - "readOnly": true - } - } - }, - "StorageAccountProperties": { - "description": "The properties of a storage account for a container registry. Only applicable to Classic SKU.", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "The resource ID of the storage account.", - "type": "string" - } - } - }, - "SyncProperties": { - "description": "The sync properties of the connected registry with its parent.", - "required": [ - "tokenId", - "messageTtl" - ], - "type": "object", - "properties": { - "tokenId": { - "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.", - "type": "string" - }, - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", - "type": "string" - }, - "syncWindow": { - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" - }, - "messageTtl": { - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" - }, - "lastSyncTime": { - "format": "date-time", - "description": "The last time a sync occurred between the connected registry and its parent.", - "type": "string", - "readOnly": true - }, - "gatewayEndpoint": { - "description": "The gateway endpoint used by the connected registry to communicate with its parent.", - "type": "string", - "readOnly": true - } - } - }, - "SyncUpdateProperties": { - "description": "The parameters for updating the sync properties of the connected registry with its parent.", - "type": "object", - "properties": { - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", - "type": "string" - }, - "syncWindow": { - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" - }, - "messageTtl": { - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" - } - } - }, - "NetworkRuleSet": { - "description": "The network rule set for a container registry.", - "required": [ - "defaultAction" - ], - "type": "object", - "properties": { - "defaultAction": { - "description": "The default action of allow or deny when no other rules match.", - "default": "Allow", - "enum": [ - "Allow", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": true - } - }, - "ipRules": { - "description": "The IP ACL rules.", - "type": "array", - "items": { - "$ref": "#/definitions/IPRule" - }, - "x-ms-identifiers": [] - } - } - }, - "Policies": { - "description": "The policies for a container registry.", - "type": "object", - "properties": { - "quarantinePolicy": { - "$ref": "#/definitions/QuarantinePolicy", - "description": "The quarantine policy for a container registry." - }, - "trustPolicy": { - "$ref": "#/definitions/TrustPolicy", - "description": "The content trust policy for a container registry." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "The retention policy for a container registry." - }, - "exportPolicy": { - "$ref": "#/definitions/ExportPolicy", - "description": "The export policy for a container registry." - }, - "azureADAuthenticationAsArmPolicy": { - "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", - "description": "The policy for using Azure Resource Manager audience token for a container registry." - }, - "softDeletePolicy": { - "$ref": "#/definitions/SoftDeletePolicy", - "description": "The soft delete policy for a container registry." - } - } - }, - "EncryptionProperty": { - "type": "object", - "properties": { - "status": { - "description": "Indicates whether or not the encryption is enabled for container registry.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "EncryptionStatus", - "modelAsString": true - } - }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", - "description": "Key vault properties." - } - } - }, - "PackageType": { - "description": "The properties of a package type.", - "type": "object", - "properties": { - "name": { - "description": "The name of the package type.", - "type": "string" - }, - "endpoint": { - "description": "The endpoint of the package type.", - "type": "string", - "readOnly": true - } - } - }, - "IPRule": { - "description": "IP rule with specific IP or IP range in CIDR format.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "action": { - "description": "The action of IP ACL rule.", - "default": "Allow", - "enum": [ - "Allow" - ], - "type": "string", - "x-ms-enum": { - "name": "Action", - "modelAsString": true - } - }, - "value": { - "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", - "type": "string", - "x-ms-client-name": "IPAddressOrRange" - } - } - }, - "QuarantinePolicy": { - "description": "The quarantine policy for a container registry.", - "type": "object", - "properties": { - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "TrustPolicy": { - "description": "The content trust policy for a container registry.", - "type": "object", - "properties": { - "type": { - "description": "The type of trust policy.", - "default": "Notary", - "enum": [ - "Notary" - ], - "type": "string", - "x-ms-enum": { - "name": "TrustPolicyType", - "modelAsString": true - } - }, - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "RetentionPolicy": { - "description": "The retention policy for a container registry.", - "type": "object", - "properties": { - "days": { - "format": "int32", - "description": "The number of days to retain an untagged manifest after which it gets purged.", - "default": 7, - "type": "integer" - }, - "lastUpdatedTime": { - "format": "date-time", - "description": "The timestamp when the policy was last updated.", - "type": "string", - "readOnly": true - }, - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "ExportPolicy": { - "description": "The export policy for a container registry.", - "type": "object", - "properties": { - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "ExportPolicyStatus", - "modelAsString": true - } - } - } - }, - "SoftDeletePolicy": { - "description": "The soft delete policy for a container registry", - "type": "object", - "properties": { - "retentionDays": { - "format": "int32", - "description": "The number of days after which a soft-deleted item is permanently deleted.", - "default": 7, - "type": "integer" - }, - "lastUpdatedTime": { - "format": "date-time", - "description": "The timestamp when the policy was last updated.", - "type": "string", - "readOnly": true - }, - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "keyIdentifier": { - "description": "Key vault uri to access the encryption key.", - "type": "string" - }, - "versionedKeyIdentifier": { - "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", - "type": "string", - "readOnly": true - }, - "identity": { - "description": "The client id of the identity which will be used to access key vault.", - "type": "string" - }, - "keyRotationEnabled": { - "description": "Auto key rotation status for a CMK enabled registry.", - "type": "boolean", - "readOnly": true - }, - "lastKeyRotationTimestamp": { - "format": "date-time", - "description": "Timestamp of the last successful key rotation.", - "type": "string", - "readOnly": true - } - } - }, - "RegistryUpdateParameters": { - "description": "The parameters for updating a container registry.", - "type": "object", - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the container registry." - }, - "tags": { - "description": "The tags for the container registry.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU of the container registry." - }, - "properties": { - "$ref": "#/definitions/RegistryPropertiesUpdateParameters", - "description": "The properties that the container registry will be updated with.", - "x-ms-client-flatten": true - } - } - }, - "RegistryPropertiesUpdateParameters": { - "description": "The parameters for updating the properties of a container registry.", - "type": "object", - "properties": { - "adminUserEnabled": { - "description": "The value that indicates whether the admin user is enabled.", - "type": "boolean" - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet", - "description": "The network rule set for a container registry." - }, - "policies": { - "$ref": "#/definitions/Policies", - "description": "The policies for a container registry." - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty", - "description": "The encryption settings of container registry." - }, - "dataEndpointEnabled": { - "description": "Enable a single data endpoint per region for serving data.", - "type": "boolean" - }, - "publicNetworkAccess": { - "description": "Whether or not public network access is allowed for the container registry.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } - }, - "networkRuleBypassOptions": { - "description": "Whether to allow trusted Azure services to access a network restricted registry.", - "default": "AzureServices", - "enum": [ - "AzureServices", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } - }, - "networkRuleBypassAllowedForTasks": { - "description": "Whether to allow ACR Tasks service to access a network restricted registry.", - "type": "boolean" - }, - "anonymousPullEnabled": { - "description": "Enables registry-wide pull from unauthenticated clients.", - "type": "boolean" - }, - "metadataSearch": { - "description": "Determines whether registry artifacts are indexed for metadata search.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true - } - }, - "roleAssignmentMode": { - "description": "Determines registry role assignment mode.", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } - } - } - }, - "RegistryUsageListResult": { - "description": "The result of a request to get container registry quota usages.", - "type": "object", - "properties": { - "value": { - "description": "The list of container registry quota usages.", - "type": "array", - "items": { - "$ref": "#/definitions/RegistryUsage" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "RegistryUsage": { - "description": "The quota usage for a container registry.", - "type": "object", - "properties": { - "name": { - "description": "The name of the usage.", - "type": "string" - }, - "limit": { - "format": "int64", - "description": "The limit of the usage.", - "type": "integer" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the usage.", - "type": "integer" - }, - "unit": { - "description": "The unit of measurement.", - "enum": [ - "Count", - "Bytes" - ], - "type": "string", - "x-ms-enum": { - "name": "RegistryUsageUnit", - "modelAsString": true - } - } - } - }, - "PrivateLinkResourceListResult": { - "description": "The result of a request to list private link resources for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of private link resources.", - "type": "string" - } - } - }, - "PrivateLinkResource": { - "description": "A resource that supports private link capabilities.", - "type": "object", - "properties": { - "type": { - "description": "The resource type is private link resource.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "The resource ID.", - "type": "string" - }, - "name": { - "description": "The name of the resource.", - "type": "string" - }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "A resource that supports private link capabilities.", - "x-ms-client-flatten": true - } - } - }, - "PrivateLinkResourceProperties": { - "description": "The properties of a private link resource.", - "type": "object", - "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string" - }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - } - }, - "requiredZoneNames": { - "description": "The private link resource Private link DNS zone name.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "RegistryListCredentialsResult": { - "description": "The response from the ListCredentials operation.", - "type": "object", - "properties": { - "username": { - "description": "The username for a container registry.", - "type": "string" - }, - "passwords": { - "description": "The list of passwords for a container registry.", - "type": "array", - "items": { - "$ref": "#/definitions/RegistryPassword" - }, - "x-ms-identifiers": [] - } - } - }, - "RegistryPassword": { - "description": "The login password for the container registry.", - "type": "object", - "properties": { - "name": { - "description": "The password name.", - "enum": [ - "password", - "password2" - ], - "type": "string", - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } - }, - "value": { - "description": "The password value.", - "type": "string" - } - } - }, - "RegenerateCredentialParameters": { - "description": "The parameters used to regenerate the login credential.", - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "description": "Specifies name of the password which should be regenerated -- password or password2.", - "enum": [ - "password", - "password2" - ], - "type": "string", - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } - } - } - }, - "ReplicationListResult": { - "description": "The result of a request to list replications for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications.", - "type": "array", - "items": { - "$ref": "#/definitions/Replication" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of replications.", - "type": "string" - } - } - }, - "Replication": { - "description": "An object that represents a replication for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ReplicationProperties", - "description": "The properties of the replication.", - "x-ms-client-flatten": true - } - } - }, - "ReplicationProperties": { - "description": "The properties of a replication.", - "type": "object", - "properties": { - "provisioningState": { - "description": "The provisioning state of the replication at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "status": { - "$ref": "#/definitions/Status", - "description": "The status of the replication at the time the operation was called.", - "readOnly": true - }, - "regionEndpointEnabled": { - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", - "default": true, - "type": "boolean" - }, - "zoneRedundancy": { - "description": "Whether or not zone redundancy is enabled for this container registry replication", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } - } - } - }, - "ReplicationUpdateParameters": { - "description": "The parameters for updating a replication.", - "type": "object", - "properties": { - "tags": { - "description": "The tags for the replication.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/ReplicationUpdateParametersProperties", - "description": "The parameters for updating a replication's properties", - "x-ms-client-flatten": true - } - } - }, - "ReplicationUpdateParametersProperties": { - "type": "object", - "properties": { - "regionEndpointEnabled": { - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", - "type": "boolean" - } - } - }, - "ScopeMapListResult": { - "description": "The result of a request to list scope maps for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.", - "type": "array", - "items": { - "$ref": "#/definitions/ScopeMap" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of scope maps.", - "type": "string" - } - } - }, - "ScopeMap": { - "description": "An object that represents a scope map for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapProperties", - "description": "The properties of the scope map.", - "x-ms-client-flatten": true - } - } - }, - "ScopeMapProperties": { - "description": "The properties of a scope map.", - "required": [ - "actions" - ], - "type": "object", - "properties": { - "description": { - "description": "The user friendly description of the scope map.", - "type": "string" - }, - "type": { - "description": "The type of the scope map. E.g. BuildIn scope map.", - "type": "string", - "readOnly": true - }, - "creationDate": { - "format": "date-time", - "description": "The creation date of scope map.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "actions": { - "description": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ScopeMapUpdateParameters": { - "description": "The properties for updating the scope map.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", - "description": "The update parameters for scope map properties.", - "x-ms-client-flatten": true - } - } - }, - "ScopeMapPropertiesUpdateParameters": { - "description": "The update parameters for scope map properties.", - "type": "object", - "properties": { - "description": { - "description": "The user friendly description of the scope map.", - "type": "string" - }, - "actions": { - "description": "The list of scope permissions for registry artifacts.\r\nE.g. repositories/repository-name/pull, \r\nrepositories/repository-name/delete", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "TlsCertificateProperties": { - "description": "The TLS certificate properties of the connected registry login server.", - "type": "object", - "properties": { - "type": { - "description": "The type of certificate location.", - "enum": [ - "LocalDirectory" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "CertificateType", - "modelAsString": true - } - }, - "location": { - "description": "Indicates the location of the certificates.", - "type": "string", - "readOnly": true - } - } - }, - "TlsProperties": { - "description": "The TLS properties of the connected registry login server.", - "type": "object", - "properties": { - "status": { - "description": "Indicates whether HTTPS is enabled for the login server.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "TlsStatus", - "modelAsString": true - } - }, - "certificate": { - "$ref": "#/definitions/TlsCertificateProperties", - "description": "The certificate used to configure HTTPS for the login server.", - "readOnly": true - } - } - }, - "TokenListResult": { - "description": "The result of a request to list tokens for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens.", - "type": "array", - "items": { - "$ref": "#/definitions/Token" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of tokens.", - "type": "string" - } - } - }, - "Token": { - "description": "An object that represents a token for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/TokenProperties", - "description": "The properties of the token.", - "x-ms-client-flatten": true - } - } - }, - "TokenProperties": { - "description": "The properties of a token.", - "type": "object", - "properties": { - "creationDate": { - "format": "date-time", - "description": "The creation date of scope map.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "scopeMapId": { - "description": "The resource ID of the scope map to which the token will be associated with.", - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." - }, - "status": { - "description": "The status of the token example enabled or disabled.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } - } - } - }, - "TokenCredentialsProperties": { - "description": "The properties of the credentials that can be used for authenticating the token.", - "type": "object", - "properties": { - "certificates": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenCertificate" - }, - "x-ms-identifiers": [ - "thumbprint" - ] - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - }, - "x-ms-identifiers": [] - } - } - }, - "ActiveDirectoryObject": { - "description": "The Active Directory Object that will be used for authenticating the token of a container registry.", - "type": "object", - "properties": { - "objectId": { - "description": "The user/group/application object ID for Active Directory Object that will be used for authenticating the token of a container registry.", - "type": "string" - }, - "tenantId": { - "description": "The tenant ID of user/group/application object Active Directory Object that will be used for authenticating the token of a container registry.", - "type": "string" - } - } - }, - "TokenCertificate": { - "description": "The properties of a certificate used for authenticating a token.", - "type": "object", - "properties": { - "name": { - "enum": [ - "certificate1", - "certificate2" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenCertificateName", - "modelAsString": true - } - }, - "expiry": { - "format": "date-time", - "description": "The expiry datetime of the certificate.", - "type": "string" - }, - "thumbprint": { - "description": "The thumbprint of the certificate.", - "type": "string" - }, - "encodedPemCertificate": { - "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token.", - "type": "string" - } - } - }, - "TokenPassword": { - "description": "The password that will be used for authenticating the token of a container registry.", - "type": "object", - "properties": { - "creationTime": { - "format": "date-time", - "description": "The creation datetime of the password.", - "type": "string" - }, - "expiry": { - "format": "date-time", - "description": "The expiry datetime of the password.", - "type": "string" - }, - "name": { - "description": "The password name \"password1\" or \"password2\"", - "enum": [ - "password1", - "password2" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } - }, - "value": { - "description": "The password value.", - "type": "string", - "readOnly": true - } - } - }, - "TokenUpdateParameters": { - "description": "The parameters for updating a token.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/TokenUpdateProperties", - "description": "The properties of the token update parameters.", - "x-ms-client-flatten": true - } - } - }, - "TokenUpdateProperties": { - "description": "The parameters for updating token properties.", - "type": "object", - "properties": { - "scopeMapId": { - "description": "The resource ID of the scope map to which the token will be associated with.", - "type": "string" - }, - "status": { - "description": "The status of the token example enabled or disabled.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." - } - } - }, - "GenerateCredentialsParameters": { - "description": "The parameters used to generate credentials for a specified token or user of a container registry.", - "type": "object", - "properties": { - "tokenId": { - "description": "The resource ID of the token for which credentials have to be generated.", - "type": "string" - }, - "expiry": { - "format": "date-time", - "description": "The expiry date of the generated credentials after which the credentials become invalid.", - "type": "string" - }, - "name": { - "description": "Specifies name of the password which should be regenerated if any -- password1 or password2.", - "enum": [ - "password1", - "password2" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } - } - } - }, - "GenerateCredentialsResult": { - "description": "The response from the GenerateCredentials operation.", - "type": "object", - "properties": { - "username": { - "description": "The username for a container registry.", - "type": "string" - }, - "passwords": { - "description": "The list of passwords for a container registry.", - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - }, - "x-ms-identifiers": [] - } - } - }, - "WebhookListResult": { - "description": "The result of a request to list webhooks for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.", - "type": "array", - "items": { - "$ref": "#/definitions/Webhook" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of webhooks.", - "type": "string" - } - } - }, - "Webhook": { - "description": "An object that represents a webhook for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/WebhookProperties", - "description": "The properties of the webhook.", - "x-ms-client-flatten": true - } - } - }, - "WebhookProperties": { - "description": "The properties of a webhook.", - "required": [ - "actions" - ], - "type": "object", - "properties": { - "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" - }, - "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", - "type": "array", - "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - }, - "provisioningState": { - "description": "The provisioning state of the webhook at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "WebhookCreateParameters": { - "description": "The parameters for creating a webhook.", - "required": [ - "location" - ], - "type": "object", - "properties": { - "tags": { - "description": "The tags for the webhook.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "location": { - "description": "The location of the webhook. This cannot be changed after the resource is created.", - "type": "string" - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesCreateParameters", - "description": "The properties that the webhook will be created with.", - "x-ms-client-flatten": true - } - } - }, - "WebhookPropertiesCreateParameters": { - "description": "The parameters for creating the properties of a webhook.", - "required": [ - "serviceUri", - "actions" - ], - "type": "object", - "properties": { - "serviceUri": { - "description": "The service URI for the webhook to post notifications.", - "type": "string", - "x-ms-secret": true - }, - "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-secret": true - }, - "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" - }, - "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", - "type": "array", - "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - } - }, - "WebhookUpdateParameters": { - "description": "The parameters for updating a webhook.", - "type": "object", - "properties": { - "tags": { - "description": "The tags for the webhook.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesUpdateParameters", - "description": "The properties that the webhook will be updated with.", - "x-ms-client-flatten": true - } - } - }, - "WebhookPropertiesUpdateParameters": { - "description": "The parameters for updating the properties of a webhook.", - "type": "object", - "properties": { - "serviceUri": { - "description": "The service URI for the webhook to post notifications.", - "type": "string", - "x-ms-secret": true - }, - "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-secret": true - }, - "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" - }, - "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", - "type": "array", - "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - } - }, - "EventInfo": { - "description": "The basic information of an event.", - "type": "object", - "properties": { - "id": { - "description": "The event ID.", - "type": "string" - } - } - }, - "EventListResult": { - "description": "The result of a request to list events for a webhook.", - "type": "object", - "properties": { - "value": { - "description": "The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.", - "type": "array", - "items": { - "$ref": "#/definitions/Event" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of events.", - "type": "string" - } - } - }, - "Event": { - "description": "The event for a webhook.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EventInfo" - } - ], - "properties": { - "eventRequestMessage": { - "$ref": "#/definitions/EventRequestMessage", - "description": "The event request message sent to the service URI." - }, - "eventResponseMessage": { - "$ref": "#/definitions/EventResponseMessage", - "description": "The event response message received from the service URI." - } - } - }, - "EventRequestMessage": { - "description": "The event request message sent to the service URI.", - "type": "object", - "properties": { - "content": { - "$ref": "#/definitions/EventContent", - "description": "The content of the event request message." - }, - "headers": { - "description": "The headers of the event request message.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "method": { - "description": "The HTTP method used to send the event request message.", - "type": "string" - }, - "requestUri": { - "description": "The URI used to send the event request message.", - "type": "string" - }, - "version": { - "description": "The HTTP message version.", - "type": "string" - } - } - }, - "EventResponseMessage": { - "description": "The event response message received from the service URI.", - "type": "object", - "properties": { - "content": { - "description": "The content of the event response message.", - "type": "string" - }, - "headers": { - "description": "The headers of the event response message.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "reasonPhrase": { - "description": "The reason phrase of the event response message.", - "type": "string" - }, - "statusCode": { - "description": "The status code of the event response message.", - "type": "string" - }, - "version": { - "description": "The HTTP message version.", - "type": "string" - } - } - }, - "EventContent": { - "description": "The content of the event request message.", - "type": "object", - "properties": { - "id": { - "description": "The event ID.", - "type": "string" - }, - "timestamp": { - "format": "date-time", - "description": "The time at which the event occurred.", - "type": "string" - }, - "action": { - "description": "The action that encompasses the provided event.", - "type": "string" - }, - "target": { - "$ref": "#/definitions/Target", - "description": "The target of the event." - }, - "request": { - "$ref": "#/definitions/Request", - "description": "The request that generated the event." - }, - "actor": { - "$ref": "#/definitions/Actor", - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." - }, - "source": { - "$ref": "#/definitions/Source", - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." - } - } - }, - "Target": { - "description": "The target of the event.", - "type": "object", - "properties": { - "mediaType": { - "description": "The MIME type of the referenced object.", - "type": "string" - }, - "size": { - "format": "int64", - "description": "The number of bytes of the content. Same as Length field.", - "type": "integer" - }, - "digest": { - "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification.", - "type": "string" - }, - "length": { - "format": "int64", - "description": "The number of bytes of the content. Same as Size field.", - "type": "integer" - }, - "repository": { - "description": "The repository name.", - "type": "string" - }, - "url": { - "description": "The direct URL to the content.", - "type": "string" - }, - "tag": { - "description": "The tag name.", - "type": "string" - }, - "name": { - "description": "The name of the artifact.", - "type": "string" - }, - "version": { - "description": "The version of the artifact.", - "type": "string" - } - } - }, - "Request": { - "description": "The request that generated the event.", - "type": "object", - "properties": { - "id": { - "description": "The ID of the request that initiated the event.", - "type": "string" - }, - "addr": { - "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.", - "type": "string" - }, - "host": { - "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.", - "type": "string" - }, - "method": { - "description": "The request method that generated the event.", - "type": "string" - }, - "useragent": { - "description": "The user agent header of the request.", - "type": "string" - } - } - }, - "Actor": { - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", - "type": "object", - "properties": { - "name": { - "description": "The subject or username associated with the request context that generated the event.", - "type": "string" - } - } - }, - "Source": { - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", - "type": "object", - "properties": { - "addr": { - "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.", - "type": "string" - }, - "instanceID": { - "description": "The running instance of an application. Changes after each restart.", - "type": "string" - } - } - }, - "CallbackConfig": { - "description": "The configuration of service URI and custom headers for the webhook.", - "required": [ - "serviceUri" - ], - "type": "object", - "properties": { - "serviceUri": { - "description": "The service URI for the webhook to post notifications.", - "type": "string" - }, - "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - } - }, - "parameters": { - "RegistryNameParameter": { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "WebhookNameParameter": { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ReplicationNameParameter": { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ScopeMapNameParameter": { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-_]*$", - "x-ms-parameter-location": "method" - }, - "TokenNameParameter": { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "PrivateEndpointConnectionNameParameter": { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "GroupNameParameter": { - "name": "groupName", - "in": "path", - "description": "The name of the private link resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "ExportPipelineNameParameter": { - "name": "exportPipelineName", - "in": "path", - "description": "The name of the export pipeline.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ImportPipelineNameParameter": { - "name": "importPipelineName", - "in": "path", - "description": "The name of the import pipeline.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "PipelineRunNameParameter": { - "name": "pipelineRunName", - "in": "path", - "description": "The name of the pipeline run.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ConnectedRegistryNameParameter": { - "in": "path", - "name": "connectedRegistryName", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ConnectedRegistryFilterParameter": { - "in": "query", - "name": "$filter", - "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, - "PackageTypeParameter": { - "name": "packageType", - "in": "path", - "description": "The type of the package resource.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 3, - "pattern": "^[a-zA-Z]*$", - "x-ms-parameter-location": "method" - }, - "ArchiveNameParameter": { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "maxLength": 200, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "ArchiveVersionNameParameter": { - "name": "archiveVersionName", - "in": "path", - "description": "The name of the archive version resource.", - "required": true, - "type": "string", - "maxLength": 200, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "CredentialSetNameParameter": { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "CacheRuleNameParameter": { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/API_CHANGES.md b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/API_CHANGES.md deleted file mode 100644 index 4f30f75e9a95..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/API_CHANGES.md +++ /dev/null @@ -1,264 +0,0 @@ -## Swagger Changes - -### Changes for `description` - -| Path | Change Type | Value | -|------|------------|-------| -| `info.description__added` | added | `The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate'].post.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/generateCredentials'].post.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage'].post.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].delete.responses.202.headers.Location.description__added` | added | `The Location header contains the URL where the status of the long running operation can be checked.` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].patch.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].put.responses.201.headers['Azure-AsyncOperation'].description__added` | added | `A link to the status monitor` | - -### Changes for `default` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.QuarantinePolicy.properties.status.default__deleted` | deleted | `disabled` | -| `definitions.RegistryNameCheckRequest.properties.autoGeneratedDomainNameLabelScope.default__deleted` | deleted | `Unsecure` | -| `definitions.RegistryProperties.properties.adminUserEnabled.default__deleted` | deleted | `false` | -| `definitions.RegistryProperties.properties.anonymousPullEnabled.default__deleted` | deleted | `false` | -| `definitions.RegistryProperties.properties.autoGeneratedDomainNameLabelScope.default__deleted` | deleted | `Unsecure` | -| `definitions.RegistryProperties.properties.metadataSearch.default__deleted` | deleted | `Disabled` | -| `definitions.RegistryProperties.properties.networkRuleBypassAllowedForTasks.default__deleted` | deleted | `false` | -| `definitions.RegistryProperties.properties.networkRuleBypassOptions.default__deleted` | deleted | `AzureServices` | -| `definitions.RegistryProperties.properties.publicNetworkAccess.default__deleted` | deleted | `Enabled` | -| `definitions.RegistryProperties.properties.roleAssignmentMode.default__deleted` | deleted | `LegacyRegistryPermissions` | -| `definitions.RegistryProperties.properties.zoneRedundancy.default__deleted` | deleted | `Disabled` | -| `definitions.RegistryPropertiesUpdateParameters.properties.metadataSearch.default__deleted` | deleted | `Disabled` | -| `definitions.RegistryPropertiesUpdateParameters.properties.networkRuleBypassOptions.default__deleted` | deleted | `AzureServices` | -| `definitions.ReplicationProperties.properties.zoneRedundancy.default__deleted` | deleted | `Disabled` | -| `definitions.RetentionPolicy.properties.status.default__deleted` | deleted | `disabled` | -| `definitions.SoftDeletePolicy.properties.status.default__deleted` | deleted | `disabled` | -| `definitions.TrustPolicy.properties.status.default__deleted` | deleted | `disabled` | -| `paths['/providers/microsoft.ContainerRegistry/operations'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/checkNameAvailability'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/registries'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].delete.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].patch.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].put.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listCredentials'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listUsages'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].delete.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].put.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].delete.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].patch.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].put.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].delete.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].get.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].patch.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].put.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping'].post.responses.default__added` | added | `{"description":"ignore","schema":{"$ref":"../../../../../../common-types/resource-management/v6/type...` | - -### Changes for `final-state-schema` - -| Path | Change Type | Value | -|------|------------|-------| -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Registry` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Registry` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/CacheRule` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/CacheRule` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ConnectedRegistry` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ConnectedRegistry` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/CredentialSet` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/CredentialSet` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ExportPipeline` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ImportPipeline` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Archive` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ArchiveVersion` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/PipelineRun` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/PrivateEndpointConnection` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Replication` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Replication` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ScopeMap` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/ScopeMap` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Token` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Token` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].patch['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Webhook` | -| `paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}'].put['x-ms-long-running-operation-options']['final-state-schema__added']` | added | `#/definitions/Webhook` | - -### Changes for `ActiveDirectoryObject` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.ActiveDirectoryObject__deleted` | deleted | `{"type":"object","properties":{"objectId":{"type":"string"},"tenantId":{"type":"string"}}}` | - -### Changes for `OperationDefinition` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.OperationDefinition__deleted` | deleted | `{"type":"object","properties":{"origin":{"type":"string"},"name":{"type":"string"},"display":{"$ref"...` | - -### Changes for `OperationDisplayDefinition` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.OperationDisplayDefinition__deleted` | deleted | `{"type":"object","properties":{"provider":{"type":"string"},"resource":{"type":"string"},"operation"...` | - -### Changes for `OperationListResult` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.OperationListResult__deleted` | deleted | `{"type":"object","description":"[Placeholder] Discription for page model","properties":{"value":{"ty...` | - -### Changes for `OperationLogSpecificationDefinition` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.OperationLogSpecificationDefinition__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string"},"displayName":{"type":"string"},"blobDuratio...` | - -### Changes for `OperationMetricSpecificationDefinition` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.OperationMetricSpecificationDefinition__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string"},"displayName":{"type":"string"},"displayDesc...` | - -### Changes for `OperationPropertiesDefinition` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.OperationPropertiesDefinition__deleted` | deleted | `{"type":"object","properties":{"serviceSpecification":{"$ref":"#/definitions/OperationServiceSpecifi...` | - -### Changes for `OperationServiceSpecificationDefinition` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.OperationServiceSpecificationDefinition__deleted` | deleted | `{"type":"object","properties":{"metricSpecifications":{"type":"array","items":{"$ref":"#/definitions...` | - -### Changes for `PackageType` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.PackageType__deleted` | deleted | `{"type":"object","properties":{"name":{"type":"string"},"endpoint":{"type":"string","readOnly":true}...` | - -### Changes for `ProxyResource` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.ProxyResource__deleted` | deleted | `{"type":"object","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string","readO...` | - -### Changes for `Resource` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.Resource__deleted` | deleted | `{"type":"object","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string","readO...` | - -### Changes for `StorageAccountProperties` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.StorageAccountProperties__deleted` | deleted | `{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}` | - -### Changes for `SystemData` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.SystemData__deleted` | deleted | `{"type":"object","properties":{"createdBy":{"type":"string"},"createdByType":{"type":"string","enum"...` | - -### Changes for `TypeSpec.Http.OkResponse` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions['TypeSpec.Http.OkResponse__added']` | added | `{"type":"object"}` | - -### Changes for `allOf` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.PrivateLinkResource.allOf__added` | added | `[{"$ref":"../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResourc...` | - -### Changes for `type` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.PrivateLinkResource.properties.type__deleted` | deleted | `{"type":"string","readOnly":true}` | - -### Changes for `id` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.PrivateLinkResource.properties.id__deleted` | deleted | `{"type":"string"}` | - -### Changes for `name` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.PrivateLinkResource.properties.name__deleted` | deleted | `{"type":"string"}` | -| `definitions.RegistryNameCheckRequest.properties.type['x-ms-enum'].name__deleted` | deleted | `ContainerRegistryResourceType` | - -### Changes for `x-ms-secret` - -| Path | Change Type | Value | -|------|------------|-------| -| `definitions.WebhookPropertiesCreateParameters.properties.customHeaders['x-ms-secret__deleted']` | deleted | `true` | -| `definitions.WebhookPropertiesCreateParameters.properties.serviceUri['x-ms-secret__deleted']` | deleted | `true` | -| `definitions.WebhookPropertiesUpdateParameters.properties.customHeaders['x-ms-secret__deleted']` | deleted | `true` | -| `definitions.WebhookPropertiesUpdateParameters.properties.serviceUri['x-ms-secret__deleted']` | deleted | `true` | - -## Modified Values - -| Path | Old Value | New Value | -|------|-----------|----------| -| `definitions.Archive.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | -| `definitions.ArchiveVersion.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | -| `definitions.CacheRule.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | -| `definitions.ConnectedRegistry.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | -| `definitions.CredentialSet.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | -| `definitions.ExportPipeline.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | -| `definitions.ImportPipeline.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | -| `definitions.PipelineRun.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | -| `definitions.PrivateEndpointConnection.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | -| `definitions.Registry.allOf[0].$ref` | `#/definitions/Resource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource` | -| `definitions.Replication.allOf[0].$ref` | `#/definitions/Resource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource` | -| `definitions.ScopeMap.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | -| `definitions.Token.allOf[0].$ref` | `#/definitions/ProxyResource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource` | -| `definitions.Webhook.allOf[0].$ref` | `#/definitions/Resource` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource` | -| `paths['/providers/microsoft.ContainerRegistry/operations'].get.responses.200.schema.$ref` | `#/definitions/OperationListResult` | `../../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult` | - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/diff.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/diff.json deleted file mode 100644 index d0bc2b0efdaf..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/diff.json +++ /dev/null @@ -1,1405 +0,0 @@ -{ - "info": { - "description__added": "The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components." - }, - "paths": { - "/providers/microsoft.ContainerRegistry/operations": { - "get": { - "responses": { - "200": { - "schema": { - "$ref": { - "__old": "#/definitions/OperationListResult", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/checkNameAvailability": { - "post": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/registries": { - "get": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries": { - "get": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}": { - "get": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/Registry" - } - }, - "patch": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/Registry" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/CacheRule" - } - }, - "patch": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/CacheRule" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/ConnectedRegistry" - } - }, - "patch": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/ConnectedRegistry" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { - "post": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/CredentialSet" - } - }, - "patch": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/CredentialSet" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/ExportPipeline" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { - "post": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage": { - "post": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/ImportPipeline" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { - "post": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listUsages": { - "get": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/Archive" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/ArchiveVersion" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/PipelineRun" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { - "get": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/PrivateEndpointConnection" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { - "get": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { - "post": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications": { - "get": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { - "get": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/Replication" - } - }, - "patch": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/Replication" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/ScopeMap" - } - }, - "patch": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/ScopeMap" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/Token" - } - }, - "patch": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/Token" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks": { - "get": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { - "get": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/Webhook" - } - }, - "patch": { - "responses": { - "201": { - "headers": { - "Azure-AsyncOperation": { - "description__added": "A link to the status monitor" - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-schema__added": "#/definitions/Webhook" - } - }, - "delete": { - "responses": { - "202": { - "headers": { - "Location": { - "description__added": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { - "post": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { - "post": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { - "post": { - "responses": { - "default__added": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - } - } - } - }, - "definitions": { - "ActiveDirectoryObject__deleted": { - "type": "object", - "properties": { - "objectId": { - "type": "string" - }, - "tenantId": { - "type": "string" - } - } - }, - "OperationDefinition__deleted": { - "type": "object", - "properties": { - "origin": { - "type": "string" - }, - "name": { - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayDefinition" - }, - "properties": { - "$ref": "#/definitions/OperationPropertiesDefinition", - "x-ms-client-flatten": true - }, - "isDataAction": { - "type": "boolean" - } - } - }, - "OperationDisplayDefinition__deleted": { - "type": "object", - "properties": { - "provider": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "operation": { - "type": "string" - }, - "description": { - "type": "string" - } - } - }, - "OperationListResult__deleted": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/OperationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "OperationLogSpecificationDefinition__deleted": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "blobDuration": { - "type": "string" - } - } - }, - "OperationMetricSpecificationDefinition__deleted": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "displayDescription": { - "type": "string" - }, - "unit": { - "type": "string" - }, - "aggregationType": { - "type": "string" - }, - "internalMetricName": { - "type": "string" - } - } - }, - "OperationPropertiesDefinition__deleted": { - "type": "object", - "properties": { - "serviceSpecification": { - "$ref": "#/definitions/OperationServiceSpecificationDefinition" - } - } - }, - "OperationServiceSpecificationDefinition__deleted": { - "type": "object", - "properties": { - "metricSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/OperationMetricSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "logSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/OperationLogSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "PackageType__deleted": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "endpoint": { - "type": "string", - "readOnly": true - } - } - }, - "ProxyResource__deleted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "type": "object", - "readOnly": true - } - } - }, - "Resource__deleted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true - }, - "location": { - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "type": "object", - "readOnly": true - } - }, - "required": [ - "location" - ] - }, - "StorageAccountProperties__deleted": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ] - }, - "SystemData__deleted": { - "type": "object", - "properties": { - "createdBy": { - "type": "string" - }, - "createdByType": { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "CreatedByType", - "modelAsString": true - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "lastModifiedBy": { - "type": "string" - }, - "lastModifiedByType": { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "LastModifiedByType", - "modelAsString": true - } - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time" - } - }, - "readOnly": true - }, - "TypeSpec.Http.OkResponse__added": { - "type": "object" - }, - "Archive": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/ProxyResource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - } - ] - ] - }, - "ArchiveVersion": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/ProxyResource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - } - ] - ] - }, - "CacheRule": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/ProxyResource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - } - ] - ] - }, - "ConnectedRegistry": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/ProxyResource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - } - ] - ] - }, - "CredentialSet": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/ProxyResource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - } - ] - ] - }, - "ExportPipeline": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/ProxyResource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - } - ] - ] - }, - "ImportPipeline": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/ProxyResource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - } - ] - ] - }, - "PipelineRun": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/ProxyResource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - } - ] - ] - }, - "PrivateEndpointConnection": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/ProxyResource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - } - ] - ] - }, - "PrivateLinkResource": { - "allOf__added": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "type__deleted": { - "type": "string", - "readOnly": true - }, - "id__deleted": { - "type": "string" - }, - "name__deleted": { - "type": "string" - } - } - }, - "QuarantinePolicy": { - "properties": { - "status": { - "default__deleted": "disabled" - } - } - }, - "Registry": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/Resource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - } - ] - ] - }, - "RegistryNameCheckRequest": { - "properties": { - "type": { - "x-ms-enum": { - "name__deleted": "ContainerRegistryResourceType" - } - }, - "autoGeneratedDomainNameLabelScope": { - "default__deleted": "Unsecure" - } - } - }, - "RegistryProperties": { - "properties": { - "adminUserEnabled": { - "default__deleted": false - }, - "publicNetworkAccess": { - "default__deleted": "Enabled" - }, - "networkRuleBypassOptions": { - "default__deleted": "AzureServices" - }, - "networkRuleBypassAllowedForTasks": { - "default__deleted": false - }, - "zoneRedundancy": { - "default__deleted": "Disabled" - }, - "anonymousPullEnabled": { - "default__deleted": false - }, - "metadataSearch": { - "default__deleted": "Disabled" - }, - "autoGeneratedDomainNameLabelScope": { - "default__deleted": "Unsecure" - }, - "roleAssignmentMode": { - "default__deleted": "LegacyRegistryPermissions" - } - } - }, - "RegistryPropertiesUpdateParameters": { - "properties": { - "networkRuleBypassOptions": { - "default__deleted": "AzureServices" - }, - "metadataSearch": { - "default__deleted": "Disabled" - } - } - }, - "Replication": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/Resource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - } - ] - ] - }, - "ReplicationProperties": { - "properties": { - "zoneRedundancy": { - "default__deleted": "Disabled" - } - } - }, - "RetentionPolicy": { - "properties": { - "status": { - "default__deleted": "disabled" - } - } - }, - "ScopeMap": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/ProxyResource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - } - ] - ] - }, - "SoftDeletePolicy": { - "properties": { - "status": { - "default__deleted": "disabled" - } - } - }, - "Token": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/ProxyResource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - } - ] - ] - }, - "TrustPolicy": { - "properties": { - "status": { - "default__deleted": "disabled" - } - } - }, - "Webhook": { - "allOf": [ - [ - "~", - { - "$ref": { - "__old": "#/definitions/Resource", - "__new": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - } - ] - ] - }, - "WebhookPropertiesCreateParameters": { - "properties": { - "serviceUri": { - "x-ms-secret__deleted": true - }, - "customHeaders": { - "x-ms-secret__deleted": true - } - } - }, - "WebhookPropertiesUpdateParameters": { - "properties": { - "serviceUri": { - "x-ms-secret__deleted": true - }, - "customHeaders": { - "x-ms-secret__deleted": true - } - } - } - } -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/newNormalizedSwagger.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/newNormalizedSwagger.json deleted file mode 100644 index 06ad4ba543cd..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/newNormalizedSwagger.json +++ /dev/null @@ -1,7086 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ContainerRegistryManagementClient", - "version": "2025-05-01-preview", - "description": "The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components." - }, - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "paths": { - "/providers/microsoft.ContainerRegistry/operations": { - "get": { - "operationId": "Operations_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/checkNameAvailability": { - "post": { - "operationId": "Registries_CheckNameAvailability", - "parameters": [ - { - "name": "registryNameCheckRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryNameCheckRequest" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryNameStatus" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryCheckNameAvailable": { - "$ref": "./examples/RegistryCheckNameAvailable.json" - }, - "RegistryCheckNameNotAvailable": { - "$ref": "./examples/RegistryCheckNameNotAvailable.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/registries": { - "get": { - "operationId": "Registries_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryList": { - "$ref": "./examples/RegistryList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries": { - "get": { - "operationId": "Registries_ListByResourceGroup", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryListByResourceGroup": { - "$ref": "./examples/RegistryListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}": { - "get": { - "operationId": "Registries_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGet": { - "$ref": "./examples/RegistryGet.json" - } - } - }, - "put": { - "operationId": "Registries_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "registry", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Registry" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryCreate": { - "$ref": "./examples/RegistryCreate.json" - }, - "RegistryCreateAbac": { - "$ref": "./examples/RegistryCreateAbac.json" - }, - "RegistryCreateDomainNameLabelScope": { - "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" - }, - "RegistryCreateZoneRedundant": { - "$ref": "./examples/RegistryCreateZoneRedundant.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Registry" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Registries_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "registryUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryUpdate": { - "$ref": "./examples/RegistryUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Registry" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Registries_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryDelete": { - "$ref": "./examples/RegistryDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { - "get": { - "operationId": "CacheRules_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRulesListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleList": { - "$ref": "./examples/CacheRuleList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { - "get": { - "operationId": "CacheRules_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleGet": { - "$ref": "./examples/CacheRuleGet.json" - } - } - }, - "put": { - "operationId": "CacheRules_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "cacheRuleCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRule" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleCreate": { - "$ref": "./examples/CacheRuleCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/CacheRule" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CacheRules_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "cacheRuleUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRuleUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleUpdate": { - "$ref": "./examples/CacheRuleUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/CacheRule" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CacheRules_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleDelete": { - "$ref": "./examples/CacheRuleDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { - "get": { - "operationId": "ConnectedRegistries_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "$filter", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistryListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryList": { - "$ref": "./examples/ConnectedRegistryList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { - "get": { - "operationId": "ConnectedRegistries_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryGet": { - "$ref": "./examples/ConnectedRegistryGet.json" - } - } - }, - "put": { - "operationId": "ConnectedRegistries_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryCreate": { - "$ref": "./examples/ConnectedRegistryCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ConnectedRegistry" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ConnectedRegistries_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectedRegistryUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryUpdate": { - "$ref": "./examples/ConnectedRegistryUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ConnectedRegistry" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ConnectedRegistries_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryDelete": { - "$ref": "./examples/ConnectedRegistryDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { - "post": { - "operationId": "ConnectedRegistries_Deactivate", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryDeactivate": { - "$ref": "./examples/ConnectedRegistryDeactivate.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { - "get": { - "operationId": "CredentialSets_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSetListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetList": { - "$ref": "./examples/CredentialSetList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { - "get": { - "operationId": "CredentialSets_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetGet": { - "$ref": "./examples/CredentialSetGet.json" - } - } - }, - "put": { - "operationId": "CredentialSets_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "credentialSetCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CredentialSet" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetCreate": { - "$ref": "./examples/CredentialSetCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/CredentialSet" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CredentialSets_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "credentialSetUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CredentialSetUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetUpdate": { - "$ref": "./examples/CredentialSetUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/CredentialSet" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CredentialSets_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetDelete": { - "$ref": "./examples/CredentialSetDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines": { - "get": { - "operationId": "ExportPipelines_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ExportPipelineListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineList": { - "$ref": "./examples/ExportPipelineList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { - "get": { - "operationId": "ExportPipelines_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineGet": { - "$ref": "./examples/ExportPipelineGet.json" - } - } - }, - "put": { - "operationId": "ExportPipelines_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ExportPipeline" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineCreate": { - "$ref": "./examples/ExportPipelineCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ExportPipeline" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExportPipelines_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineDelete": { - "$ref": "./examples/ExportPipelineDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { - "post": { - "operationId": "Registries_GenerateCredentials", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "generateCredentialsParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GenerateCredentialsParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/GenerateCredentialsResult" - } - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGenerateCredentials": { - "$ref": "./examples/RegistryGenerateCredentials.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage": { - "post": { - "operationId": "Registries_ImportImage", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ImportImageParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportImageByManifestDigest": { - "$ref": "./examples/ImportImageByManifestDigest.json" - }, - "ImportImageByTag": { - "$ref": "./examples/ImportImageByTag.json" - }, - "ImportImageFromPublicRegistry": { - "$ref": "./examples/ImportImageFromPublicRegistry.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { - "get": { - "operationId": "ImportPipelines_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ImportPipelineListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineList": { - "$ref": "./examples/ImportPipelineList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { - "get": { - "operationId": "ImportPipelines_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineGet": { - "$ref": "./examples/ImportPipelineGet.json" - } - } - }, - "put": { - "operationId": "ImportPipelines_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ImportPipeline" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineCreate": { - "$ref": "./examples/ImportPipelineCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ImportPipeline" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ImportPipelines_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineDelete": { - "$ref": "./examples/ImportPipelineDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { - "post": { - "operationId": "Registries_ListCredentials", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryListCredentials": { - "$ref": "./examples/RegistryListCredentials.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listUsages": { - "get": { - "operationId": "Registries_ListUsages", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryUsageListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryListUsages": { - "$ref": "./examples/RegistryListUsages.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { - "get": { - "operationId": "Archives_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ArchiveListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveList": { - "$ref": "./examples/ArchiveList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { - "get": { - "operationId": "Archives_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveGet": { - "$ref": "./examples/ArchiveGet.json" - } - } - }, - "put": { - "operationId": "Archives_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Archive" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Archive" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveCreate": { - "$ref": "./examples/ArchiveCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Archive" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Archives_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ArchiveUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveUpdate": { - "$ref": "./examples/ArchiveUpdate.json" - } - } - }, - "delete": { - "operationId": "Archives_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveDelete": { - "$ref": "./examples/ArchiveDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { - "get": { - "operationId": "ArchiveVersions_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ArchiveVersionListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionList": { - "$ref": "./examples/ArchiveVersionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { - "get": { - "operationId": "ArchiveVersions_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveVersionName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionGet": { - "$ref": "./examples/ArchiveVersionGet.json" - } - } - }, - "put": { - "operationId": "ArchiveVersions_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveVersionName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionCreate": { - "$ref": "./examples/ArchiveVersionCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ArchiveVersion" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ArchiveVersions_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveVersionName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionDelete": { - "$ref": "./examples/ArchiveVersionDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { - "get": { - "operationId": "PipelineRuns_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PipelineRunListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunList": { - "$ref": "./examples/PipelineRunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { - "get": { - "operationId": "PipelineRuns_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PipelineRun" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunGet": { - "$ref": "./examples/PipelineRunGet.json" - } - } - }, - "put": { - "operationId": "PipelineRuns_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PipelineRun" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PipelineRun" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PipelineRun" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunCreate_Export": { - "$ref": "./examples/PipelineRunCreate_Export.json" - }, - "PipelineRunCreate_Import": { - "$ref": "./examples/PipelineRunCreate_Import.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/PipelineRun" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "PipelineRuns_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunDelete": { - "$ref": "./examples/PipelineRunDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { - "get": { - "operationId": "PrivateEndpointConnections_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionList": { - "$ref": "./examples/PrivateEndpointConnectionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "operationId": "PrivateEndpointConnections_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionGet": { - "$ref": "./examples/PrivateEndpointConnectionGet.json" - } - } - }, - "put": { - "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnection", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionCreateOrUpdate": { - "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/PrivateEndpointConnection" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "PrivateEndpointConnections_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionDelete": { - "$ref": "./examples/PrivateEndpointConnectionDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { - "get": { - "operationId": "Registries_ListPrivateLinkResources", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryListPrivateLinkResources": { - "$ref": "./examples/RegistryListPrivateLinkResources.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { - "get": { - "operationId": "Registries_GetPrivateLinkResource", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "groupName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGetPrivateLinkResource": { - "$ref": "./examples/RegistryGetPrivateLinkResource.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { - "post": { - "operationId": "Registries_RegenerateCredential", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "regenerateCredentialParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RegenerateCredentialParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryRegenerateCredential": { - "$ref": "./examples/RegistryRegenerateCredential.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications": { - "get": { - "operationId": "Replications_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ReplicationListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ReplicationList": { - "$ref": "./examples/ReplicationList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { - "get": { - "operationId": "Replications_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ReplicationGet": { - "$ref": "./examples/ReplicationGet.json" - } - } - }, - "put": { - "operationId": "Replications_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replication", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Replication" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ReplicationCreate": { - "$ref": "./examples/ReplicationCreate.json" - }, - "ReplicationCreateZoneRedundant": { - "$ref": "./examples/ReplicationCreateZoneRedundant.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Replication" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Replications_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ReplicationUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ReplicationUpdate": { - "$ref": "./examples/ReplicationUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Replication" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Replications_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ReplicationDelete": { - "$ref": "./examples/ReplicationDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { - "get": { - "operationId": "ScopeMaps_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMapListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapList": { - "$ref": "./examples/ScopeMapList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { - "get": { - "operationId": "ScopeMaps_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapGet": { - "$ref": "./examples/ScopeMapGet.json" - } - } - }, - "put": { - "operationId": "ScopeMaps_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - }, - { - "name": "scopeMapCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeMap" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapCreate": { - "$ref": "./examples/ScopeMapCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ScopeMap" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ScopeMaps_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - }, - { - "name": "scopeMapUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeMapUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapUpdate": { - "$ref": "./examples/ScopeMapUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ScopeMap" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ScopeMaps_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapDelete": { - "$ref": "./examples/ScopeMapDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens": { - "get": { - "operationId": "Tokens_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/TokenListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenList": { - "$ref": "./examples/TokenList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { - "get": { - "operationId": "Tokens_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenGet": { - "$ref": "./examples/TokenGet.json" - } - } - }, - "put": { - "operationId": "Tokens_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "tokenCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Token" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenCreate": { - "$ref": "./examples/TokenCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Token" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Tokens_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "tokenUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TokenUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenUpdate": { - "$ref": "./examples/TokenUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Token" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Tokens_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenDelete": { - "$ref": "./examples/TokenDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks": { - "get": { - "operationId": "Webhooks_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/WebhookListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookList": { - "$ref": "./examples/WebhookList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { - "get": { - "operationId": "Webhooks_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookGet": { - "$ref": "./examples/WebhookGet.json" - } - } - }, - "put": { - "operationId": "Webhooks_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/WebhookCreateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookCreate": { - "$ref": "./examples/WebhookCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Webhook" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Webhooks_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/WebhookUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookUpdate": { - "$ref": "./examples/WebhookUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Webhook" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Webhooks_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookDelete": { - "$ref": "./examples/WebhookDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { - "post": { - "operationId": "Webhooks_GetCallbackConfig", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CallbackConfig" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookGetCallbackConfig": { - "$ref": "./examples/WebhookGetCallbackConfig.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { - "post": { - "operationId": "Webhooks_ListEvents", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/EventListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookListEvents": { - "$ref": "./examples/WebhookListEvents.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { - "post": { - "operationId": "Webhooks_Ping", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/EventInfo" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookPing": { - "$ref": "./examples/WebhookPing.json" - } - } - } - } - }, - "definitions": { - "ActivationProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Active", - "Inactive" - ], - "x-ms-enum": { - "name": "ActivationStatus", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "Actor": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - } - }, - "Archive": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ArchiveListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Archive" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ArchivePackageSourceProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "remote" - ], - "x-ms-enum": { - "name": "PackageSourceType", - "modelAsString": true - } - }, - "url": { - "type": "string" - } - } - }, - "ArchiveProperties": { - "type": "object", - "properties": { - "packageSource": { - "$ref": "#/definitions/ArchivePackageSourceProperties" - }, - "publishedVersion": { - "type": "string" - }, - "repositoryEndpointPrefix": { - "type": "string" - }, - "repositoryEndpoint": { - "type": "string", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "ArchiveUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveUpdateProperties", - "x-ms-client-flatten": true - } - } - }, - "ArchiveUpdateProperties": { - "type": "object", - "properties": { - "publishedVersion": { - "type": "string" - } - } - }, - "ArchiveVersion": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveVersionProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ArchiveVersionListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ArchiveVersionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "archiveVersionErrorMessage": { - "type": "string" - } - } - }, - "AuthCredential": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "Credential1" - ], - "x-ms-enum": { - "name": "CredentialName", - "modelAsString": true - } - }, - "usernameSecretIdentifier": { - "type": "string" - }, - "passwordSecretIdentifier": { - "type": "string" - }, - "credentialHealth": { - "$ref": "#/definitions/CredentialHealth", - "readOnly": true - } - } - }, - "AzureADAuthenticationAsArmPolicy": { - "type": "object", - "properties": { - "status": { - "type": "string", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "AzureADAuthenticationAsArmPolicyStatus", - "modelAsString": true - } - } - } - }, - "CacheRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CacheRuleProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "CacheRuleProperties": { - "type": "object", - "properties": { - "credentialSetResourceId": { - "type": "string" - }, - "sourceRepository": { - "type": "string" - }, - "targetRepository": { - "type": "string" - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "CacheRuleUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CacheRuleUpdateProperties", - "x-ms-client-flatten": true - } - } - }, - "CacheRuleUpdateProperties": { - "type": "object", - "properties": { - "credentialSetResourceId": { - "type": "string" - } - } - }, - "CacheRulesListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/CacheRule" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "CallbackConfig": { - "type": "object", - "properties": { - "serviceUri": { - "type": "string" - }, - "customHeaders": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "serviceUri" - ] - }, - "ConnectedRegistry": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ConnectedRegistryListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ConnectedRegistryProperties": { - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "mode": { - "type": "string", - "enum": [ - "ReadWrite", - "ReadOnly", - "Registry", - "Mirror" - ], - "x-ms-enum": { - "name": "ConnectedRegistryMode", - "modelAsString": true - } - }, - "version": { - "type": "string", - "readOnly": true - }, - "connectionState": { - "type": "string", - "enum": [ - "Online", - "Offline", - "Syncing", - "Unhealthy" - ], - "x-ms-enum": { - "name": "ConnectionState", - "modelAsString": true - }, - "readOnly": true - }, - "lastActivityTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "activation": { - "$ref": "#/definitions/ActivationProperties", - "readOnly": true - }, - "parent": { - "$ref": "#/definitions/ParentProperties" - }, - "clientTokenIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "loginServer": { - "$ref": "#/definitions/LoginServerProperties" - }, - "logging": { - "$ref": "#/definitions/LoggingProperties" - }, - "statusDetails": { - "type": "array", - "items": { - "$ref": "#/definitions/StatusDetailProperties" - }, - "readOnly": true, - "x-ms-identifiers": [ - "correlationId" - ] - }, - "notificationsList": { - "type": "array", - "items": { - "type": "string" - } - }, - "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" - } - }, - "required": [ - "mode", - "parent" - ] - }, - "ConnectedRegistryUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryUpdateProperties", - "x-ms-client-flatten": true - } - } - }, - "ConnectedRegistryUpdateProperties": { - "type": "object", - "properties": { - "syncProperties": { - "$ref": "#/definitions/SyncUpdateProperties" - }, - "logging": { - "$ref": "#/definitions/LoggingProperties" - }, - "clientTokenIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "notificationsList": { - "type": "array", - "items": { - "type": "string" - } - }, - "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" - } - } - }, - "CredentialHealth": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Healthy", - "Unhealthy" - ], - "x-ms-enum": { - "name": "CredentialHealthStatus", - "modelAsString": true - } - }, - "errorCode": { - "type": "string" - }, - "errorMessage": { - "type": "string" - } - } - }, - "CredentialSet": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetProperties", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/IdentityProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "CredentialSetListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/CredentialSet" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "CredentialSetProperties": { - "type": "object", - "properties": { - "loginServer": { - "type": "string" - }, - "authCredentials": { - "type": "array", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "CredentialSetUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetUpdateProperties", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/IdentityProperties" - } - } - }, - "CredentialSetUpdateProperties": { - "type": "object", - "properties": { - "authCredentials": { - "type": "array", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "DebianArchivePackageSourceProperties": { - "type": "object", - "properties": { - "distributionName": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ArchivePackageSourceProperties" - } - ] - }, - "DebianArchiveProperties": { - "type": "object", - "properties": { - "distributionName": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ArchiveProperties" - } - ] - }, - "EncryptionProperty": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "EncryptionStatus", - "modelAsString": true - } - }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties" - } - } - }, - "Event": { - "type": "object", - "properties": { - "eventRequestMessage": { - "$ref": "#/definitions/EventRequestMessage" - }, - "eventResponseMessage": { - "$ref": "#/definitions/EventResponseMessage" - } - }, - "allOf": [ - { - "$ref": "#/definitions/EventInfo" - } - ] - }, - "EventContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "timestamp": { - "type": "string", - "format": "date-time" - }, - "action": { - "type": "string" - }, - "target": { - "$ref": "#/definitions/Target" - }, - "request": { - "$ref": "#/definitions/Request" - }, - "actor": { - "$ref": "#/definitions/Actor" - }, - "source": { - "$ref": "#/definitions/Source" - } - } - }, - "EventInfo": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "EventListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Event" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "EventRequestMessage": { - "type": "object", - "properties": { - "content": { - "$ref": "#/definitions/EventContent" - }, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "method": { - "type": "string" - }, - "requestUri": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "EventResponseMessage": { - "type": "object", - "properties": { - "content": { - "type": "string" - }, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "reasonPhrase": { - "type": "string" - }, - "statusCode": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "ExportPipeline": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ExportPipelineProperties", - "x-ms-client-flatten": true - }, - "location": { - "type": "string" - }, - "identity": { - "$ref": "#/definitions/IdentityProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ExportPipelineListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ExportPipelineProperties": { - "type": "object", - "properties": { - "target": { - "$ref": "#/definitions/ExportPipelineTargetProperties" - }, - "options": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true - } - } - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - }, - "required": [ - "target" - ] - }, - "ExportPipelineTargetProperties": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "uri": { - "type": "string" - }, - "keyVaultUri": { - "type": "string" - } - }, - "required": [ - "keyVaultUri" - ] - }, - "ExportPolicy": { - "type": "object", - "properties": { - "status": { - "type": "string", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "ExportPolicyStatus", - "modelAsString": true - } - } - } - }, - "GarbageCollectionProperties": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "schedule": { - "type": "string" - } - } - }, - "GenerateCredentialsParameters": { - "type": "object", - "properties": { - "tokenId": { - "type": "string" - }, - "expiry": { - "type": "string", - "format": "date-time" - }, - "name": { - "type": "string", - "enum": [ - "password1", - "password2" - ], - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } - } - } - }, - "GenerateCredentialsResult": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - } - } - } - }, - "IPRule": { - "type": "object", - "properties": { - "action": { - "type": "string", - "default": "Allow", - "enum": [ - "Allow" - ], - "x-ms-enum": { - "name": "Action", - "modelAsString": true - } - }, - "value": { - "type": "string", - "x-ms-client-name": "IPAddressOrRange" - } - }, - "required": [ - "value" - ] - }, - "IdentityProperties": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "readOnly": true - }, - "tenantId": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } - } - } - }, - "ImportImageParameters": { - "type": "object", - "properties": { - "source": { - "$ref": "#/definitions/ImportSource" - }, - "targetTags": { - "type": "array", - "items": { - "type": "string" - } - }, - "untaggedTargetRepositories": { - "type": "array", - "items": { - "type": "string" - } - }, - "mode": { - "type": "string", - "default": "NoForce", - "enum": [ - "NoForce", - "Force" - ], - "x-ms-enum": { - "name": "ImportMode", - "modelAsString": true - } - } - }, - "required": [ - "source" - ] - }, - "ImportPipeline": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ImportPipelineProperties", - "x-ms-client-flatten": true - }, - "location": { - "type": "string" - }, - "identity": { - "$ref": "#/definitions/IdentityProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ImportPipelineListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ImportPipelineProperties": { - "type": "object", - "properties": { - "source": { - "$ref": "#/definitions/ImportPipelineSourceProperties" - }, - "trigger": { - "$ref": "#/definitions/PipelineTriggerProperties" - }, - "options": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true - } - } - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - }, - "required": [ - "source" - ] - }, - "ImportPipelineSourceProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "default": "AzureStorageBlobContainer", - "enum": [ - "AzureStorageBlobContainer" - ], - "x-ms-enum": { - "name": "PipelineSourceType", - "modelAsString": true - } - }, - "uri": { - "type": "string" - }, - "keyVaultUri": { - "type": "string" - } - }, - "required": [ - "keyVaultUri" - ] - }, - "ImportSource": { - "type": "object", - "properties": { - "resourceId": { - "type": "string" - }, - "registryUri": { - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/ImportSourceCredentials" - }, - "sourceImage": { - "type": "string" - } - }, - "required": [ - "sourceImage" - ] - }, - "ImportSourceCredentials": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "password": { - "type": "string" - } - }, - "required": [ - "password" - ] - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "keyIdentifier": { - "type": "string" - }, - "versionedKeyIdentifier": { - "type": "string", - "readOnly": true - }, - "identity": { - "type": "string" - }, - "keyRotationEnabled": { - "type": "boolean", - "readOnly": true - }, - "lastKeyRotationTimestamp": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "LoggingProperties": { - "type": "object", - "properties": { - "logLevel": { - "type": "string", - "default": "Information", - "enum": [ - "Debug", - "Information", - "Warning", - "Error", - "None" - ], - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": true - } - }, - "auditLogStatus": { - "type": "string", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "AuditLogStatus", - "modelAsString": true - } - } - } - }, - "LoginServerProperties": { - "type": "object", - "properties": { - "host": { - "type": "string", - "readOnly": true - }, - "tls": { - "$ref": "#/definitions/TlsProperties", - "readOnly": true - } - } - }, - "NetworkRuleSet": { - "type": "object", - "properties": { - "defaultAction": { - "type": "string", - "default": "Allow", - "enum": [ - "Allow", - "Deny" - ], - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": true - } - }, - "ipRules": { - "type": "array", - "items": { - "$ref": "#/definitions/IPRule" - } - } - }, - "required": [ - "defaultAction" - ] - }, - "ParentProperties": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "arm-id" - }, - "syncProperties": { - "$ref": "#/definitions/SyncProperties" - } - }, - "required": [ - "syncProperties" - ] - }, - "PipelineRun": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/PipelineRunProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "PipelineRunListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/PipelineRun" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "PipelineRunProperties": { - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "request": { - "$ref": "#/definitions/PipelineRunRequest" - }, - "response": { - "$ref": "#/definitions/PipelineRunResponse", - "readOnly": true - }, - "forceUpdateTag": { - "type": "string" - } - } - }, - "PipelineRunRequest": { - "type": "object", - "properties": { - "pipelineResourceId": { - "type": "string" - }, - "artifacts": { - "type": "array", - "items": { - "type": "string" - } - }, - "source": { - "$ref": "#/definitions/PipelineRunSourceProperties" - }, - "target": { - "$ref": "#/definitions/PipelineRunTargetProperties" - }, - "catalogDigest": { - "type": "string" - } - } - }, - "PipelineRunResponse": { - "type": "object", - "properties": { - "status": { - "type": "string" - }, - "importedArtifacts": { - "type": "array", - "items": { - "type": "string" - } - }, - "progress": { - "$ref": "#/definitions/ProgressProperties" - }, - "startTime": { - "type": "string", - "format": "date-time" - }, - "finishTime": { - "type": "string", - "format": "date-time" - }, - "source": { - "$ref": "#/definitions/ImportPipelineSourceProperties" - }, - "target": { - "$ref": "#/definitions/ExportPipelineTargetProperties" - }, - "catalogDigest": { - "type": "string" - }, - "trigger": { - "$ref": "#/definitions/PipelineTriggerDescriptor" - }, - "pipelineRunErrorMessage": { - "type": "string" - } - } - }, - "PipelineRunSourceProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "default": "AzureStorageBlob", - "enum": [ - "AzureStorageBlob" - ], - "x-ms-enum": { - "name": "PipelineRunSourceType", - "modelAsString": true - } - }, - "name": { - "type": "string" - } - } - }, - "PipelineRunTargetProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "default": "AzureStorageBlob", - "enum": [ - "AzureStorageBlob" - ], - "x-ms-enum": { - "name": "PipelineRunTargetType", - "modelAsString": true - } - }, - "name": { - "type": "string" - } - } - }, - "PipelineSourceTriggerDescriptor": { - "type": "object", - "properties": { - "timestamp": { - "type": "string", - "format": "date-time" - } - } - }, - "PipelineSourceTriggerProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true - } - } - }, - "required": [ - "status" - ] - }, - "PipelineTriggerDescriptor": { - "type": "object", - "properties": { - "sourceTrigger": { - "$ref": "#/definitions/PipelineSourceTriggerDescriptor" - } - } - }, - "PipelineTriggerProperties": { - "type": "object", - "properties": { - "sourceTrigger": { - "$ref": "#/definitions/PipelineSourceTriggerProperties" - } - } - }, - "Policies": { - "type": "object", - "properties": { - "quarantinePolicy": { - "$ref": "#/definitions/QuarantinePolicy" - }, - "trustPolicy": { - "$ref": "#/definitions/TrustPolicy" - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy" - }, - "exportPolicy": { - "$ref": "#/definitions/ExportPolicy" - }, - "azureADAuthenticationAsArmPolicy": { - "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy" - }, - "softDeletePolicy": { - "$ref": "#/definitions/SoftDeletePolicy" - } - } - }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "PrivateEndpointConnection": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "PrivateEndpointConnectionListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "PrivateLinkResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "PrivateLinkResourceListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "PrivateLinkResourceProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string" - }, - "requiredMembers": { - "type": "array", - "items": { - "type": "string" - } - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ], - "x-ms-enum": { - "name": "ConnectionStatus", - "modelAsString": true - } - }, - "description": { - "type": "string" - }, - "actionsRequired": { - "type": "string", - "enum": [ - "None", - "Recreate" - ], - "x-ms-enum": { - "name": "ActionsRequired", - "modelAsString": true - } - } - } - }, - "ProgressProperties": { - "type": "object", - "properties": { - "percentage": { - "type": "string" - } - } - }, - "QuarantinePolicy": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "RegenerateCredentialParameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "password", - "password2" - ], - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } - } - }, - "required": [ - "name" - ] - }, - "Registry": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/RegistryProperties", - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/Sku" - }, - "identity": { - "$ref": "#/definitions/IdentityProperties" - } - }, - "required": [ - "sku" - ], - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "RegistryListCredentialsResult": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/RegistryPassword" - } - } - } - }, - "RegistryListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Registry" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "RegistryNameCheckRequest": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ContainerRegistry/registries" - ], - "x-ms-enum": { - "modelAsString": false - } - }, - "resourceGroupName": { - "type": "string", - "minLength": 1, - "maxLength": 90 - }, - "autoGeneratedDomainNameLabelScope": { - "type": "string", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true - } - } - }, - "required": [ - "name", - "type" - ] - }, - "RegistryNameStatus": { - "type": "object", - "properties": { - "availableLoginServerName": { - "type": "string" - }, - "nameAvailable": { - "type": "boolean" - }, - "reason": { - "type": "string" - }, - "message": { - "type": "string" - } - } - }, - "RegistryPassword": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "password", - "password2" - ], - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } - }, - "value": { - "type": "string" - } - } - }, - "RegistryProperties": { - "type": "object", - "properties": { - "loginServer": { - "type": "string", - "readOnly": true - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "status": { - "$ref": "#/definitions/Status", - "readOnly": true - }, - "adminUserEnabled": { - "type": "boolean" - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet" - }, - "policies": { - "$ref": "#/definitions/Policies" - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty" - }, - "dataEndpointEnabled": { - "type": "boolean" - }, - "dataEndpointHostNames": { - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "privateEndpointConnections": { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "readOnly": true - }, - "publicNetworkAccess": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } - }, - "networkRuleBypassOptions": { - "type": "string", - "enum": [ - "AzureServices", - "None" - ], - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } - }, - "networkRuleBypassAllowedForTasks": { - "type": "boolean" - }, - "zoneRedundancy": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } - }, - "anonymousPullEnabled": { - "type": "boolean" - }, - "metadataSearch": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true - } - }, - "autoGeneratedDomainNameLabelScope": { - "type": "string", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true - } - }, - "roleAssignmentMode": { - "type": "string", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } - } - } - }, - "RegistryPropertiesUpdateParameters": { - "type": "object", - "properties": { - "adminUserEnabled": { - "type": "boolean" - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet" - }, - "policies": { - "$ref": "#/definitions/Policies" - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty" - }, - "dataEndpointEnabled": { - "type": "boolean" - }, - "publicNetworkAccess": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } - }, - "networkRuleBypassOptions": { - "type": "string", - "enum": [ - "AzureServices", - "None" - ], - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } - }, - "networkRuleBypassAllowedForTasks": { - "type": "boolean" - }, - "anonymousPullEnabled": { - "type": "boolean" - }, - "metadataSearch": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true - } - }, - "roleAssignmentMode": { - "type": "string", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } - } - } - }, - "RegistryUpdateParameters": { - "type": "object", - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "sku": { - "$ref": "#/definitions/Sku" - }, - "properties": { - "$ref": "#/definitions/RegistryPropertiesUpdateParameters", - "x-ms-client-flatten": true - } - } - }, - "RegistryUsage": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "currentValue": { - "type": "integer", - "format": "int64" - }, - "unit": { - "type": "string", - "enum": [ - "Count", - "Bytes" - ], - "x-ms-enum": { - "name": "RegistryUsageUnit", - "modelAsString": true - } - } - } - }, - "RegistryUsageListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RegistryUsage" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "Replication": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ReplicationProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "ReplicationListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Replication" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ReplicationProperties": { - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "status": { - "$ref": "#/definitions/Status", - "readOnly": true - }, - "regionEndpointEnabled": { - "type": "boolean", - "default": true - }, - "zoneRedundancy": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } - } - } - }, - "ReplicationUpdateParameters": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/ReplicationUpdateParametersProperties", - "x-ms-client-flatten": true - } - } - }, - "ReplicationUpdateParametersProperties": { - "type": "object", - "properties": { - "regionEndpointEnabled": { - "type": "boolean" - } - } - }, - "Request": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "addr": { - "type": "string" - }, - "host": { - "type": "string" - }, - "method": { - "type": "string" - }, - "useragent": { - "type": "string" - } - } - }, - "RetentionPolicy": { - "type": "object", - "properties": { - "days": { - "type": "integer", - "format": "int32", - "default": 7 - }, - "lastUpdatedTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "ScopeMap": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ScopeMapListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ScopeMap" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ScopeMapProperties": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "type": { - "type": "string", - "readOnly": true - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "actions": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "actions" - ] - }, - "ScopeMapPropertiesUpdateParameters": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ScopeMapUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", - "x-ms-client-flatten": true - } - } - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - "tier": { - "type": "string", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - }, - "readOnly": true - } - }, - "required": [ - "name" - ] - }, - "SoftDeletePolicy": { - "type": "object", - "properties": { - "retentionDays": { - "type": "integer", - "format": "int32", - "default": 7 - }, - "lastUpdatedTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "Source": { - "type": "object", - "properties": { - "addr": { - "type": "string" - }, - "instanceID": { - "type": "string" - } - } - }, - "Status": { - "type": "object", - "properties": { - "displayStatus": { - "type": "string", - "readOnly": true - }, - "message": { - "type": "string", - "readOnly": true - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "StatusDetailProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "readOnly": true - }, - "code": { - "type": "string", - "readOnly": true - }, - "description": { - "type": "string", - "readOnly": true - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "correlationId": { - "type": "string", - "readOnly": true - } - } - }, - "SyncProperties": { - "type": "object", - "properties": { - "tokenId": { - "type": "string" - }, - "schedule": { - "type": "string" - }, - "syncWindow": { - "type": "string", - "format": "duration" - }, - "messageTtl": { - "type": "string", - "format": "duration" - }, - "lastSyncTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "gatewayEndpoint": { - "type": "string", - "readOnly": true - } - }, - "required": [ - "messageTtl", - "tokenId" - ] - }, - "SyncUpdateProperties": { - "type": "object", - "properties": { - "schedule": { - "type": "string" - }, - "syncWindow": { - "type": "string", - "format": "duration" - }, - "messageTtl": { - "type": "string", - "format": "duration" - } - } - }, - "Target": { - "type": "object", - "properties": { - "mediaType": { - "type": "string" - }, - "size": { - "type": "integer", - "format": "int64" - }, - "digest": { - "type": "string" - }, - "length": { - "type": "integer", - "format": "int64" - }, - "repository": { - "type": "string" - }, - "url": { - "type": "string" - }, - "tag": { - "type": "string" - }, - "name": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "TlsCertificateProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "LocalDirectory" - ], - "x-ms-enum": { - "name": "CertificateType", - "modelAsString": true - }, - "readOnly": true - }, - "location": { - "type": "string", - "readOnly": true - } - } - }, - "TlsProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "TlsStatus", - "modelAsString": true - }, - "readOnly": true - }, - "certificate": { - "$ref": "#/definitions/TlsCertificateProperties", - "readOnly": true - } - } - }, - "Token": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/TokenProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "TokenCertificate": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "certificate1", - "certificate2" - ], - "x-ms-enum": { - "name": "TokenCertificateName", - "modelAsString": true - } - }, - "expiry": { - "type": "string", - "format": "date-time" - }, - "thumbprint": { - "type": "string" - }, - "encodedPemCertificate": { - "type": "string" - } - } - }, - "TokenCredentialsProperties": { - "type": "object", - "properties": { - "certificates": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenCertificate" - }, - "x-ms-identifiers": [ - "thumbprint" - ] - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - } - } - } - }, - "TokenListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Token" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "TokenPassword": { - "type": "object", - "properties": { - "creationTime": { - "type": "string", - "format": "date-time" - }, - "expiry": { - "type": "string", - "format": "date-time" - }, - "name": { - "type": "string", - "enum": [ - "password1", - "password2" - ], - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } - }, - "value": { - "type": "string", - "readOnly": true - } - } - }, - "TokenProperties": { - "type": "object", - "properties": { - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "scopeMapId": { - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties" - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } - } - } - }, - "TokenUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/TokenUpdateProperties", - "x-ms-client-flatten": true - } - } - }, - "TokenUpdateProperties": { - "type": "object", - "properties": { - "scopeMapId": { - "type": "string" - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties" - } - } - }, - "TrustPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "default": "Notary", - "enum": [ - "Notary" - ], - "x-ms-enum": { - "name": "TrustPolicyType", - "modelAsString": true - } - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "TypeSpec.Http.OkResponse": { - "type": "object" - }, - "UserIdentityProperties": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "readOnly": true - }, - "clientId": { - "type": "string", - "readOnly": true - } - } - }, - "Webhook": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/WebhookProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "WebhookCreateParameters": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "location": { - "type": "string" - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesCreateParameters", - "x-ms-client-flatten": true - } - }, - "required": [ - "location" - ] - }, - "WebhookListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Webhook" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "WebhookProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - }, - "required": [ - "actions" - ] - }, - "WebhookPropertiesCreateParameters": { - "type": "object", - "properties": { - "serviceUri": { - "type": "string" - }, - "customHeaders": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - }, - "required": [ - "actions", - "serviceUri" - ] - }, - "WebhookPropertiesUpdateParameters": { - "type": "object", - "properties": { - "serviceUri": { - "type": "string" - }, - "customHeaders": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - } - }, - "WebhookUpdateParameters": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesUpdateParameters", - "x-ms-client-flatten": true - } - } - } - }, - "parameters": {} -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/oldNormalizedSwagger.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/oldNormalizedSwagger.json deleted file mode 100644 index 44ab591468a4..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/oldNormalizedSwagger.json +++ /dev/null @@ -1,7135 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ContainerRegistryManagementClient", - "version": "2025-05-01-preview" - }, - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "paths": { - "/providers/microsoft.ContainerRegistry/operations": { - "get": { - "operationId": "Operations_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - } - }, - "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/checkNameAvailability": { - "post": { - "operationId": "Registries_CheckNameAvailability", - "parameters": [ - { - "name": "registryNameCheckRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryNameCheckRequest" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryNameStatus" - } - } - }, - "x-ms-examples": { - "RegistryCheckNameAvailable": { - "$ref": "./examples/RegistryCheckNameAvailable.json" - }, - "RegistryCheckNameNotAvailable": { - "$ref": "./examples/RegistryCheckNameNotAvailable.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/registries": { - "get": { - "operationId": "Registries_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListResult" - } - } - }, - "x-ms-examples": { - "RegistryList": { - "$ref": "./examples/RegistryList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries": { - "get": { - "operationId": "Registries_ListByResourceGroup", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListResult" - } - } - }, - "x-ms-examples": { - "RegistryListByResourceGroup": { - "$ref": "./examples/RegistryListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}": { - "get": { - "operationId": "Registries_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - } - } - }, - "x-ms-examples": { - "RegistryGet": { - "$ref": "./examples/RegistryGet.json" - } - } - }, - "put": { - "operationId": "Registries_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "registry", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Registry" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "RegistryCreate": { - "$ref": "./examples/RegistryCreate.json" - }, - "RegistryCreateAbac": { - "$ref": "./examples/RegistryCreateAbac.json" - }, - "RegistryCreateDomainNameLabelScope": { - "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" - }, - "RegistryCreateZoneRedundant": { - "$ref": "./examples/RegistryCreateZoneRedundant.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Registries_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "registryUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "RegistryUpdate": { - "$ref": "./examples/RegistryUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Registries_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - } - }, - "x-ms-examples": { - "RegistryDelete": { - "$ref": "./examples/RegistryDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { - "get": { - "operationId": "CacheRules_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRulesListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleList": { - "$ref": "./examples/CacheRuleList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { - "get": { - "operationId": "CacheRules_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleGet": { - "$ref": "./examples/CacheRuleGet.json" - } - } - }, - "put": { - "operationId": "CacheRules_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "cacheRuleCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRule" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleCreate": { - "$ref": "./examples/CacheRuleCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CacheRules_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "cacheRuleUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRuleUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleUpdate": { - "$ref": "./examples/CacheRuleUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CacheRules_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleDelete": { - "$ref": "./examples/CacheRuleDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { - "get": { - "operationId": "ConnectedRegistries_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "$filter", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistryListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryList": { - "$ref": "./examples/ConnectedRegistryList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { - "get": { - "operationId": "ConnectedRegistries_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryGet": { - "$ref": "./examples/ConnectedRegistryGet.json" - } - } - }, - "put": { - "operationId": "ConnectedRegistries_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryCreate": { - "$ref": "./examples/ConnectedRegistryCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ConnectedRegistries_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectedRegistryUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryUpdate": { - "$ref": "./examples/ConnectedRegistryUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ConnectedRegistries_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryDelete": { - "$ref": "./examples/ConnectedRegistryDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { - "post": { - "operationId": "ConnectedRegistries_Deactivate", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryDeactivate": { - "$ref": "./examples/ConnectedRegistryDeactivate.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { - "get": { - "operationId": "CredentialSets_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSetListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetList": { - "$ref": "./examples/CredentialSetList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { - "get": { - "operationId": "CredentialSets_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetGet": { - "$ref": "./examples/CredentialSetGet.json" - } - } - }, - "put": { - "operationId": "CredentialSets_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "credentialSetCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CredentialSet" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetCreate": { - "$ref": "./examples/CredentialSetCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CredentialSets_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "credentialSetUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CredentialSetUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetUpdate": { - "$ref": "./examples/CredentialSetUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CredentialSets_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetDelete": { - "$ref": "./examples/CredentialSetDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines": { - "get": { - "operationId": "ExportPipelines_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ExportPipelineListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineList": { - "$ref": "./examples/ExportPipelineList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { - "get": { - "operationId": "ExportPipelines_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineGet": { - "$ref": "./examples/ExportPipelineGet.json" - } - } - }, - "put": { - "operationId": "ExportPipelines_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ExportPipeline" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineCreate": { - "$ref": "./examples/ExportPipelineCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExportPipelines_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineDelete": { - "$ref": "./examples/ExportPipelineDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { - "post": { - "operationId": "Registries_GenerateCredentials", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "generateCredentialsParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GenerateCredentialsParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/GenerateCredentialsResult" - } - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGenerateCredentials": { - "$ref": "./examples/RegistryGenerateCredentials.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage": { - "post": { - "operationId": "Registries_ImportImage", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ImportImageParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ImportImageByManifestDigest": { - "$ref": "./examples/ImportImageByManifestDigest.json" - }, - "ImportImageByTag": { - "$ref": "./examples/ImportImageByTag.json" - }, - "ImportImageFromPublicRegistry": { - "$ref": "./examples/ImportImageFromPublicRegistry.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { - "get": { - "operationId": "ImportPipelines_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ImportPipelineListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineList": { - "$ref": "./examples/ImportPipelineList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { - "get": { - "operationId": "ImportPipelines_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineGet": { - "$ref": "./examples/ImportPipelineGet.json" - } - } - }, - "put": { - "operationId": "ImportPipelines_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ImportPipeline" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineCreate": { - "$ref": "./examples/ImportPipelineCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ImportPipelines_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineDelete": { - "$ref": "./examples/ImportPipelineDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { - "post": { - "operationId": "Registries_ListCredentials", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - } - }, - "x-ms-examples": { - "RegistryListCredentials": { - "$ref": "./examples/RegistryListCredentials.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listUsages": { - "get": { - "operationId": "Registries_ListUsages", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryUsageListResult" - } - } - }, - "x-ms-examples": { - "RegistryListUsages": { - "$ref": "./examples/RegistryListUsages.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { - "get": { - "operationId": "Archives_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ArchiveListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveList": { - "$ref": "./examples/ArchiveList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { - "get": { - "operationId": "Archives_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveGet": { - "$ref": "./examples/ArchiveGet.json" - } - } - }, - "put": { - "operationId": "Archives_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Archive" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Archive" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveCreate": { - "$ref": "./examples/ArchiveCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Archives_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ArchiveUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveUpdate": { - "$ref": "./examples/ArchiveUpdate.json" - } - } - }, - "delete": { - "operationId": "Archives_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveDelete": { - "$ref": "./examples/ArchiveDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { - "get": { - "operationId": "ArchiveVersions_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ArchiveVersionListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionList": { - "$ref": "./examples/ArchiveVersionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { - "get": { - "operationId": "ArchiveVersions_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveVersionName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionGet": { - "$ref": "./examples/ArchiveVersionGet.json" - } - } - }, - "put": { - "operationId": "ArchiveVersions_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveVersionName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionCreate": { - "$ref": "./examples/ArchiveVersionCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ArchiveVersions_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveVersionName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionDelete": { - "$ref": "./examples/ArchiveVersionDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { - "get": { - "operationId": "PipelineRuns_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PipelineRunListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunList": { - "$ref": "./examples/PipelineRunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { - "get": { - "operationId": "PipelineRuns_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PipelineRun" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunGet": { - "$ref": "./examples/PipelineRunGet.json" - } - } - }, - "put": { - "operationId": "PipelineRuns_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PipelineRun" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PipelineRun" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PipelineRun" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunCreate_Export": { - "$ref": "./examples/PipelineRunCreate_Export.json" - }, - "PipelineRunCreate_Import": { - "$ref": "./examples/PipelineRunCreate_Import.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "PipelineRuns_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunDelete": { - "$ref": "./examples/PipelineRunDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { - "get": { - "operationId": "PrivateEndpointConnections_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResult" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionList": { - "$ref": "./examples/PrivateEndpointConnectionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "operationId": "PrivateEndpointConnections_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionGet": { - "$ref": "./examples/PrivateEndpointConnectionGet.json" - } - } - }, - "put": { - "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnection", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionCreateOrUpdate": { - "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "PrivateEndpointConnections_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionDelete": { - "$ref": "./examples/PrivateEndpointConnectionDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { - "get": { - "operationId": "Registries_ListPrivateLinkResources", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" - } - } - }, - "x-ms-examples": { - "RegistryListPrivateLinkResources": { - "$ref": "./examples/RegistryListPrivateLinkResources.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { - "get": { - "operationId": "Registries_GetPrivateLinkResource", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "groupName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGetPrivateLinkResource": { - "$ref": "./examples/RegistryGetPrivateLinkResource.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { - "post": { - "operationId": "Registries_RegenerateCredential", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "regenerateCredentialParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RegenerateCredentialParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - } - }, - "x-ms-examples": { - "RegistryRegenerateCredential": { - "$ref": "./examples/RegistryRegenerateCredential.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications": { - "get": { - "operationId": "Replications_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ReplicationListResult" - } - } - }, - "x-ms-examples": { - "ReplicationList": { - "$ref": "./examples/ReplicationList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { - "get": { - "operationId": "Replications_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - } - } - }, - "x-ms-examples": { - "ReplicationGet": { - "$ref": "./examples/ReplicationGet.json" - } - } - }, - "put": { - "operationId": "Replications_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replication", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Replication" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ReplicationCreate": { - "$ref": "./examples/ReplicationCreate.json" - }, - "ReplicationCreateZoneRedundant": { - "$ref": "./examples/ReplicationCreateZoneRedundant.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Replications_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ReplicationUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ReplicationUpdate": { - "$ref": "./examples/ReplicationUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Replications_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - } - }, - "x-ms-examples": { - "ReplicationDelete": { - "$ref": "./examples/ReplicationDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { - "get": { - "operationId": "ScopeMaps_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMapListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapList": { - "$ref": "./examples/ScopeMapList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { - "get": { - "operationId": "ScopeMaps_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapGet": { - "$ref": "./examples/ScopeMapGet.json" - } - } - }, - "put": { - "operationId": "ScopeMaps_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - }, - { - "name": "scopeMapCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeMap" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapCreate": { - "$ref": "./examples/ScopeMapCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ScopeMaps_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - }, - { - "name": "scopeMapUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeMapUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapUpdate": { - "$ref": "./examples/ScopeMapUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ScopeMaps_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapDelete": { - "$ref": "./examples/ScopeMapDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens": { - "get": { - "operationId": "Tokens_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/TokenListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenList": { - "$ref": "./examples/TokenList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { - "get": { - "operationId": "Tokens_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenGet": { - "$ref": "./examples/TokenGet.json" - } - } - }, - "put": { - "operationId": "Tokens_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "tokenCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Token" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenCreate": { - "$ref": "./examples/TokenCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Tokens_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "tokenUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TokenUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenUpdate": { - "$ref": "./examples/TokenUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Tokens_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenDelete": { - "$ref": "./examples/TokenDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks": { - "get": { - "operationId": "Webhooks_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/WebhookListResult" - } - } - }, - "x-ms-examples": { - "WebhookList": { - "$ref": "./examples/WebhookList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { - "get": { - "operationId": "Webhooks_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - } - } - }, - "x-ms-examples": { - "WebhookGet": { - "$ref": "./examples/WebhookGet.json" - } - } - }, - "put": { - "operationId": "Webhooks_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/WebhookCreateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "WebhookCreate": { - "$ref": "./examples/WebhookCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Webhooks_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/WebhookUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "WebhookUpdate": { - "$ref": "./examples/WebhookUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Webhooks_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - } - }, - "x-ms-examples": { - "WebhookDelete": { - "$ref": "./examples/WebhookDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { - "post": { - "operationId": "Webhooks_GetCallbackConfig", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CallbackConfig" - } - } - }, - "x-ms-examples": { - "WebhookGetCallbackConfig": { - "$ref": "./examples/WebhookGetCallbackConfig.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { - "post": { - "operationId": "Webhooks_ListEvents", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/EventListResult" - } - } - }, - "x-ms-examples": { - "WebhookListEvents": { - "$ref": "./examples/WebhookListEvents.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { - "post": { - "operationId": "Webhooks_Ping", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/EventInfo" - } - } - }, - "x-ms-examples": { - "WebhookPing": { - "$ref": "./examples/WebhookPing.json" - } - } - } - } - }, - "definitions": { - "ActivationProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Active", - "Inactive" - ], - "x-ms-enum": { - "name": "ActivationStatus", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "ActiveDirectoryObject": { - "type": "object", - "properties": { - "objectId": { - "type": "string" - }, - "tenantId": { - "type": "string" - } - } - }, - "Actor": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - } - }, - "Archive": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "ArchiveListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Archive" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ArchivePackageSourceProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "remote" - ], - "x-ms-enum": { - "name": "PackageSourceType", - "modelAsString": true - } - }, - "url": { - "type": "string" - } - } - }, - "ArchiveProperties": { - "type": "object", - "properties": { - "packageSource": { - "$ref": "#/definitions/ArchivePackageSourceProperties" - }, - "publishedVersion": { - "type": "string" - }, - "repositoryEndpointPrefix": { - "type": "string" - }, - "repositoryEndpoint": { - "type": "string", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "ArchiveUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveUpdateProperties", - "x-ms-client-flatten": true - } - } - }, - "ArchiveUpdateProperties": { - "type": "object", - "properties": { - "publishedVersion": { - "type": "string" - } - } - }, - "ArchiveVersion": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveVersionProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "ArchiveVersionListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ArchiveVersionProperties": { - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "archiveVersionErrorMessage": { - "type": "string" - } - } - }, - "AuthCredential": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "Credential1" - ], - "x-ms-enum": { - "name": "CredentialName", - "modelAsString": true - } - }, - "usernameSecretIdentifier": { - "type": "string" - }, - "passwordSecretIdentifier": { - "type": "string" - }, - "credentialHealth": { - "$ref": "#/definitions/CredentialHealth", - "readOnly": true - } - } - }, - "AzureADAuthenticationAsArmPolicy": { - "type": "object", - "properties": { - "status": { - "type": "string", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "AzureADAuthenticationAsArmPolicyStatus", - "modelAsString": true - } - } - } - }, - "CacheRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CacheRuleProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "CacheRuleProperties": { - "type": "object", - "properties": { - "credentialSetResourceId": { - "type": "string" - }, - "sourceRepository": { - "type": "string" - }, - "targetRepository": { - "type": "string" - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "CacheRuleUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CacheRuleUpdateProperties", - "x-ms-client-flatten": true - } - } - }, - "CacheRuleUpdateProperties": { - "type": "object", - "properties": { - "credentialSetResourceId": { - "type": "string" - } - } - }, - "CacheRulesListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/CacheRule" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "CallbackConfig": { - "type": "object", - "properties": { - "serviceUri": { - "type": "string" - }, - "customHeaders": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "serviceUri" - ] - }, - "ConnectedRegistry": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "ConnectedRegistryListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ConnectedRegistryProperties": { - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "mode": { - "type": "string", - "enum": [ - "ReadWrite", - "ReadOnly", - "Registry", - "Mirror" - ], - "x-ms-enum": { - "name": "ConnectedRegistryMode", - "modelAsString": true - } - }, - "version": { - "type": "string", - "readOnly": true - }, - "connectionState": { - "type": "string", - "enum": [ - "Online", - "Offline", - "Syncing", - "Unhealthy" - ], - "x-ms-enum": { - "name": "ConnectionState", - "modelAsString": true - }, - "readOnly": true - }, - "lastActivityTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "activation": { - "$ref": "#/definitions/ActivationProperties", - "readOnly": true - }, - "parent": { - "$ref": "#/definitions/ParentProperties" - }, - "clientTokenIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "loginServer": { - "$ref": "#/definitions/LoginServerProperties" - }, - "logging": { - "$ref": "#/definitions/LoggingProperties" - }, - "statusDetails": { - "type": "array", - "items": { - "$ref": "#/definitions/StatusDetailProperties" - }, - "readOnly": true, - "x-ms-identifiers": [ - "correlationId" - ] - }, - "notificationsList": { - "type": "array", - "items": { - "type": "string" - } - }, - "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" - } - }, - "required": [ - "mode", - "parent" - ] - }, - "ConnectedRegistryUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryUpdateProperties", - "x-ms-client-flatten": true - } - } - }, - "ConnectedRegistryUpdateProperties": { - "type": "object", - "properties": { - "syncProperties": { - "$ref": "#/definitions/SyncUpdateProperties" - }, - "logging": { - "$ref": "#/definitions/LoggingProperties" - }, - "clientTokenIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "notificationsList": { - "type": "array", - "items": { - "type": "string" - } - }, - "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" - } - } - }, - "CredentialHealth": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Healthy", - "Unhealthy" - ], - "x-ms-enum": { - "name": "CredentialHealthStatus", - "modelAsString": true - } - }, - "errorCode": { - "type": "string" - }, - "errorMessage": { - "type": "string" - } - } - }, - "CredentialSet": { - "type": "object", - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties" - }, - "properties": { - "$ref": "#/definitions/CredentialSetProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "CredentialSetListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/CredentialSet" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "CredentialSetProperties": { - "type": "object", - "properties": { - "loginServer": { - "type": "string" - }, - "authCredentials": { - "type": "array", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "CredentialSetUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetUpdateProperties", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/IdentityProperties" - } - } - }, - "CredentialSetUpdateProperties": { - "type": "object", - "properties": { - "authCredentials": { - "type": "array", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "DebianArchivePackageSourceProperties": { - "type": "object", - "properties": { - "distributionName": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ArchivePackageSourceProperties" - } - ] - }, - "DebianArchiveProperties": { - "type": "object", - "properties": { - "distributionName": { - "type": "string" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ArchiveProperties" - } - ] - }, - "EncryptionProperty": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "EncryptionStatus", - "modelAsString": true - } - }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties" - } - } - }, - "Event": { - "type": "object", - "properties": { - "eventRequestMessage": { - "$ref": "#/definitions/EventRequestMessage" - }, - "eventResponseMessage": { - "$ref": "#/definitions/EventResponseMessage" - } - }, - "allOf": [ - { - "$ref": "#/definitions/EventInfo" - } - ] - }, - "EventContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "timestamp": { - "type": "string", - "format": "date-time" - }, - "action": { - "type": "string" - }, - "target": { - "$ref": "#/definitions/Target" - }, - "request": { - "$ref": "#/definitions/Request" - }, - "actor": { - "$ref": "#/definitions/Actor" - }, - "source": { - "$ref": "#/definitions/Source" - } - } - }, - "EventInfo": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "EventListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Event" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "EventRequestMessage": { - "type": "object", - "properties": { - "content": { - "$ref": "#/definitions/EventContent" - }, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "method": { - "type": "string" - }, - "requestUri": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "EventResponseMessage": { - "type": "object", - "properties": { - "content": { - "type": "string" - }, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "reasonPhrase": { - "type": "string" - }, - "statusCode": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "ExportPipeline": { - "type": "object", - "properties": { - "location": { - "type": "string" - }, - "identity": { - "$ref": "#/definitions/IdentityProperties" - }, - "properties": { - "$ref": "#/definitions/ExportPipelineProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "ExportPipelineListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ExportPipelineProperties": { - "type": "object", - "properties": { - "target": { - "$ref": "#/definitions/ExportPipelineTargetProperties" - }, - "options": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true - } - } - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - }, - "required": [ - "target" - ] - }, - "ExportPipelineTargetProperties": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "uri": { - "type": "string" - }, - "keyVaultUri": { - "type": "string" - } - }, - "required": [ - "keyVaultUri" - ] - }, - "ExportPolicy": { - "type": "object", - "properties": { - "status": { - "type": "string", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "ExportPolicyStatus", - "modelAsString": true - } - } - } - }, - "GarbageCollectionProperties": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "schedule": { - "type": "string" - } - } - }, - "GenerateCredentialsParameters": { - "type": "object", - "properties": { - "tokenId": { - "type": "string" - }, - "expiry": { - "type": "string", - "format": "date-time" - }, - "name": { - "type": "string", - "enum": [ - "password1", - "password2" - ], - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } - } - } - }, - "GenerateCredentialsResult": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - } - } - } - }, - "IPRule": { - "type": "object", - "properties": { - "action": { - "type": "string", - "default": "Allow", - "enum": [ - "Allow" - ], - "x-ms-enum": { - "name": "Action", - "modelAsString": true - } - }, - "value": { - "type": "string", - "x-ms-client-name": "IPAddressOrRange" - } - }, - "required": [ - "value" - ] - }, - "IdentityProperties": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "readOnly": true - }, - "tenantId": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } - } - } - }, - "ImportImageParameters": { - "type": "object", - "properties": { - "source": { - "$ref": "#/definitions/ImportSource" - }, - "targetTags": { - "type": "array", - "items": { - "type": "string" - } - }, - "untaggedTargetRepositories": { - "type": "array", - "items": { - "type": "string" - } - }, - "mode": { - "type": "string", - "default": "NoForce", - "enum": [ - "NoForce", - "Force" - ], - "x-ms-enum": { - "name": "ImportMode", - "modelAsString": true - } - } - }, - "required": [ - "source" - ] - }, - "ImportPipeline": { - "type": "object", - "properties": { - "location": { - "type": "string" - }, - "identity": { - "$ref": "#/definitions/IdentityProperties" - }, - "properties": { - "$ref": "#/definitions/ImportPipelineProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "ImportPipelineListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ImportPipelineProperties": { - "type": "object", - "properties": { - "source": { - "$ref": "#/definitions/ImportPipelineSourceProperties" - }, - "trigger": { - "$ref": "#/definitions/PipelineTriggerProperties" - }, - "options": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true - } - } - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - }, - "required": [ - "source" - ] - }, - "ImportPipelineSourceProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "default": "AzureStorageBlobContainer", - "enum": [ - "AzureStorageBlobContainer" - ], - "x-ms-enum": { - "name": "PipelineSourceType", - "modelAsString": true - } - }, - "uri": { - "type": "string" - }, - "keyVaultUri": { - "type": "string" - } - }, - "required": [ - "keyVaultUri" - ] - }, - "ImportSource": { - "type": "object", - "properties": { - "resourceId": { - "type": "string" - }, - "registryUri": { - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/ImportSourceCredentials" - }, - "sourceImage": { - "type": "string" - } - }, - "required": [ - "sourceImage" - ] - }, - "ImportSourceCredentials": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "password": { - "type": "string" - } - }, - "required": [ - "password" - ] - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "keyIdentifier": { - "type": "string" - }, - "versionedKeyIdentifier": { - "type": "string", - "readOnly": true - }, - "identity": { - "type": "string" - }, - "keyRotationEnabled": { - "type": "boolean", - "readOnly": true - }, - "lastKeyRotationTimestamp": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "LoggingProperties": { - "type": "object", - "properties": { - "logLevel": { - "type": "string", - "default": "Information", - "enum": [ - "Debug", - "Information", - "Warning", - "Error", - "None" - ], - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": true - } - }, - "auditLogStatus": { - "type": "string", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "AuditLogStatus", - "modelAsString": true - } - } - } - }, - "LoginServerProperties": { - "type": "object", - "properties": { - "host": { - "type": "string", - "readOnly": true - }, - "tls": { - "$ref": "#/definitions/TlsProperties", - "readOnly": true - } - } - }, - "NetworkRuleSet": { - "type": "object", - "properties": { - "defaultAction": { - "type": "string", - "default": "Allow", - "enum": [ - "Allow", - "Deny" - ], - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": true - } - }, - "ipRules": { - "type": "array", - "items": { - "$ref": "#/definitions/IPRule" - } - } - }, - "required": [ - "defaultAction" - ] - }, - "OperationDefinition": { - "type": "object", - "properties": { - "origin": { - "type": "string" - }, - "name": { - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayDefinition" - }, - "properties": { - "$ref": "#/definitions/OperationPropertiesDefinition", - "x-ms-client-flatten": true - }, - "isDataAction": { - "type": "boolean" - } - } - }, - "OperationDisplayDefinition": { - "type": "object", - "properties": { - "provider": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "operation": { - "type": "string" - }, - "description": { - "type": "string" - } - } - }, - "OperationListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/OperationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "OperationLogSpecificationDefinition": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "blobDuration": { - "type": "string" - } - } - }, - "OperationMetricSpecificationDefinition": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "displayDescription": { - "type": "string" - }, - "unit": { - "type": "string" - }, - "aggregationType": { - "type": "string" - }, - "internalMetricName": { - "type": "string" - } - } - }, - "OperationPropertiesDefinition": { - "type": "object", - "properties": { - "serviceSpecification": { - "$ref": "#/definitions/OperationServiceSpecificationDefinition" - } - } - }, - "OperationServiceSpecificationDefinition": { - "type": "object", - "properties": { - "metricSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/OperationMetricSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "logSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/OperationLogSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "PackageType": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "endpoint": { - "type": "string", - "readOnly": true - } - } - }, - "ParentProperties": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "arm-id" - }, - "syncProperties": { - "$ref": "#/definitions/SyncProperties" - } - }, - "required": [ - "syncProperties" - ] - }, - "PipelineRun": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/PipelineRunProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "PipelineRunListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/PipelineRun" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "PipelineRunProperties": { - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "request": { - "$ref": "#/definitions/PipelineRunRequest" - }, - "response": { - "$ref": "#/definitions/PipelineRunResponse", - "readOnly": true - }, - "forceUpdateTag": { - "type": "string" - } - } - }, - "PipelineRunRequest": { - "type": "object", - "properties": { - "pipelineResourceId": { - "type": "string" - }, - "artifacts": { - "type": "array", - "items": { - "type": "string" - } - }, - "source": { - "$ref": "#/definitions/PipelineRunSourceProperties" - }, - "target": { - "$ref": "#/definitions/PipelineRunTargetProperties" - }, - "catalogDigest": { - "type": "string" - } - } - }, - "PipelineRunResponse": { - "type": "object", - "properties": { - "status": { - "type": "string" - }, - "importedArtifacts": { - "type": "array", - "items": { - "type": "string" - } - }, - "progress": { - "$ref": "#/definitions/ProgressProperties" - }, - "startTime": { - "type": "string", - "format": "date-time" - }, - "finishTime": { - "type": "string", - "format": "date-time" - }, - "source": { - "$ref": "#/definitions/ImportPipelineSourceProperties" - }, - "target": { - "$ref": "#/definitions/ExportPipelineTargetProperties" - }, - "catalogDigest": { - "type": "string" - }, - "trigger": { - "$ref": "#/definitions/PipelineTriggerDescriptor" - }, - "pipelineRunErrorMessage": { - "type": "string" - } - } - }, - "PipelineRunSourceProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "default": "AzureStorageBlob", - "enum": [ - "AzureStorageBlob" - ], - "x-ms-enum": { - "name": "PipelineRunSourceType", - "modelAsString": true - } - }, - "name": { - "type": "string" - } - } - }, - "PipelineRunTargetProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "default": "AzureStorageBlob", - "enum": [ - "AzureStorageBlob" - ], - "x-ms-enum": { - "name": "PipelineRunTargetType", - "modelAsString": true - } - }, - "name": { - "type": "string" - } - } - }, - "PipelineSourceTriggerDescriptor": { - "type": "object", - "properties": { - "timestamp": { - "type": "string", - "format": "date-time" - } - } - }, - "PipelineSourceTriggerProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true - } - } - }, - "required": [ - "status" - ] - }, - "PipelineTriggerDescriptor": { - "type": "object", - "properties": { - "sourceTrigger": { - "$ref": "#/definitions/PipelineSourceTriggerDescriptor" - } - } - }, - "PipelineTriggerProperties": { - "type": "object", - "properties": { - "sourceTrigger": { - "$ref": "#/definitions/PipelineSourceTriggerProperties" - } - } - }, - "Policies": { - "type": "object", - "properties": { - "quarantinePolicy": { - "$ref": "#/definitions/QuarantinePolicy" - }, - "trustPolicy": { - "$ref": "#/definitions/TrustPolicy" - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy" - }, - "exportPolicy": { - "$ref": "#/definitions/ExportPolicy" - }, - "azureADAuthenticationAsArmPolicy": { - "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy" - }, - "softDeletePolicy": { - "$ref": "#/definitions/SoftDeletePolicy" - } - } - }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "PrivateEndpointConnection": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "PrivateEndpointConnectionListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "PrivateLinkResource": { - "type": "object", - "properties": { - "type": { - "type": "string", - "readOnly": true - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "x-ms-client-flatten": true - } - } - }, - "PrivateLinkResourceListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "PrivateLinkResourceProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string" - }, - "requiredMembers": { - "type": "array", - "items": { - "type": "string" - } - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ], - "x-ms-enum": { - "name": "ConnectionStatus", - "modelAsString": true - } - }, - "description": { - "type": "string" - }, - "actionsRequired": { - "type": "string", - "enum": [ - "None", - "Recreate" - ], - "x-ms-enum": { - "name": "ActionsRequired", - "modelAsString": true - } - } - } - }, - "ProgressProperties": { - "type": "object", - "properties": { - "percentage": { - "type": "string" - } - } - }, - "ProxyResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "type": "object", - "readOnly": true - } - } - }, - "QuarantinePolicy": { - "type": "object", - "properties": { - "status": { - "type": "string", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "RegenerateCredentialParameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "password", - "password2" - ], - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } - } - }, - "required": [ - "name" - ] - }, - "Registry": { - "type": "object", - "properties": { - "sku": { - "$ref": "#/definitions/Sku" - }, - "identity": { - "$ref": "#/definitions/IdentityProperties" - }, - "properties": { - "$ref": "#/definitions/RegistryProperties", - "x-ms-client-flatten": true - } - }, - "required": [ - "sku" - ], - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "RegistryListCredentialsResult": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/RegistryPassword" - } - } - } - }, - "RegistryListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Registry" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "RegistryNameCheckRequest": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ContainerRegistry/registries" - ], - "x-ms-enum": { - "name": "ContainerRegistryResourceType", - "modelAsString": false - } - }, - "resourceGroupName": { - "type": "string", - "minLength": 1, - "maxLength": 90 - }, - "autoGeneratedDomainNameLabelScope": { - "type": "string", - "default": "Unsecure", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true - } - } - }, - "required": [ - "name", - "type" - ] - }, - "RegistryNameStatus": { - "type": "object", - "properties": { - "availableLoginServerName": { - "type": "string" - }, - "nameAvailable": { - "type": "boolean" - }, - "reason": { - "type": "string" - }, - "message": { - "type": "string" - } - } - }, - "RegistryPassword": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "password", - "password2" - ], - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } - }, - "value": { - "type": "string" - } - } - }, - "RegistryProperties": { - "type": "object", - "properties": { - "loginServer": { - "type": "string", - "readOnly": true - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "status": { - "$ref": "#/definitions/Status", - "readOnly": true - }, - "adminUserEnabled": { - "type": "boolean", - "default": false - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet" - }, - "policies": { - "$ref": "#/definitions/Policies" - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty" - }, - "dataEndpointEnabled": { - "type": "boolean" - }, - "dataEndpointHostNames": { - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "privateEndpointConnections": { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "readOnly": true - }, - "publicNetworkAccess": { - "type": "string", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } - }, - "networkRuleBypassOptions": { - "type": "string", - "default": "AzureServices", - "enum": [ - "AzureServices", - "None" - ], - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } - }, - "networkRuleBypassAllowedForTasks": { - "type": "boolean", - "default": false - }, - "zoneRedundancy": { - "type": "string", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } - }, - "anonymousPullEnabled": { - "type": "boolean", - "default": false - }, - "metadataSearch": { - "type": "string", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true - } - }, - "autoGeneratedDomainNameLabelScope": { - "type": "string", - "default": "Unsecure", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true - } - }, - "roleAssignmentMode": { - "type": "string", - "default": "LegacyRegistryPermissions", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } - } - } - }, - "RegistryPropertiesUpdateParameters": { - "type": "object", - "properties": { - "adminUserEnabled": { - "type": "boolean" - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet" - }, - "policies": { - "$ref": "#/definitions/Policies" - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty" - }, - "dataEndpointEnabled": { - "type": "boolean" - }, - "publicNetworkAccess": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } - }, - "networkRuleBypassOptions": { - "type": "string", - "default": "AzureServices", - "enum": [ - "AzureServices", - "None" - ], - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } - }, - "networkRuleBypassAllowedForTasks": { - "type": "boolean" - }, - "anonymousPullEnabled": { - "type": "boolean" - }, - "metadataSearch": { - "type": "string", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true - } - }, - "roleAssignmentMode": { - "type": "string", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } - } - } - }, - "RegistryUpdateParameters": { - "type": "object", - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "sku": { - "$ref": "#/definitions/Sku" - }, - "properties": { - "$ref": "#/definitions/RegistryPropertiesUpdateParameters", - "x-ms-client-flatten": true - } - } - }, - "RegistryUsage": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "currentValue": { - "type": "integer", - "format": "int64" - }, - "unit": { - "type": "string", - "enum": [ - "Count", - "Bytes" - ], - "x-ms-enum": { - "name": "RegistryUsageUnit", - "modelAsString": true - } - } - } - }, - "RegistryUsageListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RegistryUsage" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "Replication": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ReplicationProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "ReplicationListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Replication" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ReplicationProperties": { - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "status": { - "$ref": "#/definitions/Status", - "readOnly": true - }, - "regionEndpointEnabled": { - "type": "boolean", - "default": true - }, - "zoneRedundancy": { - "type": "string", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } - } - } - }, - "ReplicationUpdateParameters": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/ReplicationUpdateParametersProperties", - "x-ms-client-flatten": true - } - } - }, - "ReplicationUpdateParametersProperties": { - "type": "object", - "properties": { - "regionEndpointEnabled": { - "type": "boolean" - } - } - }, - "Request": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "addr": { - "type": "string" - }, - "host": { - "type": "string" - }, - "method": { - "type": "string" - }, - "useragent": { - "type": "string" - } - } - }, - "Resource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true - }, - "location": { - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "type": "object", - "readOnly": true - } - }, - "required": [ - "location" - ] - }, - "RetentionPolicy": { - "type": "object", - "properties": { - "days": { - "type": "integer", - "format": "int32", - "default": 7 - }, - "lastUpdatedTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "status": { - "type": "string", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "ScopeMap": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "ScopeMapListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ScopeMap" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ScopeMapProperties": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "type": { - "type": "string", - "readOnly": true - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "actions": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "actions" - ] - }, - "ScopeMapPropertiesUpdateParameters": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ScopeMapUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", - "x-ms-client-flatten": true - } - } - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - "tier": { - "type": "string", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - }, - "readOnly": true - } - }, - "required": [ - "name" - ] - }, - "SoftDeletePolicy": { - "type": "object", - "properties": { - "retentionDays": { - "type": "integer", - "format": "int32", - "default": 7 - }, - "lastUpdatedTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "status": { - "type": "string", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "Source": { - "type": "object", - "properties": { - "addr": { - "type": "string" - }, - "instanceID": { - "type": "string" - } - } - }, - "Status": { - "type": "object", - "properties": { - "displayStatus": { - "type": "string", - "readOnly": true - }, - "message": { - "type": "string", - "readOnly": true - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "StatusDetailProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "readOnly": true - }, - "code": { - "type": "string", - "readOnly": true - }, - "description": { - "type": "string", - "readOnly": true - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "correlationId": { - "type": "string", - "readOnly": true - } - } - }, - "StorageAccountProperties": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ] - }, - "SyncProperties": { - "type": "object", - "properties": { - "tokenId": { - "type": "string" - }, - "schedule": { - "type": "string" - }, - "syncWindow": { - "type": "string", - "format": "duration" - }, - "messageTtl": { - "type": "string", - "format": "duration" - }, - "lastSyncTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "gatewayEndpoint": { - "type": "string", - "readOnly": true - } - }, - "required": [ - "messageTtl", - "tokenId" - ] - }, - "SyncUpdateProperties": { - "type": "object", - "properties": { - "schedule": { - "type": "string" - }, - "syncWindow": { - "type": "string", - "format": "duration" - }, - "messageTtl": { - "type": "string", - "format": "duration" - } - } - }, - "SystemData": { - "type": "object", - "properties": { - "createdBy": { - "type": "string" - }, - "createdByType": { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "CreatedByType", - "modelAsString": true - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "lastModifiedBy": { - "type": "string" - }, - "lastModifiedByType": { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "LastModifiedByType", - "modelAsString": true - } - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time" - } - }, - "readOnly": true - }, - "Target": { - "type": "object", - "properties": { - "mediaType": { - "type": "string" - }, - "size": { - "type": "integer", - "format": "int64" - }, - "digest": { - "type": "string" - }, - "length": { - "type": "integer", - "format": "int64" - }, - "repository": { - "type": "string" - }, - "url": { - "type": "string" - }, - "tag": { - "type": "string" - }, - "name": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "TlsCertificateProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "LocalDirectory" - ], - "x-ms-enum": { - "name": "CertificateType", - "modelAsString": true - }, - "readOnly": true - }, - "location": { - "type": "string", - "readOnly": true - } - } - }, - "TlsProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "TlsStatus", - "modelAsString": true - }, - "readOnly": true - }, - "certificate": { - "$ref": "#/definitions/TlsCertificateProperties", - "readOnly": true - } - } - }, - "Token": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/TokenProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "TokenCertificate": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "certificate1", - "certificate2" - ], - "x-ms-enum": { - "name": "TokenCertificateName", - "modelAsString": true - } - }, - "expiry": { - "type": "string", - "format": "date-time" - }, - "thumbprint": { - "type": "string" - }, - "encodedPemCertificate": { - "type": "string" - } - } - }, - "TokenCredentialsProperties": { - "type": "object", - "properties": { - "certificates": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenCertificate" - }, - "x-ms-identifiers": [ - "thumbprint" - ] - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - } - } - } - }, - "TokenListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Token" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "TokenPassword": { - "type": "object", - "properties": { - "creationTime": { - "type": "string", - "format": "date-time" - }, - "expiry": { - "type": "string", - "format": "date-time" - }, - "name": { - "type": "string", - "enum": [ - "password1", - "password2" - ], - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } - }, - "value": { - "type": "string", - "readOnly": true - } - } - }, - "TokenProperties": { - "type": "object", - "properties": { - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "scopeMapId": { - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties" - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } - } - } - }, - "TokenUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/TokenUpdateProperties", - "x-ms-client-flatten": true - } - } - }, - "TokenUpdateProperties": { - "type": "object", - "properties": { - "scopeMapId": { - "type": "string" - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties" - } - } - }, - "TrustPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "default": "Notary", - "enum": [ - "Notary" - ], - "x-ms-enum": { - "name": "TrustPolicyType", - "modelAsString": true - } - }, - "status": { - "type": "string", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "UserIdentityProperties": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "readOnly": true - }, - "clientId": { - "type": "string", - "readOnly": true - } - } - }, - "Webhook": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/WebhookProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "WebhookCreateParameters": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "location": { - "type": "string" - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesCreateParameters", - "x-ms-client-flatten": true - } - }, - "required": [ - "location" - ] - }, - "WebhookListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Webhook" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "WebhookProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - }, - "required": [ - "actions" - ] - }, - "WebhookPropertiesCreateParameters": { - "type": "object", - "properties": { - "serviceUri": { - "type": "string", - "x-ms-secret": true - }, - "customHeaders": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-secret": true - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - }, - "required": [ - "actions", - "serviceUri" - ] - }, - "WebhookPropertiesUpdateParameters": { - "type": "object", - "properties": { - "serviceUri": { - "type": "string", - "x-ms-secret": true - }, - "customHeaders": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-secret": true - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - } - }, - "WebhookUpdateParameters": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesUpdateParameters", - "x-ms-client-flatten": true - } - } - } - }, - "parameters": {} -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json index 037858d0016d..7cf9a17a3124 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json @@ -1330,8 +1330,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location", - "final-state-schema": "#/definitions/TypeSpec.Http.OkResponse" + "final-state-via": "location" }, "x-ms-long-running-operation": true } @@ -2120,8 +2119,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "location", - "final-state-schema": "#/definitions/TypeSpec.Http.OkResponse" + "final-state-via": "location" }, "x-ms-long-running-operation": true } @@ -5798,43 +5796,6 @@ } } }, - "AutoGeneratedDomainNameLabelScope": { - "type": "string", - "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true, - "values": [ - { - "name": "Unsecure", - "value": "Unsecure" - }, - { - "name": "TenantReuse", - "value": "TenantReuse" - }, - { - "name": "SubscriptionReuse", - "value": "SubscriptionReuse" - }, - { - "name": "ResourceGroupReuse", - "value": "ResourceGroupReuse" - }, - { - "name": "NoReuse", - "value": "NoReuse" - } - ] - } - }, "AzureADAuthenticationAsArmPolicy": { "type": "object", "description": "The policy for using Azure Resource Manager audience token for a container registry.", @@ -6237,6 +6198,17 @@ ] } }, + "ContainerRegistryResourceType": { + "type": "string", + "description": "The resource type for Container Registry.", + "enum": [ + "Microsoft.ContainerRegistry/registries" + ], + "x-ms-enum": { + "name": "ContainerRegistryResourceType", + "modelAsString": false + } + }, "CredentialHealth": { "type": "object", "description": "The health of the auth credential.", @@ -7129,50 +7101,6 @@ } } }, - "MetadataSearch": { - "type": "string", - "description": "Determines whether registry artifacts are indexed for metadata search.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } - }, - "NetworkRuleBypassOptions": { - "type": "string", - "description": "Whether to allow trusted Azure services to access a network restricted registry.", - "enum": [ - "AzureServices", - "None" - ], - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true, - "values": [ - { - "name": "AzureServices", - "value": "AzureServices" - }, - { - "name": "None", - "value": "None" - } - ] - } - }, "NetworkRuleSet": { "type": "object", "description": "The network rule set for a container registry.", @@ -7571,28 +7499,6 @@ } } }, - "PolicyStatus": { - "type": "string", - "description": "The value that indicates whether the policy is enabled or not.", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] - } - }, "PrivateEndpoint": { "type": "object", "description": "The Private Endpoint resource.", @@ -7808,8 +7714,27 @@ "description": "The quarantine policy for a container registry.", "properties": { "status": { - "$ref": "#/definitions/PolicyStatus", - "description": "The value that indicates whether the policy is enabled or not." + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } } } }, @@ -7900,14 +7825,8 @@ "pattern": "^[a-zA-Z0-9]*$" }, "type": { - "type": "string", - "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.", - "enum": [ - "Microsoft.ContainerRegistry/registries" - ], - "x-ms-enum": { - "modelAsString": false - } + "$ref": "#/definitions/ContainerRegistryResourceType", + "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'." }, "resourceGroupName": { "type": "string", @@ -7916,8 +7835,42 @@ "maxLength": 90 }, "autoGeneratedDomainNameLabelScope": { - "$ref": "#/definitions/AutoGeneratedDomainNameLabelScope", - "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\"." + "type": "string", + "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", + "default": "Unsecure", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true, + "values": [ + { + "name": "Unsecure", + "value": "Unsecure" + }, + { + "name": "TenantReuse", + "value": "TenantReuse" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse" + }, + { + "name": "NoReuse", + "value": "NoReuse" + } + ] + } } }, "required": [ @@ -7988,7 +7941,8 @@ }, "adminUserEnabled": { "type": "boolean", - "description": "The value that indicates whether the admin user is enabled." + "description": "The value that indicates whether the admin user is enabled.", + "default": false }, "networkRuleSet": { "$ref": "#/definitions/NetworkRuleSet", @@ -8023,36 +7977,167 @@ "readOnly": true }, "publicNetworkAccess": { - "$ref": "#/definitions/PublicNetworkAccess", - "description": "Whether or not public network access is allowed for the container registry." + "type": "string", + "description": "Whether or not public network access is allowed for the container registry.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } }, "networkRuleBypassOptions": { - "$ref": "#/definitions/NetworkRuleBypassOptions", - "description": "Whether to allow trusted Azure services to access a network restricted registry." + "type": "string", + "description": "Whether to allow trusted Azure services to access a network restricted registry.", + "default": "AzureServices", + "enum": [ + "AzureServices", + "None" + ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true, + "values": [ + { + "name": "AzureServices", + "value": "AzureServices" + }, + { + "name": "None", + "value": "None" + } + ] + } }, "networkRuleBypassAllowedForTasks": { "type": "boolean", - "description": "Whether or not Tasks allowed to bypass the network rules for this container registry." + "description": "Whether or not Tasks allowed to bypass the network rules for this container registry.", + "default": false }, "zoneRedundancy": { - "$ref": "#/definitions/ZoneRedundancy", - "description": "Whether or not zone redundancy is enabled for this container registry" + "type": "string", + "description": "Whether or not zone redundancy is enabled for this container registry", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } }, "anonymousPullEnabled": { "type": "boolean", - "description": "Enables registry-wide pull from unauthenticated clients." + "description": "Enables registry-wide pull from unauthenticated clients.", + "default": false }, "metadataSearch": { - "$ref": "#/definitions/MetadataSearch", - "description": "Determines whether registry artifacts are indexed for metadata search." + "type": "string", + "description": "Determines whether registry artifacts are indexed for metadata search.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } }, "autoGeneratedDomainNameLabelScope": { - "$ref": "#/definitions/AutoGeneratedDomainNameLabelScope", - "description": "Determines the domain name label reuse scope." + "type": "string", + "description": "Determines the domain name label reuse scope.", + "default": "Unsecure", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true, + "values": [ + { + "name": "Unsecure", + "value": "Unsecure" + }, + { + "name": "TenantReuse", + "value": "TenantReuse" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse" + }, + { + "name": "NoReuse", + "value": "NoReuse" + } + ] + } }, "roleAssignmentMode": { - "$ref": "#/definitions/RoleAssignmentMode", - "description": "Determines registry role assignment mode." + "type": "string", + "description": "Determines registry role assignment mode.", + "default": "LegacyRegistryPermissions", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true, + "values": [ + { + "name": "AbacRepositoryPermissions", + "value": "AbacRepositoryPermissions" + }, + { + "name": "LegacyRegistryPermissions", + "value": "LegacyRegistryPermissions" + } + ] + } } } }, @@ -8085,8 +8170,27 @@ "description": "Whether or not public network access is allowed for the container registry." }, "networkRuleBypassOptions": { - "$ref": "#/definitions/NetworkRuleBypassOptions", - "description": "Whether to allow trusted Azure services to access a network restricted registry." + "type": "string", + "description": "Whether to allow trusted Azure services to access a network restricted registry.", + "default": "AzureServices", + "enum": [ + "AzureServices", + "None" + ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true, + "values": [ + { + "name": "AzureServices", + "value": "AzureServices" + }, + { + "name": "None", + "value": "None" + } + ] + } }, "networkRuleBypassAllowedForTasks": { "type": "boolean", @@ -8097,8 +8201,27 @@ "description": "Enables registry-wide pull from unauthenticated clients." }, "metadataSearch": { - "$ref": "#/definitions/MetadataSearch", - "description": "Determines whether registry artifacts are indexed for metadata search." + "type": "string", + "description": "Determines whether registry artifacts are indexed for metadata search.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } }, "roleAssignmentMode": { "$ref": "#/definitions/RoleAssignmentMode", @@ -8247,8 +8370,27 @@ "default": true }, "zoneRedundancy": { - "$ref": "#/definitions/ZoneRedundancy", - "description": "Whether or not zone redundancy is enabled for this container registry replication" + "type": "string", + "description": "Whether or not zone redundancy is enabled for this container registry replication", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } } } }, @@ -8336,8 +8478,27 @@ "readOnly": true }, "status": { - "$ref": "#/definitions/PolicyStatus", - "description": "The value that indicates whether the policy is enabled or not." + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } } } }, @@ -8559,8 +8720,27 @@ "readOnly": true }, "status": { - "$ref": "#/definitions/PolicyStatus", - "description": "The value that indicates whether the policy is enabled or not." + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } } } }, @@ -9037,15 +9217,30 @@ } }, "status": { - "$ref": "#/definitions/PolicyStatus", - "description": "The value that indicates whether the policy is enabled or not." + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } } } }, - "TypeSpec.Http.OkResponse": { - "type": "object", - "description": "The request has succeeded." - }, "UserIdentityProperties": { "type": "object", "properties": { @@ -9190,7 +9385,9 @@ "properties": { "serviceUri": { "type": "string", - "description": "The service URI for the webhook to post notifications." + "format": "password", + "description": "The service URI for the webhook to post notifications.", + "x-ms-secret": true }, "customHeaders": { "type": "object", @@ -9226,7 +9423,9 @@ "properties": { "serviceUri": { "type": "string", - "description": "The service URI for the webhook to post notifications." + "format": "password", + "description": "The service URI for the webhook to post notifications.", + "x-ms-secret": true }, "customHeaders": { "type": "object", @@ -9291,28 +9490,6 @@ "x-ms-client-flatten": true } } - }, - "ZoneRedundancy": { - "type": "string", - "description": "Whether or not zone redundancy is enabled for this container registry", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } } }, "parameters": {} From 0b528cad9dab30bf05c5ead7d097151592a7d5ef Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 8 Sep 2025 15:07:54 +0800 Subject: [PATCH 03/41] update --- .../Registry/ConnectedRegistry.tsp | 9 ++++++--- .../Microsoft.ContainerRegistry/Registry/Registry.tsp | 9 ++++++--- .../preview/2025-05-01-preview/containerregistry.json | 4 ++-- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp index 3674afcb60ad..71a6e745bb38 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp @@ -79,11 +79,14 @@ interface ConnectedRegistries { /** * Deactivates the connected registry instance. */ - deactivate is ArmResourceActionAsyncBase< + deactivate is ArmResourceActionAsync< ConnectedRegistry, void, - ArmAcceptedLroResponse | OkResponse, - Azure.ResourceManager.Foundations.ResourceGroupBaseParameters + { + @body body: void; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp index 1ff93332f3fa..3cba3e138bcd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp @@ -90,11 +90,14 @@ interface Registries { /** * Copies an image to this container registry from the specified container registry. */ - importImage is ArmResourceActionAsyncBase< + importImage is ArmResourceActionAsync< Registry, ImportImageParameters, - ArmAcceptedLroResponse | OkResponse, - Azure.ResourceManager.Foundations.ResourceGroupBaseParameters + { + @body body: void; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json index 7cf9a17a3124..cb5d3c5f3f56 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json @@ -1301,7 +1301,7 @@ ], "responses": { "200": { - "description": "The request has succeeded." + "description": "Azure operation completed successfully." }, "202": { "description": "Resource operation accepted.", @@ -2084,7 +2084,7 @@ ], "responses": { "200": { - "description": "The request has succeeded." + "description": "Azure operation completed successfully." }, "202": { "description": "Resource operation accepted.", From 5634805c718775811749c6f239f7e4f38e2d2de7 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 8 Sep 2025 15:34:55 +0800 Subject: [PATCH 04/41] Update models.tsp --- .../Microsoft.ContainerRegistry/Registry/models.tsp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp index c65f6252ace8..137abb1d2eed 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp @@ -2038,6 +2038,7 @@ model Policies { /** * The policy for using Azure Resource Manager audience token for a container registry. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" azureADAuthenticationAsArmPolicy?: AzureADAuthenticationAsArmPolicy; /** @@ -2106,6 +2107,7 @@ model ExportPolicy { /** * The policy for using Azure Resource Manager audience token for a container registry. */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model AzureADAuthenticationAsArmPolicy { /** * The value that indicates whether the policy is enabled or not. @@ -2473,6 +2475,7 @@ model ScopeMapProperties { /** * The type of the scope map. E.g. BuildIn scope map. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @visibility(Lifecycle.Read) type?: string; @@ -3041,6 +3044,7 @@ model Source { /** * The running instance of an application. Changes after each restart. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" instanceID?: string; } From b3960e3498bb4f263c18719282e6a65544c42c08 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 8 Sep 2025 17:52:42 +0800 Subject: [PATCH 05/41] Update models.tsp --- .../Registry/models.tsp | 322 +++++++++--------- 1 file changed, 158 insertions(+), 164 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp index 137abb1d2eed..5d77072d43c9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp @@ -16,7 +16,7 @@ namespace Microsoft.ContainerRegistry; */ union PackageSourceType { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" remote: "remote", } @@ -25,17 +25,17 @@ union PackageSourceType { */ union ProvisioningState { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Creating: "Creating", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Updating: "Updating", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Deleting: "Deleting", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Succeeded: "Succeeded", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Failed: "Failed", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Canceled: "Canceled", } @@ -44,13 +44,13 @@ union ProvisioningState { */ union CreatedByType { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" User: "User", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Application: "Application", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" ManagedIdentity: "ManagedIdentity", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Key: "Key", } @@ -59,13 +59,13 @@ union CreatedByType { */ union LastModifiedByType { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" User: "User", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Application: "Application", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" ManagedIdentity: "ManagedIdentity", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Key: "Key", } @@ -74,13 +74,13 @@ union LastModifiedByType { */ union ConnectedRegistryMode { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" ReadWrite: "ReadWrite", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" ReadOnly: "ReadOnly", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Registry: "Registry", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Mirror: "Mirror", } @@ -89,13 +89,13 @@ union ConnectedRegistryMode { */ union ConnectionState { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Online: "Online", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Offline: "Offline", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Syncing: "Syncing", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Unhealthy: "Unhealthy", } @@ -104,9 +104,9 @@ union ConnectionState { */ union ActivationStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Active: "Active", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Inactive: "Inactive", } @@ -115,9 +115,9 @@ union ActivationStatus { */ union TlsStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Enabled: "Enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Disabled: "Disabled", } @@ -126,7 +126,7 @@ union TlsStatus { */ union CertificateType { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" LocalDirectory: "LocalDirectory", } @@ -135,15 +135,15 @@ union CertificateType { */ union LogLevel { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Debug: "Debug", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Information: "Information", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Warning: "Warning", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Error: "Error", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" None: "None", } @@ -152,9 +152,9 @@ union LogLevel { */ union AuditLogStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Enabled: "Enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Disabled: "Disabled", } @@ -163,7 +163,7 @@ union AuditLogStatus { */ union CredentialName { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Credential1: "Credential1", } @@ -172,22 +172,22 @@ union CredentialName { */ union CredentialHealthStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Healthy: "Healthy", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Unhealthy: "Unhealthy", } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" union PipelineOptions { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" OverwriteTags: "OverwriteTags", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" OverwriteBlobs: "OverwriteBlobs", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" DeleteSourceBlobOnSuccess: "DeleteSourceBlobOnSuccess", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" ContinueOnErrors: "ContinueOnErrors", } @@ -196,9 +196,9 @@ union PipelineOptions { */ union ImportMode { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" NoForce: "NoForce", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Force: "Force", } @@ -207,7 +207,7 @@ union ImportMode { */ union PipelineSourceType { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" AzureStorageBlobContainer: "AzureStorageBlobContainer", } @@ -216,9 +216,9 @@ union PipelineSourceType { */ union TriggerStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Enabled: "Enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Disabled: "Disabled", } @@ -227,15 +227,15 @@ union TriggerStatus { */ union AutoGeneratedDomainNameLabelScope { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Unsecure: "Unsecure", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" TenantReuse: "TenantReuse", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" SubscriptionReuse: "SubscriptionReuse", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" ResourceGroupReuse: "ResourceGroupReuse", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" NoReuse: "NoReuse", } @@ -244,7 +244,7 @@ union AutoGeneratedDomainNameLabelScope { */ union PipelineRunSourceType { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" AzureStorageBlob: "AzureStorageBlob", } @@ -253,7 +253,7 @@ union PipelineRunSourceType { */ union PipelineRunTargetType { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" AzureStorageBlob: "AzureStorageBlob", } @@ -262,13 +262,13 @@ union PipelineRunTargetType { */ union ConnectionStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Approved: "Approved", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Pending: "Pending", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Rejected: "Rejected", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Disconnected: "Disconnected", } @@ -277,9 +277,9 @@ union ConnectionStatus { */ union ActionsRequired { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" None: "None", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Recreate: "Recreate", } @@ -288,13 +288,13 @@ union ActionsRequired { */ union SkuName { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Classic: "Classic", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Basic: "Basic", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Standard: "Standard", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Premium: "Premium", } @@ -303,13 +303,13 @@ union SkuName { */ union SkuTier { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Classic: "Classic", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Basic: "Basic", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Standard: "Standard", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Premium: "Premium", } @@ -318,9 +318,9 @@ union SkuTier { */ union DefaultAction { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Allow: "Allow", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Deny: "Deny", } @@ -329,7 +329,7 @@ union DefaultAction { */ union Action { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Allow: "Allow", } @@ -338,9 +338,9 @@ union Action { */ union PolicyStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" enabled: "enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" disabled: "disabled", } @@ -349,7 +349,7 @@ union PolicyStatus { */ union TrustPolicyType { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Notary: "Notary", } @@ -358,9 +358,9 @@ union TrustPolicyType { */ union ExportPolicyStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" enabled: "enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" disabled: "disabled", } @@ -369,9 +369,9 @@ union ExportPolicyStatus { */ union AzureADAuthenticationAsArmPolicyStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" enabled: "enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" disabled: "disabled", } @@ -380,9 +380,9 @@ union AzureADAuthenticationAsArmPolicyStatus { */ union EncryptionStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" enabled: "enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" disabled: "disabled", } @@ -391,9 +391,9 @@ union EncryptionStatus { */ union PublicNetworkAccess { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Enabled: "Enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Disabled: "Disabled", } @@ -402,9 +402,9 @@ union PublicNetworkAccess { */ union NetworkRuleBypassOptions { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" AzureServices: "AzureServices", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" None: "None", } @@ -413,9 +413,9 @@ union NetworkRuleBypassOptions { */ union ZoneRedundancy { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Enabled: "Enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Disabled: "Disabled", } @@ -424,9 +424,9 @@ union ZoneRedundancy { */ union MetadataSearch { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Enabled: "Enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Disabled: "Disabled", } @@ -435,9 +435,9 @@ union MetadataSearch { */ union RoleAssignmentMode { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" AbacRepositoryPermissions: "AbacRepositoryPermissions", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" LegacyRegistryPermissions: "LegacyRegistryPermissions", } @@ -446,18 +446,18 @@ union RoleAssignmentMode { */ union RegistryUsageUnit { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Count: "Count", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Bytes: "Bytes", } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" union TokenCertificateName { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" certificate1: "certificate1", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" certificate2: "certificate2", } @@ -466,9 +466,9 @@ union TokenCertificateName { */ union TokenPasswordName { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" password1: "password1", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" password2: "password2", } @@ -477,9 +477,9 @@ union TokenPasswordName { */ union TokenStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" enabled: "enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" disabled: "disabled", } @@ -488,31 +488,31 @@ union TokenStatus { */ union WebhookStatus { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" enabled: "enabled", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" disabled: "disabled", } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" union WebhookAction { string, - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" push: "push", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete: "delete", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" quarantine: "quarantine", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" chart_push: "chart_push", - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" chart_delete: "chart_delete", } /** * The identity type. */ -#suppress "@azure-tools/typespec-azure-core/no-enum" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" enum ResourceIdentityType { SystemAssigned, UserAssigned, @@ -523,7 +523,7 @@ enum ResourceIdentityType { /** * The password name. */ -#suppress "@azure-tools/typespec-azure-core/no-enum" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" enum PasswordName { password, password2, @@ -543,10 +543,10 @@ model ArchiveProperties { */ publishedVersion?: string; - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" repositoryEndpointPrefix?: string; - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @visibility(Lifecycle.Read) repositoryEndpoint?: string; @@ -645,7 +645,7 @@ model ArchiveUpdateParameters { /** * The properties of the connected registry update parameters. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Private.conditionalClientFlatten properties?: ArchiveUpdateProperties; } @@ -717,7 +717,7 @@ model CacheRuleUpdateParameters { /** * The properties of the cache rule update parameters. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Private.conditionalClientFlatten properties?: CacheRuleUpdateProperties; } @@ -1032,7 +1032,7 @@ model ConnectedRegistryUpdateParameters { /** * The properties of the connected registry update parameters. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Private.conditionalClientFlatten properties?: ConnectedRegistryUpdateProperties; } @@ -1114,11 +1114,11 @@ model IdentityProperties { * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ * providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" userAssignedIdentities?: Record; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model UserIdentityProperties { /** * The principal id of user assigned identity. @@ -1216,7 +1216,7 @@ model CredentialSetUpdateParameters { /** * The properties of the credential set update parameters */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Private.conditionalClientFlatten properties?: CredentialSetUpdateProperties; @@ -1281,7 +1281,7 @@ model ExportPipelineTargetProperties { keyVaultUri: string; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model ImportImageParameters { /** * The source of the image. @@ -1304,7 +1304,7 @@ model ImportImageParameters { mode?: ImportMode = ImportMode.NoForce; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model ImportSource { /** * The resource identifier of the source Azure Container Registry. @@ -1330,7 +1330,7 @@ model ImportSource { sourceImage: string; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model ImportSourceCredentials { /** * The username to authenticate with the source registry. @@ -1391,7 +1391,7 @@ model ImportPipelineSourceProperties { keyVaultUri: string; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model PipelineTriggerProperties { /** * The source trigger properties of the pipeline. @@ -1399,7 +1399,7 @@ model PipelineTriggerProperties { sourceTrigger?: PipelineSourceTriggerProperties; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model PipelineSourceTriggerProperties { /** * The current status of the source trigger. @@ -1429,7 +1429,7 @@ model OperationDefinition { /** * The properties information for the container registry operation. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Private.conditionalClientFlatten properties?: OperationPropertiesDefinition; @@ -1548,15 +1548,9 @@ model OperationLogSpecificationDefinition { } /** The resource type for Container Registry. */ -@OpenAPI.extension( - "x-ms-enum", - #{ name: "ContainerRegistryResourceType", modelAsString: false } -) -union ContainerRegistryResourceType { - string, - - /** Microsoft.ContainerRegistry/registries */ - Registries: "Microsoft.ContainerRegistry/registries", +#suppress "@azure-tools/typespec-azure-core/no-enum" "" +enum ContainerRegistryResourceType { + `Microsoft.ContainerRegistry/registries`, } /** @@ -1674,7 +1668,7 @@ model PipelineRunRequest { catalogDigest?: string; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model PipelineRunSourceProperties { /** * The type of the source. @@ -1687,7 +1681,7 @@ model PipelineRunSourceProperties { name?: string; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model PipelineRunTargetProperties { /** * The type of the target. @@ -1757,7 +1751,7 @@ model PipelineRunResponse { pipelineRunErrorMessage?: string; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model ProgressProperties { /** * The percentage complete of the copy operation. @@ -1765,7 +1759,7 @@ model ProgressProperties { percentage?: string; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model PipelineTriggerDescriptor { /** * The source trigger that caused the pipeline run. @@ -1773,7 +1767,7 @@ model PipelineTriggerDescriptor { sourceTrigger?: PipelineSourceTriggerDescriptor; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model PipelineSourceTriggerDescriptor { /** * The timestamp when the source update happened. @@ -2137,7 +2131,7 @@ model SoftDeletePolicy { status?: PolicyStatus = PolicyStatus.disabled; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model EncryptionProperty { /** * Indicates whether or not the encryption is enabled for container registry. @@ -2150,7 +2144,7 @@ model EncryptionProperty { keyVaultProperties?: KeyVaultProperties; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model KeyVaultProperties { /** * Key vault uri to access the encryption key. @@ -2213,7 +2207,7 @@ model Resource { /** * The tags of the resource. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" tags?: Record; /** @@ -2235,7 +2229,7 @@ model RegistryUpdateParameters { /** * The tags for the container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" tags?: Record; /** @@ -2246,7 +2240,7 @@ model RegistryUpdateParameters { /** * The properties that the container registry will be updated with. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Private.conditionalClientFlatten properties?: RegistryPropertiesUpdateParameters; } @@ -2351,7 +2345,7 @@ model RegistryUsage { /** * The properties of a private link resource. */ -#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model PrivateLinkResourceProperties { /** * The private link resource group id. @@ -2444,18 +2438,18 @@ model ReplicationUpdateParameters { /** * The tags for the replication. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" tags?: Record; /** * The parameters for updating a replication's properties */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Private.conditionalClientFlatten properties?: ReplicationUpdateParametersProperties; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model ReplicationUpdateParametersProperties { /** * Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. @@ -2507,7 +2501,7 @@ model ScopeMapUpdateParameters { /** * The update parameters for scope map properties. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Private.conditionalClientFlatten properties?: ScopeMapPropertiesUpdateParameters; } @@ -2566,11 +2560,11 @@ model TokenProperties { * The properties of the credentials that can be used for authenticating the token. */ model TokenCredentialsProperties { - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @OpenAPI.extension("x-ms-identifiers", #["thumbprint"]) certificates?: TokenCertificate[]; - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @OpenAPI.extension("x-ms-identifiers", #[]) passwords?: TokenPassword[]; } @@ -2579,7 +2573,7 @@ model TokenCredentialsProperties { * The properties of a certificate used for authenticating a token. */ model TokenCertificate { - #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" name?: TokenCertificateName; /** @@ -2634,7 +2628,7 @@ model TokenUpdateParameters { /** * The properties of the token update parameters. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Private.conditionalClientFlatten properties?: TokenUpdateProperties; } @@ -2729,7 +2723,7 @@ model WebhookCreateParameters { /** * The tags for the webhook. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" tags?: Record; /** @@ -2740,7 +2734,7 @@ model WebhookCreateParameters { /** * The properties that the webhook will be created with. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Private.conditionalClientFlatten properties?: WebhookPropertiesCreateParameters; } @@ -2758,7 +2752,7 @@ model WebhookPropertiesCreateParameters { /** * Custom headers that will be added to the webhook notifications. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" customHeaders?: Record; /** @@ -2784,13 +2778,13 @@ model WebhookUpdateParameters { /** * The tags for the webhook. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" tags?: Record; /** * The properties that the webhook will be updated with. */ - #suppress "@azure-tools/typespec-azure-core/no-private-usage" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Private.conditionalClientFlatten properties?: WebhookPropertiesUpdateParameters; } @@ -2808,7 +2802,7 @@ model WebhookPropertiesUpdateParameters { /** * Custom headers that will be added to the webhook notifications. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" customHeaders?: Record; /** @@ -2857,7 +2851,7 @@ model EventListResult { /** * The event for a webhook. */ -#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model Event extends EventInfo { /** * The event request message sent to the service URI. @@ -2882,7 +2876,7 @@ model EventRequestMessage { /** * The headers of the event request message. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" headers?: Record; /** @@ -3060,7 +3054,7 @@ model EventResponseMessage { /** * The headers of the event response message. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" headers?: Record; /** @@ -3091,14 +3085,14 @@ model CallbackConfig { /** * Custom headers that will be added to the webhook notifications. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" customHeaders?: Record; } /** * The properties of the Debian package Archive. */ -#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model DebianArchiveProperties extends ArchiveProperties { /** * Debian distribution Name. @@ -3109,7 +3103,7 @@ model DebianArchiveProperties extends ArchiveProperties { /** * The properties of the archive package source. */ -#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model DebianArchivePackageSourceProperties extends ArchivePackageSourceProperties { /** From 20765d7350f6432bcf33971339516850b4c01e8b Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 9 Sep 2025 10:08:41 +0800 Subject: [PATCH 06/41] update --- .../Registry/Archive.tsp | 112 +++++++++++++---- .../Registry/ArchiveVersion.tsp | 113 +++++++++++++++++- .../2025-05-01-preview/containerregistry.json | 2 +- 3 files changed, 198 insertions(+), 29 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp index 6322d7f0ba07..c5e373266bdc 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp @@ -12,25 +12,90 @@ using TypeSpec.OpenAPI; namespace Microsoft.ContainerRegistry; -/** - * Package type resource for organizing archives - */ -@parentResource(Registry) -model ArchivePackageType is Azure.ResourceManager.ProxyResource<{}> { - @key("packageType") - @path - @minLength(3) - @maxLength(50) - @pattern("^[a-zA-Z]*$") - @segment("packages") - @doc("The package type.") - name: string; -} +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface AchieveOperationOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** + * The name of the container registry. + */ + @path + @segment("registries") + @pattern("^[a-zA-Z0-9]*$") + @minLength(5) + @maxLength(50) + @doc("The name of the container registry.") + registryName: string, + + /** + * The package type. + */ + @path + @segment("packages") + @minLength(3) + @maxLength(50) + @pattern("^[a-zA-Z]*$") + @doc("The package type.") + packageType: string, + + }, + { + /** + * The name of the archive resource. + */ + @path + @segment("archives") + @pattern("^[a-zA-Z0-9-]*$") + @minLength(5) + @maxLength(200) + @doc("The name of the archive resource.") + archiveName: string, + } + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface AchieveOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** + * The name of the container registry. + */ + @path + @segment("registries") + @pattern("^[a-zA-Z0-9]*$") + @minLength(5) + @maxLength(50) + @doc("The name of the container registry.") + registryName: string, + + /** + * The package type. + */ + @path + @minLength(3) + @maxLength(50) + @pattern("^[a-zA-Z]*$") + @segment("packages") + @doc("The package type.") + packageType: string, + }, + {} + > {} /** * An object that represents a archive for a container registry. */ -@parentResource(ArchivePackageType) +@parentResource(Registry) model Archive is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = Archive, @@ -45,32 +110,33 @@ interface Archives { /** * Gets the properties of the archive. */ - get is ArmResourceRead; + get is AchieveOperationOps.Read; /** * Creates a archive for a container registry with the specified parameters. */ - create is ArmResourceCreateOrReplaceAsync; + create is AchieveOperationOps.CreateOrUpdateAsync; /** * Updates a archive for a container registry with the specified parameters. */ @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchSync; + update is AchieveOperationOps.CustomPatchSync< + Archive, + PatchModel = ArchiveUpdateParameters + >; /** * Deletes a archive from a container registry. */ - delete is ArmResourceDeleteWithoutOkAsync; + delete is AchieveOperationOps.DeleteWithoutOkAsync; /** * Lists all archives for the specified container registry and package type. */ + @action("archives") @list - list is ArmResourceListByParent< - Archive, - Response = ArmResponse - >; + list is AchieveOps.Read>; } @@maxLength(Archive.name, 200); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp index 2ffd4610d9fa..90187471b2b2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp @@ -11,6 +11,108 @@ using TypeSpec.Http; using TypeSpec.OpenAPI; namespace Microsoft.ContainerRegistry; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface ArchiveVersionOperationOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** + * The name of the container registry. + */ + @path + @segment("registries") + @pattern("^[a-zA-Z0-9]*$") + @minLength(5) + @maxLength(50) + @doc("The name of the container registry.") + registryName: string, + + /** + * The package type. + */ + @path + @segment("packages") + @minLength(3) + @maxLength(50) + @pattern("^[a-zA-Z]*$") + @doc("The package type.") + packageType: string, + + /** + * The name of the archive resource. + */ + @path + @segment("archives") + @pattern("^[a-zA-Z0-9-]*$") + @minLength(5) + @maxLength(200) + @doc("The name of the archive resource.") + archiveName: string, + + }, + { + /** + * The name of the archive version resource. + */ + @path + @segment("versions") + @pattern("^[a-zA-Z0-9-]*$") + @minLength(5) + @maxLength(200) + @doc("The name of the archive version resource.") + archiveVersionName: string, + } + > {} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface ArchiveVersionListOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** + * The name of the container registry. + */ + @path + @segment("registries") + @pattern("^[a-zA-Z0-9]*$") + @minLength(5) + @maxLength(50) + @doc("The name of the container registry.") + registryName: string, + + /** + * The package type. + */ + @path + @segment("packages") + @minLength(3) + @maxLength(50) + @pattern("^[a-zA-Z]*$") + @doc("The package type.") + packageType: string, + + /** + * The name of the archive resource. + */ + @path + @segment("archives") + @pattern("^[a-zA-Z0-9-]*$") + @minLength(5) + @maxLength(200) + @doc("The name of the archive resource.") + archiveName: string, + }, + {} + > {} /** * An object that represents an export pipeline for a container registry. */ @@ -30,12 +132,12 @@ interface ArchiveVersions { /** * Gets the properties of the archive version. */ - get is ArmResourceRead; + get is ArchiveVersionOperationOps.Read; /** - * Creates a archive for a container registry with the specified parameters. + * Creates a archive version for a container registry with the specified parameters. */ - create is Azure.ResourceManager.Legacy.CreateOrUpdateAsync< + create is ArchiveVersionOperationOps.CreateOrUpdateAsync< ArchiveVersion, Request = void >; @@ -43,13 +145,14 @@ interface ArchiveVersions { /** * Deletes a archive version from a container registry. */ - delete is ArmResourceDeleteWithoutOkAsync; + delete is ArchiveVersionOperationOps.DeleteWithoutOkAsync; /** * Lists all archive versions for the specified container registry, repository type and archive name. */ + @action("versions") @list - list is ArmResourceListByParent< + list is ArchiveVersionListOps.Read< ArchiveVersion, Response = ArmResponse >; diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json index cb5d3c5f3f56..c309bd3ea0bb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json @@ -3038,7 +3038,7 @@ "tags": [ "ArchiveVersions" ], - "description": "Creates a archive for a container registry with the specified parameters.", + "description": "Creates a archive version for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" From c8b496829cdd83d83062f682d13e71d3d2261069 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 9 Sep 2025 16:55:47 +0800 Subject: [PATCH 07/41] update --- .../RegistryTasks/AgentPool.tsp | 8 +- .../RegistryTasks/Run.tsp | 5 +- .../RegistryTasks/Task.tsp | 6 +- .../RegistryTasks/TaskRun.tsp | 6 +- .../RegistryTasks/back-compatible.tsp | 2 + .../RegistryTasks/client.tsp | 11 + .../RegistryTasks/main.tsp | 4 +- .../RegistryTasks/models.tsp | 105 +- .../containerregistry_build.json | 4829 +++++++++-------- .../examples/AgentPoolsCreate.json | 52 +- .../examples/AgentPoolsDelete.json | 14 +- .../examples/AgentPoolsGet.json | 26 +- .../examples/AgentPoolsGetQueueStatus.json | 14 +- .../examples/AgentPoolsList.json | 26 +- .../examples/AgentPoolsUpdate.json | 38 +- .../TasksCreate_WithLoginIdentity.json | 300 +- ...sksCreate_WithSystemAndUserIdentities.json | 302 +- .../TasksCreate_WithSystemIdentity.json | 274 +- .../TasksCreate_WithUserIdentities.json | 306 +- ...sUpdate_WithKeyVaultCustomCredentials.json | 160 +- .../TasksUpdate_WithLoginIdentity.json | 134 +- .../TasksUpdate_WithMSICustomCredentials.json | 140 +- .../RegistriesGetBuildSourceUploadUrl.json | 12 +- .../examples/RegistriesScheduleRun.json | 58 +- .../RegistriesScheduleRun_EncodedTaskRun.json | 52 +- .../RegistriesScheduleRun_FileTaskRun.json | 48 +- ...uleRun_FileTask_WithCustomCredentials.json | 74 +- .../examples/RegistriesScheduleRun_Task.json | 50 +- ...riesScheduleRun_WithCustomCredentials.json | 90 +- ...RegistriesScheduleRun_WithLogTemplate.json | 60 +- .../examples/RunsCancel.json | 14 +- .../2025-03-01-preview/examples/RunsGet.json | 76 +- .../examples/RunsGetLogSasUrl.json | 14 +- .../2025-03-01-preview/examples/RunsList.json | 78 +- .../examples/RunsUpdate.json | 76 +- .../examples/TaskRunsCreate.json | 108 +- .../examples/TaskRunsDelete.json | 12 +- .../examples/TaskRunsGet.json | 56 +- .../examples/TaskRunsGetDetails.json | 56 +- .../examples/TaskRunsList.json | 56 +- .../examples/TaskRunsUpdate.json | 106 +- .../examples/TasksCreate.json | 286 +- .../examples/TasksCreate_QuickTask.json | 68 +- .../examples/TasksDelete.json | 12 +- .../2025-03-01-preview/examples/TasksGet.json | 118 +- .../examples/TasksGetDetails.json | 136 +- .../examples/TasksList.json | 118 +- .../examples/TasksUpdate.json | 160 +- .../examples/TasksUpdate_QuickTask.json | 36 +- ...sksUpdate_WithOpaqueCustomCredentials.json | 154 +- .../RegistryTasks/readme.typescript.md | 36 - .../RegistryTasks/tspconfig.yaml | 39 + 52 files changed, 4737 insertions(+), 4284 deletions(-) create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/readme.typescript.md diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp index 300bbdefcef1..5cfb2e67ee65 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp @@ -14,7 +14,8 @@ namespace Microsoft.ContainerRegistry; * The agentpool that has the ARM resource and properties. * The agentpool will have all information to create an agent pool. */ -model AgentPool is Azure.ResourceManager.TrackedResource { +@parentResource(Registry) +model AgentPool is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = AgentPool, KeyName = "agentPoolName", @@ -42,7 +43,7 @@ interface AgentPools { update is ArmCustomPatchAsync< AgentPool, PatchModel = AgentPoolUpdateParameters, - Response = ArmResponse | ArmResourceCreatedResponse, + Response = AgentPool | ArmResourceCreatedResponse, LroHeaders = ArmAsyncOperationHeader & Azure.Core.Foundations.RetryAfterHeader >; @@ -55,7 +56,8 @@ interface AgentPools { /** * Lists all the agent pools for a specified container registry. */ - list is ArmResourceListByParent; + @list + list is ArmResourceListByParent>; /** * Gets the count of queued runs for a given agent pool. diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Run.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Run.tsp index c032ab89aed5..619559983ee3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Run.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Run.tsp @@ -13,6 +13,7 @@ namespace Microsoft.ContainerRegistry; /** * Run resource properties */ +@parentResource(Registry) model Run is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = Run, @@ -38,6 +39,7 @@ interface Runs { /** * Gets all the runs for a registry. */ + @list list is ArmResourceListByParent< Run, Parameters = { @@ -52,7 +54,8 @@ interface Runs { */ @query("$top") $top?: int32; - } + }, + Response = ArmResponse >; /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp index 88e99c19d670..97c234749c7c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp @@ -14,7 +14,8 @@ namespace Microsoft.ContainerRegistry; * The task that has the ARM resource and task properties. * The task will have all information to schedule a run against it. */ -model Task is Azure.ResourceManager.TrackedResource { +@parentResource(Registry) +model Task is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = Task, KeyName = "taskName", @@ -55,7 +56,8 @@ interface Tasks { /** * Lists all the tasks for a specified container registry. */ - list is ArmResourceListByParent; + @list + list is ArmResourceListByParent>; /** * Returns a task with extended information that includes all secrets. diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp index 19fddb084cd6..a4164d0d9022 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp @@ -14,6 +14,7 @@ namespace Microsoft.ContainerRegistry; * The task run that has the ARM resource and properties. * The task run will have the information of request and result of a run. */ +@parentResource(Registry) model TaskRun is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = TaskRun, @@ -54,7 +55,7 @@ interface TaskRuns { update is ArmCustomPatchAsync< TaskRun, PatchModel = TaskRunUpdateParameters, - Response = ArmResponse | ArmResourceCreatedResponse, + Response = TaskRun | ArmResourceCreatedResponse, LroHeaders = ArmAsyncOperationHeader & Azure.Core.Foundations.RetryAfterHeader >; @@ -67,7 +68,8 @@ interface TaskRuns { /** * Lists all the task runs for a specified container registry. */ - list is ArmResourceListByParent; + @list + list is ArmResourceListByParent>; /** * Gets the detailed information for a given task run that includes all secrets. diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp index b395890f0cdd..eb86846f7860 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp @@ -35,3 +35,5 @@ using Microsoft.ContainerRegistry; @@clientLocation(RegistriesOperationGroup.getBuildSourceUploadUrl, "Registries" ); + +@@clientName(RegistriesOperationGroup.scheduleRun::parameters.body, "runRequest"); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp new file mode 100644 index 000000000000..883fd57d32b2 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp @@ -0,0 +1,11 @@ +import "@azure-tools/typespec-client-generator-core"; +import "./main.tsp"; + +using Azure.ClientGenerator.Core; + +namespace Microsoft.ContainerRegistry; + +@@clientName(Microsoft.ContainerRegistry, + "ContainerRegistryTasksManagementClient", + "javascript" +); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp index 9e233dbe1e76..abe796180d48 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp @@ -26,10 +26,10 @@ using Azure.Core; using Azure.ResourceManager; using TypeSpec.Versioning; /** - * // (missing-service-description) Add service description + * The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components. */ @armProviderNamespace -@service(#{ title: "ContainerRegistryManagementClient" }) +@service(#{ title: "ContainerRegistryTasksManagementClient" }) @versioned(Versions) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v6) namespace Microsoft.ContainerRegistry; diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp index d2ab97c39220..893ce4e7a6a7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp @@ -417,6 +417,74 @@ model AgentPoolQueueStatus { count?: int32; } +/** + * The collection of agent pools. + */ +model AgentPoolListResult { + /** + * The collection value. + */ + @pageItems + value?: AgentPool[]; + + /** + * The URI that can be used to request the next set of paged results. + */ + @nextLink + nextLink?: string; +} + +/** + * The collection of runs. + */ +model RunListResult { + /** + * The collection value. + */ + @pageItems + value?: Run[]; + + /** + * The URI that can be used to request the next set of paged results. + */ + @nextLink + nextLink?: string; +} + +/** + * The collection of tasks. + */ +model TaskListResult { + /** + * The collection value. + */ + @pageItems + value?: Task[]; + + /** + * The URI that can be used to request the next set of paged results. + */ + @nextLink + nextLink?: string; +} + +/** + * The collection of task runs. + */ +model TaskRunListResult { + /** + * The collection value. + */ + @pageItems + value?: TaskRun[]; + + /** + * The URI that can be used to request the next set of paged results. + */ + @nextLink + nextLink?: string; +} + /** * The request parameters for scheduling a run. */ @@ -430,7 +498,7 @@ model RunRequest { /** * The value that indicates whether archiving is enabled for the run or not. */ - isArchiveEnabled?: boolean; + isArchiveEnabled?: boolean = false; /** * The dedicated agent pool for the run. @@ -562,7 +630,7 @@ model RunProperties { /** * The value that indicates whether archiving is enabled or not. */ - isArchiveEnabled?: boolean; + isArchiveEnabled?: boolean = false; } /** @@ -947,7 +1015,7 @@ model TaskProperties { /** * The value of this property indicates whether the task resource is system task or not. */ - isSystemTask?: boolean; + isSystemTask?: boolean = false; } /** @@ -1045,7 +1113,7 @@ model TimerTrigger { /** * The current status of trigger. */ - status?: TriggerStatus; + status?: TriggerStatus = TriggerStatus.Enabled; /** * The name of the trigger. @@ -1070,7 +1138,7 @@ model SourceTrigger { /** * The current status of trigger. */ - status?: TriggerStatus; + status?: TriggerStatus = TriggerStatus.Enabled; /** * The name of the trigger. @@ -1156,7 +1224,7 @@ model BaseImageTrigger { /** * The current status of trigger. */ - status?: TriggerStatus; + status?: TriggerStatus = TriggerStatus.Enabled; /** * The name of the trigger. @@ -1392,7 +1460,7 @@ model TimerTriggerUpdateParameters { /** * The current status of trigger. */ - status?: TriggerStatus; + status?: TriggerStatus = TriggerStatus.Enabled; /** * The name of the trigger. @@ -1417,7 +1485,7 @@ model SourceTriggerUpdateParameters { /** * The current status of trigger. */ - status?: TriggerStatus; + status?: TriggerStatus = TriggerStatus.Enabled; /** * The name of the trigger. @@ -1503,7 +1571,7 @@ model BaseImageTriggerUpdateParameters { /** * The current status of trigger. */ - status?: TriggerStatus; + status?: TriggerStatus = TriggerStatus.Enabled; /** * The name of the trigger. @@ -1581,7 +1649,7 @@ model DockerBuildRequest extends RunRequest { /** * The value of this property indicates whether the image cache is enabled or not. */ - noCache?: boolean; + noCache?: boolean = false; /** * The Docker file path relative to the source location. @@ -1650,7 +1718,7 @@ model Argument { /** * Flag to indicate whether the argument represents a secret and want to be removed from build logs. */ - isSecret?: boolean; + isSecret?: boolean = false; } /** @@ -1724,7 +1792,7 @@ model SetValue { /** * Flag to indicate whether the value represents a secret or not. */ - isSecret?: boolean; + isSecret?: boolean = false; } /** @@ -1854,7 +1922,7 @@ model DockerBuildStep extends TaskStepProperties { /** * The value of this property indicates whether the image cache is enabled or not. */ - noCache?: boolean; + noCache?: boolean = false; /** * The Docker file path relative to the source context. @@ -2022,3 +2090,14 @@ model EncodedTaskStepUpdateParameters extends TaskStepUpdateParameters { */ type: "EncodedTask"; } + +model Registry is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Registry, + KeyName = "registryName", + SegmentName = "registries", + NamePattern = "^[a-zA-Z0-9]*$", + >; +} +@@maxLength(Registry.name, 50); +@@minLength(Registry.name, 5); \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json index c54b4dee5294..45d625589174 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json @@ -1,54 +1,157 @@ { "swagger": "2.0", "info": { + "title": "ContainerRegistryTasksManagementClient", "version": "2025-03-01-preview", - "title": "ContainerRegistryManagementClient" + "description": "The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", - "basePath": "/", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "AgentPools" + }, + { + "name": "Runs" + }, + { + "name": "TaskRuns" + }, + { + "name": "Tasks" + } + ], "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools": { + "get": { + "operationId": "AgentPools_List", + "tags": [ + "AgentPools" + ], + "description": "Lists all the agent pools for a specified container registry.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AgentPoolListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AgentPools_List": { + "$ref": "./examples/AgentPoolsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}": { "get": { + "operationId": "AgentPools_Get", "tags": [ "AgentPools" ], "description": "Gets the detailed information for a given agent pool.", - "operationId": "AgentPools_Get", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/AgentPoolNameParameter" + "name": "agentPoolName", + "in": "path", + "description": "The name of the agent pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/AgentPool" } }, "default": { - "description": "Error response describing why the operation failed. If the registry/agentpool doesn't exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -61,26 +164,40 @@ } }, "put": { + "operationId": "AgentPools_Create", "tags": [ "AgentPools" ], "description": "Creates an agent pool for a container registry with the specified parameters.", - "operationId": "AgentPools_Create", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/AgentPoolNameParameter" + "name": "agentPoolName", + "in": "path", + "description": "The name of the agent pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "agentPool", @@ -94,112 +211,81 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'AgentPool' update operation succeeded", "schema": { "$ref": "#/definitions/AgentPool" } }, "201": { - "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.", + "description": "Resource 'AgentPool' create operation succeeded", "schema": { "$ref": "#/definitions/AgentPool" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "AgentPools_Create": { "$ref": "./examples/AgentPoolsCreate.json" } - } - }, - "delete": { - "tags": [ - "AgentPools" - ], - "description": "Deletes a specified agent pool resource.", - "operationId": "AgentPools_Delete", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/AgentPoolNameParameter" - } - ], - "responses": { - "202": { - "description": "The request was successfully accepted; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "No Content - the specified resource was not found." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/AgentPool" }, - "x-ms-examples": { - "AgentPools_Delete": { - "$ref": "./examples/AgentPoolsDelete.json" - } - } + "x-ms-long-running-operation": true }, "patch": { + "operationId": "AgentPools_Update", "tags": [ "AgentPools" ], "description": "Updates an agent pool with the specified parameters.", - "operationId": "AgentPools_Update", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/AgentPoolNameParameter" + "name": "agentPoolName", + "in": "path", + "description": "The name of the agent pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "updateParameters", @@ -213,118 +299,162 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "The request has succeeded.", "schema": { "$ref": "#/definitions/AgentPool" } }, "201": { - "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.", + "description": "Resource 'AgentPool' create operation succeeded", "schema": { "$ref": "#/definitions/AgentPool" }, "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "AgentPools_Update": { "$ref": "./examples/AgentPoolsUpdate.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools": { - "get": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/AgentPool" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "AgentPools_Delete", "tags": [ "AgentPools" ], - "description": "Lists all the agent pools for a specified container registry.", - "operationId": "AgentPools_List", + "description": "Deletes a specified agent pool resource.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "agentPoolName", + "in": "path", + "description": "The name of the agent pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/AgentPoolListResult" + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "AgentPools_List": { - "$ref": "./examples/AgentPoolsList.json" + "AgentPools_Delete": { + "$ref": "./examples/AgentPoolsDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}/listQueueStatus": { "post": { + "operationId": "AgentPools_GetQueueStatus", "tags": [ "AgentPools" ], "description": "Gets the count of queued runs for a given agent pool.", - "operationId": "AgentPools_GetQueueStatus", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/AgentPoolNameParameter" + "name": "agentPoolName", + "in": "path", + "description": "The name of the agent pool.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 20, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/AgentPoolQueueStatus" } }, "default": { - "description": "Error response describing why the operation failed. If the registry/agentpool doesn't exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -337,136 +467,78 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl": { "post": { - "tags": [ - "Registries" - ], - "description": "Schedules a new run based on the request parameters and add it to the run queue.", - "operationId": "Registries_ScheduleRun", + "operationId": "Registries_GetBuildSourceUploadUrl", + "description": "Get the upload location for the user to be able to upload the source.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "runRequest", - "in": "body", - "description": "The parameters of a run that needs to scheduled.", + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", "required": true, - "schema": { - "$ref": "#/definitions/RunRequest" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/Run" + "$ref": "#/definitions/SourceUploadDefinition" } }, "default": { - "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Registries_ScheduleRun": { - "$ref": "./examples/RegistriesScheduleRun.json" - }, - "Registries_ScheduleRun_EncodedTaskRun": { - "$ref": "./examples/RegistriesScheduleRun_EncodedTaskRun.json" - }, - "Registries_ScheduleRun_FileTaskRun": { - "$ref": "./examples/RegistriesScheduleRun_FileTaskRun.json" - }, - "Registries_ScheduleRun_Task": { - "$ref": "./examples/RegistriesScheduleRun_Task.json" - }, - "Registries_ScheduleRun_Task_WithCustomCredentials": { - "$ref": "./examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json" - }, - "Registries_ScheduleRun_WithCustomCredentials": { - "$ref": "./examples/RegistriesScheduleRun_WithCustomCredentials.json" - }, - "Registries_ScheduleRun_WithLogTemplate": { - "$ref": "./examples/RegistriesScheduleRun_WithLogTemplate.json" + "Registries_GetBuildSourceUploadUrl": { + "$ref": "./examples/RegistriesGetBuildSourceUploadUrl.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs": { + "get": { + "operationId": "Runs_List", "tags": [ - "Registries" + "Runs" ], - "description": "Get the upload location for the user to be able to upload the source.", - "operationId": "Registries_GetBuildSourceUploadUrl", + "description": "Gets all the runs for a registry.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/SourceUploadDefinition" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Registries_GetBuildSourceUploadUrl": { - "$ref": "./examples/RegistriesGetBuildSourceUploadUrl.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs": { - "get": { - "tags": [ - "Runs" - ], - "description": "Gets all the runs for a registry.", - "operationId": "Runs_List", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "$filter", @@ -486,48 +558,54 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/RunListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-odata": "#/definitions/RunFilter", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Runs_List": { "$ref": "./examples/RunsList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}": { "get": { + "operationId": "Runs_Get", "tags": [ "Runs" ], "description": "Gets the detailed information for a given run.", - "operationId": "Runs_Get", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "runId", @@ -539,13 +617,13 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Run" } }, "default": { - "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -558,23 +636,30 @@ } }, "patch": { + "operationId": "Runs_Update", "tags": [ "Runs" ], "description": "Patch the run properties.", - "operationId": "Runs_Update", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "runId", @@ -595,13 +680,13 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Run" } }, "default": { - "description": "Error response describing why the operation failed. If the registry/build doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -614,25 +699,32 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel": { "post": { + "operationId": "Runs_Cancel", "tags": [ "Runs" ], - "description": "Gets a link to download the run logs.", - "operationId": "Runs_GetLogSasUrl", + "description": "Cancel an existing run.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "runId", @@ -644,44 +736,48 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/RunGetLogResult" - } + "description": "The request has succeeded." }, "default": { - "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Runs_GetLogSasUrl": { - "$ref": "./examples/RunsGetLogSasUrl.json" + "Runs_Cancel": { + "$ref": "./examples/RunsCancel.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl": { "post": { + "operationId": "Runs_GetLogSasUrl", "tags": [ "Runs" ], - "description": "Cancel an existing run.", - "operationId": "Runs_Cancel", + "description": "Gets a link to download the run logs.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "runId", @@ -693,412 +789,596 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RunGetLogResult" + } }, "default": { - "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Runs_Cancel": { - "$ref": "./examples/RunsCancel.json" + "Runs_GetLogSasUrl": { + "$ref": "./examples/RunsGetLogSasUrl.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}": { - "get": { - "tags": [ - "TaskRuns" - ], - "description": "Gets the detailed information for a given task run.", - "operationId": "TaskRuns_Get", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun": { + "post": { + "operationId": "Registries_ScheduleRun", + "description": "Schedules a new run based on the request parameters and add it to the run queue.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TaskRunNameParameter" + "name": "runRequest", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/RunRequest" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/TaskRun" + "$ref": "#/definitions/Run" } }, "default": { - "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "TaskRuns_Get": { - "$ref": "./examples/TaskRunsGet.json" + "Registries_ScheduleRun": { + "$ref": "./examples/RegistriesScheduleRun.json" + }, + "Registries_ScheduleRun_EncodedTaskRun": { + "$ref": "./examples/RegistriesScheduleRun_EncodedTaskRun.json" + }, + "Registries_ScheduleRun_FileTaskRun": { + "$ref": "./examples/RegistriesScheduleRun_FileTaskRun.json" + }, + "Registries_ScheduleRun_Task": { + "$ref": "./examples/RegistriesScheduleRun_Task.json" + }, + "Registries_ScheduleRun_Task_WithCustomCredentials": { + "$ref": "./examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json" + }, + "Registries_ScheduleRun_WithCustomCredentials": { + "$ref": "./examples/RegistriesScheduleRun_WithCustomCredentials.json" + }, + "Registries_ScheduleRun_WithLogTemplate": { + "$ref": "./examples/RegistriesScheduleRun_WithLogTemplate.json" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns": { + "get": { + "operationId": "TaskRuns_List", "tags": [ "TaskRuns" ], - "description": "Creates a task run for a container registry with the specified parameters.", - "operationId": "TaskRuns_Create", + "description": "Lists all the task runs for a specified container registry.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/TaskRunNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "taskRun", - "in": "body", - "description": "The parameters of a run that needs to scheduled.", + "name": "registryName", + "in": "path", + "description": "The name of the Registry", "required": true, - "schema": { - "$ref": "#/definitions/TaskRun" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/TaskRun" - } - }, - "201": { - "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/TaskRun" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } + "$ref": "#/definitions/TaskRunListResult" } }, "default": { - "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { - "TaskRuns_Create": { - "$ref": "./examples/TaskRunsCreate.json" + "TaskRuns_List": { + "$ref": "./examples/TaskRunsList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}": { + "get": { + "operationId": "TaskRuns_Get", "tags": [ "TaskRuns" ], - "description": "Deletes a specified task run resource.", - "operationId": "TaskRuns_Delete", + "description": "Gets the detailed information for a given task run.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TaskRunNameParameter" + "name": "taskRunName", + "in": "path", + "description": "The name of the task run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "204": { - "description": "No Content - the specified resource was not found." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TaskRun" + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "TaskRuns_Delete": { - "$ref": "./examples/TaskRunsDelete.json" + "TaskRuns_Get": { + "$ref": "./examples/TaskRunsGet.json" } } }, - "patch": { + "put": { + "operationId": "TaskRuns_Create", "tags": [ "TaskRuns" ], - "description": "Updates a task run with the specified parameters.", - "operationId": "TaskRuns_Update", + "description": "Creates a task run for a container registry with the specified parameters.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TaskRunNameParameter" + "name": "taskRunName", + "in": "path", + "description": "The name of the task run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { - "name": "updateParameters", + "name": "taskRun", "in": "body", - "description": "The parameters for updating a task run.", + "description": "The parameters of a run that needs to scheduled.", "required": true, "schema": { - "$ref": "#/definitions/TaskRunUpdateParameters" + "$ref": "#/definitions/TaskRun" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'TaskRun' update operation succeeded", "schema": { "$ref": "#/definitions/TaskRun" } }, "201": { - "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.", + "description": "Resource 'TaskRun' create operation succeeded", "schema": { "$ref": "#/definitions/TaskRun" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { - "TaskRuns_Update": { - "$ref": "./examples/TaskRunsUpdate.json" + "TaskRuns_Create": { + "$ref": "./examples/TaskRunsCreate.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}/listDetails": { - "post": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/TaskRun" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TaskRuns_Update", "tags": [ "TaskRuns" ], - "description": "Gets the detailed information for a given task run that includes all secrets.", - "operationId": "TaskRuns_GetDetails", + "description": "Updates a task run with the specified parameters.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "taskRunName", + "in": "path", + "description": "The name of the task run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { - "$ref": "#/parameters/TaskRunNameParameter" + "name": "updateParameters", + "in": "body", + "description": "The parameters for updating a task run.", + "required": true, + "schema": { + "$ref": "#/definitions/TaskRunUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/TaskRun" + } + }, + "201": { + "description": "Resource 'TaskRun' create operation succeeded", "schema": { "$ref": "#/definitions/TaskRun" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "TaskRuns_GetDetails": { - "$ref": "./examples/TaskRunsGetDetails.json" + "TaskRuns_Update": { + "$ref": "./examples/TaskRunsUpdate.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns": { - "get": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri", + "final-state-schema": "#/definitions/TaskRun" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TaskRuns_Delete", "tags": [ "TaskRuns" ], - "description": "Lists all the task runs for a specified container registry.", - "operationId": "TaskRuns_List", + "description": "Deletes a specified task run resource.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "taskRunName", + "in": "path", + "description": "The name of the task run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/TaskRunListResult" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TaskRuns_Delete": { + "$ref": "./examples/TaskRunsDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}/listDetails": { + "post": { + "operationId": "TaskRuns_GetDetails", + "tags": [ + "TaskRuns" + ], + "description": "Gets the detailed information for a given task run that includes all secrets.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "taskRunName", + "in": "path", + "description": "The name of the task run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TaskRun" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "TaskRuns_List": { - "$ref": "./examples/TaskRunsList.json" + "TaskRuns_GetDetails": { + "$ref": "./examples/TaskRunsGetDetails.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks": { "get": { + "operationId": "Tasks_List", "tags": [ "Tasks" ], "description": "Lists all the tasks for a specified container registry.", - "operationId": "Tasks_List", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/TaskListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Tasks_List": { "$ref": "./examples/TasksList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}": { "get": { + "operationId": "Tasks_Get", "tags": [ "Tasks" ], "description": "Get the properties of a specified task.", - "operationId": "Tasks_Get", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TaskNameParameter" + "name": "taskName", + "in": "path", + "description": "The name of the container registry task.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Task" } }, "default": { - "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1111,26 +1391,40 @@ } }, "put": { + "operationId": "Tasks_Create", "tags": [ "Tasks" ], "description": "Creates a task for a container registry with the specified parameters.", - "operationId": "Tasks_Create", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TaskNameParameter" + "name": "taskName", + "in": "path", + "description": "The name of the container registry task.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" }, { "name": "taskCreateParameters", @@ -1144,19 +1438,19 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Task' update operation succeeded", "schema": { "$ref": "#/definitions/Task" } }, "201": { - "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.", + "description": "Resource 'Task' create operation succeeded", "schema": { "$ref": "#/definitions/Task" } }, "default": { - "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1166,167 +1460,209 @@ "Tasks_Create": { "$ref": "./examples/TasksCreate.json" }, + "Tasks_Create_QuickTask": { + "$ref": "./examples/TasksCreate_QuickTask.json" + }, + "Tasks_Create_WithLoginIdentity": { + "$ref": "./examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json" + }, "Tasks_Create_WithSystemAndUserIdentities": { "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json" }, - "Tasks_Create_WithUserIdentities_WithSystemIdentity": { - "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json" - }, "Tasks_Create_WithUserIdentities": { "$ref": "./examples/ManagedIdentity/TasksCreate_WithUserIdentities.json" }, - "Tasks_Create_WithLoginIdentity": { - "$ref": "./examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json" - }, - "Tasks_Create_QuickTask": { - "$ref": "./examples/TasksCreate_QuickTask.json" + "Tasks_Create_WithUserIdentities_WithSystemIdentity": { + "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json" } } }, - "delete": { + "patch": { + "operationId": "Tasks_Update", "tags": [ "Tasks" ], - "description": "Deletes a specified task.", - "operationId": "Tasks_Delete", + "description": "Updates a task with the specified parameters.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "taskName", + "in": "path", + "description": "The name of the container registry task.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" }, { - "$ref": "#/parameters/TaskNameParameter" + "name": "taskUpdateParameters", + "in": "body", + "description": "The parameters for updating a task.", + "required": true, + "schema": { + "$ref": "#/definitions/TaskUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "204": { - "description": "No Content - the specified resource was not found." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Task" + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Tasks_Delete": { - "$ref": "./examples/TasksDelete.json" + "Tasks_Update": { + "$ref": "./examples/TasksUpdate.json" + }, + "Tasks_Update_QuickTask": { + "$ref": "./examples/TasksUpdate_QuickTask.json" + }, + "Tasks_Update_WithKeyVaultCustomCredentials": { + "$ref": "./examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json" + }, + "Tasks_Update_WithLoginIdentity": { + "$ref": "./examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json" + }, + "Tasks_Update_WithMSICustomCredentials": { + "$ref": "./examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json" + }, + "Tasks_Update_WithOpaqueCustomCredentials": { + "$ref": "./examples/TasksUpdate_WithOpaqueCustomCredentials.json" } } }, - "patch": { + "delete": { + "operationId": "Tasks_Delete", "tags": [ "Tasks" ], - "description": "Updates a task with the specified parameters.", - "operationId": "Tasks_Update", + "description": "Deletes a specified task.", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/TaskNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "taskUpdateParameters", - "in": "body", - "description": "The parameters for updating a task.", + "name": "taskName", + "in": "path", + "description": "The name of the container registry task.", "required": true, - "schema": { - "$ref": "#/definitions/TaskUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Task" - } + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Tasks_Update": { - "$ref": "./examples/TasksUpdate.json" - }, - "Tasks_Update_WithKeyVaultCustomCredentials": { - "$ref": "./examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json" - }, - "Tasks_Update_WithMSICustomCredentials": { - "$ref": "./examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json" - }, - "Tasks_Update_WithOpaqueCustomCredentials": { - "$ref": "./examples/TasksUpdate_WithOpaqueCustomCredentials.json" - }, - "Tasks_Update_WithLoginIdentity": { - "$ref": "./examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json" - }, - "Tasks_Update_QuickTask": { - "$ref": "./examples/TasksUpdate_QuickTask.json" + "Tasks_Delete": { + "$ref": "./examples/TasksDelete.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}/listDetails": { "post": { + "operationId": "Tasks_GetDetails", "tags": [ "Tasks" ], "description": "Returns a task with extended information that includes all secrets.", - "operationId": "Tasks_GetDetails", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "registryName", + "in": "path", + "description": "The name of the Registry", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TaskNameParameter" + "name": "taskName", + "in": "path", + "description": "The name of the container registry task.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Task" } }, "default": { - "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1342,835 +1678,748 @@ }, "definitions": { "AgentPool": { - "description": "The agentpool that has the ARM resource and properties. \r\nThe agentpool will have all information to create an agent pool.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], + "description": "The agentpool that has the ARM resource and properties.\nThe agentpool will have all information to create an agent pool.", "properties": { "properties": { "$ref": "#/definitions/AgentPoolProperties", "description": "The properties associated with the agent pool", "x-ms-client-flatten": true } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "AgentPoolListResult": { + "type": "object", + "description": "The collection of agent pools.", + "properties": { + "value": { + "type": "array", + "description": "The collection value.", + "items": { + "$ref": "#/definitions/AgentPool" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next set of paged results." + } } }, "AgentPoolProperties": { - "description": "The properties of agent pool.", "type": "object", + "description": "The properties of agent pool.", "properties": { "count": { + "type": "integer", "format": "int32", - "description": "The count of agent machine", - "type": "integer" + "description": "The count of agent machine" }, "tier": { - "description": "The Tier of agent machine", - "type": "string" + "type": "string", + "description": "The Tier of agent machine" }, "os": { - "description": "The OS of agent machine", - "enum": [ - "Windows", - "Linux" - ], - "type": "string", - "x-ms-enum": { - "name": "OS", - "modelAsString": true - } + "$ref": "#/definitions/OS", + "description": "The OS of agent machine" }, "virtualNetworkSubnetResourceId": { - "description": "The Virtual Network Subnet Resource Id of the agent machine", - "type": "string" + "type": "string", + "description": "The Virtual Network Subnet Resource Id of the agent machine" }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of this agent pool", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } } }, - "AgentPoolUpdateParameters": { - "description": "The parameters for updating an agent pool.", + "AgentPoolPropertiesUpdateParameters": { "type": "object", "properties": { - "properties": { - "$ref": "#/definitions/AgentPoolPropertiesUpdateParameters", - "description": "The properties associated with the agent pool", - "x-ms-client-flatten": true - }, - "tags": { - "description": "The ARM resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "count": { + "type": "integer", + "format": "int32", + "description": "The count of agent machine" } } }, - "AgentPoolPropertiesUpdateParameters": { + "AgentPoolQueueStatus": { "type": "object", + "description": "The QueueStatus of Agent Pool", "properties": { "count": { + "type": "integer", "format": "int32", - "description": "The count of agent machine", - "type": "integer" + "description": "The number of pending runs in the queue" } } }, - "AgentPoolListResult": { - "description": "The collection of agent pools.", + "AgentPoolUpdateParameters": { "type": "object", + "description": "The parameters for updating an agent pool.", "properties": { - "value": { - "description": "The collection value.", - "type": "array", - "items": { - "$ref": "#/definitions/AgentPool" - } + "properties": { + "$ref": "#/definitions/AgentPoolPropertiesUpdateParameters", + "description": "The properties associated with the agent pool", + "x-ms-client-flatten": true }, - "nextLink": { - "description": "The URI that can be used to request the next set of paged results.", - "type": "string" + "tags": { + "type": "object", + "description": "The ARM resource tags.", + "additionalProperties": { + "type": "string" + } } } }, - "AgentPoolQueueStatus": { - "description": "The QueueStatus of Agent Pool", + "AgentProperties": { "type": "object", + "description": "The properties that determine the run agent configuration.", "properties": { - "count": { + "cpu": { + "type": "integer", "format": "int32", - "description": "The number of pending runs in the queue", - "type": "integer" + "description": "The CPU configuration in terms of number of cores required for the run." } } }, - "RunRequest": { - "description": "The request parameters for scheduling a run.", - "required": [ - "type" + "Architecture": { + "type": "string", + "description": "The OS architecture.", + "enum": [ + "amd64", + "x86", + "386", + "arm", + "arm64" ], + "x-ms-enum": { + "name": "Architecture", + "modelAsString": true, + "values": [ + { + "name": "amd64", + "value": "amd64" + }, + { + "name": "x86", + "value": "x86" + }, + { + "name": "386", + "value": "386" + }, + { + "name": "arm", + "value": "arm" + }, + { + "name": "arm64", + "value": "arm64" + } + ] + } + }, + "Argument": { "type": "object", + "description": "The properties of a run argument.", "properties": { - "type": { - "description": "The type of the run request.", - "type": "string" - }, - "isArchiveEnabled": { - "description": "The value that indicates whether archiving is enabled for the run or not.", - "default": false, - "type": "boolean" + "name": { + "type": "string", + "description": "The name of the argument." }, - "agentPoolName": { - "description": "The dedicated agent pool for the run.", - "type": "string" + "value": { + "type": "string", + "description": "The value of the argument." }, - "logTemplate": { - "description": "The template that describes the repository and tag information for run log artifact.", - "type": "string" + "isSecret": { + "type": "boolean", + "description": "Flag to indicate whether the argument represents a secret and want to be removed from build logs.", + "default": false } }, - "discriminator": "type" - }, - "Run": { - "description": "Run resource properties", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/RunProperties", - "description": "The properties of a run.", - "x-ms-client-flatten": true - } - } + "required": [ + "name", + "value" + ] }, - "RunProperties": { - "description": "The properties for a run.", + "AuthInfo": { "type": "object", + "description": "The authorization properties for accessing the source code repository.", "properties": { - "runId": { - "description": "The unique identifier for the run.", - "type": "string" + "tokenType": { + "$ref": "#/definitions/TokenType", + "description": "The type of Auth token." }, - "status": { - "description": "The current status of the run.", - "enum": [ - "Queued", - "Started", - "Running", - "Succeeded", - "Failed", - "Canceled", - "Error", - "Timeout" - ], + "token": { "type": "string", - "x-ms-enum": { - "name": "RunStatus", - "modelAsString": true - } - }, - "lastUpdatedTime": { - "format": "date-time", - "description": "The last updated time for the run.", - "type": "string" + "description": "The access token used to access the source control provider." }, - "runType": { - "description": "The type of run.", - "enum": [ - "QuickBuild", - "QuickRun", - "AutoBuild", - "AutoRun" - ], + "refreshToken": { "type": "string", - "x-ms-enum": { - "name": "RunType", - "modelAsString": true - } - }, - "agentPoolName": { - "description": "The dedicated agent pool for the run.", - "type": "string" - }, - "createTime": { - "format": "date-time", - "description": "The time the run was scheduled.", - "type": "string" - }, - "startTime": { - "format": "date-time", - "description": "The time the run started.", - "type": "string" - }, - "finishTime": { - "format": "date-time", - "description": "The time the run finished.", - "type": "string" - }, - "outputImages": { - "description": "The list of all images that were generated from the run. This is applicable if the run generates base image dependencies.", - "type": "array", - "items": { - "$ref": "#/definitions/ImageDescriptor" - }, - "x-ms-identifiers": [ - "registry" - ] - }, - "task": { - "description": "The task against which run was scheduled.", - "type": "string" - }, - "imageUpdateTrigger": { - "$ref": "#/definitions/ImageUpdateTrigger", - "description": "The image update trigger that caused the run. This is applicable if the task has base image trigger configured." - }, - "sourceTrigger": { - "$ref": "#/definitions/SourceTriggerDescriptor", - "description": "The source trigger that caused the run." - }, - "timerTrigger": { - "$ref": "#/definitions/TimerTriggerDescriptor", - "description": "The timer trigger that caused the run." - }, - "platform": { - "$ref": "#/definitions/PlatformProperties", - "description": "The platform properties against which the run will happen." - }, - "agentConfiguration": { - "$ref": "#/definitions/AgentProperties", - "description": "The machine configuration of the run agent." + "description": "The refresh token used to refresh the access token." }, - "sourceRegistryAuth": { - "description": "The scope of the credentials that were used to login to the source registry during this run.", - "type": "string" + "scope": { + "type": "string", + "description": "The scope of the access token." }, - "customRegistries": { - "description": "The list of custom registries that were logged in during this run.", - "type": "array", - "items": { - "type": "string" - } + "expiresIn": { + "type": "integer", + "format": "int32", + "description": "Time in seconds that the token remains valid" + } + }, + "required": [ + "tokenType", + "token" + ] + }, + "AuthInfoUpdateParameters": { + "type": "object", + "description": "The authorization properties for accessing the source code repository.", + "properties": { + "tokenType": { + "$ref": "#/definitions/TokenType", + "description": "The type of Auth token." }, - "runErrorMessage": { - "description": "The error message received from backend systems after the run is scheduled.", + "token": { "type": "string", - "readOnly": true - }, - "updateTriggerToken": { - "description": "The update trigger token passed for the Run.", - "type": "string" + "description": "The access token used to access the source control provider." }, - "logArtifact": { - "$ref": "#/definitions/ImageDescriptor", - "description": "The image description for the log artifact.", - "readOnly": true + "refreshToken": { + "type": "string", + "description": "The refresh token used to refresh the access token." }, - "provisioningState": { - "description": "The provisioning state of a run.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], + "scope": { "type": "string", - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "description": "The scope of the access token." }, - "isArchiveEnabled": { - "description": "The value that indicates whether archiving is enabled or not.", - "default": false, - "type": "boolean" + "expiresIn": { + "type": "integer", + "format": "int32", + "description": "Time in seconds that the token remains valid" } } }, - "ImageDescriptor": { - "description": "Properties for a registry image.", + "BaseImageDependency": { "type": "object", + "description": "Properties that describe a base image dependency.", "properties": { + "type": { + "$ref": "#/definitions/BaseImageDependencyType", + "description": "The type of the base image dependency." + }, "registry": { - "description": "The registry login server.", - "type": "string" + "type": "string", + "description": "The registry login server." }, "repository": { - "description": "The repository name.", - "type": "string" + "type": "string", + "description": "The repository name." }, "tag": { - "description": "The tag name.", - "type": "string" + "type": "string", + "description": "The tag name." }, "digest": { - "description": "The sha256-based digest of the image manifest.", - "type": "string" + "type": "string", + "description": "The sha256-based digest of the image manifest." } } }, - "ImageUpdateTrigger": { - "description": "The image update trigger that caused a build.", - "type": "object", - "properties": { - "id": { - "description": "The unique ID of the trigger.", - "type": "string" - }, - "timestamp": { - "format": "date-time", - "description": "The timestamp when the image update happened.", - "type": "string" - }, - "images": { - "description": "The list of image updates that caused the build.", - "type": "array", - "items": { - "$ref": "#/definitions/ImageDescriptor" + "BaseImageDependencyType": { + "type": "string", + "description": "The type of the base image dependency.", + "enum": [ + "BuildTime", + "RunTime" + ], + "x-ms-enum": { + "name": "BaseImageDependencyType", + "modelAsString": true, + "values": [ + { + "name": "BuildTime", + "value": "BuildTime" }, - "x-ms-identifiers": [ - "registry" - ] - } + { + "name": "RunTime", + "value": "RunTime" + } + ] } }, - "SourceTriggerDescriptor": { - "description": "The source trigger that caused a run.", + "BaseImageTrigger": { "type": "object", + "description": "The trigger based on base image dependency.", "properties": { - "id": { - "description": "The unique ID of the trigger.", - "type": "string" + "baseImageTriggerType": { + "$ref": "#/definitions/BaseImageTriggerType", + "description": "The type of the auto trigger for base image dependency updates." }, - "eventType": { - "description": "The event type of the trigger.", - "type": "string" + "updateTriggerEndpoint": { + "type": "string", + "description": "The endpoint URL for receiving update triggers." }, - "commitId": { - "description": "The unique ID that identifies a commit.", - "type": "string" + "updateTriggerPayloadType": { + "$ref": "#/definitions/UpdateTriggerPayloadType", + "description": "Type of Payload body for Base image update triggers." }, - "pullRequestId": { - "description": "The unique ID that identifies pull request.", - "type": "string" + "status": { + "type": "string", + "description": "The current status of trigger.", + "default": "Enabled", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } }, - "repositoryUrl": { - "description": "The repository URL.", - "type": "string" - }, - "branchName": { - "description": "The branch name in the repository.", - "type": "string" - }, - "providerType": { - "description": "The source control provider type.", - "type": "string" + "name": { + "type": "string", + "description": "The name of the trigger." } - } + }, + "required": [ + "baseImageTriggerType", + "name" + ] }, - "TimerTriggerDescriptor": { - "type": "object", - "properties": { - "timerTriggerName": { - "description": "The timer trigger name that caused the run.", - "type": "string" - }, - "scheduleOccurrence": { - "description": "The occurrence that triggered the run.", - "type": "string" - } + "BaseImageTriggerType": { + "type": "string", + "description": "The type of the auto trigger for base image dependency updates.", + "enum": [ + "All", + "Runtime" + ], + "x-ms-enum": { + "name": "BaseImageTriggerType", + "modelAsString": true, + "values": [ + { + "name": "All", + "value": "All" + }, + { + "name": "Runtime", + "value": "Runtime" + } + ] } }, - "PlatformProperties": { - "description": "The platform properties against which the run has to happen.", - "required": [ - "os" - ], + "BaseImageTriggerUpdateParameters": { "type": "object", + "description": "The properties for updating base image dependency trigger.", "properties": { - "os": { - "description": "The operating system type required for the run.", - "enum": [ - "Windows", - "Linux" - ], + "baseImageTriggerType": { + "$ref": "#/definitions/BaseImageTriggerType", + "description": "The type of the auto trigger for base image dependency updates." + }, + "updateTriggerEndpoint": { "type": "string", - "x-ms-enum": { - "name": "OS", - "modelAsString": true - } + "description": "The endpoint URL for receiving update triggers." }, - "architecture": { - "description": "The OS architecture.", + "updateTriggerPayloadType": { + "$ref": "#/definitions/UpdateTriggerPayloadType", + "description": "Type of Payload body for Base image update triggers." + }, + "status": { + "type": "string", + "description": "The current status of trigger.", + "default": "Enabled", "enum": [ - "amd64", - "x86", - "386", - "arm", - "arm64" + "Disabled", + "Enabled" ], - "type": "string", "x-ms-enum": { - "name": "Architecture", - "modelAsString": true + "name": "TriggerStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] } }, - "variant": { - "description": "Variant of the CPU.", - "enum": [ - "v6", - "v7", - "v8" - ], + "name": { "type": "string", - "x-ms-enum": { - "name": "Variant", - "modelAsString": true - } + "description": "The name of the trigger." } - } + }, + "required": [ + "name" + ] }, - "AgentProperties": { - "description": "The properties that determine the run agent configuration.", + "Credentials": { "type": "object", + "description": "The parameters that describes a set of credentials that will be used when a run is invoked.", "properties": { - "cpu": { - "format": "int32", - "description": "The CPU configuration in terms of number of cores required for the run.", - "type": "integer" + "sourceRegistry": { + "$ref": "#/definitions/SourceRegistryCredentials", + "description": "Describes the credential parameters for accessing the source registry." + }, + "customRegistries": { + "type": "object", + "description": "Describes the credential parameters for accessing other custom registries. The key\nfor the dictionary item will be the registry login server (myregistry.azurecr.io) and\nthe value of the item will be the registry credentials for accessing the registry.", + "additionalProperties": { + "$ref": "#/definitions/CustomRegistryCredentials" + } } } }, - "SourceUploadDefinition": { - "description": "The properties of a response to source upload request.", + "CustomRegistryCredentials": { "type": "object", + "description": "Describes the credentials that will be used to access a custom registry during a run.", "properties": { - "uploadUrl": { - "description": "The URL where the client can upload the source.", - "type": "string" + "userName": { + "$ref": "#/definitions/SecretObject", + "description": "The username for logging into the custom registry." }, - "relativePath": { - "description": "The relative path to the source. This is used to submit the subsequent queue build request.", - "type": "string" + "password": { + "$ref": "#/definitions/SecretObject", + "description": "The password for logging into the custom registry. The password is a secret\nobject that allows multiple ways of providing the value for it." + }, + "identity": { + "type": "string", + "description": "Indicates the managed identity assigned to the custom credential. If a user-assigned identity\nthis value is the Client ID. If a system-assigned identity, the value will be `system`. In\nthe case of a system-assigned identity, the Client ID will be determined by the runner. This\nidentity may be used to authenticate to key vault to retrieve credentials or it may be the only\nsource of authentication used for accessing the registry." } } }, - "RunListResult": { - "description": "Collection of runs.", + "DockerBuildRequest": { "type": "object", + "description": "The parameters for a docker quick build.", "properties": { - "value": { - "description": "The collection value.", + "imageNames": { "type": "array", + "description": "The fully qualified image names including the repository and tag.", "items": { - "$ref": "#/definitions/Run" + "type": "string" } }, - "nextLink": { - "description": "The URI that can be used to request the next set of paged results.", - "type": "string" - } - } - }, - "RunFilter": { - "description": "Properties that are enabled for Odata querying on runs.", - "type": "object", - "properties": { - "runId": { - "description": "The unique identifier for the run.", - "type": "string" + "isPushEnabled": { + "type": "boolean", + "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", + "default": true }, - "runType": { - "description": "The type of run.", - "enum": [ - "QuickBuild", - "QuickRun", - "AutoBuild", - "AutoRun" - ], + "noCache": { + "type": "boolean", + "description": "The value of this property indicates whether the image cache is enabled or not.", + "default": false + }, + "dockerFilePath": { "type": "string", - "x-ms-enum": { - "name": "RunType", - "modelAsString": true - } + "description": "The Docker file path relative to the source location." }, - "status": { - "description": "The current status of the run.", - "enum": [ - "Queued", - "Started", - "Running", - "Succeeded", - "Failed", - "Canceled", - "Error", - "Timeout" - ], + "target": { "type": "string", - "x-ms-enum": { - "name": "RunStatus", - "modelAsString": true - } + "description": "The name of the target build stage for the docker build." }, - "createTime": { - "format": "date-time", - "description": "The create time for a run.", - "type": "string" + "arguments": { + "type": "array", + "description": "The collection of override arguments to be used when executing the run.", + "items": { + "$ref": "#/definitions/Argument" + }, + "x-ms-identifiers": [ + "name" + ] }, - "finishTime": { - "format": "date-time", - "description": "The time the run finished.", - "type": "string" + "timeout": { + "type": "integer", + "format": "int32", + "description": "Run timeout in seconds.", + "default": 3600, + "minimum": 300, + "maximum": 28800 }, - "outputImageManifests": { - "description": "The list of comma-separated image manifests that were generated from the run. This is applicable if the run is of\r\nbuild type.", - "type": "string" + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run has to happen." }, - "isArchiveEnabled": { - "description": "The value that indicates whether archiving is enabled or not.", - "type": "boolean" + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." }, - "taskName": { - "description": "The name of the task that the run corresponds to.", - "type": "string" + "sourceLocation": { + "type": "string", + "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API." }, - "agentPoolName": { - "description": "The name of the agent pool that the run corresponds to.", - "type": "string" + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The properties that describes a set of credentials that will be used when this run is invoked." } - } - }, - "RunUpdateParameters": { - "description": "The set of run properties that can be updated.", - "type": "object", - "properties": { - "isArchiveEnabled": { - "description": "The value that indicates whether archiving is enabled or not.", - "type": "boolean" + }, + "required": [ + "dockerFilePath", + "platform" + ], + "allOf": [ + { + "$ref": "#/definitions/RunRequest" } - } + ], + "x-ms-discriminator-value": "DockerBuildRequest" }, - "RunGetLogResult": { - "description": "The result of get log link operation.", + "DockerBuildStep": { "type": "object", + "description": "The Docker build step.", "properties": { - "logLink": { - "description": "The link to logs for a run on a azure container registry.", - "type": "string" + "imageNames": { + "type": "array", + "description": "The fully qualified image names including the repository and tag.", + "items": { + "type": "string" + } }, - "logArtifactLink": { - "description": "The link to logs in registry for a run on a azure container registry.", - "type": "string" + "isPushEnabled": { + "type": "boolean", + "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", + "default": true + }, + "noCache": { + "type": "boolean", + "description": "The value of this property indicates whether the image cache is enabled or not.", + "default": false + }, + "dockerFilePath": { + "type": "string", + "description": "The Docker file path relative to the source context." + }, + "target": { + "type": "string", + "description": "The name of the target build stage for the docker build." + }, + "arguments": { + "type": "array", + "description": "The collection of override arguments to be used when executing this build step.", + "items": { + "$ref": "#/definitions/Argument" + }, + "x-ms-identifiers": [ + "name" + ] } - } - }, - "TaskRun": { - "description": "The task run that has the ARM resource and properties. \r\nThe task run will have the information of request and result of a run.", - "type": "object", + }, + "required": [ + "dockerFilePath" + ], "allOf": [ { - "$ref": "#/definitions/ProxyResource" + "$ref": "#/definitions/TaskStepProperties" } ], - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identity for the resource." - }, - "properties": { - "$ref": "#/definitions/TaskRunProperties", - "description": "The properties associated with the task run, i.e., request and result of the run", - "x-ms-client-flatten": true - }, - "location": { - "description": "The location of the resource", - "type": "string" - } - } + "x-ms-discriminator-value": "Docker" }, - "IdentityProperties": { - "description": "Managed identity for the resource.", + "DockerBuildStepUpdateParameters": { "type": "object", + "description": "The properties for updating a docker build step.", "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true + "imageNames": { + "type": "array", + "description": "The fully qualified image names including the repository and tag.", + "items": { + "type": "string" + } }, - "tenantId": { - "description": "The tenant ID of resource.", + "isPushEnabled": { + "type": "boolean", + "description": "The value of this property indicates whether the image built should be pushed to the registry or not." + }, + "noCache": { + "type": "boolean", + "description": "The value of this property indicates whether the image cache is enabled or not." + }, + "dockerFilePath": { "type": "string", - "readOnly": true + "description": "The Docker file path relative to the source context." }, - "type": { - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } + "arguments": { + "type": "array", + "description": "The collection of override arguments to be used when executing this build step.", + "items": { + "$ref": "#/definitions/Argument" + }, + "x-ms-identifiers": [ + "name" + ] }, - "userAssignedIdentities": { - "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } + "target": { + "type": "string", + "description": "The name of the target build stage for the docker build." } - } + }, + "allOf": [ + { + "$ref": "#/definitions/TaskStepUpdateParameters" + } + ], + "x-ms-discriminator-value": "Docker" }, - "TaskRunProperties": { - "description": "The properties of task run.", + "EncodedTaskRunRequest": { "type": "object", + "description": "The parameters for a quick task run request.", "properties": { - "provisioningState": { - "description": "The provisioning state of this task run", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], + "encodedTaskContent": { "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "description": "Base64 encoded value of the template/definition file content." }, - "runRequest": { - "$ref": "#/definitions/RunRequest", - "description": "The request (parameters) for the run" + "encodedValuesContent": { + "type": "string", + "description": "Base64 encoded value of the parameters/values file content." }, - "runResult": { - "$ref": "#/definitions/Run", - "description": "The result of this task run", - "readOnly": true + "values": { + "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", + "items": { + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] }, - "forceUpdateTag": { - "description": "How the run should be forced to rerun even if the run request configuration has not changed", - "type": "string" - } - } - }, - "UserIdentityProperties": { - "type": "object", - "properties": { - "principalId": { - "description": "The principal id of user assigned identity.", - "type": "string", - "readOnly": true + "timeout": { + "type": "integer", + "format": "int32", + "description": "Run timeout in seconds.", + "default": 3600, + "minimum": 300, + "maximum": 28800 }, - "clientId": { - "description": "The client id of user assigned identity.", - "type": "string", - "readOnly": true - } - } - }, - "TaskRunUpdateParameters": { - "description": "The parameters for updating a task run.", - "type": "object", - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identity for the resource." + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run has to happen." }, - "properties": { - "$ref": "#/definitions/TaskRunPropertiesUpdateParameters", - "description": "The properties for updating a task run.", - "x-ms-client-flatten": true + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." }, - "location": { - "description": "The location of the resource", - "type": "string" + "sourceLocation": { + "type": "string", + "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API." }, - "tags": { - "description": "The ARM resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "credentials": { + "$ref": "#/definitions/Credentials", + "description": "The properties that describes a set of credentials that will be used when this run is invoked." } - } - }, - "TaskRunPropertiesUpdateParameters": { - "description": "The properties of a task run update parameters.", - "type": "object", - "properties": { - "runRequest": { - "$ref": "#/definitions/RunRequest", - "description": "The request (parameters) for the new run" - }, - "forceUpdateTag": { - "description": "How the run should be forced to rerun even if the run request configuration has not changed", - "type": "string" + }, + "required": [ + "encodedTaskContent", + "platform" + ], + "allOf": [ + { + "$ref": "#/definitions/RunRequest" } - } + ], + "x-ms-discriminator-value": "EncodedTaskRunRequest" }, - "TaskRunListResult": { - "description": "The collection of task runs.", + "EncodedTaskStep": { "type": "object", + "description": "The properties of a encoded task step.", "properties": { - "value": { - "description": "The collection value.", + "encodedTaskContent": { + "type": "string", + "description": "Base64 encoded value of the template/definition file content." + }, + "encodedValuesContent": { + "type": "string", + "description": "Base64 encoded value of the parameters/values file content." + }, + "values": { "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", "items": { - "$ref": "#/definitions/TaskRun" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next set of paged results.", - "type": "string" + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] } - } + }, + "required": [ + "encodedTaskContent" + ], + "allOf": [ + { + "$ref": "#/definitions/TaskStepProperties" + } + ], + "x-ms-discriminator-value": "EncodedTask" }, - "TaskListResult": { - "description": "The collection of tasks.", + "EncodedTaskStepUpdateParameters": { "type": "object", + "description": "The properties for updating encoded task step.", "properties": { - "value": { - "description": "The collection value.", + "encodedTaskContent": { + "type": "string", + "description": "Base64 encoded value of the template/definition file content." + }, + "encodedValuesContent": { + "type": "string", + "description": "Base64 encoded value of the parameters/values file content." + }, + "values": { "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", "items": { - "$ref": "#/definitions/Task" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next set of paged results.", - "type": "string" + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] } - } - }, - "Task": { - "description": "The task that has the ARM resource and task properties. \r\nThe task will have all information to schedule a run against it.", - "type": "object", + }, "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/TaskStepUpdateParameters" } ], - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identity for the resource." - }, - "properties": { - "$ref": "#/definitions/TaskProperties", - "description": "The properties of a task.", - "x-ms-client-flatten": true - } - } + "x-ms-discriminator-value": "EncodedTask" }, - "TaskProperties": { - "description": "The properties of a task.", + "FileTaskRunRequest": { "type": "object", + "description": "The request parameters for a scheduling run against a task file.", "properties": { - "provisioningState": { - "description": "The provisioning state of the task.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], + "taskFilePath": { "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "description": "The template/definition file path relative to the source." }, - "creationDate": { - "format": "date-time", - "description": "The creation date of task.", + "valuesFilePath": { "type": "string", - "readOnly": true + "description": "The values/parameters file path relative to the source." }, - "status": { - "description": "The current status of task.", - "enum": [ - "Disabled", - "Enabled" - ], - "type": "string", - "x-ms-enum": { - "name": "TaskStatus", - "modelAsString": true - } + "values": { + "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", + "items": { + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "Run timeout in seconds.", + "default": 3600, + "minimum": 300, + "maximum": 28800 }, "platform": { "$ref": "#/definitions/PlatformProperties", @@ -2180,1540 +2429,1558 @@ "$ref": "#/definitions/AgentProperties", "description": "The machine configuration of the run agent." }, - "agentPoolName": { - "description": "The dedicated agent pool for the task.", - "type": "string" - }, - "timeout": { - "format": "int32", - "description": "Run timeout in seconds.", - "default": 3600, - "maximum": 28800, - "minimum": 300, - "type": "integer" - }, - "step": { - "$ref": "#/definitions/TaskStepProperties", - "description": "The properties of a task step." - }, - "trigger": { - "$ref": "#/definitions/TriggerProperties", - "description": "The properties that describe all triggers for the task." + "sourceLocation": { + "type": "string", + "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API." }, "credentials": { "$ref": "#/definitions/Credentials", "description": "The properties that describes a set of credentials that will be used when this run is invoked." - }, - "logTemplate": { - "description": "The template that describes the repository and tag information for run log artifact.", - "type": "string" - }, - "isSystemTask": { - "description": "The value of this property indicates whether the task resource is system task or not.", - "default": false, - "type": "boolean" } - } - }, - "TaskStepProperties": { - "description": "Base properties for any task step.", + }, "required": [ - "type" + "taskFilePath", + "platform" + ], + "allOf": [ + { + "$ref": "#/definitions/RunRequest" + } ], + "x-ms-discriminator-value": "FileTaskRunRequest" + }, + "FileTaskStep": { "type": "object", + "description": "The properties of a task step.", "properties": { - "type": { - "description": "The type of the step.", - "enum": [ - "Docker", - "FileTask", - "EncodedTask" - ], + "taskFilePath": { "type": "string", - "x-ms-enum": { - "name": "StepType", - "modelAsString": true - } + "description": "The task template/definition file path relative to the source context." }, - "baseImageDependencies": { - "description": "List of base image dependencies for a step.", + "valuesFilePath": { + "type": "string", + "description": "The task values/parameters file path relative to the source context." + }, + "values": { "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", "items": { - "$ref": "#/definitions/BaseImageDependency" + "$ref": "#/definitions/SetValue" }, - "x-ms-identifiers": [], - "readOnly": true - }, - "contextPath": { - "description": "The URL(absolute or relative) of the source context for the task step.", - "type": "string" - }, - "contextAccessToken": { - "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step.", - "type": "string" + "x-ms-identifiers": [] } }, - "discriminator": "type" + "required": [ + "taskFilePath" + ], + "allOf": [ + { + "$ref": "#/definitions/TaskStepProperties" + } + ], + "x-ms-discriminator-value": "FileTask" }, - "TriggerProperties": { - "description": "The properties of a trigger.", + "FileTaskStepUpdateParameters": { "type": "object", + "description": "The properties of updating a task step.", "properties": { - "timerTriggers": { - "description": "The collection of timer triggers.", - "type": "array", - "items": { - "$ref": "#/definitions/TimerTrigger" - }, - "x-ms-identifiers": [ - "name" - ] + "taskFilePath": { + "type": "string", + "description": "The task template/definition file path relative to the source context." }, - "sourceTriggers": { - "description": "The collection of triggers based on source code repository.", + "valuesFilePath": { + "type": "string", + "description": "The values/parameters file path relative to the source context." + }, + "values": { "type": "array", + "description": "The collection of overridable values that can be passed when running a task.", "items": { - "$ref": "#/definitions/SourceTrigger" + "$ref": "#/definitions/SetValue" }, - "x-ms-identifiers": [ - "name", - "sourceRepository/repositoryUrl" - ] - }, - "baseImageTrigger": { - "$ref": "#/definitions/BaseImageTrigger", - "description": "The trigger based on base image dependencies." + "x-ms-identifiers": [] } - } + }, + "allOf": [ + { + "$ref": "#/definitions/TaskStepUpdateParameters" + } + ], + "x-ms-discriminator-value": "FileTask" }, - "Credentials": { - "description": "The parameters that describes a set of credentials that will be used when a run is invoked.", + "IdentityProperties": { "type": "object", + "description": "Managed identity for the resource.", "properties": { - "sourceRegistry": { - "$ref": "#/definitions/SourceRegistryCredentials", - "description": "Describes the credential parameters for accessing the source registry." + "principalId": { + "type": "string", + "description": "The principal ID of resource identity.", + "readOnly": true }, - "customRegistries": { - "description": "Describes the credential parameters for accessing other custom registries. The key\r\nfor the dictionary item will be the registry login server (myregistry.azurecr.io) and\r\nthe value of the item will be the registry credentials for accessing the registry.", + "tenantId": { + "type": "string", + "description": "The tenant ID of resource.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ResourceIdentityType", + "description": "The identity type." + }, + "userAssignedIdentities": { "type": "object", + "description": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", "additionalProperties": { - "$ref": "#/definitions/CustomRegistryCredentials" + "$ref": "#/definitions/UserIdentityProperties" } } } }, - "BaseImageDependency": { - "description": "Properties that describe a base image dependency.", + "ImageDescriptor": { "type": "object", + "description": "Properties for a registry image.", "properties": { - "type": { - "description": "The type of the base image dependency.", - "enum": [ - "BuildTime", - "RunTime" - ], - "type": "string", - "x-ms-enum": { - "name": "BaseImageDependencyType", - "modelAsString": true - } - }, "registry": { - "description": "The registry login server.", - "type": "string" + "type": "string", + "description": "The registry login server." }, "repository": { - "description": "The repository name.", - "type": "string" + "type": "string", + "description": "The repository name." }, "tag": { - "description": "The tag name.", - "type": "string" + "type": "string", + "description": "The tag name." }, "digest": { - "description": "The sha256-based digest of the image manifest.", - "type": "string" + "type": "string", + "description": "The sha256-based digest of the image manifest." } } }, - "TimerTrigger": { - "description": "The properties of a timer trigger.", - "required": [ - "schedule", - "name" - ], + "ImageUpdateTrigger": { "type": "object", + "description": "The image update trigger that caused a build.", "properties": { - "schedule": { - "description": "The CRON expression for the task schedule", - "type": "string" + "id": { + "type": "string", + "description": "The unique ID of the trigger." }, - "status": { - "description": "The current status of trigger.", - "default": "Enabled", - "enum": [ - "Disabled", - "Enabled" - ], + "timestamp": { "type": "string", - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true - } + "format": "date-time", + "description": "The timestamp when the image update happened." }, - "name": { - "description": "The name of the trigger.", - "type": "string" + "images": { + "type": "array", + "description": "The list of image updates that caused the build.", + "items": { + "$ref": "#/definitions/ImageDescriptor" + }, + "x-ms-identifiers": [ + "registry" + ] } } }, - "SourceTrigger": { - "description": "The properties of a source based trigger.", - "required": [ - "sourceRepository", - "sourceTriggerEvents", - "name" + "OS": { + "type": "string", + "description": "The OS of agent machine", + "enum": [ + "Windows", + "Linux" ], - "type": "object", - "properties": { - "sourceRepository": { - "$ref": "#/definitions/SourceProperties", - "description": "The properties that describes the source(code) for the task." - }, - "sourceTriggerEvents": { - "description": "The source event corresponding to the trigger.", - "type": "array", - "items": { - "enum": [ - "commit", - "pullrequest" - ], - "type": "string", - "x-ms-enum": { - "name": "SourceTriggerEvent", - "modelAsString": true - } - } - }, - "status": { - "description": "The current status of trigger.", - "default": "Enabled", - "enum": [ - "Disabled", - "Enabled" - ], - "type": "string", - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true + "x-ms-enum": { + "name": "OS", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows" + }, + { + "name": "Linux", + "value": "Linux" } - }, - "name": { - "description": "The name of the trigger.", - "type": "string" - } + ] } }, - "BaseImageTrigger": { - "description": "The trigger based on base image dependency.", - "required": [ - "baseImageTriggerType", - "name" - ], + "OverrideTaskStepProperties": { "type": "object", "properties": { - "baseImageTriggerType": { - "description": "The type of the auto trigger for base image dependency updates.", - "enum": [ - "All", - "Runtime" - ], + "contextPath": { "type": "string", - "x-ms-enum": { - "name": "BaseImageTriggerType", - "modelAsString": true - } - }, - "updateTriggerEndpoint": { - "description": "The endpoint URL for receiving update triggers.", - "type": "string" + "description": "The source context against which run has to be queued." }, - "updateTriggerPayloadType": { - "description": "Type of Payload body for Base image update triggers.", - "enum": [ - "Default", - "Token" - ], + "file": { "type": "string", - "x-ms-enum": { - "name": "UpdateTriggerPayloadType", - "modelAsString": true - } + "description": "The file against which run has to be queued." }, - "status": { - "description": "The current status of trigger.", - "default": "Enabled", - "enum": [ - "Disabled", - "Enabled" - ], + "arguments": { + "type": "array", + "description": "Gets or sets the collection of override arguments to be used when\nexecuting a build step.", + "items": { + "$ref": "#/definitions/Argument" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "target": { "type": "string", - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true - } + "description": "The name of the target build stage for the docker build." }, - "name": { - "description": "The name of the trigger.", - "type": "string" + "values": { + "type": "array", + "description": "The collection of overridable values that can be passed when running a Task.", + "items": { + "$ref": "#/definitions/SetValue" + }, + "x-ms-identifiers": [] + }, + "updateTriggerToken": { + "type": "string", + "description": "Base64 encoded update trigger token that will be attached with the base image trigger webhook." } } }, - "SourceRegistryCredentials": { - "description": "Describes the credential parameters for accessing the source registry.", + "PlatformProperties": { "type": "object", + "description": "The platform properties against which the run has to happen.", "properties": { - "identity": { - "description": "The Entra identity used for source registry login.\r\nThe value is `[system]` for system-assigned managed identity, `[caller]` for caller identity,\r\nand client ID for user-assigned managed identity.", - "type": "string" + "os": { + "$ref": "#/definitions/OS", + "description": "The operating system type required for the run." }, - "loginMode": { - "description": "The authentication mode which determines the source registry login scope. The credentials for the source registry\r\nwill be generated using the given scope. These credentials will be used to login to\r\nthe source registry during the run.", - "enum": [ - "None", - "Default" - ], - "type": "string", - "x-ms-enum": { - "name": "SourceRegistryLoginMode", - "modelAsString": true - } + "architecture": { + "$ref": "#/definitions/Architecture", + "description": "The OS architecture." + }, + "variant": { + "$ref": "#/definitions/Variant", + "description": "Variant of the CPU." } - } + }, + "required": [ + "os" + ] }, - "CustomRegistryCredentials": { - "description": "Describes the credentials that will be used to access a custom registry during a run.", + "PlatformUpdateParameters": { "type": "object", + "description": "The properties for updating the platform configuration.", "properties": { - "userName": { - "$ref": "#/definitions/SecretObject", - "description": "The username for logging into the custom registry." + "os": { + "$ref": "#/definitions/OS", + "description": "The operating system type required for the run." }, - "password": { - "$ref": "#/definitions/SecretObject", - "description": "The password for logging into the custom registry. The password is a secret \r\nobject that allows multiple ways of providing the value for it." + "architecture": { + "$ref": "#/definitions/Architecture", + "description": "The OS architecture." }, - "identity": { - "description": "Indicates the managed identity assigned to the custom credential. If a user-assigned identity\r\nthis value is the Client ID. If a system-assigned identity, the value will be `system`. In\r\nthe case of a system-assigned identity, the Client ID will be determined by the runner. This\r\nidentity may be used to authenticate to key vault to retrieve credentials or it may be the only \r\nsource of authentication used for accessing the registry.", - "type": "string" + "variant": { + "$ref": "#/definitions/Variant", + "description": "Variant of the CPU." } } }, - "SourceProperties": { - "description": "The properties of the source code repository.", - "required": [ - "sourceControlType", - "repositoryUrl" + "ProvisioningState": { + "type": "string", + "description": "The provisioning state of this agent pool", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + } + ] + } + }, + "ResourceIdentityType": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "Run": { "type": "object", + "description": "Run resource properties", "properties": { - "sourceControlType": { - "description": "The type of source control service.", - "enum": [ - "Github", - "VisualStudioTeamService" - ], + "properties": { + "$ref": "#/definitions/RunProperties", + "description": "The properties of a run.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "RunGetLogResult": { + "type": "object", + "description": "The result of get log link operation.", + "properties": { + "logLink": { "type": "string", - "x-ms-enum": { - "name": "SourceControlType", - "modelAsString": true - } - }, - "repositoryUrl": { - "description": "The full URL to the source code repository", - "type": "string" + "description": "The link to logs for a run on a azure container registry." }, - "branch": { - "description": "The branch name of the source code.", - "type": "string" - }, - "sourceControlAuthProperties": { - "$ref": "#/definitions/AuthInfo", - "description": "The authorization properties for accessing the source code repository and to set up\r\nwebhooks for notifications." + "logArtifactLink": { + "type": "string", + "description": "The link to logs in registry for a run on a azure container registry." } } }, - "SecretObject": { - "description": "Describes the properties of a secret object value.", + "RunListResult": { "type": "object", + "description": "The collection of runs.", "properties": { "value": { - "description": "The value of the secret. The format of this value will be determined\r\nbased on the type of the secret object. If the type is Opaque, the value will be\r\nused as is without any modification.", - "type": "string" + "type": "array", + "description": "The collection value.", + "items": { + "$ref": "#/definitions/Run" + } }, - "type": { - "description": "The type of the secret object which determines how the value of the secret object has to be\r\ninterpreted.", - "enum": [ - "Opaque", - "Vaultsecret" - ], + "nextLink": { "type": "string", - "x-ms-enum": { - "name": "SecretObjectType", - "modelAsString": true - } + "description": "The URI that can be used to request the next set of paged results." } } }, - "AuthInfo": { - "description": "The authorization properties for accessing the source code repository.", - "required": [ - "tokenType", - "token" - ], + "RunProperties": { "type": "object", + "description": "The properties for a run.", "properties": { - "tokenType": { - "description": "The type of Auth token.", - "enum": [ - "PAT", - "OAuth" - ], + "runId": { "type": "string", - "x-ms-enum": { - "name": "TokenType", - "modelAsString": true - } + "description": "The unique identifier for the run." }, - "token": { - "description": "The access token used to access the source control provider.", - "type": "string" + "status": { + "$ref": "#/definitions/RunStatus", + "description": "The current status of the run." }, - "refreshToken": { - "description": "The refresh token used to refresh the access token.", - "type": "string" + "lastUpdatedTime": { + "type": "string", + "format": "date-time", + "description": "The last updated time for the run." }, - "scope": { - "description": "The scope of the access token.", - "type": "string" + "runType": { + "$ref": "#/definitions/RunType", + "description": "The type of run." }, - "expiresIn": { - "format": "int32", - "description": "Time in seconds that the token remains valid", - "type": "integer" - } - } - }, - "TaskUpdateParameters": { - "description": "The parameters for updating a task.", - "type": "object", - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identity for the resource." + "agentPoolName": { + "type": "string", + "description": "The dedicated agent pool for the run." }, - "properties": { - "$ref": "#/definitions/TaskPropertiesUpdateParameters", - "description": "The properties for updating a task.", - "x-ms-client-flatten": true + "createTime": { + "type": "string", + "format": "date-time", + "description": "The time the run was scheduled." }, - "tags": { - "description": "The ARM resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "TaskPropertiesUpdateParameters": { - "description": "The properties for updating a task.", - "type": "object", - "properties": { - "status": { - "description": "The current status of task.", - "enum": [ - "Disabled", - "Enabled" - ], + "startTime": { "type": "string", - "x-ms-enum": { - "name": "TaskStatus", - "modelAsString": true - } + "format": "date-time", + "description": "The time the run started." + }, + "finishTime": { + "type": "string", + "format": "date-time", + "description": "The time the run finished." + }, + "outputImages": { + "type": "array", + "description": "The list of all images that were generated from the run. This is applicable if the run generates base image dependencies.", + "items": { + "$ref": "#/definitions/ImageDescriptor" + }, + "x-ms-identifiers": [ + "registry" + ] + }, + "task": { + "type": "string", + "description": "The task against which run was scheduled." + }, + "imageUpdateTrigger": { + "$ref": "#/definitions/ImageUpdateTrigger", + "description": "The image update trigger that caused the run. This is applicable if the task has base image trigger configured." + }, + "sourceTrigger": { + "$ref": "#/definitions/SourceTriggerDescriptor", + "description": "The source trigger that caused the run." + }, + "timerTrigger": { + "$ref": "#/definitions/TimerTriggerDescriptor", + "description": "The timer trigger that caused the run." }, "platform": { - "$ref": "#/definitions/PlatformUpdateParameters", - "description": "The platform properties against which the run has to happen." + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run will happen." }, "agentConfiguration": { "$ref": "#/definitions/AgentProperties", "description": "The machine configuration of the run agent." }, - "agentPoolName": { - "description": "The dedicated agent pool for the task.", - "type": "string" + "sourceRegistryAuth": { + "type": "string", + "description": "The scope of the credentials that were used to login to the source registry during this run." }, - "timeout": { - "format": "int32", - "description": "Run timeout in seconds.", - "type": "integer" + "customRegistries": { + "type": "array", + "description": "The list of custom registries that were logged in during this run.", + "items": { + "type": "string" + } }, - "step": { - "$ref": "#/definitions/TaskStepUpdateParameters", - "description": "The properties for updating a task step." + "runErrorMessage": { + "type": "string", + "description": "The error message received from backend systems after the run is scheduled.", + "readOnly": true }, - "trigger": { - "$ref": "#/definitions/TriggerUpdateParameters", - "description": "The properties for updating trigger properties." + "updateTriggerToken": { + "type": "string", + "description": "The update trigger token passed for the Run." }, - "credentials": { - "$ref": "#/definitions/Credentials", - "description": "The parameters that describes a set of credentials that will be used when this run is invoked." + "logArtifact": { + "$ref": "#/definitions/ImageDescriptor", + "description": "The image description for the log artifact.", + "readOnly": true }, - "logTemplate": { - "description": "The template that describes the repository and tag information for run log artifact.", - "type": "string" + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of a run." + }, + "isArchiveEnabled": { + "type": "boolean", + "description": "The value that indicates whether archiving is enabled or not.", + "default": false } } }, - "PlatformUpdateParameters": { - "description": "The properties for updating the platform configuration.", + "RunRequest": { "type": "object", + "description": "The request parameters for scheduling a run.", "properties": { - "os": { - "description": "The operating system type required for the run.", - "enum": [ - "Windows", - "Linux" - ], + "type": { "type": "string", - "x-ms-enum": { - "name": "OS", - "modelAsString": true - } + "description": "The type of the run request." }, - "architecture": { - "description": "The OS architecture.", - "enum": [ - "amd64", - "x86", - "386", - "arm", - "arm64" - ], + "isArchiveEnabled": { + "type": "boolean", + "description": "The value that indicates whether archiving is enabled for the run or not.", + "default": false + }, + "agentPoolName": { "type": "string", - "x-ms-enum": { - "name": "Architecture", - "modelAsString": true - } + "description": "The dedicated agent pool for the run." }, - "variant": { - "description": "Variant of the CPU.", - "enum": [ - "v6", - "v7", - "v8" - ], + "logTemplate": { "type": "string", - "x-ms-enum": { - "name": "Variant", - "modelAsString": true - } + "description": "The template that describes the repository and tag information for run log artifact." } - } - }, - "TaskStepUpdateParameters": { - "description": "Base properties for updating any task step.", + }, + "discriminator": "type", "required": [ "type" + ] + }, + "RunStatus": { + "type": "string", + "description": "The current status of the run.", + "enum": [ + "Queued", + "Started", + "Running", + "Succeeded", + "Failed", + "Canceled", + "Error", + "Timeout" + ], + "x-ms-enum": { + "name": "RunStatus", + "modelAsString": true, + "values": [ + { + "name": "Queued", + "value": "Queued" + }, + { + "name": "Started", + "value": "Started" + }, + { + "name": "Running", + "value": "Running" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Error", + "value": "Error" + }, + { + "name": "Timeout", + "value": "Timeout" + } + ] + } + }, + "RunType": { + "type": "string", + "description": "The type of run.", + "enum": [ + "QuickBuild", + "QuickRun", + "AutoBuild", + "AutoRun" ], + "x-ms-enum": { + "name": "RunType", + "modelAsString": true, + "values": [ + { + "name": "QuickBuild", + "value": "QuickBuild" + }, + { + "name": "QuickRun", + "value": "QuickRun" + }, + { + "name": "AutoBuild", + "value": "AutoBuild" + }, + { + "name": "AutoRun", + "value": "AutoRun" + } + ] + } + }, + "RunUpdateParameters": { "type": "object", + "description": "The set of run properties that can be updated.", "properties": { - "type": { - "description": "The type of the step.", - "enum": [ - "Docker", - "FileTask", - "EncodedTask" - ], + "isArchiveEnabled": { + "type": "boolean", + "description": "The value that indicates whether archiving is enabled or not." + } + } + }, + "SecretObject": { + "type": "object", + "description": "Describes the properties of a secret object value.", + "properties": { + "value": { "type": "string", - "x-ms-enum": { - "name": "StepType", - "modelAsString": true + "description": "The value of the secret. The format of this value will be determined\nbased on the type of the secret object. If the type is Opaque, the value will be\nused as is without any modification." + }, + "type": { + "$ref": "#/definitions/SecretObjectType", + "description": "The type of the secret object which determines how the value of the secret object has to be\ninterpreted." + } + } + }, + "SecretObjectType": { + "type": "string", + "description": "The type of the secret object which determines how the value of the secret object has to be\ninterpreted.", + "enum": [ + "Opaque", + "Vaultsecret" + ], + "x-ms-enum": { + "name": "SecretObjectType", + "modelAsString": true, + "values": [ + { + "name": "Opaque", + "value": "Opaque" + }, + { + "name": "Vaultsecret", + "value": "Vaultsecret" } + ] + } + }, + "SetValue": { + "type": "object", + "description": "The properties of a overridable value that can be passed to a task template.", + "properties": { + "name": { + "type": "string", + "description": "The name of the overridable value." }, - "contextPath": { - "description": "The URL(absolute or relative) of the source context for the task step.", - "type": "string" + "value": { + "type": "string", + "description": "The overridable value." }, - "contextAccessToken": { - "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step.", - "type": "string" + "isSecret": { + "type": "boolean", + "description": "Flag to indicate whether the value represents a secret or not.", + "default": false } }, - "discriminator": "type" + "required": [ + "name", + "value" + ] }, - "TriggerUpdateParameters": { - "description": "The properties for updating triggers.", + "SourceControlType": { + "type": "string", + "description": "The type of source control service.", + "enum": [ + "Github", + "VisualStudioTeamService" + ], + "x-ms-enum": { + "name": "SourceControlType", + "modelAsString": true, + "values": [ + { + "name": "Github", + "value": "Github" + }, + { + "name": "VisualStudioTeamService", + "value": "VisualStudioTeamService" + } + ] + } + }, + "SourceProperties": { "type": "object", + "description": "The properties of the source code repository.", "properties": { - "timerTriggers": { - "description": "The collection of timer triggers.", - "type": "array", - "items": { - "$ref": "#/definitions/TimerTriggerUpdateParameters" - }, - "x-ms-identifiers": [ - "name" - ] + "sourceControlType": { + "$ref": "#/definitions/SourceControlType", + "description": "The type of source control service." }, - "sourceTriggers": { - "description": "The collection of triggers based on source code repository.", - "type": "array", - "items": { - "$ref": "#/definitions/SourceTriggerUpdateParameters" - }, - "x-ms-identifiers": [ - "name" - ] + "repositoryUrl": { + "type": "string", + "description": "The full URL to the source code repository" }, - "baseImageTrigger": { - "$ref": "#/definitions/BaseImageTriggerUpdateParameters", - "description": "The trigger based on base image dependencies." + "branch": { + "type": "string", + "description": "The branch name of the source code." + }, + "sourceControlAuthProperties": { + "$ref": "#/definitions/AuthInfo", + "description": "The authorization properties for accessing the source code repository and to set up\nwebhooks for notifications." } - } - }, - "TimerTriggerUpdateParameters": { - "description": "The properties for updating a timer trigger.", + }, "required": [ - "name" - ], + "sourceControlType", + "repositoryUrl" + ] + }, + "SourceRegistryCredentials": { "type": "object", + "description": "Describes the credential parameters for accessing the source registry.", "properties": { - "schedule": { - "description": "The CRON expression for the task schedule", - "type": "string" - }, - "status": { - "description": "The current status of trigger.", - "default": "Enabled", - "enum": [ - "Disabled", - "Enabled" - ], + "identity": { "type": "string", - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true - } + "description": "The Entra identity used for source registry login.\nThe value is `[system]` for system-assigned managed identity, `[caller]` for caller identity,\nand client ID for user-assigned managed identity." }, - "name": { - "description": "The name of the trigger.", - "type": "string" + "loginMode": { + "$ref": "#/definitions/SourceRegistryLoginMode", + "description": "The authentication mode which determines the source registry login scope. The credentials for the source registry\nwill be generated using the given scope. These credentials will be used to login to\nthe source registry during the run." } } }, - "SourceTriggerUpdateParameters": { - "description": "The properties for updating a source based trigger.", - "required": [ - "name" + "SourceRegistryLoginMode": { + "type": "string", + "description": "The authentication mode which determines the source registry login scope. The credentials for the source registry\nwill be generated using the given scope. These credentials will be used to login to\nthe source registry during the run.", + "enum": [ + "None", + "Default" ], + "x-ms-enum": { + "name": "SourceRegistryLoginMode", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Default", + "value": "Default" + } + ] + } + }, + "SourceTrigger": { "type": "object", + "description": "The properties of a source based trigger.", "properties": { "sourceRepository": { - "$ref": "#/definitions/SourceUpdateParameters", + "$ref": "#/definitions/SourceProperties", "description": "The properties that describes the source(code) for the task." }, "sourceTriggerEvents": { - "description": "The source event corresponding to the trigger.", "type": "array", + "description": "The source event corresponding to the trigger.", "items": { - "enum": [ - "commit", - "pullrequest" - ], - "type": "string", - "x-ms-enum": { - "name": "SourceTriggerEvent", - "modelAsString": true - } + "$ref": "#/definitions/SourceTriggerEvent" } }, "status": { + "type": "string", "description": "The current status of trigger.", "default": "Enabled", "enum": [ "Disabled", "Enabled" ], - "type": "string", "x-ms-enum": { "name": "TriggerStatus", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] } }, "name": { - "description": "The name of the trigger.", - "type": "string" + "type": "string", + "description": "The name of the trigger." } - } - }, - "BaseImageTriggerUpdateParameters": { - "description": "The properties for updating base image dependency trigger.", + }, "required": [ + "sourceRepository", + "sourceTriggerEvents", "name" - ], + ] + }, + "SourceTriggerDescriptor": { "type": "object", + "description": "The source trigger that caused a run.", "properties": { - "baseImageTriggerType": { - "description": "The type of the auto trigger for base image dependency updates.", - "enum": [ - "All", - "Runtime" - ], + "id": { "type": "string", - "x-ms-enum": { - "name": "BaseImageTriggerType", - "modelAsString": true - } + "description": "The unique ID of the trigger." }, - "updateTriggerEndpoint": { - "description": "The endpoint URL for receiving update triggers.", - "type": "string" + "eventType": { + "type": "string", + "description": "The event type of the trigger." }, - "updateTriggerPayloadType": { - "description": "Type of Payload body for Base image update triggers.", - "enum": [ - "Default", - "Token" - ], + "commitId": { "type": "string", - "x-ms-enum": { - "name": "UpdateTriggerPayloadType", - "modelAsString": true + "description": "The unique ID that identifies a commit." + }, + "pullRequestId": { + "type": "string", + "description": "The unique ID that identifies pull request." + }, + "repositoryUrl": { + "type": "string", + "description": "The repository URL." + }, + "branchName": { + "type": "string", + "description": "The branch name in the repository." + }, + "providerType": { + "type": "string", + "description": "The source control provider type." + } + } + }, + "SourceTriggerEvent": { + "type": "string", + "enum": [ + "commit", + "pullrequest" + ], + "x-ms-enum": { + "name": "SourceTriggerEvent", + "modelAsString": true, + "values": [ + { + "name": "commit", + "value": "commit" + }, + { + "name": "pullrequest", + "value": "pullrequest" + } + ] + } + }, + "SourceTriggerUpdateParameters": { + "type": "object", + "description": "The properties for updating a source based trigger.", + "properties": { + "sourceRepository": { + "$ref": "#/definitions/SourceUpdateParameters", + "description": "The properties that describes the source(code) for the task." + }, + "sourceTriggerEvents": { + "type": "array", + "description": "The source event corresponding to the trigger.", + "items": { + "$ref": "#/definitions/SourceTriggerEvent" } }, "status": { + "type": "string", "description": "The current status of trigger.", "default": "Enabled", "enum": [ "Disabled", "Enabled" ], - "type": "string", "x-ms-enum": { "name": "TriggerStatus", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] } }, "name": { - "description": "The name of the trigger.", - "type": "string" + "type": "string", + "description": "The name of the trigger." } - } + }, + "required": [ + "name" + ] }, "SourceUpdateParameters": { - "description": "The properties for updating the source code repository.", "type": "object", + "description": "The properties for updating the source code repository.", "properties": { "sourceControlType": { - "description": "The type of source control service.", - "enum": [ - "Github", - "VisualStudioTeamService" - ], - "type": "string", - "x-ms-enum": { - "name": "SourceControlType", - "modelAsString": true - } + "$ref": "#/definitions/SourceControlType", + "description": "The type of source control service." }, "repositoryUrl": { - "description": "The full URL to the source code repository", - "type": "string" + "type": "string", + "description": "The full URL to the source code repository" }, "branch": { - "description": "The branch name of the source code.", - "type": "string" + "type": "string", + "description": "The branch name of the source code." }, "sourceControlAuthProperties": { "$ref": "#/definitions/AuthInfoUpdateParameters", - "description": "The authorization properties for accessing the source code repository and to set up\r\nwebhooks for notifications." + "description": "The authorization properties for accessing the source code repository and to set up\nwebhooks for notifications." } } }, - "AuthInfoUpdateParameters": { - "description": "The authorization properties for accessing the source code repository.", + "SourceUploadDefinition": { "type": "object", + "description": "The properties of a response to source upload request.", "properties": { - "tokenType": { - "description": "The type of Auth token.", - "enum": [ - "PAT", - "OAuth" - ], + "uploadUrl": { "type": "string", - "x-ms-enum": { - "name": "TokenType", - "modelAsString": true - } - }, - "token": { - "description": "The access token used to access the source control provider.", - "type": "string" - }, - "refreshToken": { - "description": "The refresh token used to refresh the access token.", - "type": "string" - }, - "scope": { - "description": "The scope of the access token.", - "type": "string" + "description": "The URL where the client can upload the source." }, - "expiresIn": { - "format": "int32", - "description": "Time in seconds that the token remains valid", - "type": "integer" + "relativePath": { + "type": "string", + "description": "The relative path to the source. This is used to submit the subsequent queue build request." } } }, - "Resource": { - "description": "An Azure resource.", - "required": [ - "location" + "StepType": { + "type": "string", + "description": "The type of the step.", + "enum": [ + "Docker", + "FileTask", + "EncodedTask" ], - "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", - "type": "string", - "readOnly": true - }, - "location": { - "description": "The location of the resource. This cannot be changed after the resource is created.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "description": "The tags of the resource.", - "type": "object", - "additionalProperties": { - "type": "string" + "x-ms-enum": { + "name": "StepType", + "modelAsString": true, + "values": [ + { + "name": "Docker", + "value": "Docker" + }, + { + "name": "FileTask", + "value": "FileTask" + }, + { + "name": "EncodedTask", + "value": "EncodedTask" } - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true - } - }, - "x-ms-azure-resource": true + ] + } }, - "ProxyResource": { - "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.", + "Task": { + "type": "object", + "description": "The task that has the ARM resource and task properties.\nThe task will have all information to schedule a run against it.", "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", - "type": "string", - "readOnly": true + "properties": { + "$ref": "#/definitions/TaskProperties", + "description": "The properties of a task.", + "x-ms-client-flatten": true }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identity for the resource." } }, - "x-ms-azure-resource": true + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, - "SystemData": { - "description": "Metadata pertaining to creation and last modification of the resource.", + "TaskListResult": { "type": "object", + "description": "The collection of tasks.", "properties": { - "createdBy": { - "description": "The identity that created the resource.", - "type": "string" - }, - "createdByType": { - "description": "The type of identity that created the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "type": "string", - "x-ms-enum": { - "name": "createdByType", - "modelAsString": true + "value": { + "type": "array", + "description": "The collection value.", + "items": { + "$ref": "#/definitions/Task" } }, - "createdAt": { - "format": "date-time", - "description": "The timestamp of resource creation (UTC).", - "type": "string" - }, - "lastModifiedBy": { - "description": "The identity that last modified the resource.", - "type": "string" - }, - "lastModifiedByType": { - "description": "The type of identity that last modified the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], + "nextLink": { "type": "string", - "x-ms-enum": { - "name": "lastModifiedByType", - "modelAsString": true - } - }, - "lastModifiedAt": { - "format": "date-time", - "description": "The timestamp of resource modification (UTC).", - "type": "string" + "description": "The URI that can be used to request the next set of paged results." } - }, - "readOnly": true + } }, - "DockerBuildRequest": { - "description": "The parameters for a docker quick build.", - "required": [ - "type", - "dockerFilePath", - "platform" - ], + "TaskProperties": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/RunRequest" - } - ], + "description": "The properties of a task.", "properties": { - "imageNames": { - "description": "The fully qualified image names including the repository and tag.", - "type": "array", - "items": { - "type": "string" - } + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the task.", + "readOnly": true }, - "isPushEnabled": { - "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", - "default": true, - "type": "boolean" + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of task.", + "readOnly": true }, - "noCache": { - "description": "The value of this property indicates whether the image cache is enabled or not.", - "default": false, - "type": "boolean" + "status": { + "$ref": "#/definitions/TaskStatus", + "description": "The current status of task." }, - "dockerFilePath": { - "description": "The Docker file path relative to the source location.", - "type": "string" + "platform": { + "$ref": "#/definitions/PlatformProperties", + "description": "The platform properties against which the run has to happen." }, - "target": { - "description": "The name of the target build stage for the docker build.", - "type": "string" + "agentConfiguration": { + "$ref": "#/definitions/AgentProperties", + "description": "The machine configuration of the run agent." }, - "arguments": { - "description": "The collection of override arguments to be used when executing the run.", - "type": "array", - "items": { - "$ref": "#/definitions/Argument" - }, - "x-ms-identifiers": [ - "name" - ] + "agentPoolName": { + "type": "string", + "description": "The dedicated agent pool for the task." }, "timeout": { + "type": "integer", "format": "int32", "description": "Run timeout in seconds.", "default": 3600, - "maximum": 28800, "minimum": 300, - "type": "integer" - }, - "platform": { - "$ref": "#/definitions/PlatformProperties", - "description": "The platform properties against which the run has to happen." + "maximum": 28800 }, - "agentConfiguration": { - "$ref": "#/definitions/AgentProperties", - "description": "The machine configuration of the run agent." + "step": { + "$ref": "#/definitions/TaskStepProperties", + "description": "The properties of a task step." }, - "sourceLocation": { - "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.", - "type": "string" + "trigger": { + "$ref": "#/definitions/TriggerProperties", + "description": "The properties that describe all triggers for the task." }, "credentials": { "$ref": "#/definitions/Credentials", "description": "The properties that describes a set of credentials that will be used when this run is invoked." - } - }, - "x-ms-discriminator-value": "DockerBuildRequest" - }, - "Argument": { - "description": "The properties of a run argument.", - "required": [ - "name", - "value" - ], - "type": "object", - "properties": { - "name": { - "description": "The name of the argument.", - "type": "string" }, - "value": { - "description": "The value of the argument.", - "type": "string" + "logTemplate": { + "type": "string", + "description": "The template that describes the repository and tag information for run log artifact." }, - "isSecret": { - "description": "Flag to indicate whether the argument represents a secret and want to be removed from build logs.", - "default": false, - "type": "boolean" + "isSystemTask": { + "type": "boolean", + "description": "The value of this property indicates whether the task resource is system task or not.", + "default": false } } }, - "FileTaskRunRequest": { - "description": "The request parameters for a scheduling run against a task file.", - "required": [ - "type", - "taskFilePath", - "platform" - ], + "TaskPropertiesUpdateParameters": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/RunRequest" - } - ], + "description": "The properties for updating a task.", "properties": { - "taskFilePath": { - "description": "The template/definition file path relative to the source.", - "type": "string" - }, - "valuesFilePath": { - "description": "The values/parameters file path relative to the source.", - "type": "string" - }, - "values": { - "description": "The collection of overridable values that can be passed when running a task.", - "type": "array", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] - }, - "timeout": { - "format": "int32", - "description": "Run timeout in seconds.", - "default": 3600, - "maximum": 28800, - "minimum": 300, - "type": "integer" + "status": { + "$ref": "#/definitions/TaskStatus", + "description": "The current status of task." }, "platform": { - "$ref": "#/definitions/PlatformProperties", + "$ref": "#/definitions/PlatformUpdateParameters", "description": "The platform properties against which the run has to happen." }, "agentConfiguration": { "$ref": "#/definitions/AgentProperties", "description": "The machine configuration of the run agent." }, - "sourceLocation": { - "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.", - "type": "string" + "agentPoolName": { + "type": "string", + "description": "The dedicated agent pool for the task." + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "Run timeout in seconds." + }, + "step": { + "$ref": "#/definitions/TaskStepUpdateParameters", + "description": "The properties for updating a task step." + }, + "trigger": { + "$ref": "#/definitions/TriggerUpdateParameters", + "description": "The properties for updating trigger properties." }, "credentials": { "$ref": "#/definitions/Credentials", - "description": "The properties that describes a set of credentials that will be used when this run is invoked." + "description": "The parameters that describes a set of credentials that will be used when this run is invoked." + }, + "logTemplate": { + "type": "string", + "description": "The template that describes the repository and tag information for run log artifact." } - }, - "x-ms-discriminator-value": "FileTaskRunRequest" + } }, - "SetValue": { - "description": "The properties of a overridable value that can be passed to a task template.", - "required": [ - "name", - "value" - ], + "TaskRun": { "type": "object", + "description": "The task run that has the ARM resource and properties.\nThe task run will have the information of request and result of a run.", "properties": { - "name": { - "description": "The name of the overridable value.", - "type": "string" + "properties": { + "$ref": "#/definitions/TaskRunProperties", + "description": "The properties associated with the task run, i.e., request and result of the run", + "x-ms-client-flatten": true }, - "value": { - "description": "The overridable value.", - "type": "string" + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identity for the resource." }, - "isSecret": { - "description": "Flag to indicate whether the value represents a secret or not.", - "default": false, - "type": "boolean" + "location": { + "type": "string", + "description": "The location of the resource" } - } - }, - "TaskRunRequest": { - "description": "The parameters for a task run request.", - "required": [ - "type", - "taskId" - ], - "type": "object", + }, "allOf": [ { - "$ref": "#/definitions/RunRequest" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } - ], + ] + }, + "TaskRunListResult": { + "type": "object", + "description": "The collection of task runs.", "properties": { - "taskId": { - "description": "The resource ID of task against which run has to be queued.", - "type": "string" + "value": { + "type": "array", + "description": "The collection value.", + "items": { + "$ref": "#/definitions/TaskRun" + } }, - "overrideTaskStepProperties": { - "$ref": "#/definitions/OverrideTaskStepProperties", - "description": "Set of overridable parameters that can be passed when running a Task." + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next set of paged results." } - }, - "x-ms-discriminator-value": "TaskRunRequest" + } }, - "OverrideTaskStepProperties": { + "TaskRunProperties": { "type": "object", + "description": "The properties of task run.", "properties": { - "contextPath": { - "description": "The source context against which run has to be queued.", - "type": "string" - }, - "file": { - "description": "The file against which run has to be queued.", - "type": "string" + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of this task run", + "readOnly": true }, - "arguments": { - "description": "Gets or sets the collection of override arguments to be used when\r\nexecuting a build step.", - "type": "array", - "items": { - "$ref": "#/definitions/Argument" - }, - "x-ms-identifiers": [ - "name" - ] + "runRequest": { + "$ref": "#/definitions/RunRequest", + "description": "The request (parameters) for the run" }, - "target": { - "description": "The name of the target build stage for the docker build.", - "type": "string" + "runResult": { + "$ref": "#/definitions/Run", + "description": "The result of this task run", + "readOnly": true }, - "values": { - "description": "The collection of overridable values that can be passed when running a Task.", - "type": "array", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] + "forceUpdateTag": { + "type": "string", + "description": "How the run should be forced to rerun even if the run request configuration has not changed" + } + } + }, + "TaskRunPropertiesUpdateParameters": { + "type": "object", + "description": "The properties of a task run update parameters.", + "properties": { + "runRequest": { + "$ref": "#/definitions/RunRequest", + "description": "The request (parameters) for the new run" }, - "updateTriggerToken": { - "description": "Base64 encoded update trigger token that will be attached with the base image trigger webhook.", - "type": "string" + "forceUpdateTag": { + "type": "string", + "description": "How the run should be forced to rerun even if the run request configuration has not changed" } } }, - "EncodedTaskRunRequest": { - "description": "The parameters for a quick task run request.", + "TaskRunRequest": { + "type": "object", + "description": "The parameters for a task run request.", + "properties": { + "taskId": { + "type": "string", + "description": "The resource ID of task against which run has to be queued." + }, + "overrideTaskStepProperties": { + "$ref": "#/definitions/OverrideTaskStepProperties", + "description": "Set of overridable parameters that can be passed when running a Task." + } + }, "required": [ - "type", - "encodedTaskContent", - "platform" + "taskId" ], - "type": "object", "allOf": [ { "$ref": "#/definitions/RunRequest" } ], + "x-ms-discriminator-value": "TaskRunRequest" + }, + "TaskRunUpdateParameters": { + "type": "object", + "description": "The parameters for updating a task run.", "properties": { - "encodedTaskContent": { - "description": "Base64 encoded value of the template/definition file content.", - "type": "string" + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identity for the resource." }, - "encodedValuesContent": { - "description": "Base64 encoded value of the parameters/values file content.", - "type": "string" + "properties": { + "$ref": "#/definitions/TaskRunPropertiesUpdateParameters", + "description": "The properties for updating a task run.", + "x-ms-client-flatten": true }, - "values": { - "description": "The collection of overridable values that can be passed when running a task.", + "location": { + "type": "string", + "description": "The location of the resource" + }, + "tags": { + "type": "object", + "description": "The ARM resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "TaskStatus": { + "type": "string", + "description": "The current status of task.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "TaskStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, + "TaskStepProperties": { + "type": "object", + "description": "Base properties for any task step.", + "properties": { + "type": { + "$ref": "#/definitions/StepType", + "description": "The type of the step." + }, + "baseImageDependencies": { "type": "array", + "description": "List of base image dependencies for a step.", "items": { - "$ref": "#/definitions/SetValue" + "$ref": "#/definitions/BaseImageDependency" }, + "readOnly": true, "x-ms-identifiers": [] }, - "timeout": { - "format": "int32", - "description": "Run timeout in seconds.", - "default": 3600, - "maximum": 28800, - "minimum": 300, - "type": "integer" - }, - "platform": { - "$ref": "#/definitions/PlatformProperties", - "description": "The platform properties against which the run has to happen." - }, - "agentConfiguration": { - "$ref": "#/definitions/AgentProperties", - "description": "The machine configuration of the run agent." - }, - "sourceLocation": { - "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.", - "type": "string" + "contextPath": { + "type": "string", + "description": "The URL(absolute or relative) of the source context for the task step." }, - "credentials": { - "$ref": "#/definitions/Credentials", - "description": "The properties that describes a set of credentials that will be used when this run is invoked." + "contextAccessToken": { + "type": "string", + "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step." } }, - "x-ms-discriminator-value": "EncodedTaskRunRequest" - }, - "DockerBuildStep": { - "description": "The Docker build step.", + "discriminator": "type", "required": [ - "dockerFilePath", "type" - ], + ] + }, + "TaskStepUpdateParameters": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TaskStepProperties" - } - ], + "description": "Base properties for updating any task step.", "properties": { - "imageNames": { - "description": "The fully qualified image names including the repository and tag.", - "type": "array", - "items": { - "type": "string" - } - }, - "isPushEnabled": { - "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", - "default": true, - "type": "boolean" - }, - "noCache": { - "description": "The value of this property indicates whether the image cache is enabled or not.", - "default": false, - "type": "boolean" - }, - "dockerFilePath": { - "description": "The Docker file path relative to the source context.", - "type": "string" + "type": { + "$ref": "#/definitions/StepType", + "description": "The type of the step." }, - "target": { - "description": "The name of the target build stage for the docker build.", - "type": "string" + "contextPath": { + "type": "string", + "description": "The URL(absolute or relative) of the source context for the task step." }, - "arguments": { - "description": "The collection of override arguments to be used when executing this build step.", - "type": "array", - "items": { - "$ref": "#/definitions/Argument" - }, - "x-ms-identifiers": [ - "name" - ] + "contextAccessToken": { + "type": "string", + "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step." } }, - "x-ms-discriminator-value": "Docker" - }, - "FileTaskStep": { - "description": "The properties of a task step.", + "discriminator": "type", "required": [ - "taskFilePath", "type" - ], + ] + }, + "TaskUpdateParameters": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TaskStepProperties" + "description": "The parameters for updating a task.", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identity for the resource." + }, + "properties": { + "$ref": "#/definitions/TaskPropertiesUpdateParameters", + "description": "The properties for updating a task.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "The ARM resource tags.", + "additionalProperties": { + "type": "string" + } } - ], + } + }, + "TimerTrigger": { + "type": "object", + "description": "The properties of a timer trigger.", "properties": { - "taskFilePath": { - "description": "The task template/definition file path relative to the source context.", - "type": "string" + "schedule": { + "type": "string", + "description": "The CRON expression for the task schedule" }, - "valuesFilePath": { - "description": "The task values/parameters file path relative to the source context.", - "type": "string" + "status": { + "type": "string", + "description": "The current status of trigger.", + "default": "Enabled", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } }, - "values": { - "description": "The collection of overridable values that can be passed when running a task.", - "type": "array", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] + "name": { + "type": "string", + "description": "The name of the trigger." } }, - "x-ms-discriminator-value": "FileTask" - }, - "EncodedTaskStep": { - "description": "The properties of a encoded task step.", "required": [ - "encodedTaskContent", - "type" - ], + "schedule", + "name" + ] + }, + "TimerTriggerDescriptor": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TaskStepProperties" + "properties": { + "timerTriggerName": { + "type": "string", + "description": "The timer trigger name that caused the run." + }, + "scheduleOccurrence": { + "type": "string", + "description": "The occurrence that triggered the run." } - ], + } + }, + "TimerTriggerUpdateParameters": { + "type": "object", + "description": "The properties for updating a timer trigger.", "properties": { - "encodedTaskContent": { - "description": "Base64 encoded value of the template/definition file content.", - "type": "string" + "schedule": { + "type": "string", + "description": "The CRON expression for the task schedule" }, - "encodedValuesContent": { - "description": "Base64 encoded value of the parameters/values file content.", - "type": "string" + "status": { + "type": "string", + "description": "The current status of trigger.", + "default": "Enabled", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } }, - "values": { - "description": "The collection of overridable values that can be passed when running a task.", - "type": "array", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] + "name": { + "type": "string", + "description": "The name of the trigger." } }, - "x-ms-discriminator-value": "EncodedTask" - }, - "DockerBuildStepUpdateParameters": { - "description": "The properties for updating a docker build step.", "required": [ - "type" + "name" + ] + }, + "TokenType": { + "type": "string", + "description": "The type of Auth token.", + "enum": [ + "PAT", + "OAuth" ], + "x-ms-enum": { + "name": "TokenType", + "modelAsString": true, + "values": [ + { + "name": "PAT", + "value": "PAT" + }, + { + "name": "OAuth", + "value": "OAuth" + } + ] + } + }, + "TriggerProperties": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TaskStepUpdateParameters" - } - ], + "description": "The properties of a trigger.", "properties": { - "imageNames": { - "description": "The fully qualified image names including the repository and tag.", + "timerTriggers": { "type": "array", + "description": "The collection of timer triggers.", "items": { - "type": "string" - } - }, - "isPushEnabled": { - "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", - "type": "boolean" - }, - "noCache": { - "description": "The value of this property indicates whether the image cache is enabled or not.", - "type": "boolean" - }, - "dockerFilePath": { - "description": "The Docker file path relative to the source context.", - "type": "string" + "$ref": "#/definitions/TimerTrigger" + }, + "x-ms-identifiers": [ + "name" + ] }, - "arguments": { - "description": "The collection of override arguments to be used when executing this build step.", + "sourceTriggers": { "type": "array", + "description": "The collection of triggers based on source code repository.", "items": { - "$ref": "#/definitions/Argument" + "$ref": "#/definitions/SourceTrigger" }, "x-ms-identifiers": [ - "name" + "name", + "sourceRepository/repositoryUrl" ] }, - "target": { - "description": "The name of the target build stage for the docker build.", - "type": "string" + "baseImageTrigger": { + "$ref": "#/definitions/BaseImageTrigger", + "description": "The trigger based on base image dependencies." } - }, - "x-ms-discriminator-value": "Docker" + } }, - "FileTaskStepUpdateParameters": { - "description": "The properties of updating a task step.", - "required": [ - "type" - ], + "TriggerUpdateParameters": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TaskStepUpdateParameters" - } - ], + "description": "The properties for updating triggers.", "properties": { - "taskFilePath": { - "description": "The task template/definition file path relative to the source context.", - "type": "string" - }, - "valuesFilePath": { - "description": "The values/parameters file path relative to the source context.", - "type": "string" + "timerTriggers": { + "type": "array", + "description": "The collection of timer triggers.", + "items": { + "$ref": "#/definitions/TimerTriggerUpdateParameters" + }, + "x-ms-identifiers": [ + "name" + ] }, - "values": { - "description": "The collection of overridable values that can be passed when running a task.", + "sourceTriggers": { "type": "array", + "description": "The collection of triggers based on source code repository.", "items": { - "$ref": "#/definitions/SetValue" + "$ref": "#/definitions/SourceTriggerUpdateParameters" }, - "x-ms-identifiers": [] + "x-ms-identifiers": [ + "name" + ] + }, + "baseImageTrigger": { + "$ref": "#/definitions/BaseImageTriggerUpdateParameters", + "description": "The trigger based on base image dependencies." } - }, - "x-ms-discriminator-value": "FileTask" + } }, - "EncodedTaskStepUpdateParameters": { - "description": "The properties for updating encoded task step.", - "required": [ - "type" + "UpdateTriggerPayloadType": { + "type": "string", + "description": "Type of Payload body for Base image update triggers.", + "enum": [ + "Default", + "Token" ], + "x-ms-enum": { + "name": "UpdateTriggerPayloadType", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default" + }, + { + "name": "Token", + "value": "Token" + } + ] + } + }, + "UserIdentityProperties": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TaskStepUpdateParameters" - } - ], "properties": { - "encodedTaskContent": { - "description": "Base64 encoded value of the template/definition file content.", - "type": "string" - }, - "encodedValuesContent": { - "description": "Base64 encoded value of the parameters/values file content.", - "type": "string" + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity.", + "readOnly": true }, - "values": { - "description": "The collection of overridable values that can be passed when running a task.", - "type": "array", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] + "clientId": { + "type": "string", + "description": "The client id of user assigned identity.", + "readOnly": true } - }, - "x-ms-discriminator-value": "EncodedTask" - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "The Microsoft Azure subscription ID.", - "required": true, - "type": "string" - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group to which the container registry belongs.", - "required": true, - "type": "string", - "minLength": 1, - "x-ms-parameter-location": "method" - }, - "RegistryNameParameter": { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "The client API version.", - "required": true, - "type": "string" - }, - "TaskNameParameter": { - "name": "taskName", - "in": "path", - "description": "The name of the container registry task.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-_]*$", - "x-ms-parameter-location": "method" - }, - "AgentPoolNameParameter": { - "name": "agentPoolName", - "in": "path", - "description": "The name of the agent pool.", - "required": true, - "type": "string", - "maxLength": 20, - "minLength": 3, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "TaskRunNameParameter": { - "name": "taskRunName", - "in": "path", - "description": "The name of the task run.", - "required": true, + } + }, + "Variant": { "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow" + "description": "Variant of the CPU.", + "enum": [ + "v6", + "v7", + "v8" + ], + "x-ms-enum": { + "name": "Variant", + "modelAsString": true, + "values": [ + { + "name": "v6", + "value": "v6" + }, + { + "name": "v7", + "value": "v7" + }, + { + "name": "v8", + "value": "v8" + } + ] + } } }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] + "parameters": {} } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsCreate.json index 10452b911f4f..9b990a0ff01c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsCreate.json @@ -1,50 +1,52 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "api-version": "2025-03-01-preview", - "agentPoolName": "myAgentPool", "agentPool": { "location": "WESTUS", - "tags": { - "key": "value" - }, "properties": { "count": 1, - "tier": "S1", - "os": "Linux" + "os": "Linux", + "tier": "S1" + }, + "tags": { + "key": "value" } - } + }, + "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "myAgentPool", "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", "properties": { "count": 1, - "tier": "S1", "os": "Linux", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "name": "myAgentPool", - "location": "WESTUS" + "provisioningState": "Succeeded", + "tier": "S1" + } } }, "201": { "body": { + "name": "myAgentPool", "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", "properties": { "count": 1, - "tier": "S1", "os": "Linux", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "name": "myAgentPool", - "location": "WESTUS" + "provisioningState": "Succeeded", + "tier": "S1" + } } } - } -} + }, + "operationId": "AgentPools_Create", + "title": "AgentPools_Create" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsDelete.json index 339c4bbd6553..ce63d22205da 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsDelete.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", + "agentPoolName": "myAgentPool", "api-version": "2025-03-01-preview", - "agentPoolName": "myAgentPool" + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "202": { @@ -13,5 +13,7 @@ } }, "204": {} - } -} + }, + "operationId": "AgentPools_Delete", + "title": "AgentPools_Delete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGet.json index ac5c6db575d4..2954ee2c1b41 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGet.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", + "agentPoolName": "myAgentPool", "api-version": "2025-03-01-preview", - "agentPoolName": "myAgentPool" + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "myAgentPool", "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", "properties": { "count": 1, - "tier": "S1", "os": "Linux", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "name": "myAgentPool", - "location": "WESTUS" + "provisioningState": "Succeeded", + "tier": "S1" + } } } - } -} + }, + "operationId": "AgentPools_Get", + "title": "AgentPools_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json index ff1e897a3946..8c8780758bce 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", + "agentPoolName": "myAgentPool", "api-version": "2025-03-01-preview", - "agentPoolName": "myAgentPool" + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { @@ -12,5 +12,7 @@ "count": 10 } } - } -} + }, + "operationId": "AgentPools_GetQueueStatus", + "title": "AgentPools_GetQueueStatus" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsList.json index ff88a9a2a903..5a7188b5835b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsList.json @@ -1,29 +1,31 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", + "agentPoolName": "myAgentPool", "api-version": "2025-03-01-preview", - "agentPoolName": "myAgentPool" + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "value": [ { + "name": "myAgentPool", "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", "properties": { "count": 1, - "tier": "S1", "os": "Linux", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "name": "myAgentPool", - "location": "WESTUS" + "provisioningState": "Succeeded", + "tier": "S1" + } } ] } } - } -} + }, + "operationId": "AgentPools_List", + "title": "AgentPools_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json index ec03c4fd8318..e6d8cd533cc5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "api-version": "2025-03-01-preview", "agentPoolName": "myAgentPool", + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "updateParameters": { "properties": { "count": 1 @@ -14,31 +14,33 @@ "responses": { "200": { "body": { + "name": "myAgentPool", "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", "properties": { "count": 1, - "tier": "S1", "os": "Linux", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "name": "myAgentPool", - "location": "WESTUS" + "provisioningState": "Succeeded", + "tier": "S1" + } } }, "201": { "body": { + "name": "myAgentPool", "type": "Microsoft.ContainerRegistry/registries/agentPools", + "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", + "location": "WESTUS", "properties": { "count": 1, - "tier": "S1", "os": "Linux", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "name": "myAgentPool", - "location": "WESTUS" + "provisioningState": "Succeeded", + "tier": "S1" + } } } - } -} + }, + "operationId": "AgentPools_Update", + "title": "AgentPools_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json index ec67c192c44c..754f29e35b23 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json @@ -1,164 +1,164 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", - "taskName": "mytTask", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "eastus", "properties": { - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime" + }, "sourceTriggers": [ { "name": "mySourceTrigger", "sourceRepository": { - "sourceControlType": "Github", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "sourceControlAuthProperties": { - "tokenType": "PAT", - "token": "xxxxx" - } + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" ] } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime" - } - }, - "credentials": { - "sourceRegistry": { - "identity": "[system]" - } - }, - "isSystemTask": false, - "logTemplate": null - }, - "location": "eastus", - "identity": { - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } }, "tags": { "testkey": "value" } - } + }, + "taskName": "mytTask" }, "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime" - } - }, - "isSystemTask": false, - "logTemplate": null, - "credentials": { - "sourceRegistry": { - "identity": "[system]" - } + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] } }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" - }, "tags": { "testkey": "value" } @@ -166,83 +166,85 @@ }, "201": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Creating", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime" - } - }, - "isSystemTask": false, - "logTemplate": null, - "credentials": { - "sourceRegistry": { - "identity": "[system]" - } + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] } }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" - }, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithLoginIdentity" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json index 951bd529278a..7aebdbfa2a61 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json @@ -1,160 +1,181 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", - "taskName": "mytTask", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskCreateParameters": { + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + }, + "location": "eastus", "properties": { - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Default" + }, "sourceTriggers": [ { "name": "mySourceTrigger", "sourceRepository": { - "sourceControlType": "Github", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "sourceControlAuthProperties": { - "tokenType": "PAT", - "token": "xxxxx" - } + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" ] } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", - "updateTriggerPayloadType": "Default" - } - }, - "isSystemTask": false, - "logTemplate": null - }, - "location": "eastus", - "identity": { - "type": "SystemAssigned, UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] } }, "tags": { "testkey": "value" } - } + }, + "taskName": "mytTask" }, "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned, UserAssigned", + "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - } - }, - "isSystemTask": false, - "logTemplate": null + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { "name": "myTask", "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", "identity": { + "type": "SystemAssigned, UserAssigned", "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30", "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "type": "SystemAssigned, UserAssigned", "userAssignedIdentities": { "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", @@ -162,87 +183,66 @@ } } }, - "tags": { - "testkey": "value" - } - } - }, - "201": { - "body": { + "location": "eastus", "properties": { - "provisioningState": "Creating", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - } - }, - "isSystemTask": false, - "logTemplate": null - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "type": "SystemAssigned, UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", - "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" - } + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] } }, "tags": { @@ -250,5 +250,7 @@ } } } - } -} + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithSystemAndUserIdentities" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json index 31b1ee9c60f5..234524ee8e79 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json @@ -1,153 +1,153 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", - "taskName": "mytTask", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "eastus", "properties": { - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime" + }, "sourceTriggers": [ { "name": "mySourceTrigger", "sourceRepository": { - "sourceControlType": "Github", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "sourceControlAuthProperties": { - "tokenType": "PAT", - "token": "xxxxx" - } + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" ] } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime" - } - }, - "isSystemTask": false, - "logTemplate": null - }, - "location": "eastus", - "identity": { - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } }, "tags": { "testkey": "value" } - } + }, + "taskName": "mytTask" }, "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime" - } - }, - "isSystemTask": false, - "logTemplate": null - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, "tags": { "testkey": "value" @@ -156,78 +156,80 @@ }, "201": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Creating", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime" - } - }, - "isSystemTask": false, - "logTemplate": null - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithUserIdentities_WithSystemIdentity" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json index 63b6a4582602..3fb5af85dc17 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json @@ -1,157 +1,180 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", - "taskName": "mytTask", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskCreateParameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}, + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + }, + "location": "eastus", "properties": { - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Default" + }, "sourceTriggers": [ { "name": "mySourceTrigger", "sourceRepository": { - "sourceControlType": "Github", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "sourceControlAuthProperties": { - "tokenType": "PAT", - "token": "xxxxx" - } + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" ] } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", - "updateTriggerPayloadType": "Default" - } - }, - "isSystemTask": false, - "logTemplate": null - }, - "location": "eastus", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}, - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] } }, "tags": { "testkey": "value" } - } + }, + "taskName": "mytTask" }, "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + }, + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", + "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" + } + } + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - } - }, - "isSystemTask": false, - "logTemplate": null + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "tags": { + "testkey": "value" + } + } + }, + "201": { + "body": { "name": "myTask", "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", "identity": { "type": "UserAssigned", "userAssignedIdentities": { @@ -165,89 +188,66 @@ } } }, - "tags": { - "testkey": "value" - } - } - }, - "201": { - "body": { + "location": "eastus", "properties": { - "provisioningState": "Creating", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - } - }, - "isSystemTask": false, - "logTemplate": null - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - }, - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", - "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" - } + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] } }, "tags": { @@ -255,5 +255,7 @@ } } } - } -} + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_WithUserIdentities" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json index 750beed82a4b..14aa7d77780c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json @@ -1,22 +1,38 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskName": "myTask", "taskUpdateParameters": { "properties": { - "status": "Enabled", "agentConfiguration": { "cpu": 3 }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "identity": "[system]", + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/password" + }, + "userName": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/username" + } + } + } + }, + "logTemplate": null, + "status": "Enabled", "step": { "type": "Docker", + "dockerFilePath": "src/DockerFile", "imageNames": [ "azurerest:testtag1" - ], - "dockerFilePath": "src/DockerFile" + ] }, "trigger": { "sourceTriggers": [ @@ -24,8 +40,8 @@ "name": "mySourceTrigger", "sourceRepository": { "sourceControlAuthProperties": { - "tokenType": "PAT", - "token": "xxxxx" + "token": "xxxxx", + "tokenType": "PAT" } }, "sourceTriggerEvents": [ @@ -33,23 +49,7 @@ ] } ] - }, - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": { - "userName": { - "type": "Vaultsecret", - "value": "https://myacbvault.vault.azure.net/secrets/username" - }, - "password": { - "type": "Vaultsecret", - "value": "https://myacbvault.vault.azure.net/secrets/password" - }, - "identity": "[system]" - } - } - }, - "logTemplate": null + } }, "tags": { "testkey": "value" @@ -59,85 +59,87 @@ "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 3 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": null + }, + "sourceRegistry": null + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag1" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", - "updateTriggerPayloadType": "Token" - } - }, - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": null - }, - "sourceRegistry": null - }, - "logTemplate": null - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithKeyVaultCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json index 93d7b002f669..27709a3df937 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json @@ -1,22 +1,28 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskName": "myTask", "taskUpdateParameters": { "properties": { - "status": "Enabled", "agentConfiguration": { "cpu": 3 }, + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "logTemplate": null, + "status": "Enabled", "step": { "type": "Docker", + "dockerFilePath": "src/DockerFile", "imageNames": [ "azurerest:testtag1" - ], - "dockerFilePath": "src/DockerFile" + ] }, "trigger": { "sourceTriggers": [ @@ -24,8 +30,8 @@ "name": "mySourceTrigger", "sourceRepository": { "sourceControlAuthProperties": { - "tokenType": "PAT", - "token": "xxxxx" + "token": "xxxxx", + "tokenType": "PAT" } }, "sourceTriggerEvents": [ @@ -33,13 +39,7 @@ ] } ] - }, - "credentials": { - "sourceRegistry": { - "identity": "[system]" - } - }, - "logTemplate": null + } }, "tags": { "testkey": "value" @@ -49,82 +49,84 @@ "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 3 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "sourceRegistry": { + "identity": "[system]" + } + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag1" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime" - } - }, - "credentials": { - "sourceRegistry": { - "identity": "[system]" - } - }, - "logTemplate": null - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithLoginIdentity" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json index 5e1501252b71..f4814334f82e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json @@ -1,22 +1,30 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskName": "myTask", "taskUpdateParameters": { "properties": { - "status": "Enabled", "agentConfiguration": { "cpu": 3 }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "identity": "[system]" + } + } + }, + "logTemplate": null, + "status": "Enabled", "step": { "type": "Docker", + "dockerFilePath": "src/DockerFile", "imageNames": [ "azurerest:testtag1" - ], - "dockerFilePath": "src/DockerFile" + ] }, "trigger": { "sourceTriggers": [ @@ -24,8 +32,8 @@ "name": "mySourceTrigger", "sourceRepository": { "sourceControlAuthProperties": { - "tokenType": "PAT", - "token": "xxxxx" + "token": "xxxxx", + "tokenType": "PAT" } }, "sourceTriggerEvents": [ @@ -33,15 +41,7 @@ ] } ] - }, - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": { - "identity": "[system]" - } - } - }, - "logTemplate": null + } }, "tags": { "testkey": "value" @@ -51,83 +51,85 @@ "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 3 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag1" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime" - } - }, - "credentials": { - "customRegistries": { - "myregistry.azure.io": null - }, - "sourceRegistry": null - }, - "logTemplate": null - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithMSICustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json index eed41b65289f..a1cb2e510e55 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json @@ -1,9 +1,9 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-03-01-preview", "registryName": "myRegistry", - "api-version": "2025-03-01-preview" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { @@ -12,5 +12,7 @@ "uploadUrl": "https://registrystorageaccount.blob.core.windows.net/registrycontainer/source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" } } - } -} + }, + "operationId": "Registries_GetBuildSourceUploadUrl", + "title": "Registries_GetBuildSourceUploadUrl" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json index db9e7d89e12c..5d33cde26aa0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json @@ -1,53 +1,55 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", "runRequest": { "type": "DockerBuildRequest", - "isArchiveEnabled": true, - "imageNames": [ - "azurerest:testtag" - ], - "noCache": true, - "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "agentConfiguration": { + "cpu": 2 + }, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } ], + "dockerFilePath": "DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isArchiveEnabled": true, "isPushEnabled": true, + "noCache": true, "platform": { - "os": "Linux", - "architecture": "amd64" + "architecture": "amd64", + "os": "Linux" }, - "agentConfiguration": { - "cpu": 2 - }, - "dockerFilePath": "DockerFile" - } + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", "provisioningState": "Succeeded", "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded", - "lastUpdatedTime": "2018-01-25T05:13:51.617Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run" + "status": "Succeeded" + } } } - } -} + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json index f04598381dda..c1429e996f08 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json @@ -1,46 +1,48 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", "runRequest": { "type": "EncodedTaskRunRequest", + "agentConfiguration": { + "cpu": 2 + }, + "encodedTaskContent": "c3RlcHM6Cnt7IGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAncHJvZCcgfX0KICAtIHJ1bjogcHJvZCBzZXR1cAp7eyBlbHNlIGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAnc3RhZ2luZycgfX0KICAtIHJ1bjogc3RhZ2luZyBzZXR1cAp7eyBlbHNlIH19CiAgLSBydW46IGRlZmF1bHQgc2V0dXAKe3sgZW5kIH19CgogIC0gcnVuOiBidWlsZCAtdCBGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0gLgoKcHVzaDogWydGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0nXQ==", + "encodedValuesContent": "ZW52aXJvbm1lbnQ6IHByb2QKdmVyc2lvbjogMQ==", + "platform": { + "os": "Linux" + }, "values": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } - ], - "platform": { - "os": "Linux" - }, - "agentConfiguration": { - "cpu": 2 - }, - "encodedTaskContent": "c3RlcHM6Cnt7IGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAncHJvZCcgfX0KICAtIHJ1bjogcHJvZCBzZXR1cAp7eyBlbHNlIGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAnc3RhZ2luZycgfX0KICAtIHJ1bjogc3RhZ2luZyBzZXR1cAp7eyBlbHNlIH19CiAgLSBydW46IGRlZmF1bHQgc2V0dXAKe3sgZW5kIH19CgogIC0gcnVuOiBidWlsZCAtdCBGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0gLgoKcHVzaDogWydGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0nXQ==", - "encodedValuesContent": "ZW52aXJvbm1lbnQ6IHByb2QKdmVyc2lvbjogMQ==" - } + ] + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", "provisioningState": "Succeeded", "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded", - "lastUpdatedTime": "2018-01-25T05:13:51.617Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run" + "status": "Succeeded" + } } } - } -} + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_EncodedTaskRun" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json index 93998e12a526..b6163d6ff7df 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json @@ -1,47 +1,49 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", "runRequest": { "type": "FileTaskRunRequest", + "agentConfiguration": { + "cpu": 2 + }, + "platform": { + "os": "Linux" + }, "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "taskFilePath": "acb.yaml", "values": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } ], - "platform": { - "os": "Linux" - }, - "agentConfiguration": { - "cpu": 2 - }, - "taskFilePath": "acb.yaml", "valuesFilePath": "prod-values.yaml" - } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", "provisioningState": "Succeeded", "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded", - "lastUpdatedTime": "2018-01-25T05:13:51.617Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run" + "status": "Succeeded" + } } } - } -} + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_FileTaskRun" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json index b930fcc69a89..86c52b4164f0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json @@ -1,59 +1,61 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", "runRequest": { "type": "FileTaskRunRequest", - "values": [ - { - "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false - }, - { - "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true - } - ], - "platform": { - "os": "Linux" - }, - "taskFilePath": "acb.yaml", "credentials": { - "sourceRegistry": { - "loginMode": "Default" - }, "customRegistries": { "myregistry.azurecr.io": { - "userName": { - "type": "Opaque", - "value": "reg1" - }, "password": { "type": "Opaque", "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "reg1" } } + }, + "sourceRegistry": { + "loginMode": "Default" } - } - } + }, + "platform": { + "os": "Linux" + }, + "taskFilePath": "acb.yaml", + "values": [ + { + "name": "mytestargument", + "isSecret": false, + "value": "mytestvalue" + }, + { + "name": "mysecrettestargument", + "isSecret": true, + "value": "mysecrettestvalue" + } + ] + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", "provisioningState": "Succeeded", "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded", - "lastUpdatedTime": "2018-01-25T05:13:51.617Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run" + "status": "Succeeded" + } } } - } -} + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_Task_WithCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json index c48326780c9b..b275627c16eb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json @@ -1,56 +1,58 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", "runRequest": { "type": "TaskRunRequest", "overrideTaskStepProperties": { - "file": "overriddenDockerfile", - "target": "build", "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } ], + "file": "overriddenDockerfile", + "target": "build", + "updateTriggerToken": "aGVsbG8gd29ybGQ=", "values": [ { "name": "mytestname", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestname", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } - ], - "updateTriggerToken": "aGVsbG8gd29ybGQ=" + ] }, "taskId": "myTask" - } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", "provisioningState": "Succeeded", "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded", - "lastUpdatedTime": "2018-01-25T05:13:51.617Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run" + "status": "Succeeded" + } } } - } -} + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_Task" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json index 697b774e9eb6..2f1ad86b1c74 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json @@ -1,81 +1,83 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", "runRequest": { "type": "DockerBuildRequest", - "isArchiveEnabled": true, - "imageNames": [ - "azurerest:testtag" - ], - "noCache": true, - "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "agentConfiguration": { + "cpu": 2 + }, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } ], - "isPushEnabled": true, - "platform": { - "os": "Linux", - "architecture": "amd64" - }, - "agentConfiguration": { - "cpu": 2 - }, - "dockerFilePath": "DockerFile", - "target": "stage1", "credentials": { - "sourceRegistry": { - "loginMode": "Default" - }, "customRegistries": { "myregistry.azurecr.io": { - "userName": { - "type": "Opaque", - "value": "reg1" - }, "password": { "type": "Opaque", "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "reg1" } }, "myregistry2.azurecr.io": { - "userName": { - "type": "Opaque", - "value": "reg2" - }, "password": { "type": "Opaque", "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "reg2" } } + }, + "sourceRegistry": { + "loginMode": "Default" } - } - } + }, + "dockerFilePath": "DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isArchiveEnabled": true, + "isPushEnabled": true, + "noCache": true, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "target": "stage1" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", "provisioningState": "Succeeded", "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded", - "lastUpdatedTime": "2018-01-25T05:13:51.617Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run" + "status": "Succeeded" + } } } - } -} + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_WithCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json index 4a0b1befc003..b11d3b616edd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json @@ -1,54 +1,56 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", "runRequest": { "type": "DockerBuildRequest", - "isArchiveEnabled": true, - "imageNames": [ - "azurerest:testtag" - ], - "noCache": true, - "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", + "agentConfiguration": { + "cpu": 2 + }, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } ], + "dockerFilePath": "DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isArchiveEnabled": true, "isPushEnabled": true, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "noCache": true, "platform": { - "os": "Linux", - "architecture": "amd64" - }, - "agentConfiguration": { - "cpu": 2 + "architecture": "amd64", + "os": "Linux" }, - "dockerFilePath": "DockerFile", - "logTemplate": "acr/tasks:{{.Run.OS}}" - } + "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/run", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", "properties": { + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", "provisioningState": "Succeeded", "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded", - "lastUpdatedTime": "2018-01-25T05:13:51.617Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run" + "status": "Succeeded" + } } } - } -} + }, + "operationId": "Registries_ScheduleRun", + "title": "Registries_ScheduleRun_WithLogTemplate" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsCancel.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsCancel.json index e9d1b36f54a8..7ab56cf944e5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsCancel.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsCancel.json @@ -1,12 +1,14 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab" + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": {} - } -} + }, + "operationId": "Runs_Cancel", + "title": "Runs_Cancel" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGet.json index 1e7d44bda76e..93a34e25552a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGet.json @@ -1,63 +1,65 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab" + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", "properties": { - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded", - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "runType": "AutoBuild", + "agentConfiguration": { + "cpu": 2 + }, "createTime": "2018-01-25T05:13:51.618Z", - "startTime": "2018-01-25T05:50:51.618Z", "finishTime": "2018-01-25T06:13:51.618Z", - "outputImages": [ - { - "registry": "myregistry.azurecr.io", - "repository": "myimage", - "tag": "latest", - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" - } - ], - "task": "myTask", "imageUpdateTrigger": { "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", - "timestamp": "2018-01-25T05:13:51.618Z", "images": [ { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", "registry": "registry.hub.docker.com", "repository": "mybaseimage", - "tag": "latest", - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" + "tag": "latest" } - ] + ], + "timestamp": "2018-01-25T05:13:51.618Z" }, "isArchiveEnabled": true, - "platform": { - "os": "Linux", - "architecture": "amd64" - }, - "agentConfiguration": { - "cpu": 2 - }, + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", "logArtifact": { "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", "registry": "myregistry", "repository": "acr/tasks", "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" - } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/runs" + }, + "outputImages": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest" + } + ], + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runType": "AutoBuild", + "startTime": "2018-01-25T05:50:51.618Z", + "status": "Succeeded", + "task": "myTask" + } } } - } -} + }, + "operationId": "Runs_Get", + "title": "Runs_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json index 55236b0cdf37..ab2b06b6b505 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab" + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { @@ -12,5 +12,7 @@ "logLink": "https://registrystorageaccount.blob.core.windows.net/sascontainer/logs/0accec26-d6de-4757-8e74-d080f38eaaab/rawtext.log?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" } } - } -} + }, + "operationId": "Runs_GetLogSasUrl", + "title": "Runs_GetLogSasUrl" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsList.json index 5b7dec5a4f41..cd0a4996c0ab 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsList.json @@ -1,68 +1,70 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "api-version": "2025-03-01-preview", "$filter": "", - "$top": 10 + "$top": 10, + "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "value": [ { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", "properties": { - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded", - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "runType": "AutoBuild", + "agentConfiguration": { + "cpu": 2 + }, "createTime": "2018-01-25T05:13:51.618Z", - "startTime": "2018-01-25T05:50:51.618Z", "finishTime": "2018-01-25T06:13:51.618Z", - "outputImages": [ - { - "registry": "myregistry.azurecr.io", - "repository": "myimage", - "tag": "latest", - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" - } - ], - "task": "myTask", "imageUpdateTrigger": { "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", - "timestamp": "2018-01-25T05:13:51.618Z", "images": [ { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", "registry": "registry.hub.docker.com", "repository": "mybaseimage", - "tag": "latest", - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" + "tag": "latest" } - ] + ], + "timestamp": "2018-01-25T05:13:51.618Z" }, "isArchiveEnabled": true, - "platform": { - "os": "Linux", - "architecture": "amd64" - }, - "agentConfiguration": { - "cpu": 2 - }, + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", "logArtifact": { "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", "registry": "myregistry", "repository": "acr/tasks", "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" - } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/runs" + }, + "outputImages": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest" + } + ], + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runType": "AutoBuild", + "startTime": "2018-01-25T05:50:51.618Z", + "status": "Succeeded", + "task": "myTask" + } } ] } } - } -} + }, + "operationId": "Runs_List", + "title": "Runs_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsUpdate.json index 5c5b35f16f79..c55d23360923 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsUpdate.json @@ -1,66 +1,68 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", "runUpdateParameters": { "isArchiveEnabled": true - } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "0accec26-d6de-4757-8e74-d080f38eaaab", + "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", "properties": { - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded", - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "runType": "AutoBuild", + "agentConfiguration": { + "cpu": 2 + }, "createTime": "2018-01-25T05:13:51.618Z", - "startTime": "2018-01-25T05:50:51.618Z", "finishTime": "2018-01-25T06:13:51.618Z", - "outputImages": [ - { - "registry": "myregistry.azurecr.io", - "repository": "myimage", - "tag": "latest", - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" - } - ], - "task": "myTask", "imageUpdateTrigger": { "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", - "timestamp": "2018-01-25T05:13:51.618Z", "images": [ { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", "registry": "registry.hub.docker.com", "repository": "mybaseimage", - "tag": "latest", - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0" + "tag": "latest" } - ] + ], + "timestamp": "2018-01-25T05:13:51.618Z" }, "isArchiveEnabled": true, - "platform": { - "os": "Linux", - "architecture": "amd64" - }, - "agentConfiguration": { - "cpu": 2 - }, + "lastUpdatedTime": "2018-01-25T05:13:51.617Z", "logArtifact": { "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", "registry": "myregistry", "repository": "acr/tasks", "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" - } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/runs" + }, + "outputImages": [ + { + "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", + "registry": "myregistry.azurecr.io", + "repository": "myimage", + "tag": "latest" + } + ], + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "runType": "AutoBuild", + "startTime": "2018-01-25T05:50:51.618Z", + "status": "Succeeded", + "task": "myTask" + } } } - } -} + }, + "operationId": "Runs_Update", + "title": "Runs_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsCreate.json index b4e38c3c9ad4..95cc6de96a06 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsCreate.json @@ -1,113 +1,115 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", - "taskRunName": "myRun", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskRun": { "properties": { "forceUpdateTag": "test", "runRequest": { "type": "EncodedTaskRunRequest", + "credentials": {}, "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "values": [], "platform": { - "os": "Linux", - "architecture": "amd64" + "architecture": "amd64", + "os": "Linux" }, - "credentials": {} + "values": [] } } - } + }, + "taskRunName": "myRun" }, "responses": { "200": { "body": { + "name": "myrun", "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", "properties": { "provisioningState": "Creating", "runRequest": { "type": "EncodedTaskRunRequest", + "credentials": {}, "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "values": [], + "isArchiveEnabled": true, "platform": { - "os": "Linux", - "architecture": "amd64" + "architecture": "amd64", + "os": "Linux" }, - "credentials": {}, - "isArchiveEnabled": true + "values": [] }, "runResult": { + "name": "yd5", "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", "properties": { - "runId": "yd5", - "status": "Queued", - "lastUpdatedTime": "2019-09-06T17:23:21+00:00", - "runType": "QuickRun", - "createTime": "2019-09-06T17:23:21.9261521+00:00", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "createTime": "2019-09-06T17:23:21.9261521+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:21+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, "provisioningState": "Succeeded", - "isArchiveEnabled": true - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", - "name": "yd5" + "runId": "yd5", + "runType": "QuickRun", + "status": "Queued" + } } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "name": "myrun" + } } }, "201": { "body": { + "name": "myrun", "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", "properties": { "provisioningState": "Creating", "runRequest": { "type": "EncodedTaskRunRequest", + "credentials": {}, "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "values": [], + "isArchiveEnabled": true, "platform": { - "os": "Linux", - "architecture": "amd64" + "architecture": "amd64", + "os": "Linux" }, - "credentials": {}, - "isArchiveEnabled": true + "values": [] }, "runResult": { + "name": "yd5", "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", "properties": { - "runId": "yd5", - "status": "Queued", - "lastUpdatedTime": "2019-09-06T17:23:21+00:00", - "runType": "QuickRun", - "createTime": "2019-09-06T17:23:21.9261521+00:00", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "createTime": "2019-09-06T17:23:21.9261521+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:21+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, "provisioningState": "Succeeded", - "isArchiveEnabled": true - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", - "name": "yd5" + "runId": "yd5", + "runType": "QuickRun", + "status": "Queued" + } } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "name": "myrun" + } } } - } -} + }, + "operationId": "TaskRuns_Create", + "title": "TaskRuns_Create" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsDelete.json index 7f9e0bf22e46..9a7cfe9667e0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsDelete.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskRunName": "myRun" }, "responses": { "200": {}, "204": {} - } -} + }, + "operationId": "TaskRuns_Delete", + "title": "TaskRuns_Delete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGet.json index 3e50253bc6b5..ccee28c4ae37 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGet.json @@ -1,56 +1,58 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskRunName": "myRun" }, "responses": { "200": { "body": { + "name": "myRun", "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", "properties": { "provisioningState": "Succeeded", "runRequest": { "type": "EncodedTaskRunRequest", + "credentials": {}, "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "values": [], + "isArchiveEnabled": true, "platform": { - "os": "Linux", - "architecture": "amd64" + "architecture": "amd64", + "os": "Linux" }, - "credentials": {}, - "isArchiveEnabled": true + "values": [] }, "runResult": { + "name": "yd5", "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", "properties": { - "runId": "yd5", - "status": "Succeeded", - "lastUpdatedTime": "2019-09-06T17:23:29+00:00", - "runType": "QuickRun", + "agentConfiguration": { + "cpu": 2 + }, "createTime": "2019-09-06T17:23:21.9261521+00:00", - "startTime": "2019-09-06T17:23:22.1348714+00:00", "finishTime": "2019-09-06T17:23:29.8792157+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:29+00:00", "platform": { - "os": "Linux", - "architecture": "amd64" - }, - "agentConfiguration": { - "cpu": 2 + "architecture": "amd64", + "os": "Linux" }, "provisioningState": "Succeeded", - "isArchiveEnabled": true - }, - "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", - "name": "yd5" + "runId": "yd5", + "runType": "QuickRun", + "startTime": "2019-09-06T17:23:22.1348714+00:00", + "status": "Succeeded" + } } - }, - "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "name": "myRun" + } } } - } -} + }, + "operationId": "TaskRuns_Get", + "title": "TaskRuns_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json index 3e50253bc6b5..c15489473dad 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json @@ -1,56 +1,58 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskRunName": "myRun" }, "responses": { "200": { "body": { + "name": "myRun", "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", "properties": { "provisioningState": "Succeeded", "runRequest": { "type": "EncodedTaskRunRequest", + "credentials": {}, "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "values": [], + "isArchiveEnabled": true, "platform": { - "os": "Linux", - "architecture": "amd64" + "architecture": "amd64", + "os": "Linux" }, - "credentials": {}, - "isArchiveEnabled": true + "values": [] }, "runResult": { + "name": "yd5", "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", "properties": { - "runId": "yd5", - "status": "Succeeded", - "lastUpdatedTime": "2019-09-06T17:23:29+00:00", - "runType": "QuickRun", + "agentConfiguration": { + "cpu": 2 + }, "createTime": "2019-09-06T17:23:21.9261521+00:00", - "startTime": "2019-09-06T17:23:22.1348714+00:00", "finishTime": "2019-09-06T17:23:29.8792157+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:23:29+00:00", "platform": { - "os": "Linux", - "architecture": "amd64" - }, - "agentConfiguration": { - "cpu": 2 + "architecture": "amd64", + "os": "Linux" }, "provisioningState": "Succeeded", - "isArchiveEnabled": true - }, - "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", - "name": "yd5" + "runId": "yd5", + "runType": "QuickRun", + "startTime": "2019-09-06T17:23:22.1348714+00:00", + "status": "Succeeded" + } } - }, - "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "name": "myRun" + } } } - } -} + }, + "operationId": "TaskRuns_GetDetails", + "title": "TaskRuns_GetDetails" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsList.json index 5d21578bfc31..bc9e915d36ab 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsList.json @@ -1,59 +1,61 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-03-01-preview", "registryName": "myRegistry", - "api-version": "2025-03-01-preview" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "value": [ { + "name": "mytestrun", "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", "properties": { "provisioningState": "Succeeded", "runRequest": { "type": "EncodedTaskRunRequest", + "credentials": {}, "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "values": [], + "isArchiveEnabled": true, "platform": { - "os": "Linux", - "architecture": "amd64" + "architecture": "amd64", + "os": "Linux" }, - "credentials": {}, - "isArchiveEnabled": true + "values": [] }, "runResult": { + "name": "yd4", "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd4", "properties": { - "runId": "yd4", - "status": "Succeeded", - "lastUpdatedTime": "2019-09-04T17:15:37+00:00", - "runType": "QuickRun", + "agentConfiguration": { + "cpu": 2 + }, "createTime": "2019-09-04T17:15:29.2278794+00:00", - "startTime": "2019-09-04T17:15:29.4589616+00:00", "finishTime": "2019-09-04T17:15:37.0349516+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-04T17:15:37+00:00", "platform": { - "os": "Linux", - "architecture": "amd64" - }, - "agentConfiguration": { - "cpu": 2 + "architecture": "amd64", + "os": "Linux" }, "provisioningState": "Succeeded", - "isArchiveEnabled": true - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd4", - "name": "yd4" + "runId": "yd4", + "runType": "QuickRun", + "startTime": "2019-09-04T17:15:29.4589616+00:00", + "status": "Succeeded" + } } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "name": "mytestrun" + } } ] } } - } -} + }, + "operationId": "TaskRuns_List", + "title": "TaskRuns_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsUpdate.json index bee2cf7c4d97..1639e953bc7c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsUpdate.json @@ -1,24 +1,24 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskRunName": "myRun", "updateParameters": { "properties": { "forceUpdateTag": "test", "runRequest": { "type": "EncodedTaskRunRequest", + "credentials": {}, "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "values": [], + "isArchiveEnabled": true, "platform": { - "os": "Linux", - "architecture": "amd64" + "architecture": "amd64", + "os": "Linux" }, - "credentials": {}, - "isArchiveEnabled": true + "values": [] } } } @@ -26,89 +26,91 @@ "responses": { "200": { "body": { + "name": "mytestrun", "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", "properties": { "provisioningState": "Creating", "runRequest": { "type": "EncodedTaskRunRequest", + "credentials": {}, "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "values": [], + "isArchiveEnabled": true, "platform": { - "os": "Linux", - "architecture": "amd64" + "architecture": "amd64", + "os": "Linux" }, - "credentials": {}, - "isArchiveEnabled": true + "values": [] }, "runResult": { + "name": "yd6", "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd6", "properties": { - "runId": "yd6", - "status": "Queued", - "lastUpdatedTime": "2019-09-06T17:31:34+00:00", - "runType": "QuickRun", - "createTime": "2019-09-06T17:31:34.1184031+00:00", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "createTime": "2019-09-06T17:31:34.1184031+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:31:34+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, "provisioningState": "Succeeded", - "isArchiveEnabled": true - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd6", - "name": "yd6" + "runId": "yd6", + "runType": "QuickRun", + "status": "Queued" + } } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "name": "mytestrun" + } } }, "201": { "body": { + "name": "mytestrun", "type": "Microsoft.ContainerRegistry/registries/TaskRuns", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", "properties": { "provisioningState": "Creating", "runRequest": { "type": "EncodedTaskRunRequest", + "credentials": {}, "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "values": [], + "isArchiveEnabled": true, "platform": { - "os": "Linux", - "architecture": "amd64" + "architecture": "amd64", + "os": "Linux" }, - "credentials": {}, - "isArchiveEnabled": true + "values": [] }, "runResult": { + "name": "yd6", "type": "Microsoft.ContainerRegistry/registries/runs", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd6", "properties": { - "runId": "yd6", - "status": "Queued", - "lastUpdatedTime": "2019-09-06T17:31:34+00:00", - "runType": "QuickRun", - "createTime": "2019-09-06T17:31:34.1184031+00:00", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "createTime": "2019-09-06T17:31:34.1184031+00:00", + "isArchiveEnabled": true, + "lastUpdatedTime": "2019-09-06T17:31:34+00:00", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, "provisioningState": "Succeeded", - "isArchiveEnabled": true - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd6", - "name": "yd6" + "runId": "yd6", + "runType": "QuickRun", + "status": "Queued" + } } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "name": "mytestrun" + } } } - } -} + }, + "operationId": "TaskRuns_Update", + "title": "TaskRuns_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate.json index bed904861bee..72a2de71e7d2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate.json @@ -1,157 +1,157 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", - "taskName": "mytTask", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskCreateParameters": { + "identity": { + "type": "SystemAssigned" + }, + "location": "eastus", "properties": { - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "isSystemTask": false, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + }, "sourceTriggers": [ { "name": "mySourceTrigger", "sourceRepository": { - "sourceControlType": "Github", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "sourceControlAuthProperties": { - "tokenType": "PAT", - "token": "xxxxx" - } + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" ] } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", - "updateTriggerPayloadType": "Token" - } - }, - "isSystemTask": false, - "logTemplate": "acr/tasks:{{.Run.OS}}" - }, - "location": "eastus", - "identity": { - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5" + } + ] + } }, "tags": { "testkey": "value" } - } + }, + "taskName": "mytTask" }, "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Token" - } - }, - "isSystemTask": false, - "logTemplate": "acr/tasks:{{.Run.OS}}" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, "tags": { "testkey": "value" @@ -160,80 +160,82 @@ }, "201": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Creating", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "isSystemTask": false, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Creating", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Token" - } - }, - "isSystemTask": false, - "logTemplate": "acr/tasks:{{.Run.OS}}" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json index 690e15e3b115..330570226afd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json @@ -1,41 +1,41 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", - "taskName": "quicktask", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskCreateParameters": { + "identity": null, + "location": "eastus", "properties": { - "status": "Enabled", "isSystemTask": true, - "logTemplate": "acr/tasks:{{.Run.OS}}" + "logTemplate": "acr/tasks:{{.Run.OS}}", + "status": "Enabled" }, - "location": "eastus", - "identity": null, "tags": { "testkey": "value" } - } + }, + "taskName": "quicktask" }, "responses": { "200": { "body": { + "name": "quicktask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": null, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": null, "agentConfiguration": null, - "trigger": null, + "creationDate": "2018-01-25T06:54:23.536Z", "isSystemTask": true, - "logTemplate": "acr/tasks:{{.Run.OS}}" + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": null, + "provisioningState": "Succeeded", + "status": "Enabled", + "trigger": null }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "quicktask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": null, "tags": { "testkey": "value" } @@ -43,25 +43,27 @@ }, "201": { "body": { + "name": "quicktask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": null, + "location": "eastus", "properties": { - "provisioningState": "Creating", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": null, "agentConfiguration": null, - "trigger": null, + "creationDate": "2018-01-25T06:54:23.536Z", "isSystemTask": true, - "logTemplate": "acr/tasks:{{.Run.OS}}" + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": null, + "provisioningState": "Creating", + "status": "Enabled", + "trigger": null }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "quicktask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": null, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_Create", + "title": "Tasks_Create_QuickTask" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksDelete.json index d714fd3ca117..c95ab4d440b1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksDelete.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskName": "myTask" }, "responses": { "200": {}, "204": {} - } -} + }, + "operationId": "Tasks_Delete", + "title": "Tasks_Delete" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGet.json index 54ca5aabfe65..fb911defd10b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGet.json @@ -1,94 +1,96 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskName": "myTask" }, "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Token" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Token" - } - }, - "credentials": { - "customRegistries": { - "myregistry.azure.io": null - }, - "sourceRegistry": null - }, - "isSystemTask": false, - "logTemplate": null - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_Get", + "title": "Tasks_Get" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGetDetails.json index 575087f21a43..865475732a7f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGetDetails.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGetDetails.json @@ -1,108 +1,110 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskName": "myTask" }, "responses": { "200": { "body": { + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "credentials": { + "customRegistries": { + "myregistry.azure-test.io": { + "identity": "[system]", + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/username" + }, + "userName": { + "type": "Opaque", + "value": "username" + } + } + }, + "sourceRegistry": null + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" }, { "name": "mysecrettestargument", - "value": "mysecrettestvalue", - "isSecret": true + "isSecret": true, + "value": "mysecrettestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", + "updateTriggerPayloadType": "Token" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "branch": "master", + "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", "sourceControlAuthProperties": { - "tokenType": "PAT", - "token": "xxxxx" - } + "token": "xxxxx", + "tokenType": "PAT" + }, + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", - "updateTriggerPayloadType": "Token" - } - }, - "credentials": { - "customRegistries": { - "myregistry.azure-test.io": { - "userName": { - "type": "Opaque", - "value": "username" - }, - "password": { - "type": "Vaultsecret", - "value": "https://myacbvault.vault.azure.net/secrets/username" - }, - "identity": "[system]" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" } - }, - "sourceRegistry": null - }, - "isSystemTask": false, - "logTemplate": null - }, - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + ] + } }, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_GetDetails", + "title": "Tasks_GetDetails" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksList.json index d44872408ce0..9742a895334c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksList.json @@ -1,90 +1,90 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-03-01-preview", "registryName": "myRegistry", - "api-version": "2025-03-01-preview" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "value": [ { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 2 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myRegistry.azure.io": null + }, + "sourceRegistry": null + }, + "isSystemTask": false, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - } - }, - "credentials": { - "customRegistries": { - "myRegistry.azure.io": null - }, - "sourceRegistry": null - }, - "isSystemTask": false, - "logTemplate": null - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, "tags": { "testkey": "value" @@ -93,5 +93,7 @@ ] } } - } -} + }, + "operationId": "Tasks_List", + "title": "Tasks_List" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate.json index b171db41a1e4..5d690c516306 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate.json @@ -1,22 +1,38 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskName": "myTask", "taskUpdateParameters": { "properties": { - "status": "Enabled", "agentConfiguration": { "cpu": 3 }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "identity": "[system]", + "password": { + "type": "Vaultsecret", + "value": "https://myacbvault.vault.azure.net/secrets/password" + }, + "userName": { + "type": "Opaque", + "value": "username" + } + } + } + }, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "status": "Enabled", "step": { "type": "Docker", + "dockerFilePath": "src/DockerFile", "imageNames": [ "azurerest:testtag1" - ], - "dockerFilePath": "src/DockerFile" + ] }, "trigger": { "sourceTriggers": [ @@ -24,8 +40,8 @@ "name": "mySourceTrigger", "sourceRepository": { "sourceControlAuthProperties": { - "tokenType": "PAT", - "token": "xxxxx" + "token": "xxxxx", + "tokenType": "PAT" } }, "sourceTriggerEvents": [ @@ -33,23 +49,7 @@ ] } ] - }, - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": { - "userName": { - "type": "Opaque", - "value": "username" - }, - "password": { - "type": "Vaultsecret", - "value": "https://myacbvault.vault.azure.net/secrets/password" - }, - "identity": "[system]" - } - } - }, - "logTemplate": "acr/tasks:{{.Run.OS}}" + } }, "tags": { "testkey": "value" @@ -59,85 +59,87 @@ "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 3 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": null + }, + "sourceRegistry": null + }, + "logTemplate": "acr/tasks:{{.Run.OS}}", + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag1" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled", + "updateTriggerEndpoint": null, + "updateTriggerPayloadType": "Default" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - } - }, - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": null - }, - "sourceRegistry": null - }, - "logTemplate": "acr/tasks:{{.Run.OS}}" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json index 45dbb41aff8d..4f1768a47bee 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json @@ -1,14 +1,14 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskName": "quicktask", "taskUpdateParameters": { "properties": { - "status": "Enabled", - "logTemplate": "acr/tasks:{{.Run.OS}}" + "logTemplate": "acr/tasks:{{.Run.OS}}", + "status": "Enabled" }, "tags": { "testkey": "value" @@ -18,24 +18,26 @@ "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": null, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", + "agentConfiguration": null, "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", + "logTemplate": "acr/tasks:{{.Run.OS}}", "platform": null, - "agentConfiguration": null, - "trigger": null, - "logTemplate": "acr/tasks:{{.Run.OS}}" + "provisioningState": "Succeeded", + "status": "Enabled", + "trigger": null }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": null, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_QuickTask" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json index 99ee544555d7..0b7dcf4d73f8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json @@ -1,22 +1,37 @@ { "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", "api-version": "2025-03-01-preview", + "registryName": "myRegistry", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "taskName": "myTask", "taskUpdateParameters": { "properties": { - "status": "Enabled", "agentConfiguration": { "cpu": 3 }, + "credentials": { + "customRegistries": { + "myregistry.azurecr.io": { + "password": { + "type": "Opaque", + "value": "***" + }, + "userName": { + "type": "Opaque", + "value": "username" + } + } + } + }, + "logTemplate": null, + "status": "Enabled", "step": { "type": "Docker", + "dockerFilePath": "src/DockerFile", "imageNames": [ "azurerest:testtag1" - ], - "dockerFilePath": "src/DockerFile" + ] }, "trigger": { "sourceTriggers": [ @@ -24,8 +39,8 @@ "name": "mySourceTrigger", "sourceRepository": { "sourceControlAuthProperties": { - "tokenType": "PAT", - "token": "xxxxx" + "token": "xxxxx", + "tokenType": "PAT" } }, "sourceTriggerEvents": [ @@ -33,22 +48,7 @@ ] } ] - }, - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": { - "userName": { - "type": "Opaque", - "value": "username" - }, - "password": { - "type": "Opaque", - "value": "***" - } - } - } - }, - "logTemplate": null + } }, "tags": { "testkey": "value" @@ -58,83 +58,85 @@ "responses": { "200": { "body": { + "name": "myTask", + "type": "Microsoft.ContainerRegistry/registries/tasks", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", + "identity": { + "type": "SystemAssigned", + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" + }, + "location": "eastus", "properties": { - "provisioningState": "Succeeded", - "creationDate": "2018-01-25T06:54:23.536Z", - "status": "Enabled", - "platform": { - "os": "Linux", - "architecture": "amd64" - }, "agentConfiguration": { "cpu": 3 }, + "creationDate": "2018-01-25T06:54:23.536Z", + "credentials": { + "customRegistries": { + "myregistry.azure.io": null + }, + "sourceRegistry": null + }, + "logTemplate": null, + "platform": { + "architecture": "amd64", + "os": "Linux" + }, + "provisioningState": "Succeeded", + "status": "Enabled", "step": { "type": "Docker", - "imageNames": [ - "azurerest:testtag1" - ], - "dockerFilePath": "src/DockerFile", - "contextPath": "src", - "isPushEnabled": true, - "noCache": false, "arguments": [ { "name": "mytestargument", - "value": "mytestvalue", - "isSecret": false + "isSecret": false, + "value": "mytestvalue" } - ] + ], + "contextPath": "src", + "dockerFilePath": "src/DockerFile", + "imageNames": [ + "azurerest:testtag1" + ], + "isPushEnabled": true, + "noCache": false }, "trigger": { - "timerTriggers": [ - { - "name": "myTimerTrigger", - "status": "Enabled", - "schedule": "30 9 * * 1-5" - } - ], + "baseImageTrigger": { + "name": "myBaseImageTrigger", + "baseImageTriggerType": "Runtime", + "status": "Enabled" + }, "sourceTriggers": [ { "name": "mySourceTrigger", - "status": "Enabled", "sourceRepository": { - "sourceControlType": "Github", + "branch": "master", "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "branch": "master" + "sourceControlType": "Github" }, "sourceTriggerEvents": [ "commit" - ] + ], + "status": "Enabled" } ], - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "status": "Enabled", - "baseImageTriggerType": "Runtime" - } - }, - "credentials": { - "customRegistries": { - "myregistry.azure.io": null - }, - "sourceRegistry": null - }, - "logTemplate": null - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "location": "eastus", - "identity": { - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", - "type": "SystemAssigned" + "timerTriggers": [ + { + "name": "myTimerTrigger", + "schedule": "30 9 * * 1-5", + "status": "Enabled" + } + ] + } }, "tags": { "testkey": "value" } } } - } -} + }, + "operationId": "Tasks_Update", + "title": "Tasks_Update_WithOpaqueCustomCredentials" +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/readme.typescript.md b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/readme.typescript.md deleted file mode 100644 index ecda0142079e..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/readme.typescript.md +++ /dev/null @@ -1,36 +0,0 @@ -## TypeScript - -These settings apply only when `--typescript` is specified on the command line. -Please also specify `--typescript-sdks-folder=`. - -### Rename OS -```yaml -modelerfour: - naming: - override: - OS: $DO_NOT_NORMALIZE$OS -``` - -``` yaml $(typescript) -typescript: - azure-arm: true - package-name: "@azure/arm-containerregistrytasks" - output-folder: "$(typescript-sdks-folder)/sdk/containerregistry/arm-containerregistrytasks" - generate-metadata: true - -directive: - - from: containerregistry_build.json - where: $.definitions.IdentityProperties.properties - transform: > - $.principalId['readOnly'] = true; - $.tenantId['readOnly'] = true; - - from: containerregistry_build.json - where: $.definitions.UserIdentityProperties.properties - transform: > - $.principalId['readOnly'] = true; - $.clientId['readOnly'] = true; - - from: containerregistry_build.json - where: $.definitions.ErrorResponse - transform: > - $['x-ms-client-name'] = 'ErrorResponseForContainerRegistry'; -``` diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml index 095f44e65c1e..1bb0b3cbee6e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml @@ -1,3 +1,6 @@ +parameters: + "service-dir": + default: "sdk/containerregistry" emit: - "@azure-tools/typespec-autorest" options: @@ -10,6 +13,42 @@ options: arm-resource-flattening: true arm-types-dir: "{project-root}/../../../../common-types/resource-management" emit-lro-options: "all" + "@azure-tools/typespec-csharp": + flavor: azure + package-dir: "Azure.ResourceManager.ContainerRegistry" + clear-output-folder: true + model-namespace: true + namespace: "{package-dir}" + "@azure-tools/typespec-python": + service-dir: "sdk/containerregistry" + package-dir: "azure-mgmt-containerregistrytasks" + namespace: "azure.mgmt.containerregistry" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + service-dir: "sdk/containerregistry" + package-dir: "azure-resourcemanager-containerregistrytasks" + namespace: "com.azure.resourcemanager.containerregistrytasks" + service-name: "ContainerRegistryTasks" + flavor: azure + use-object-for-unknown: true + "@azure-tools/typespec-ts": + package-dir: "arm-containerregistrytasks" + flavor: azure + experimental-extensible-enums: true + package-details: + name: "@azure/arm-containerregistrytasks" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/containerregistry" + package-dir: "armcontainerregistrytasks" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + fix-const-stuttering: true + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" From c4ef7d417f63852519f9928704505fdae4bbd815 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 10:42:01 +0800 Subject: [PATCH 08/41] update operation list --- .../Registry/main.tsp | 19 ++- .../Registry/models.tsp | 17 ++ .../2025-05-01-preview/containerregistry.json | 152 +++++++++++++++++- 3 files changed, 186 insertions(+), 2 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp index 5867d0f987af..7740142387d2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp @@ -55,4 +55,21 @@ enum Versions { v2025_05_01_preview: "2025-05-01-preview", } -interface Operations extends Azure.ResourceManager.Operations {} +interface Operations { + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @tag("Operations") + @autoRoute + @Azure.ResourceManager.Private.armUpdateProviderNamespace + @doc("List the operations for the provider") + @segment("operations") + @list + list( + ...ApiVersionParameter, + + @path + @segment("providers") + @doc("The provider namespace (this parameter will not show up in operations).") + provider: "Microsoft.ThisWillBeReplaced", + ): ArmResponse | ErrorResponse; +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp index 5d77072d43c9..04e66cf520f9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp @@ -1547,6 +1547,23 @@ model OperationLogSpecificationDefinition { blobDuration?: string; } +/** + * The result of a request to list container registry operations. + */ +model OperationListResult { + /** + * The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations. + */ + @pageItems + value?: OperationDefinition[]; + + /** + * The URI that can be used to request the next list of container registry operations. + */ + @nextLink + nextLink?: string; +} + /** The resource type for Container Registry. */ #suppress "@azure-tools/typespec-azure-core/no-enum" "" enum ContainerRegistryResourceType { diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json index c309bd3ea0bb..c0ad72bc00ee 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json @@ -105,7 +105,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" + "$ref": "#/definitions/OperationListResult" } }, "default": { @@ -7141,6 +7141,156 @@ "defaultAction" ] }, + "OperationDefinition": { + "type": "object", + "description": "The definition of a container registry operation.", + "properties": { + "origin": { + "type": "string", + "description": "The origin information of the container registry operation." + }, + "name": { + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}." + }, + "display": { + "$ref": "#/definitions/OperationDisplayDefinition", + "description": "The display information for the container registry operation." + }, + "properties": { + "$ref": "#/definitions/OperationPropertiesDefinition", + "description": "The properties information for the container registry operation.", + "x-ms-client-flatten": true + }, + "isDataAction": { + "type": "boolean", + "description": "This property indicates if the operation is an action or a data action\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations" + } + } + }, + "OperationDisplayDefinition": { + "type": "object", + "description": "The display information for a container registry operation.", + "properties": { + "provider": { + "type": "string", + "description": "The resource provider name: Microsoft.ContainerRegistry." + }, + "resource": { + "type": "string", + "description": "The resource on which the operation is performed." + }, + "operation": { + "type": "string", + "description": "The operation that users can perform." + }, + "description": { + "type": "string", + "description": "The description for the operation." + } + } + }, + "OperationListResult": { + "type": "object", + "description": "The result of a request to list container registry operations.", + "properties": { + "value": { + "type": "array", + "description": "The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.", + "items": { + "$ref": "#/definitions/OperationDefinition" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of container registry operations." + } + } + }, + "OperationLogSpecificationDefinition": { + "type": "object", + "description": "The definition of Azure Monitoring log.", + "properties": { + "name": { + "type": "string", + "description": "Log name." + }, + "displayName": { + "type": "string", + "description": "Log display name." + }, + "blobDuration": { + "type": "string", + "description": "Log blob duration." + } + } + }, + "OperationMetricSpecificationDefinition": { + "type": "object", + "description": "The definition of Azure Monitoring metric.", + "properties": { + "name": { + "type": "string", + "description": "Metric name." + }, + "displayName": { + "type": "string", + "description": "Metric display name." + }, + "displayDescription": { + "type": "string", + "description": "Metric description." + }, + "unit": { + "type": "string", + "description": "Metric unit." + }, + "aggregationType": { + "type": "string", + "description": "Metric aggregation type." + }, + "internalMetricName": { + "type": "string", + "description": "Internal metric name." + } + } + }, + "OperationPropertiesDefinition": { + "type": "object", + "description": "The definition of Azure Monitoring properties.", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/OperationServiceSpecificationDefinition", + "description": "The definition of Azure Monitoring service." + } + } + }, + "OperationServiceSpecificationDefinition": { + "type": "object", + "description": "The definition of Azure Monitoring list.", + "properties": { + "metricSpecifications": { + "type": "array", + "description": "A list of Azure Monitoring metrics definition.", + "items": { + "$ref": "#/definitions/OperationMetricSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "logSpecifications": { + "type": "array", + "description": "A list of Azure Monitoring log definitions.", + "items": { + "$ref": "#/definitions/OperationLogSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, "PackageSourceType": { "type": "string", "description": "The type of package source for a archive.", From f57ed8da96e2c5846ba456b2bd2d04537f5666a1 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 11:00:18 +0800 Subject: [PATCH 09/41] update --- .../Registry/back-compatible.tsp | 64 +------------------ .../RegistryTasks/back-compatible.tsp | 21 +----- 2 files changed, 4 insertions(+), 81 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp index cb89545de937..198c68b0cdeb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/back-compatible.tsp @@ -3,48 +3,12 @@ import "@azure-tools/typespec-client-generator-core"; using Azure.ClientGenerator.Core; using Microsoft.ContainerRegistry; -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(ArchiveUpdateParameters.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(CacheRuleUpdateParameters.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(ConnectedRegistryUpdateParameters.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(CredentialSetUpdateParameters.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(OperationDefinition.properties); +// Remove deprecated @flattenProperty decorators since they're handled by @Azure.ResourceManager.Private.conditionalClientFlatten in models.tsp @@clientName(IPRule.value, "IPAddressOrRange"); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(RegistryUpdateParameters.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(ReplicationUpdateParameters.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(ScopeMapUpdateParameters.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(TokenUpdateParameters.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(WebhookCreateParameters.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(WebhookUpdateParameters.properties); - @@clientName(Archives.create::parameters.resource, "archiveCreateParameters"); @@clientName(Archives.update::parameters.properties, "archiveUpdateParameters"); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(Archive.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(ArchiveVersion.properties); @@clientName(CacheRules.create::parameters.resource, "cacheRuleCreateParameters" @@ -52,8 +16,6 @@ using Microsoft.ContainerRegistry; @@clientName(CacheRules.update::parameters.properties, "cacheRuleUpdateParameters" ); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(CacheRule.properties); @@clientName(ConnectedRegistries.create::parameters.resource, "connectedRegistryCreateParameters" @@ -61,8 +23,6 @@ using Microsoft.ContainerRegistry; @@clientName(ConnectedRegistries.update::parameters.properties, "connectedRegistryUpdateParameters" ); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(ConnectedRegistry.properties); @@clientName(CredentialSets.create::parameters.resource, "credentialSetCreateParameters" @@ -70,32 +30,22 @@ using Microsoft.ContainerRegistry; @@clientName(CredentialSets.update::parameters.properties, "credentialSetUpdateParameters" ); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(CredentialSet.properties); @@clientName(ExportPipelines.create::parameters.resource, "exportPipelineCreateParameters" ); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(ExportPipeline.properties); @@clientName(ImportPipelines.create::parameters.resource, "importPipelineCreateParameters" ); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(ImportPipeline.properties); @@clientName(PipelineRuns.create::parameters.resource, "pipelineRunCreateParameters" ); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(PipelineRun.properties); @@clientName(PrivateEndpointConnections.createOrUpdate::parameters.resource, "privateEndpointConnection" ); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(PrivateEndpointConnection.properties); @@clientName(Registries.create::parameters.resource, "registry"); @@clientName(Registries.update::parameters.properties, @@ -111,34 +61,22 @@ using Microsoft.ContainerRegistry; @@clientName(Registries.generateCredentials::parameters.body, "generateCredentialsParameters" ); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(Registry.properties); @@clientLocation(PrivateLinkResources.getPrivateLinkResource, Registries); @@clientLocation(PrivateLinkResources.listPrivateLinkResources, Registries); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(PrivateLinkResource.properties); @@clientName(Replications.create::parameters.resource, "replication"); @@clientName(Replications.update::parameters.properties, "replicationUpdateParameters" ); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(Replication.properties); @@clientName(ScopeMaps.create::parameters.resource, "scopeMapCreateParameters"); @@clientName(ScopeMaps.update::parameters.properties, "scopeMapUpdateParameters" ); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(ScopeMap.properties); @@clientName(Tokens.create::parameters.resource, "tokenCreateParameters"); @@clientName(Tokens.update::parameters.properties, "tokenUpdateParameters"); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(Token.properties); @@clientName(Webhooks.create::parameters.resource, "webhookCreateParameters"); @@clientName(Webhooks.update::parameters.properties, "webhookUpdateParameters"); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(Webhook.properties); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp index eb86846f7860..eb0b17086982 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp @@ -3,37 +3,22 @@ import "@azure-tools/typespec-client-generator-core"; using Azure.ClientGenerator.Core; using Microsoft.ContainerRegistry; -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(AgentPoolUpdateParameters.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(TaskRunUpdateParameters.properties); - -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(TaskUpdateParameters.properties); - @@clientName(AgentPools.create::parameters.resource, "agentPool"); @@clientName(AgentPools.update::parameters.properties, "updateParameters"); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(AgentPool.properties); @@clientName(Runs.update::parameters.properties, "runUpdateParameters"); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(Run.properties); @@clientName(TaskRuns.create::parameters.resource, "taskRun"); @@clientName(TaskRuns.update::parameters.properties, "updateParameters"); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(TaskRun.properties); @@clientName(Tasks.create::parameters.resource, "taskCreateParameters"); @@clientName(Tasks.update::parameters.properties, "taskUpdateParameters"); -#suppress "deprecated" "@flattenProperty decorator is not recommended to use." -@@flattenProperty(Task.properties); @@clientLocation(RegistriesOperationGroup.scheduleRun, "Registries"); @@clientLocation(RegistriesOperationGroup.getBuildSourceUploadUrl, "Registries" ); -@@clientName(RegistriesOperationGroup.scheduleRun::parameters.body, "runRequest"); +@@clientName(RegistriesOperationGroup.scheduleRun::parameters.body, + "runRequest" +); From ab2aaf523c2c0363b3a3ee3011680b2ac3cf5f92 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 11:17:47 +0800 Subject: [PATCH 10/41] update --- .../containerregistry_build.json | 3699 ------- .../examples/AgentPoolsCreate.json | 52 - .../examples/AgentPoolsDelete.json | 19 - .../examples/AgentPoolsGet.json | 27 - .../examples/AgentPoolsGetQueueStatus.json | 18 - .../examples/AgentPoolsList.json | 31 - .../examples/AgentPoolsUpdate.json | 46 - .../TasksCreate_WithLoginIdentity.json | 250 - ...sksCreate_WithSystemAndUserIdentities.json | 256 - .../TasksCreate_WithSystemIdentity.json | 235 - .../TasksCreate_WithUserIdentities.json | 261 - ...sUpdate_WithKeyVaultCustomCredentials.json | 145 - .../TasksUpdate_WithLoginIdentity.json | 132 - .../TasksUpdate_WithMSICustomCredentials.json | 135 - .../RegistriesGetBuildSourceUploadUrl.json | 18 - .../examples/RegistriesScheduleRun.json | 55 - .../RegistriesScheduleRun_EncodedTaskRun.json | 48 - .../RegistriesScheduleRun_FileTaskRun.json | 49 - ...uleRun_FileTask_WithCustomCredentials.json | 61 - .../examples/RegistriesScheduleRun_Task.json | 58 - ...riesScheduleRun_WithCustomCredentials.json | 83 - ...RegistriesScheduleRun_WithLogTemplate.json | 56 - .../examples/RunsCancel.json | 14 - .../2025-03-01-preview/examples/RunsGet.json | 65 - .../examples/RunsGetLogSasUrl.json | 18 - .../2025-03-01-preview/examples/RunsList.json | 70 - .../examples/RunsUpdate.json | 68 - .../examples/TaskRunsCreate.json | 115 - .../examples/TaskRunsDelete.json | 15 - .../examples/TaskRunsGet.json | 58 - .../examples/TaskRunsGetDetails.json | 58 - .../examples/TaskRunsList.json | 61 - .../examples/TaskRunsUpdate.json | 116 - .../examples/TasksCreate.json | 241 - .../examples/TasksCreate_QuickTask.json | 69 - .../examples/TasksDelete.json | 15 - .../2025-03-01-preview/examples/TasksGet.json | 96 - .../examples/TasksGetDetails.json | 110 - .../examples/TasksList.json | 99 - .../examples/TasksUpdate.json | 145 - .../examples/TasksUpdate_QuickTask.json | 43 - ...sksUpdate_WithOpaqueCustomCredentials.json | 142 - .../2025-05-01-preview/containerregistry.json | 9375 ----------------- .../examples/ArchiveCreate.json | 61 - .../examples/ArchiveDelete.json | 20 - .../examples/ArchiveGet.json | 37 - .../examples/ArchiveList.json | 41 - .../examples/ArchiveUpdate.json | 44 - .../examples/ArchiveVersionCreate.json | 38 - .../examples/ArchiveVersionDelete.json | 21 - .../examples/ArchiveVersionGet.json | 34 - .../examples/ArchiveVersionList.json | 38 - .../examples/CacheRuleCreate.json | 51 - .../examples/CacheRuleDelete.json | 19 - .../examples/CacheRuleGet.json | 27 - .../examples/CacheRuleList.json | 30 - .../examples/CacheRuleUpdate.json | 49 - .../examples/ConnectedRegistryCreate.json | 112 - .../examples/ConnectedRegistryDeactivate.json | 19 - .../examples/ConnectedRegistryDelete.json | 20 - .../examples/ConnectedRegistryGet.json | 49 - .../examples/ConnectedRegistryList.json | 52 - .../examples/ConnectedRegistryUpdate.json | 109 - .../examples/CredentialSetCreate.json | 85 - .../examples/CredentialSetDelete.json | 19 - .../examples/CredentialSetGet.json | 40 - .../examples/CredentialSetList.json | 43 - .../examples/CredentialSetUpdate.json | 81 - .../examples/ExportPipelineCreate.json | 80 - .../examples/ExportPipelineDelete.json | 20 - .../examples/ExportPipelineGet.json | 37 - .../examples/ExportPipelineList.json | 40 - .../examples/ImportImageByManifestDigest.json | 31 - .../examples/ImportImageByTag.json | 31 - .../ImportImageFromPublicRegistry.json | 31 - .../examples/ImportPipelineCreate.json | 107 - .../examples/ImportPipelineDelete.json | 20 - .../examples/ImportPipelineGet.json | 48 - .../examples/ImportPipelineList.json | 51 - .../examples/OperationList.json | 24 - .../examples/PipelineRunCreate_Export.json | 91 - .../examples/PipelineRunCreate_Import.json | 90 - .../examples/PipelineRunDelete.json | 20 - .../examples/PipelineRunGet.json | 43 - .../examples/PipelineRunList.json | 74 - ...ivateEndpointConnectionCreateOrUpdate.json | 60 - .../PrivateEndpointConnectionDelete.json | 20 - .../PrivateEndpointConnectionGet.json | 31 - .../PrivateEndpointConnectionList.json | 34 - .../examples/RegistryCheckNameAvailable.json | 22 - .../RegistryCheckNameNotAvailable.json | 23 - .../examples/RegistryCreate.json | 138 - .../examples/RegistryCreateAbac.json | 138 - .../RegistryCreateDomainNameLabelScope.json | 138 - .../examples/RegistryCreateZoneRedundant.json | 141 - .../examples/RegistryDelete.json | 19 - .../examples/RegistryGenerateCredentials.json | 38 - .../examples/RegistryGet.json | 69 - .../RegistryGetPrivateLinkResource.json | 30 - .../examples/RegistryList.json | 71 - .../examples/RegistryListByResourceGroup.json | 72 - .../examples/RegistryListCredentials.json | 27 - .../RegistryListPrivateLinkResources.json | 33 - .../examples/RegistryListUsages.json | 30 - .../RegistryRegenerateCredential.json | 30 - .../examples/RegistryUpdate.json | 141 - .../examples/ReplicationCreate.json | 64 - .../ReplicationCreateZoneRedundant.json | 68 - .../examples/ReplicationDelete.json | 20 - .../examples/ReplicationGet.json | 34 - .../examples/ReplicationList.json | 37 - .../examples/ReplicationUpdate.json | 63 - .../examples/ScopeMapCreate.json | 57 - .../examples/ScopeMapDelete.json | 20 - .../examples/ScopeMapGet.json | 29 - .../examples/ScopeMapList.json | 32 - .../examples/ScopeMapUpdate.json | 57 - .../examples/TokenCreate.json | 74 - .../examples/TokenDelete.json | 20 - .../2025-05-01-preview/examples/TokenGet.json | 26 - .../examples/TokenList.json | 29 - .../examples/TokenUpdate.json | 71 - .../examples/WebhookCreate.json | 71 - .../examples/WebhookDelete.json | 20 - .../examples/WebhookGet.json | 32 - .../examples/WebhookGetCallbackConfig.json | 21 - .../examples/WebhookList.json | 35 - .../examples/WebhookListEvents.json | 65 - .../examples/WebhookPing.json | 18 - .../examples/WebhookUpdate.json | 70 - 130 files changed, 21042 deletions(-) delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/containerregistry_build.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsCancel.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGetDetails.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/containerregistry.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByTag.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/OperationList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListCredentials.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListUsages.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenUpdate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookCreate.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookDelete.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGet.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookListEvents.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookPing.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookUpdate.json diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/containerregistry_build.json deleted file mode 100644 index 863fcec9666e..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/containerregistry_build.json +++ /dev/null @@ -1,3699 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ContainerRegistryManagementClient", - "version": "2025-03-01-preview", - "description": "// (missing-service-description) Add service description", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow.", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "AgentPools" - }, - { - "name": "Runs" - }, - { - "name": "TaskRuns" - }, - { - "name": "Tasks" - } - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/agentPools": { - "get": { - "operationId": "AgentPools_List", - "tags": [ - "AgentPools" - ], - "description": "Lists all the agent pools for a specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/AgentPoolListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "AgentPools_List": { - "$ref": "./examples/AgentPoolsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/agentPools/{agentPoolName}": { - "get": { - "operationId": "AgentPools_Get", - "tags": [ - "AgentPools" - ], - "description": "Gets the detailed information for a given agent pool.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "agentPoolName", - "in": "path", - "description": "The name of the agent pool.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 20, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/AgentPool" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "AgentPools_Get": { - "$ref": "./examples/AgentPoolsGet.json" - } - } - }, - "put": { - "operationId": "AgentPools_Create", - "tags": [ - "AgentPools" - ], - "description": "Creates an agent pool for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "agentPoolName", - "in": "path", - "description": "The name of the agent pool.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 20, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "agentPool", - "in": "body", - "description": "The parameters of an agent pool that needs to scheduled.", - "required": true, - "schema": { - "$ref": "#/definitions/AgentPool" - } - } - ], - "responses": { - "200": { - "description": "Resource 'AgentPool' update operation succeeded", - "schema": { - "$ref": "#/definitions/AgentPool" - } - }, - "201": { - "description": "Resource 'AgentPool' create operation succeeded", - "schema": { - "$ref": "#/definitions/AgentPool" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "AgentPools_Create": { - "$ref": "./examples/AgentPoolsCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/AgentPool" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "AgentPools_Update", - "tags": [ - "AgentPools" - ], - "description": "Updates an agent pool with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "agentPoolName", - "in": "path", - "description": "The name of the agent pool.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 20, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "updateParameters", - "in": "body", - "description": "The parameters for updating an agent pool.", - "required": true, - "schema": { - "$ref": "#/definitions/AgentPoolUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/AgentPool" - } - }, - "201": { - "description": "Resource 'AgentPool' create operation succeeded", - "schema": { - "$ref": "#/definitions/AgentPool" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "AgentPools_Update": { - "$ref": "./examples/AgentPoolsUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", - "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CAgentPool%3E" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "AgentPools_Delete", - "tags": [ - "AgentPools" - ], - "description": "Deletes a specified agent pool resource.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "agentPoolName", - "in": "path", - "description": "The name of the agent pool.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 20, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "AgentPools_Delete": { - "$ref": "./examples/AgentPoolsDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/agentPools/{agentPoolName}/listQueueStatus": { - "post": { - "operationId": "AgentPools_GetQueueStatus", - "tags": [ - "AgentPools" - ], - "description": "Gets the count of queued runs for a given agent pool.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "agentPoolName", - "in": "path", - "description": "The name of the agent pool.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 20, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/AgentPoolQueueStatus" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "AgentPools_GetQueueStatus": { - "$ref": "./examples/AgentPoolsGetQueueStatus.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl": { - "post": { - "operationId": "Registries_GetBuildSourceUploadUrl", - "description": "Get the upload location for the user to be able to upload the source.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "The request has succeeded.", - "schema": { - "$ref": "#/definitions/SourceUploadDefinition" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Registries_GetBuildSourceUploadUrl": { - "$ref": "./examples/RegistriesGetBuildSourceUploadUrl.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun": { - "post": { - "operationId": "Registries_ScheduleRun", - "description": "Schedules a new run based on the request parameters and add it to the run queue.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "body", - "in": "body", - "description": "The request body", - "required": true, - "schema": { - "$ref": "#/definitions/RunRequest" - } - } - ], - "responses": { - "200": { - "description": "The request has succeeded.", - "schema": { - "$ref": "#/definitions/Run" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Registries_ScheduleRun": { - "$ref": "./examples/RegistriesScheduleRun.json" - }, - "Registries_ScheduleRun_EncodedTaskRun": { - "$ref": "./examples/RegistriesScheduleRun_EncodedTaskRun.json" - }, - "Registries_ScheduleRun_FileTaskRun": { - "$ref": "./examples/RegistriesScheduleRun_FileTaskRun.json" - }, - "Registries_ScheduleRun_Task": { - "$ref": "./examples/RegistriesScheduleRun_Task.json" - }, - "Registries_ScheduleRun_Task_WithCustomCredentials": { - "$ref": "./examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json" - }, - "Registries_ScheduleRun_WithCustomCredentials": { - "$ref": "./examples/RegistriesScheduleRun_WithCustomCredentials.json" - }, - "Registries_ScheduleRun_WithLogTemplate": { - "$ref": "./examples/RegistriesScheduleRun_WithLogTemplate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/runs": { - "get": { - "operationId": "Runs_List", - "tags": [ - "Runs" - ], - "description": "Gets all the runs for a registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "$filter", - "in": "query", - "description": "The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed.", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "$top is supported for get list of runs, which limits the maximum number of runs to return.", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/RunListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Runs_List": { - "$ref": "./examples/RunsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/runs/{runId}": { - "get": { - "operationId": "Runs_Get", - "tags": [ - "Runs" - ], - "description": "Gets the detailed information for a given run.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "runId", - "in": "path", - "description": "The run ID.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Run" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Runs_Get": { - "$ref": "./examples/RunsGet.json" - } - } - }, - "patch": { - "operationId": "Runs_Update", - "tags": [ - "Runs" - ], - "description": "Patch the run properties.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "runId", - "in": "path", - "description": "The run ID.", - "required": true, - "type": "string" - }, - { - "name": "runUpdateParameters", - "in": "body", - "description": "The run update properties.", - "required": true, - "schema": { - "$ref": "#/definitions/RunUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Run" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Runs_Update": { - "$ref": "./examples/RunsUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/runs/{runId}/cancel": { - "post": { - "operationId": "Runs_Cancel", - "tags": [ - "Runs" - ], - "description": "Cancel an existing run.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "runId", - "in": "path", - "description": "The run ID.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "The request has succeeded." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Runs_Cancel": { - "$ref": "./examples/RunsCancel.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/runs/{runId}/listLogSasUrl": { - "post": { - "operationId": "Runs_GetLogSasUrl", - "tags": [ - "Runs" - ], - "description": "Gets a link to download the run logs.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "runId", - "in": "path", - "description": "The run ID.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/RunGetLogResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Runs_GetLogSasUrl": { - "$ref": "./examples/RunsGetLogSasUrl.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/taskRuns": { - "get": { - "operationId": "TaskRuns_List", - "tags": [ - "TaskRuns" - ], - "description": "Lists all the task runs for a specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TaskRunListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TaskRuns_List": { - "$ref": "./examples/TaskRunsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/taskRuns/{taskRunName}": { - "get": { - "operationId": "TaskRuns_Get", - "tags": [ - "TaskRuns" - ], - "description": "Gets the detailed information for a given task run.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "taskRunName", - "in": "path", - "description": "The name of the task run.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TaskRun" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TaskRuns_Get": { - "$ref": "./examples/TaskRunsGet.json" - } - } - }, - "put": { - "operationId": "TaskRuns_Create", - "tags": [ - "TaskRuns" - ], - "description": "Creates a task run for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "taskRunName", - "in": "path", - "description": "The name of the task run.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "taskRun", - "in": "body", - "description": "The parameters of a run that needs to scheduled.", - "required": true, - "schema": { - "$ref": "#/definitions/TaskRun" - } - } - ], - "responses": { - "200": { - "description": "Resource 'TaskRun' update operation succeeded", - "schema": { - "$ref": "#/definitions/TaskRun" - } - }, - "201": { - "description": "Resource 'TaskRun' create operation succeeded", - "schema": { - "$ref": "#/definitions/TaskRun" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TaskRuns_Create": { - "$ref": "./examples/TaskRunsCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/TaskRun" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "TaskRuns_Update", - "tags": [ - "TaskRuns" - ], - "description": "Updates a task run with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "taskRunName", - "in": "path", - "description": "The name of the task run.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "updateParameters", - "in": "body", - "description": "The parameters for updating a task run.", - "required": true, - "schema": { - "$ref": "#/definitions/TaskRunUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TaskRun" - } - }, - "201": { - "description": "Resource 'TaskRun' create operation succeeded", - "schema": { - "$ref": "#/definitions/TaskRun" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TaskRuns_Update": { - "$ref": "./examples/TaskRunsUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", - "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CTaskRun%3E" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "TaskRuns_Delete", - "tags": [ - "TaskRuns" - ], - "description": "Deletes a specified task run resource.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "taskRunName", - "in": "path", - "description": "The name of the task run.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TaskRuns_Delete": { - "$ref": "./examples/TaskRunsDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/taskRuns/{taskRunName}/listDetails": { - "post": { - "operationId": "TaskRuns_GetDetails", - "tags": [ - "TaskRuns" - ], - "description": "Gets the detailed information for a given task run that includes all secrets.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "taskRunName", - "in": "path", - "description": "The name of the task run.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TaskRun" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TaskRuns_GetDetails": { - "$ref": "./examples/TaskRunsGetDetails.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/tasks": { - "get": { - "operationId": "Tasks_List", - "tags": [ - "Tasks" - ], - "description": "Lists all the tasks for a specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TaskListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Tasks_List": { - "$ref": "./examples/TasksList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/tasks/{taskName}": { - "get": { - "operationId": "Tasks_Get", - "tags": [ - "Tasks" - ], - "description": "Get the properties of a specified task.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "taskName", - "in": "path", - "description": "The name of the container registry task.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Task" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Tasks_Get": { - "$ref": "./examples/TasksGet.json" - } - } - }, - "put": { - "operationId": "Tasks_Create", - "tags": [ - "Tasks" - ], - "description": "Creates a task for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "taskName", - "in": "path", - "description": "The name of the container registry task.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - }, - { - "name": "taskCreateParameters", - "in": "body", - "description": "The parameters for creating a task.", - "required": true, - "schema": { - "$ref": "#/definitions/Task" - } - } - ], - "responses": { - "200": { - "description": "Resource 'Task' update operation succeeded", - "schema": { - "$ref": "#/definitions/Task" - } - }, - "201": { - "description": "Resource 'Task' create operation succeeded", - "schema": { - "$ref": "#/definitions/Task" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Tasks_Create": { - "$ref": "./examples/TasksCreate.json" - }, - "Tasks_Create_QuickTask": { - "$ref": "./examples/TasksCreate_QuickTask.json" - }, - "Tasks_Create_WithLoginIdentity": { - "$ref": "./examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json" - }, - "Tasks_Create_WithSystemAndUserIdentities": { - "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json" - }, - "Tasks_Create_WithUserIdentities": { - "$ref": "./examples/ManagedIdentity/TasksCreate_WithUserIdentities.json" - }, - "Tasks_Create_WithUserIdentities_WithSystemIdentity": { - "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json" - } - } - }, - "patch": { - "operationId": "Tasks_Update", - "tags": [ - "Tasks" - ], - "description": "Updates a task with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "taskName", - "in": "path", - "description": "The name of the container registry task.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - }, - { - "name": "taskUpdateParameters", - "in": "body", - "description": "The parameters for updating a task.", - "required": true, - "schema": { - "$ref": "#/definitions/TaskUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Task" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Tasks_Update": { - "$ref": "./examples/TasksUpdate.json" - }, - "Tasks_Update_QuickTask": { - "$ref": "./examples/TasksUpdate_QuickTask.json" - }, - "Tasks_Update_WithKeyVaultCustomCredentials": { - "$ref": "./examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json" - }, - "Tasks_Update_WithLoginIdentity": { - "$ref": "./examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json" - }, - "Tasks_Update_WithMSICustomCredentials": { - "$ref": "./examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json" - }, - "Tasks_Update_WithOpaqueCustomCredentials": { - "$ref": "./examples/TasksUpdate_WithOpaqueCustomCredentials.json" - } - } - }, - "delete": { - "operationId": "Tasks_Delete", - "tags": [ - "Tasks" - ], - "description": "Deletes a specified task.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "taskName", - "in": "path", - "description": "The name of the container registry task.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Tasks_Delete": { - "$ref": "./examples/TasksDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/tasks/{taskName}/listDetails": { - "post": { - "operationId": "Tasks_GetDetails", - "tags": [ - "Tasks" - ], - "description": "Returns a task with extended information that includes all secrets.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "taskName", - "in": "path", - "description": "The name of the container registry task.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Task" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Tasks_GetDetails": { - "$ref": "./examples/TasksGetDetails.json" - } - } - } - } - }, - "definitions": { - "AgentPool": { - "type": "object", - "description": "The agentpool that has the ARM resource and properties.\nThe agentpool will have all information to create an agent pool.", - "properties": { - "properties": { - "$ref": "#/definitions/AgentPoolProperties", - "description": "The properties associated with the agent pool", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "AgentPoolListResult": { - "type": "object", - "description": "The response of a AgentPool list operation.", - "properties": { - "value": { - "type": "array", - "description": "The AgentPool items on this page", - "items": { - "$ref": "#/definitions/AgentPool" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "AgentPoolProperties": { - "type": "object", - "description": "The properties of agent pool.", - "properties": { - "count": { - "type": "integer", - "format": "int32", - "description": "The count of agent machine" - }, - "tier": { - "type": "string", - "description": "The Tier of agent machine" - }, - "os": { - "$ref": "#/definitions/OS", - "description": "The OS of agent machine" - }, - "virtualNetworkSubnetResourceId": { - "type": "string", - "description": "The Virtual Network Subnet Resource Id of the agent machine" - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of this agent pool", - "readOnly": true - } - } - }, - "AgentPoolPropertiesUpdateParameters": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "format": "int32", - "description": "The count of agent machine" - } - } - }, - "AgentPoolQueueStatus": { - "type": "object", - "description": "The QueueStatus of Agent Pool", - "properties": { - "count": { - "type": "integer", - "format": "int32", - "description": "The number of pending runs in the queue" - } - } - }, - "AgentPoolUpdateParameters": { - "type": "object", - "description": "The parameters for updating an agent pool.", - "properties": { - "properties": { - "$ref": "#/definitions/AgentPoolPropertiesUpdateParameters", - "description": "The properties associated with the agent pool", - "x-ms-client-flatten": true - }, - "tags": { - "type": "object", - "description": "The ARM resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "AgentProperties": { - "type": "object", - "description": "The properties that determine the run agent configuration.", - "properties": { - "cpu": { - "type": "integer", - "format": "int32", - "description": "The CPU configuration in terms of number of cores required for the run." - } - } - }, - "Architecture": { - "type": "string", - "description": "The OS architecture.", - "enum": [ - "amd64", - "x86", - "386", - "arm", - "arm64" - ], - "x-ms-enum": { - "name": "Architecture", - "modelAsString": true, - "values": [ - { - "name": "amd64", - "value": "amd64" - }, - { - "name": "x86", - "value": "x86" - }, - { - "name": "386", - "value": "386" - }, - { - "name": "arm", - "value": "arm" - }, - { - "name": "arm64", - "value": "arm64" - } - ] - } - }, - "Argument": { - "type": "object", - "description": "The properties of a run argument.", - "properties": { - "name": { - "type": "string", - "description": "The name of the argument." - }, - "value": { - "type": "string", - "description": "The value of the argument." - }, - "isSecret": { - "type": "boolean", - "description": "Flag to indicate whether the argument represents a secret and want to be removed from build logs." - } - }, - "required": [ - "name", - "value" - ] - }, - "AuthInfo": { - "type": "object", - "description": "The authorization properties for accessing the source code repository.", - "properties": { - "tokenType": { - "$ref": "#/definitions/TokenType", - "description": "The type of Auth token." - }, - "token": { - "type": "string", - "description": "The access token used to access the source control provider." - }, - "refreshToken": { - "type": "string", - "description": "The refresh token used to refresh the access token." - }, - "scope": { - "type": "string", - "description": "The scope of the access token." - }, - "expiresIn": { - "type": "integer", - "format": "int32", - "description": "Time in seconds that the token remains valid" - } - }, - "required": [ - "tokenType", - "token" - ] - }, - "AuthInfoUpdateParameters": { - "type": "object", - "description": "The authorization properties for accessing the source code repository.", - "properties": { - "tokenType": { - "$ref": "#/definitions/TokenType", - "description": "The type of Auth token." - }, - "token": { - "type": "string", - "description": "The access token used to access the source control provider." - }, - "refreshToken": { - "type": "string", - "description": "The refresh token used to refresh the access token." - }, - "scope": { - "type": "string", - "description": "The scope of the access token." - }, - "expiresIn": { - "type": "integer", - "format": "int32", - "description": "Time in seconds that the token remains valid" - } - } - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/AgentPool", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/TaskRun", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, - "BaseImageDependency": { - "type": "object", - "description": "Properties that describe a base image dependency.", - "properties": { - "type": { - "$ref": "#/definitions/BaseImageDependencyType", - "description": "The type of the base image dependency." - }, - "registry": { - "type": "string", - "description": "The registry login server." - }, - "repository": { - "type": "string", - "description": "The repository name." - }, - "tag": { - "type": "string", - "description": "The tag name." - }, - "digest": { - "type": "string", - "description": "The sha256-based digest of the image manifest." - } - } - }, - "BaseImageDependencyType": { - "type": "string", - "description": "The type of the base image dependency.", - "enum": [ - "BuildTime", - "RunTime" - ], - "x-ms-enum": { - "name": "BaseImageDependencyType", - "modelAsString": true, - "values": [ - { - "name": "BuildTime", - "value": "BuildTime" - }, - { - "name": "RunTime", - "value": "RunTime" - } - ] - } - }, - "BaseImageTrigger": { - "type": "object", - "description": "The trigger based on base image dependency.", - "properties": { - "baseImageTriggerType": { - "$ref": "#/definitions/BaseImageTriggerType", - "description": "The type of the auto trigger for base image dependency updates." - }, - "updateTriggerEndpoint": { - "type": "string", - "description": "The endpoint URL for receiving update triggers." - }, - "updateTriggerPayloadType": { - "$ref": "#/definitions/UpdateTriggerPayloadType", - "description": "Type of Payload body for Base image update triggers." - }, - "status": { - "$ref": "#/definitions/TriggerStatus", - "description": "The current status of trigger." - }, - "name": { - "type": "string", - "description": "The name of the trigger." - } - }, - "required": [ - "baseImageTriggerType", - "name" - ] - }, - "BaseImageTriggerType": { - "type": "string", - "description": "The type of the auto trigger for base image dependency updates.", - "enum": [ - "All", - "Runtime" - ], - "x-ms-enum": { - "name": "BaseImageTriggerType", - "modelAsString": true, - "values": [ - { - "name": "All", - "value": "All" - }, - { - "name": "Runtime", - "value": "Runtime" - } - ] - } - }, - "BaseImageTriggerUpdateParameters": { - "type": "object", - "description": "The properties for updating base image dependency trigger.", - "properties": { - "baseImageTriggerType": { - "$ref": "#/definitions/BaseImageTriggerType", - "description": "The type of the auto trigger for base image dependency updates." - }, - "updateTriggerEndpoint": { - "type": "string", - "description": "The endpoint URL for receiving update triggers." - }, - "updateTriggerPayloadType": { - "$ref": "#/definitions/UpdateTriggerPayloadType", - "description": "Type of Payload body for Base image update triggers." - }, - "status": { - "$ref": "#/definitions/TriggerStatus", - "description": "The current status of trigger." - }, - "name": { - "type": "string", - "description": "The name of the trigger." - } - }, - "required": [ - "name" - ] - }, - "Credentials": { - "type": "object", - "description": "The parameters that describes a set of credentials that will be used when a run is invoked.", - "properties": { - "sourceRegistry": { - "$ref": "#/definitions/SourceRegistryCredentials", - "description": "Describes the credential parameters for accessing the source registry." - }, - "customRegistries": { - "type": "object", - "description": "Describes the credential parameters for accessing other custom registries. The key\nfor the dictionary item will be the registry login server (myregistry.azurecr.io) and\nthe value of the item will be the registry credentials for accessing the registry.", - "additionalProperties": { - "$ref": "#/definitions/CustomRegistryCredentials" - } - } - } - }, - "CustomRegistryCredentials": { - "type": "object", - "description": "Describes the credentials that will be used to access a custom registry during a run.", - "properties": { - "userName": { - "$ref": "#/definitions/SecretObject", - "description": "The username for logging into the custom registry." - }, - "password": { - "$ref": "#/definitions/SecretObject", - "description": "The password for logging into the custom registry. The password is a secret\nobject that allows multiple ways of providing the value for it." - }, - "identity": { - "type": "string", - "description": "Indicates the managed identity assigned to the custom credential. If a user-assigned identity\nthis value is the Client ID. If a system-assigned identity, the value will be `system`. In\nthe case of a system-assigned identity, the Client ID will be determined by the runner. This\nidentity may be used to authenticate to key vault to retrieve credentials or it may be the only\nsource of authentication used for accessing the registry." - } - } - }, - "DockerBuildRequest": { - "type": "object", - "description": "The parameters for a docker quick build.", - "properties": { - "imageNames": { - "type": "array", - "description": "The fully qualified image names including the repository and tag.", - "items": { - "type": "string" - } - }, - "isPushEnabled": { - "type": "boolean", - "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", - "default": true - }, - "noCache": { - "type": "boolean", - "description": "The value of this property indicates whether the image cache is enabled or not." - }, - "dockerFilePath": { - "type": "string", - "description": "The Docker file path relative to the source location." - }, - "target": { - "type": "string", - "description": "The name of the target build stage for the docker build." - }, - "arguments": { - "type": "array", - "description": "The collection of override arguments to be used when executing the run.", - "items": { - "$ref": "#/definitions/Argument" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "timeout": { - "type": "integer", - "format": "int32", - "description": "Run timeout in seconds.", - "default": 3600, - "minimum": 300, - "maximum": 28800 - }, - "platform": { - "$ref": "#/definitions/PlatformProperties", - "description": "The platform properties against which the run has to happen." - }, - "agentConfiguration": { - "$ref": "#/definitions/AgentProperties", - "description": "The machine configuration of the run agent." - }, - "sourceLocation": { - "type": "string", - "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API." - }, - "credentials": { - "$ref": "#/definitions/Credentials", - "description": "The properties that describes a set of credentials that will be used when this run is invoked." - } - }, - "required": [ - "dockerFilePath", - "platform" - ], - "allOf": [ - { - "$ref": "#/definitions/RunRequest" - } - ], - "x-ms-discriminator-value": "DockerBuildRequest" - }, - "DockerBuildStep": { - "type": "object", - "description": "The Docker build step.", - "properties": { - "imageNames": { - "type": "array", - "description": "The fully qualified image names including the repository and tag.", - "items": { - "type": "string" - } - }, - "isPushEnabled": { - "type": "boolean", - "description": "The value of this property indicates whether the image built should be pushed to the registry or not.", - "default": true - }, - "noCache": { - "type": "boolean", - "description": "The value of this property indicates whether the image cache is enabled or not." - }, - "dockerFilePath": { - "type": "string", - "description": "The Docker file path relative to the source context." - }, - "target": { - "type": "string", - "description": "The name of the target build stage for the docker build." - }, - "arguments": { - "type": "array", - "description": "The collection of override arguments to be used when executing this build step.", - "items": { - "$ref": "#/definitions/Argument" - }, - "x-ms-identifiers": [ - "name" - ] - } - }, - "required": [ - "dockerFilePath" - ], - "allOf": [ - { - "$ref": "#/definitions/TaskStepProperties" - } - ], - "x-ms-discriminator-value": "Docker" - }, - "DockerBuildStepUpdateParameters": { - "type": "object", - "description": "The properties for updating a docker build step.", - "properties": { - "imageNames": { - "type": "array", - "description": "The fully qualified image names including the repository and tag.", - "items": { - "type": "string" - } - }, - "isPushEnabled": { - "type": "boolean", - "description": "The value of this property indicates whether the image built should be pushed to the registry or not." - }, - "noCache": { - "type": "boolean", - "description": "The value of this property indicates whether the image cache is enabled or not." - }, - "dockerFilePath": { - "type": "string", - "description": "The Docker file path relative to the source context." - }, - "arguments": { - "type": "array", - "description": "The collection of override arguments to be used when executing this build step.", - "items": { - "$ref": "#/definitions/Argument" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "target": { - "type": "string", - "description": "The name of the target build stage for the docker build." - } - }, - "allOf": [ - { - "$ref": "#/definitions/TaskStepUpdateParameters" - } - ], - "x-ms-discriminator-value": "Docker" - }, - "EncodedTaskRunRequest": { - "type": "object", - "description": "The parameters for a quick task run request.", - "properties": { - "encodedTaskContent": { - "type": "string", - "description": "Base64 encoded value of the template/definition file content." - }, - "encodedValuesContent": { - "type": "string", - "description": "Base64 encoded value of the parameters/values file content." - }, - "values": { - "type": "array", - "description": "The collection of overridable values that can be passed when running a task.", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] - }, - "timeout": { - "type": "integer", - "format": "int32", - "description": "Run timeout in seconds.", - "default": 3600, - "minimum": 300, - "maximum": 28800 - }, - "platform": { - "$ref": "#/definitions/PlatformProperties", - "description": "The platform properties against which the run has to happen." - }, - "agentConfiguration": { - "$ref": "#/definitions/AgentProperties", - "description": "The machine configuration of the run agent." - }, - "sourceLocation": { - "type": "string", - "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API." - }, - "credentials": { - "$ref": "#/definitions/Credentials", - "description": "The properties that describes a set of credentials that will be used when this run is invoked." - } - }, - "required": [ - "encodedTaskContent", - "platform" - ], - "allOf": [ - { - "$ref": "#/definitions/RunRequest" - } - ], - "x-ms-discriminator-value": "EncodedTaskRunRequest" - }, - "EncodedTaskStep": { - "type": "object", - "description": "The properties of a encoded task step.", - "properties": { - "encodedTaskContent": { - "type": "string", - "description": "Base64 encoded value of the template/definition file content." - }, - "encodedValuesContent": { - "type": "string", - "description": "Base64 encoded value of the parameters/values file content." - }, - "values": { - "type": "array", - "description": "The collection of overridable values that can be passed when running a task.", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] - } - }, - "required": [ - "encodedTaskContent" - ], - "allOf": [ - { - "$ref": "#/definitions/TaskStepProperties" - } - ], - "x-ms-discriminator-value": "EncodedTask" - }, - "EncodedTaskStepUpdateParameters": { - "type": "object", - "description": "The properties for updating encoded task step.", - "properties": { - "encodedTaskContent": { - "type": "string", - "description": "Base64 encoded value of the template/definition file content." - }, - "encodedValuesContent": { - "type": "string", - "description": "Base64 encoded value of the parameters/values file content." - }, - "values": { - "type": "array", - "description": "The collection of overridable values that can be passed when running a task.", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] - } - }, - "allOf": [ - { - "$ref": "#/definitions/TaskStepUpdateParameters" - } - ], - "x-ms-discriminator-value": "EncodedTask" - }, - "FileTaskRunRequest": { - "type": "object", - "description": "The request parameters for a scheduling run against a task file.", - "properties": { - "taskFilePath": { - "type": "string", - "description": "The template/definition file path relative to the source." - }, - "valuesFilePath": { - "type": "string", - "description": "The values/parameters file path relative to the source." - }, - "values": { - "type": "array", - "description": "The collection of overridable values that can be passed when running a task.", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] - }, - "timeout": { - "type": "integer", - "format": "int32", - "description": "Run timeout in seconds.", - "default": 3600, - "minimum": 300, - "maximum": 28800 - }, - "platform": { - "$ref": "#/definitions/PlatformProperties", - "description": "The platform properties against which the run has to happen." - }, - "agentConfiguration": { - "$ref": "#/definitions/AgentProperties", - "description": "The machine configuration of the run agent." - }, - "sourceLocation": { - "type": "string", - "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API." - }, - "credentials": { - "$ref": "#/definitions/Credentials", - "description": "The properties that describes a set of credentials that will be used when this run is invoked." - } - }, - "required": [ - "taskFilePath", - "platform" - ], - "allOf": [ - { - "$ref": "#/definitions/RunRequest" - } - ], - "x-ms-discriminator-value": "FileTaskRunRequest" - }, - "FileTaskStep": { - "type": "object", - "description": "The properties of a task step.", - "properties": { - "taskFilePath": { - "type": "string", - "description": "The task template/definition file path relative to the source context." - }, - "valuesFilePath": { - "type": "string", - "description": "The task values/parameters file path relative to the source context." - }, - "values": { - "type": "array", - "description": "The collection of overridable values that can be passed when running a task.", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] - } - }, - "required": [ - "taskFilePath" - ], - "allOf": [ - { - "$ref": "#/definitions/TaskStepProperties" - } - ], - "x-ms-discriminator-value": "FileTask" - }, - "FileTaskStepUpdateParameters": { - "type": "object", - "description": "The properties of updating a task step.", - "properties": { - "taskFilePath": { - "type": "string", - "description": "The task template/definition file path relative to the source context." - }, - "valuesFilePath": { - "type": "string", - "description": "The values/parameters file path relative to the source context." - }, - "values": { - "type": "array", - "description": "The collection of overridable values that can be passed when running a task.", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] - } - }, - "allOf": [ - { - "$ref": "#/definitions/TaskStepUpdateParameters" - } - ], - "x-ms-discriminator-value": "FileTask" - }, - "IdentityProperties": { - "type": "object", - "description": "Managed identity for the resource.", - "properties": { - "principalId": { - "type": "string", - "description": "The principal ID of resource identity.", - "readOnly": true - }, - "tenantId": { - "type": "string", - "description": "The tenant ID of resource.", - "readOnly": true - }, - "type": { - "$ref": "#/definitions/ResourceIdentityType", - "description": "The identity type." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } - } - } - }, - "ImageDescriptor": { - "type": "object", - "description": "Properties for a registry image.", - "properties": { - "registry": { - "type": "string", - "description": "The registry login server." - }, - "repository": { - "type": "string", - "description": "The repository name." - }, - "tag": { - "type": "string", - "description": "The tag name." - }, - "digest": { - "type": "string", - "description": "The sha256-based digest of the image manifest." - } - } - }, - "ImageUpdateTrigger": { - "type": "object", - "description": "The image update trigger that caused a build.", - "properties": { - "id": { - "type": "string", - "description": "The unique ID of the trigger." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The timestamp when the image update happened." - }, - "images": { - "type": "array", - "description": "The list of image updates that caused the build.", - "items": { - "$ref": "#/definitions/ImageDescriptor" - }, - "x-ms-identifiers": [ - "registry" - ] - } - } - }, - "OS": { - "type": "string", - "description": "The OS of agent machine", - "enum": [ - "Windows", - "Linux" - ], - "x-ms-enum": { - "name": "OS", - "modelAsString": true, - "values": [ - { - "name": "Windows", - "value": "Windows" - }, - { - "name": "Linux", - "value": "Linux" - } - ] - } - }, - "OverrideTaskStepProperties": { - "type": "object", - "properties": { - "contextPath": { - "type": "string", - "description": "The source context against which run has to be queued." - }, - "file": { - "type": "string", - "description": "The file against which run has to be queued." - }, - "arguments": { - "type": "array", - "description": "Gets or sets the collection of override arguments to be used when\nexecuting a build step.", - "items": { - "$ref": "#/definitions/Argument" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "target": { - "type": "string", - "description": "The name of the target build stage for the docker build." - }, - "values": { - "type": "array", - "description": "The collection of overridable values that can be passed when running a Task.", - "items": { - "$ref": "#/definitions/SetValue" - }, - "x-ms-identifiers": [] - }, - "updateTriggerToken": { - "type": "string", - "description": "Base64 encoded update trigger token that will be attached with the base image trigger webhook." - } - } - }, - "PlatformProperties": { - "type": "object", - "description": "The platform properties against which the run has to happen.", - "properties": { - "os": { - "$ref": "#/definitions/OS", - "description": "The operating system type required for the run." - }, - "architecture": { - "$ref": "#/definitions/Architecture", - "description": "The OS architecture." - }, - "variant": { - "$ref": "#/definitions/Variant", - "description": "Variant of the CPU." - } - }, - "required": [ - "os" - ] - }, - "PlatformUpdateParameters": { - "type": "object", - "description": "The properties for updating the platform configuration.", - "properties": { - "os": { - "$ref": "#/definitions/OS", - "description": "The operating system type required for the run." - }, - "architecture": { - "$ref": "#/definitions/Architecture", - "description": "The OS architecture." - }, - "variant": { - "$ref": "#/definitions/Variant", - "description": "Variant of the CPU." - } - } - }, - "ProvisioningState": { - "type": "string", - "description": "The provisioning state of this agent pool", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Creating", - "value": "Creating" - }, - { - "name": "Updating", - "value": "Updating" - }, - { - "name": "Deleting", - "value": "Deleting" - }, - { - "name": "Succeeded", - "value": "Succeeded" - }, - { - "name": "Failed", - "value": "Failed" - }, - { - "name": "Canceled", - "value": "Canceled" - } - ] - } - }, - "ResourceIdentityType": { - "type": "string", - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "Run": { - "type": "object", - "description": "Run resource properties", - "properties": { - "properties": { - "$ref": "#/definitions/RunProperties", - "description": "The properties of a run.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "RunGetLogResult": { - "type": "object", - "description": "The result of get log link operation.", - "properties": { - "logLink": { - "type": "string", - "description": "The link to logs for a run on a azure container registry." - }, - "logArtifactLink": { - "type": "string", - "description": "The link to logs in registry for a run on a azure container registry." - } - } - }, - "RunListResult": { - "type": "object", - "description": "The response of a Run list operation.", - "properties": { - "value": { - "type": "array", - "description": "The Run items on this page", - "items": { - "$ref": "#/definitions/Run" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "RunProperties": { - "type": "object", - "description": "The properties for a run.", - "properties": { - "runId": { - "type": "string", - "description": "The unique identifier for the run." - }, - "status": { - "$ref": "#/definitions/RunStatus", - "description": "The current status of the run." - }, - "lastUpdatedTime": { - "type": "string", - "format": "date-time", - "description": "The last updated time for the run." - }, - "runType": { - "$ref": "#/definitions/RunType", - "description": "The type of run." - }, - "agentPoolName": { - "type": "string", - "description": "The dedicated agent pool for the run." - }, - "createTime": { - "type": "string", - "format": "date-time", - "description": "The time the run was scheduled." - }, - "startTime": { - "type": "string", - "format": "date-time", - "description": "The time the run started." - }, - "finishTime": { - "type": "string", - "format": "date-time", - "description": "The time the run finished." - }, - "outputImages": { - "type": "array", - "description": "The list of all images that were generated from the run. This is applicable if the run generates base image dependencies.", - "items": { - "$ref": "#/definitions/ImageDescriptor" - }, - "x-ms-identifiers": [ - "registry" - ] - }, - "task": { - "type": "string", - "description": "The task against which run was scheduled." - }, - "imageUpdateTrigger": { - "$ref": "#/definitions/ImageUpdateTrigger", - "description": "The image update trigger that caused the run. This is applicable if the task has base image trigger configured." - }, - "sourceTrigger": { - "$ref": "#/definitions/SourceTriggerDescriptor", - "description": "The source trigger that caused the run." - }, - "timerTrigger": { - "$ref": "#/definitions/TimerTriggerDescriptor", - "description": "The timer trigger that caused the run." - }, - "platform": { - "$ref": "#/definitions/PlatformProperties", - "description": "The platform properties against which the run will happen." - }, - "agentConfiguration": { - "$ref": "#/definitions/AgentProperties", - "description": "The machine configuration of the run agent." - }, - "sourceRegistryAuth": { - "type": "string", - "description": "The scope of the credentials that were used to login to the source registry during this run." - }, - "customRegistries": { - "type": "array", - "description": "The list of custom registries that were logged in during this run.", - "items": { - "type": "string" - } - }, - "runErrorMessage": { - "type": "string", - "description": "The error message received from backend systems after the run is scheduled.", - "readOnly": true - }, - "updateTriggerToken": { - "type": "string", - "description": "The update trigger token passed for the Run." - }, - "logArtifact": { - "$ref": "#/definitions/ImageDescriptor", - "description": "The image description for the log artifact.", - "readOnly": true - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of a run." - }, - "isArchiveEnabled": { - "type": "boolean", - "description": "The value that indicates whether archiving is enabled or not." - } - } - }, - "RunRequest": { - "type": "object", - "description": "The request parameters for scheduling a run.", - "properties": { - "type": { - "type": "string", - "description": "The type of the run request." - }, - "isArchiveEnabled": { - "type": "boolean", - "description": "The value that indicates whether archiving is enabled for the run or not." - }, - "agentPoolName": { - "type": "string", - "description": "The dedicated agent pool for the run." - }, - "logTemplate": { - "type": "string", - "description": "The template that describes the repository and tag information for run log artifact." - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "RunStatus": { - "type": "string", - "description": "The current status of the run.", - "enum": [ - "Queued", - "Started", - "Running", - "Succeeded", - "Failed", - "Canceled", - "Error", - "Timeout" - ], - "x-ms-enum": { - "name": "RunStatus", - "modelAsString": true, - "values": [ - { - "name": "Queued", - "value": "Queued" - }, - { - "name": "Started", - "value": "Started" - }, - { - "name": "Running", - "value": "Running" - }, - { - "name": "Succeeded", - "value": "Succeeded" - }, - { - "name": "Failed", - "value": "Failed" - }, - { - "name": "Canceled", - "value": "Canceled" - }, - { - "name": "Error", - "value": "Error" - }, - { - "name": "Timeout", - "value": "Timeout" - } - ] - } - }, - "RunType": { - "type": "string", - "description": "The type of run.", - "enum": [ - "QuickBuild", - "QuickRun", - "AutoBuild", - "AutoRun" - ], - "x-ms-enum": { - "name": "RunType", - "modelAsString": true, - "values": [ - { - "name": "QuickBuild", - "value": "QuickBuild" - }, - { - "name": "QuickRun", - "value": "QuickRun" - }, - { - "name": "AutoBuild", - "value": "AutoBuild" - }, - { - "name": "AutoRun", - "value": "AutoRun" - } - ] - } - }, - "RunUpdateParameters": { - "type": "object", - "description": "The set of run properties that can be updated.", - "properties": { - "isArchiveEnabled": { - "type": "boolean", - "description": "The value that indicates whether archiving is enabled or not." - } - } - }, - "SecretObject": { - "type": "object", - "description": "Describes the properties of a secret object value.", - "properties": { - "value": { - "type": "string", - "description": "The value of the secret. The format of this value will be determined\nbased on the type of the secret object. If the type is Opaque, the value will be\nused as is without any modification." - }, - "type": { - "$ref": "#/definitions/SecretObjectType", - "description": "The type of the secret object which determines how the value of the secret object has to be\ninterpreted." - } - } - }, - "SecretObjectType": { - "type": "string", - "description": "The type of the secret object which determines how the value of the secret object has to be\ninterpreted.", - "enum": [ - "Opaque", - "Vaultsecret" - ], - "x-ms-enum": { - "name": "SecretObjectType", - "modelAsString": true, - "values": [ - { - "name": "Opaque", - "value": "Opaque" - }, - { - "name": "Vaultsecret", - "value": "Vaultsecret" - } - ] - } - }, - "SetValue": { - "type": "object", - "description": "The properties of a overridable value that can be passed to a task template.", - "properties": { - "name": { - "type": "string", - "description": "The name of the overridable value." - }, - "value": { - "type": "string", - "description": "The overridable value." - }, - "isSecret": { - "type": "boolean", - "description": "Flag to indicate whether the value represents a secret or not." - } - }, - "required": [ - "name", - "value" - ] - }, - "SourceControlType": { - "type": "string", - "description": "The type of source control service.", - "enum": [ - "Github", - "VisualStudioTeamService" - ], - "x-ms-enum": { - "name": "SourceControlType", - "modelAsString": true, - "values": [ - { - "name": "Github", - "value": "Github" - }, - { - "name": "VisualStudioTeamService", - "value": "VisualStudioTeamService" - } - ] - } - }, - "SourceProperties": { - "type": "object", - "description": "The properties of the source code repository.", - "properties": { - "sourceControlType": { - "$ref": "#/definitions/SourceControlType", - "description": "The type of source control service." - }, - "repositoryUrl": { - "type": "string", - "description": "The full URL to the source code repository" - }, - "branch": { - "type": "string", - "description": "The branch name of the source code." - }, - "sourceControlAuthProperties": { - "$ref": "#/definitions/AuthInfo", - "description": "The authorization properties for accessing the source code repository and to set up\nwebhooks for notifications." - } - }, - "required": [ - "sourceControlType", - "repositoryUrl" - ] - }, - "SourceRegistryCredentials": { - "type": "object", - "description": "Describes the credential parameters for accessing the source registry.", - "properties": { - "identity": { - "type": "string", - "description": "The Entra identity used for source registry login.\nThe value is `[system]` for system-assigned managed identity, `[caller]` for caller identity,\nand client ID for user-assigned managed identity." - }, - "loginMode": { - "$ref": "#/definitions/SourceRegistryLoginMode", - "description": "The authentication mode which determines the source registry login scope. The credentials for the source registry\nwill be generated using the given scope. These credentials will be used to login to\nthe source registry during the run." - } - } - }, - "SourceRegistryLoginMode": { - "type": "string", - "description": "The authentication mode which determines the source registry login scope. The credentials for the source registry\nwill be generated using the given scope. These credentials will be used to login to\nthe source registry during the run.", - "enum": [ - "None", - "Default" - ], - "x-ms-enum": { - "name": "SourceRegistryLoginMode", - "modelAsString": true, - "values": [ - { - "name": "None", - "value": "None" - }, - { - "name": "Default", - "value": "Default" - } - ] - } - }, - "SourceTrigger": { - "type": "object", - "description": "The properties of a source based trigger.", - "properties": { - "sourceRepository": { - "$ref": "#/definitions/SourceProperties", - "description": "The properties that describes the source(code) for the task." - }, - "sourceTriggerEvents": { - "type": "array", - "description": "The source event corresponding to the trigger.", - "items": { - "$ref": "#/definitions/SourceTriggerEvent" - } - }, - "status": { - "$ref": "#/definitions/TriggerStatus", - "description": "The current status of trigger." - }, - "name": { - "type": "string", - "description": "The name of the trigger." - } - }, - "required": [ - "sourceRepository", - "sourceTriggerEvents", - "name" - ] - }, - "SourceTriggerDescriptor": { - "type": "object", - "description": "The source trigger that caused a run.", - "properties": { - "id": { - "type": "string", - "description": "The unique ID of the trigger." - }, - "eventType": { - "type": "string", - "description": "The event type of the trigger." - }, - "commitId": { - "type": "string", - "description": "The unique ID that identifies a commit." - }, - "pullRequestId": { - "type": "string", - "description": "The unique ID that identifies pull request." - }, - "repositoryUrl": { - "type": "string", - "description": "The repository URL." - }, - "branchName": { - "type": "string", - "description": "The branch name in the repository." - }, - "providerType": { - "type": "string", - "description": "The source control provider type." - } - } - }, - "SourceTriggerEvent": { - "type": "string", - "enum": [ - "commit", - "pullrequest" - ], - "x-ms-enum": { - "name": "SourceTriggerEvent", - "modelAsString": true, - "values": [ - { - "name": "commit", - "value": "commit" - }, - { - "name": "pullrequest", - "value": "pullrequest" - } - ] - } - }, - "SourceTriggerUpdateParameters": { - "type": "object", - "description": "The properties for updating a source based trigger.", - "properties": { - "sourceRepository": { - "$ref": "#/definitions/SourceUpdateParameters", - "description": "The properties that describes the source(code) for the task." - }, - "sourceTriggerEvents": { - "type": "array", - "description": "The source event corresponding to the trigger.", - "items": { - "$ref": "#/definitions/SourceTriggerEvent" - } - }, - "status": { - "$ref": "#/definitions/TriggerStatus", - "description": "The current status of trigger." - }, - "name": { - "type": "string", - "description": "The name of the trigger." - } - }, - "required": [ - "name" - ] - }, - "SourceUpdateParameters": { - "type": "object", - "description": "The properties for updating the source code repository.", - "properties": { - "sourceControlType": { - "$ref": "#/definitions/SourceControlType", - "description": "The type of source control service." - }, - "repositoryUrl": { - "type": "string", - "description": "The full URL to the source code repository" - }, - "branch": { - "type": "string", - "description": "The branch name of the source code." - }, - "sourceControlAuthProperties": { - "$ref": "#/definitions/AuthInfoUpdateParameters", - "description": "The authorization properties for accessing the source code repository and to set up\nwebhooks for notifications." - } - } - }, - "SourceUploadDefinition": { - "type": "object", - "description": "The properties of a response to source upload request.", - "properties": { - "uploadUrl": { - "type": "string", - "description": "The URL where the client can upload the source." - }, - "relativePath": { - "type": "string", - "description": "The relative path to the source. This is used to submit the subsequent queue build request." - } - } - }, - "StepType": { - "type": "string", - "description": "The type of the step.", - "enum": [ - "Docker", - "FileTask", - "EncodedTask" - ], - "x-ms-enum": { - "name": "StepType", - "modelAsString": true, - "values": [ - { - "name": "Docker", - "value": "Docker" - }, - { - "name": "FileTask", - "value": "FileTask" - }, - { - "name": "EncodedTask", - "value": "EncodedTask" - } - ] - } - }, - "Task": { - "type": "object", - "description": "The task that has the ARM resource and task properties.\nThe task will have all information to schedule a run against it.", - "properties": { - "properties": { - "$ref": "#/definitions/TaskProperties", - "description": "The properties of a task.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identity for the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "TaskListResult": { - "type": "object", - "description": "The response of a Task list operation.", - "properties": { - "value": { - "type": "array", - "description": "The Task items on this page", - "items": { - "$ref": "#/definitions/Task" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "TaskProperties": { - "type": "object", - "description": "The properties of a task.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of the task.", - "readOnly": true - }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "The creation date of task.", - "readOnly": true - }, - "status": { - "$ref": "#/definitions/TaskStatus", - "description": "The current status of task." - }, - "platform": { - "$ref": "#/definitions/PlatformProperties", - "description": "The platform properties against which the run has to happen." - }, - "agentConfiguration": { - "$ref": "#/definitions/AgentProperties", - "description": "The machine configuration of the run agent." - }, - "agentPoolName": { - "type": "string", - "description": "The dedicated agent pool for the task." - }, - "timeout": { - "type": "integer", - "format": "int32", - "description": "Run timeout in seconds.", - "default": 3600, - "minimum": 300, - "maximum": 28800 - }, - "step": { - "$ref": "#/definitions/TaskStepProperties", - "description": "The properties of a task step." - }, - "trigger": { - "$ref": "#/definitions/TriggerProperties", - "description": "The properties that describe all triggers for the task." - }, - "credentials": { - "$ref": "#/definitions/Credentials", - "description": "The properties that describes a set of credentials that will be used when this run is invoked." - }, - "logTemplate": { - "type": "string", - "description": "The template that describes the repository and tag information for run log artifact." - }, - "isSystemTask": { - "type": "boolean", - "description": "The value of this property indicates whether the task resource is system task or not." - } - } - }, - "TaskPropertiesUpdateParameters": { - "type": "object", - "description": "The properties for updating a task.", - "properties": { - "status": { - "$ref": "#/definitions/TaskStatus", - "description": "The current status of task." - }, - "platform": { - "$ref": "#/definitions/PlatformUpdateParameters", - "description": "The platform properties against which the run has to happen." - }, - "agentConfiguration": { - "$ref": "#/definitions/AgentProperties", - "description": "The machine configuration of the run agent." - }, - "agentPoolName": { - "type": "string", - "description": "The dedicated agent pool for the task." - }, - "timeout": { - "type": "integer", - "format": "int32", - "description": "Run timeout in seconds." - }, - "step": { - "$ref": "#/definitions/TaskStepUpdateParameters", - "description": "The properties for updating a task step." - }, - "trigger": { - "$ref": "#/definitions/TriggerUpdateParameters", - "description": "The properties for updating trigger properties." - }, - "credentials": { - "$ref": "#/definitions/Credentials", - "description": "The parameters that describes a set of credentials that will be used when this run is invoked." - }, - "logTemplate": { - "type": "string", - "description": "The template that describes the repository and tag information for run log artifact." - } - } - }, - "TaskRun": { - "type": "object", - "description": "The task run that has the ARM resource and properties.\nThe task run will have the information of request and result of a run.", - "properties": { - "properties": { - "$ref": "#/definitions/TaskRunProperties", - "description": "The properties associated with the task run, i.e., request and result of the run", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "TaskRunListResult": { - "type": "object", - "description": "The response of a TaskRun list operation.", - "properties": { - "value": { - "type": "array", - "description": "The TaskRun items on this page", - "items": { - "$ref": "#/definitions/TaskRun" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "TaskRunProperties": { - "type": "object", - "description": "The properties of task run.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of this task run", - "readOnly": true - }, - "runRequest": { - "$ref": "#/definitions/RunRequest", - "description": "The request (parameters) for the run" - }, - "runResult": { - "$ref": "#/definitions/Run", - "description": "The result of this task run", - "readOnly": true - }, - "forceUpdateTag": { - "type": "string", - "description": "How the run should be forced to rerun even if the run request configuration has not changed" - } - } - }, - "TaskRunPropertiesUpdateParameters": { - "type": "object", - "description": "The properties of a task run update parameters.", - "properties": { - "runRequest": { - "$ref": "#/definitions/RunRequest", - "description": "The request (parameters) for the new run" - }, - "forceUpdateTag": { - "type": "string", - "description": "How the run should be forced to rerun even if the run request configuration has not changed" - } - } - }, - "TaskRunRequest": { - "type": "object", - "description": "The parameters for a task run request.", - "properties": { - "taskId": { - "type": "string", - "description": "The resource ID of task against which run has to be queued." - }, - "overrideTaskStepProperties": { - "$ref": "#/definitions/OverrideTaskStepProperties", - "description": "Set of overridable parameters that can be passed when running a Task." - } - }, - "required": [ - "taskId" - ], - "allOf": [ - { - "$ref": "#/definitions/RunRequest" - } - ], - "x-ms-discriminator-value": "TaskRunRequest" - }, - "TaskRunUpdateParameters": { - "type": "object", - "description": "The parameters for updating a task run.", - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identity for the resource." - }, - "properties": { - "$ref": "#/definitions/TaskRunPropertiesUpdateParameters", - "description": "The properties for updating a task run.", - "x-ms-client-flatten": true - }, - "location": { - "type": "string", - "description": "The location of the resource" - }, - "tags": { - "type": "object", - "description": "The ARM resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "TaskStatus": { - "type": "string", - "description": "The current status of task.", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "name": "TaskStatus", - "modelAsString": true, - "values": [ - { - "name": "Disabled", - "value": "Disabled" - }, - { - "name": "Enabled", - "value": "Enabled" - } - ] - } - }, - "TaskStepProperties": { - "type": "object", - "description": "Base properties for any task step.", - "properties": { - "type": { - "$ref": "#/definitions/StepType", - "description": "The type of the step." - }, - "baseImageDependencies": { - "type": "array", - "description": "List of base image dependencies for a step.", - "items": { - "$ref": "#/definitions/BaseImageDependency" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "contextPath": { - "type": "string", - "description": "The URL(absolute or relative) of the source context for the task step." - }, - "contextAccessToken": { - "type": "string", - "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step." - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "TaskStepUpdateParameters": { - "type": "object", - "description": "Base properties for updating any task step.", - "properties": { - "type": { - "$ref": "#/definitions/StepType", - "description": "The type of the step." - }, - "contextPath": { - "type": "string", - "description": "The URL(absolute or relative) of the source context for the task step." - }, - "contextAccessToken": { - "type": "string", - "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step." - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "TaskUpdateParameters": { - "type": "object", - "description": "The parameters for updating a task.", - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identity for the resource." - }, - "properties": { - "$ref": "#/definitions/TaskPropertiesUpdateParameters", - "description": "The properties for updating a task.", - "x-ms-client-flatten": true - }, - "tags": { - "type": "object", - "description": "The ARM resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "TimerTrigger": { - "type": "object", - "description": "The properties of a timer trigger.", - "properties": { - "schedule": { - "type": "string", - "description": "The CRON expression for the task schedule" - }, - "status": { - "$ref": "#/definitions/TriggerStatus", - "description": "The current status of trigger." - }, - "name": { - "type": "string", - "description": "The name of the trigger." - } - }, - "required": [ - "schedule", - "name" - ] - }, - "TimerTriggerDescriptor": { - "type": "object", - "properties": { - "timerTriggerName": { - "type": "string", - "description": "The timer trigger name that caused the run." - }, - "scheduleOccurrence": { - "type": "string", - "description": "The occurrence that triggered the run." - } - } - }, - "TimerTriggerUpdateParameters": { - "type": "object", - "description": "The properties for updating a timer trigger.", - "properties": { - "schedule": { - "type": "string", - "description": "The CRON expression for the task schedule" - }, - "status": { - "$ref": "#/definitions/TriggerStatus", - "description": "The current status of trigger." - }, - "name": { - "type": "string", - "description": "The name of the trigger." - } - }, - "required": [ - "name" - ] - }, - "TokenType": { - "type": "string", - "description": "The type of Auth token.", - "enum": [ - "PAT", - "OAuth" - ], - "x-ms-enum": { - "name": "TokenType", - "modelAsString": true, - "values": [ - { - "name": "PAT", - "value": "PAT" - }, - { - "name": "OAuth", - "value": "OAuth" - } - ] - } - }, - "TriggerProperties": { - "type": "object", - "description": "The properties of a trigger.", - "properties": { - "timerTriggers": { - "type": "array", - "description": "The collection of timer triggers.", - "items": { - "$ref": "#/definitions/TimerTrigger" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "sourceTriggers": { - "type": "array", - "description": "The collection of triggers based on source code repository.", - "items": { - "$ref": "#/definitions/SourceTrigger" - }, - "x-ms-identifiers": [ - "name", - "sourceRepository/repositoryUrl" - ] - }, - "baseImageTrigger": { - "$ref": "#/definitions/BaseImageTrigger", - "description": "The trigger based on base image dependencies." - } - } - }, - "TriggerStatus": { - "type": "string", - "description": "The current status of trigger.", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true, - "values": [ - { - "name": "Disabled", - "value": "Disabled" - }, - { - "name": "Enabled", - "value": "Enabled" - } - ] - } - }, - "TriggerUpdateParameters": { - "type": "object", - "description": "The properties for updating triggers.", - "properties": { - "timerTriggers": { - "type": "array", - "description": "The collection of timer triggers.", - "items": { - "$ref": "#/definitions/TimerTriggerUpdateParameters" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "sourceTriggers": { - "type": "array", - "description": "The collection of triggers based on source code repository.", - "items": { - "$ref": "#/definitions/SourceTriggerUpdateParameters" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "baseImageTrigger": { - "$ref": "#/definitions/BaseImageTriggerUpdateParameters", - "description": "The trigger based on base image dependencies." - } - } - }, - "UpdateTriggerPayloadType": { - "type": "string", - "description": "Type of Payload body for Base image update triggers.", - "enum": [ - "Default", - "Token" - ], - "x-ms-enum": { - "name": "UpdateTriggerPayloadType", - "modelAsString": true, - "values": [ - { - "name": "Default", - "value": "Default" - }, - { - "name": "Token", - "value": "Token" - } - ] - } - }, - "UserIdentityProperties": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The principal id of user assigned identity.", - "readOnly": true - }, - "clientId": { - "type": "string", - "description": "The client id of user assigned identity.", - "readOnly": true - } - } - }, - "Variant": { - "type": "string", - "description": "Variant of the CPU.", - "enum": [ - "v6", - "v7", - "v8" - ], - "x-ms-enum": { - "name": "Variant", - "modelAsString": true, - "values": [ - { - "name": "v6", - "value": "v6" - }, - { - "name": "v7", - "value": "v7" - }, - { - "name": "v8", - "value": "v8" - } - ] - } - } - }, - "parameters": {} -} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsCreate.json deleted file mode 100644 index 9b990a0ff01c..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsCreate.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "agentPool": { - "location": "WESTUS", - "properties": { - "count": 1, - "os": "Linux", - "tier": "S1" - }, - "tags": { - "key": "value" - } - }, - "agentPoolName": "myAgentPool", - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "name": "myAgentPool", - "type": "Microsoft.ContainerRegistry/registries/agentPools", - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "location": "WESTUS", - "properties": { - "count": 1, - "os": "Linux", - "provisioningState": "Succeeded", - "tier": "S1" - } - } - }, - "201": { - "body": { - "name": "myAgentPool", - "type": "Microsoft.ContainerRegistry/registries/agentPools", - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "location": "WESTUS", - "properties": { - "count": 1, - "os": "Linux", - "provisioningState": "Succeeded", - "tier": "S1" - } - } - } - }, - "operationId": "AgentPools_Create", - "title": "AgentPools_Create" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsDelete.json deleted file mode 100644 index ce63d22205da..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsDelete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "agentPoolName": "myAgentPool", - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/agentPoolsOperationResults/00000000-0000-0000-0000-000000000000/status?api-version=2025-03-01-preview" - } - }, - "204": {} - }, - "operationId": "AgentPools_Delete", - "title": "AgentPools_Delete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGet.json deleted file mode 100644 index 2954ee2c1b41..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGet.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "agentPoolName": "myAgentPool", - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "name": "myAgentPool", - "type": "Microsoft.ContainerRegistry/registries/agentPools", - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "location": "WESTUS", - "properties": { - "count": 1, - "os": "Linux", - "provisioningState": "Succeeded", - "tier": "S1" - } - } - } - }, - "operationId": "AgentPools_Get", - "title": "AgentPools_Get" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json deleted file mode 100644 index 8c8780758bce..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "agentPoolName": "myAgentPool", - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "count": 10 - } - } - }, - "operationId": "AgentPools_GetQueueStatus", - "title": "AgentPools_GetQueueStatus" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsList.json deleted file mode 100644 index 5a7188b5835b..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsList.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "agentPoolName": "myAgentPool", - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myAgentPool", - "type": "Microsoft.ContainerRegistry/registries/agentPools", - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "location": "WESTUS", - "properties": { - "count": 1, - "os": "Linux", - "provisioningState": "Succeeded", - "tier": "S1" - } - } - ] - } - } - }, - "operationId": "AgentPools_List", - "title": "AgentPools_List" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json deleted file mode 100644 index e6d8cd533cc5..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "agentPoolName": "myAgentPool", - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "updateParameters": { - "properties": { - "count": 1 - } - } - }, - "responses": { - "200": { - "body": { - "name": "myAgentPool", - "type": "Microsoft.ContainerRegistry/registries/agentPools", - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "location": "WESTUS", - "properties": { - "count": 1, - "os": "Linux", - "provisioningState": "Succeeded", - "tier": "S1" - } - } - }, - "201": { - "body": { - "name": "myAgentPool", - "type": "Microsoft.ContainerRegistry/registries/agentPools", - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "location": "WESTUS", - "properties": { - "count": 1, - "os": "Linux", - "provisioningState": "Succeeded", - "tier": "S1" - } - } - } - }, - "operationId": "AgentPools_Update", - "title": "AgentPools_Update" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json deleted file mode 100644 index 754f29e35b23..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json +++ /dev/null @@ -1,250 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskCreateParameters": { - "identity": { - "type": "SystemAssigned" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "credentials": { - "sourceRegistry": { - "identity": "[system]" - } - }, - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlAuthProperties": { - "token": "xxxxx", - "tokenType": "PAT" - }, - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ] - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5" - } - ] - } - }, - "tags": { - "testkey": "value" - } - }, - "taskName": "mytTask" - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "credentials": { - "sourceRegistry": { - "identity": "[system]" - } - }, - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - }, - "201": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "credentials": { - "sourceRegistry": { - "identity": "[system]" - } - }, - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Creating", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Create", - "title": "Tasks_Create_WithLoginIdentity" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json deleted file mode 100644 index 7aebdbfa2a61..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskCreateParameters": { - "identity": { - "type": "SystemAssigned, UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} - } - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", - "updateTriggerPayloadType": "Default" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlAuthProperties": { - "token": "xxxxx", - "tokenType": "PAT" - }, - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ] - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5" - } - ] - } - }, - "tags": { - "testkey": "value" - } - }, - "taskName": "mytTask" - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned, UserAssigned", - "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", - "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" - } - } - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - }, - "201": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned, UserAssigned", - "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", - "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" - } - } - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Creating", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Create", - "title": "Tasks_Create_WithSystemAndUserIdentities" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json deleted file mode 100644 index 234524ee8e79..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json +++ /dev/null @@ -1,235 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskCreateParameters": { - "identity": { - "type": "SystemAssigned" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlAuthProperties": { - "token": "xxxxx", - "tokenType": "PAT" - }, - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ] - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5" - } - ] - } - }, - "tags": { - "testkey": "value" - } - }, - "taskName": "mytTask" - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - }, - "201": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Creating", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Create", - "title": "Tasks_Create_WithUserIdentities_WithSystemIdentity" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json deleted file mode 100644 index 3fb5af85dc17..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json +++ /dev/null @@ -1,261 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskCreateParameters": { - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}, - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} - } - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", - "updateTriggerPayloadType": "Default" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlAuthProperties": { - "token": "xxxxx", - "tokenType": "PAT" - }, - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ] - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5" - } - ] - } - }, - "tags": { - "testkey": "value" - } - }, - "taskName": "mytTask" - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - }, - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", - "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" - } - } - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - }, - "201": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - }, - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc", - "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a" - } - } - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Creating", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Create", - "title": "Tasks_Create_WithUserIdentities" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json deleted file mode 100644 index 14aa7d77780c..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json +++ /dev/null @@ -1,145 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskName": "myTask", - "taskUpdateParameters": { - "properties": { - "agentConfiguration": { - "cpu": 3 - }, - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": { - "identity": "[system]", - "password": { - "type": "Vaultsecret", - "value": "https://myacbvault.vault.azure.net/secrets/password" - }, - "userName": { - "type": "Vaultsecret", - "value": "https://myacbvault.vault.azure.net/secrets/username" - } - } - } - }, - "logTemplate": null, - "status": "Enabled", - "step": { - "type": "Docker", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag1" - ] - }, - "trigger": { - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "sourceControlAuthProperties": { - "token": "xxxxx", - "tokenType": "PAT" - } - }, - "sourceTriggerEvents": [ - "commit" - ] - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 3 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": null - }, - "sourceRegistry": null - }, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag1" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled", - "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", - "updateTriggerPayloadType": "Token" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Update", - "title": "Tasks_Update_WithKeyVaultCustomCredentials" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json deleted file mode 100644 index 27709a3df937..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskName": "myTask", - "taskUpdateParameters": { - "properties": { - "agentConfiguration": { - "cpu": 3 - }, - "credentials": { - "sourceRegistry": { - "identity": "[system]" - } - }, - "logTemplate": null, - "status": "Enabled", - "step": { - "type": "Docker", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag1" - ] - }, - "trigger": { - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "sourceControlAuthProperties": { - "token": "xxxxx", - "tokenType": "PAT" - } - }, - "sourceTriggerEvents": [ - "commit" - ] - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 3 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "credentials": { - "sourceRegistry": { - "identity": "[system]" - } - }, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag1" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Update", - "title": "Tasks_Update_WithLoginIdentity" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json deleted file mode 100644 index f4814334f82e..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskName": "myTask", - "taskUpdateParameters": { - "properties": { - "agentConfiguration": { - "cpu": 3 - }, - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": { - "identity": "[system]" - } - } - }, - "logTemplate": null, - "status": "Enabled", - "step": { - "type": "Docker", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag1" - ] - }, - "trigger": { - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "sourceControlAuthProperties": { - "token": "xxxxx", - "tokenType": "PAT" - } - }, - "sourceTriggerEvents": [ - "commit" - ] - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 3 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "credentials": { - "customRegistries": { - "myregistry.azure.io": null - }, - "sourceRegistry": null - }, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag1" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Update", - "title": "Tasks_Update_WithMSICustomCredentials" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json deleted file mode 100644 index a1cb2e510e55..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "relativePath": "source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz", - "uploadUrl": "https://registrystorageaccount.blob.core.windows.net/registrycontainer/source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" - } - } - }, - "operationId": "Registries_GetBuildSourceUploadUrl", - "title": "Registries_GetBuildSourceUploadUrl" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json deleted file mode 100644 index 5d33cde26aa0..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "runRequest": { - "type": "DockerBuildRequest", - "agentConfiguration": { - "cpu": 2 - }, - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ], - "dockerFilePath": "DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isArchiveEnabled": true, - "isPushEnabled": true, - "noCache": true, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" - }, - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "properties": { - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded" - } - } - } - }, - "operationId": "Registries_ScheduleRun", - "title": "Registries_ScheduleRun" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json deleted file mode 100644 index c1429e996f08..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "runRequest": { - "type": "EncodedTaskRunRequest", - "agentConfiguration": { - "cpu": 2 - }, - "encodedTaskContent": "c3RlcHM6Cnt7IGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAncHJvZCcgfX0KICAtIHJ1bjogcHJvZCBzZXR1cAp7eyBlbHNlIGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAnc3RhZ2luZycgfX0KICAtIHJ1bjogc3RhZ2luZyBzZXR1cAp7eyBlbHNlIH19CiAgLSBydW46IGRlZmF1bHQgc2V0dXAKe3sgZW5kIH19CgogIC0gcnVuOiBidWlsZCAtdCBGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0gLgoKcHVzaDogWydGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0nXQ==", - "encodedValuesContent": "ZW52aXJvbm1lbnQ6IHByb2QKdmVyc2lvbjogMQ==", - "platform": { - "os": "Linux" - }, - "values": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ] - }, - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "properties": { - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded" - } - } - } - }, - "operationId": "Registries_ScheduleRun", - "title": "Registries_ScheduleRun_EncodedTaskRun" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json deleted file mode 100644 index b6163d6ff7df..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "runRequest": { - "type": "FileTaskRunRequest", - "agentConfiguration": { - "cpu": 2 - }, - "platform": { - "os": "Linux" - }, - "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", - "taskFilePath": "acb.yaml", - "values": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ], - "valuesFilePath": "prod-values.yaml" - }, - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "properties": { - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded" - } - } - } - }, - "operationId": "Registries_ScheduleRun", - "title": "Registries_ScheduleRun_FileTaskRun" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json deleted file mode 100644 index 86c52b4164f0..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "runRequest": { - "type": "FileTaskRunRequest", - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": { - "password": { - "type": "Opaque", - "value": "***" - }, - "userName": { - "type": "Opaque", - "value": "reg1" - } - } - }, - "sourceRegistry": { - "loginMode": "Default" - } - }, - "platform": { - "os": "Linux" - }, - "taskFilePath": "acb.yaml", - "values": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ] - }, - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "properties": { - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded" - } - } - } - }, - "operationId": "Registries_ScheduleRun", - "title": "Registries_ScheduleRun_Task_WithCustomCredentials" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json deleted file mode 100644 index b275627c16eb..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "runRequest": { - "type": "TaskRunRequest", - "overrideTaskStepProperties": { - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ], - "file": "overriddenDockerfile", - "target": "build", - "updateTriggerToken": "aGVsbG8gd29ybGQ=", - "values": [ - { - "name": "mytestname", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestname", - "isSecret": true, - "value": "mysecrettestvalue" - } - ] - }, - "taskId": "myTask" - }, - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "properties": { - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded" - } - } - } - }, - "operationId": "Registries_ScheduleRun", - "title": "Registries_ScheduleRun_Task" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json deleted file mode 100644 index 2f1ad86b1c74..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "runRequest": { - "type": "DockerBuildRequest", - "agentConfiguration": { - "cpu": 2 - }, - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ], - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": { - "password": { - "type": "Opaque", - "value": "***" - }, - "userName": { - "type": "Opaque", - "value": "reg1" - } - }, - "myregistry2.azurecr.io": { - "password": { - "type": "Opaque", - "value": "***" - }, - "userName": { - "type": "Opaque", - "value": "reg2" - } - } - }, - "sourceRegistry": { - "loginMode": "Default" - } - }, - "dockerFilePath": "DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isArchiveEnabled": true, - "isPushEnabled": true, - "noCache": true, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D", - "target": "stage1" - }, - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "properties": { - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded" - } - } - } - }, - "operationId": "Registries_ScheduleRun", - "title": "Registries_ScheduleRun_WithCustomCredentials" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json deleted file mode 100644 index b11d3b616edd..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "runRequest": { - "type": "DockerBuildRequest", - "agentConfiguration": { - "cpu": 2 - }, - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ], - "dockerFilePath": "DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isArchiveEnabled": true, - "isPushEnabled": true, - "logTemplate": "acr/tasks:{{.Run.OS}}", - "noCache": true, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" - }, - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/run", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "properties": { - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "status": "Succeeded" - } - } - } - }, - "operationId": "Registries_ScheduleRun", - "title": "Registries_ScheduleRun_WithLogTemplate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsCancel.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsCancel.json deleted file mode 100644 index 7ab56cf944e5..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsCancel.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": {} - }, - "operationId": "Runs_Cancel", - "title": "Runs_Cancel" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGet.json deleted file mode 100644 index 93a34e25552a..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGet.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/runs", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "createTime": "2018-01-25T05:13:51.618Z", - "finishTime": "2018-01-25T06:13:51.618Z", - "imageUpdateTrigger": { - "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", - "images": [ - { - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", - "registry": "registry.hub.docker.com", - "repository": "mybaseimage", - "tag": "latest" - } - ], - "timestamp": "2018-01-25T05:13:51.618Z" - }, - "isArchiveEnabled": true, - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "logArtifact": { - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", - "registry": "myregistry", - "repository": "acr/tasks", - "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" - }, - "outputImages": [ - { - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", - "registry": "myregistry.azurecr.io", - "repository": "myimage", - "tag": "latest" - } - ], - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "runType": "AutoBuild", - "startTime": "2018-01-25T05:50:51.618Z", - "status": "Succeeded", - "task": "myTask" - } - } - } - }, - "operationId": "Runs_Get", - "title": "Runs_Get" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json deleted file mode 100644 index ab2b06b6b505..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "logLink": "https://registrystorageaccount.blob.core.windows.net/sascontainer/logs/0accec26-d6de-4757-8e74-d080f38eaaab/rawtext.log?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D" - } - } - }, - "operationId": "Runs_GetLogSasUrl", - "title": "Runs_GetLogSasUrl" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsList.json deleted file mode 100644 index cd0a4996c0ab..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsList.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "parameters": { - "$filter": "", - "$top": 10, - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/runs", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "createTime": "2018-01-25T05:13:51.618Z", - "finishTime": "2018-01-25T06:13:51.618Z", - "imageUpdateTrigger": { - "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", - "images": [ - { - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", - "registry": "registry.hub.docker.com", - "repository": "mybaseimage", - "tag": "latest" - } - ], - "timestamp": "2018-01-25T05:13:51.618Z" - }, - "isArchiveEnabled": true, - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "logArtifact": { - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", - "registry": "myregistry", - "repository": "acr/tasks", - "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" - }, - "outputImages": [ - { - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", - "registry": "myregistry.azurecr.io", - "repository": "myimage", - "tag": "latest" - } - ], - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "runType": "AutoBuild", - "startTime": "2018-01-25T05:50:51.618Z", - "status": "Succeeded", - "task": "myTask" - } - } - ] - } - } - }, - "operationId": "Runs_List", - "title": "Runs_List" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsUpdate.json deleted file mode 100644 index c55d23360923..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/RunsUpdate.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "runUpdateParameters": { - "isArchiveEnabled": true - }, - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "name": "0accec26-d6de-4757-8e74-d080f38eaaab", - "type": "Microsoft.ContainerRegistry/registries/runs", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "createTime": "2018-01-25T05:13:51.618Z", - "finishTime": "2018-01-25T06:13:51.618Z", - "imageUpdateTrigger": { - "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88", - "images": [ - { - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", - "registry": "registry.hub.docker.com", - "repository": "mybaseimage", - "tag": "latest" - } - ], - "timestamp": "2018-01-25T05:13:51.618Z" - }, - "isArchiveEnabled": true, - "lastUpdatedTime": "2018-01-25T05:13:51.617Z", - "logArtifact": { - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", - "registry": "myregistry", - "repository": "acr/tasks", - "tag": "mytask-0accec26-d6de-4757-8e74-d080f38eaaab-log" - }, - "outputImages": [ - { - "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0", - "registry": "myregistry.azurecr.io", - "repository": "myimage", - "tag": "latest" - } - ], - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "runId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "runType": "AutoBuild", - "startTime": "2018-01-25T05:50:51.618Z", - "status": "Succeeded", - "task": "myTask" - } - } - } - }, - "operationId": "Runs_Update", - "title": "Runs_Update" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsCreate.json deleted file mode 100644 index 95cc6de96a06..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsCreate.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskRun": { - "properties": { - "forceUpdateTag": "test", - "runRequest": { - "type": "EncodedTaskRunRequest", - "credentials": {}, - "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", - "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "values": [] - } - } - }, - "taskRunName": "myRun" - }, - "responses": { - "200": { - "body": { - "name": "myrun", - "type": "Microsoft.ContainerRegistry/registries/TaskRuns", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "properties": { - "provisioningState": "Creating", - "runRequest": { - "type": "EncodedTaskRunRequest", - "credentials": {}, - "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", - "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "isArchiveEnabled": true, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "values": [] - }, - "runResult": { - "name": "yd5", - "type": "Microsoft.ContainerRegistry/registries/runs", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "createTime": "2019-09-06T17:23:21.9261521+00:00", - "isArchiveEnabled": true, - "lastUpdatedTime": "2019-09-06T17:23:21+00:00", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "runId": "yd5", - "runType": "QuickRun", - "status": "Queued" - } - } - } - } - }, - "201": { - "body": { - "name": "myrun", - "type": "Microsoft.ContainerRegistry/registries/TaskRuns", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "properties": { - "provisioningState": "Creating", - "runRequest": { - "type": "EncodedTaskRunRequest", - "credentials": {}, - "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", - "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "isArchiveEnabled": true, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "values": [] - }, - "runResult": { - "name": "yd5", - "type": "Microsoft.ContainerRegistry/registries/runs", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "createTime": "2019-09-06T17:23:21.9261521+00:00", - "isArchiveEnabled": true, - "lastUpdatedTime": "2019-09-06T17:23:21+00:00", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "runId": "yd5", - "runType": "QuickRun", - "status": "Queued" - } - } - } - } - } - }, - "operationId": "TaskRuns_Create", - "title": "TaskRuns_Create" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsDelete.json deleted file mode 100644 index 9a7cfe9667e0..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsDelete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskRunName": "myRun" - }, - "responses": { - "200": {}, - "204": {} - }, - "operationId": "TaskRuns_Delete", - "title": "TaskRuns_Delete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGet.json deleted file mode 100644 index ccee28c4ae37..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGet.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskRunName": "myRun" - }, - "responses": { - "200": { - "body": { - "name": "myRun", - "type": "Microsoft.ContainerRegistry/registries/TaskRuns", - "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "properties": { - "provisioningState": "Succeeded", - "runRequest": { - "type": "EncodedTaskRunRequest", - "credentials": {}, - "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", - "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "isArchiveEnabled": true, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "values": [] - }, - "runResult": { - "name": "yd5", - "type": "Microsoft.ContainerRegistry/registries/runs", - "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "createTime": "2019-09-06T17:23:21.9261521+00:00", - "finishTime": "2019-09-06T17:23:29.8792157+00:00", - "isArchiveEnabled": true, - "lastUpdatedTime": "2019-09-06T17:23:29+00:00", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "runId": "yd5", - "runType": "QuickRun", - "startTime": "2019-09-06T17:23:22.1348714+00:00", - "status": "Succeeded" - } - } - } - } - } - }, - "operationId": "TaskRuns_Get", - "title": "TaskRuns_Get" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json deleted file mode 100644 index c15489473dad..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskRunName": "myRun" - }, - "responses": { - "200": { - "body": { - "name": "myRun", - "type": "Microsoft.ContainerRegistry/registries/TaskRuns", - "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "properties": { - "provisioningState": "Succeeded", - "runRequest": { - "type": "EncodedTaskRunRequest", - "credentials": {}, - "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", - "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "isArchiveEnabled": true, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "values": [] - }, - "runResult": { - "name": "yd5", - "type": "Microsoft.ContainerRegistry/registries/runs", - "id": "/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "createTime": "2019-09-06T17:23:21.9261521+00:00", - "finishTime": "2019-09-06T17:23:29.8792157+00:00", - "isArchiveEnabled": true, - "lastUpdatedTime": "2019-09-06T17:23:29+00:00", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "runId": "yd5", - "runType": "QuickRun", - "startTime": "2019-09-06T17:23:22.1348714+00:00", - "status": "Succeeded" - } - } - } - } - } - }, - "operationId": "TaskRuns_GetDetails", - "title": "TaskRuns_GetDetails" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsList.json deleted file mode 100644 index bc9e915d36ab..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsList.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "mytestrun", - "type": "Microsoft.ContainerRegistry/registries/TaskRuns", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "properties": { - "provisioningState": "Succeeded", - "runRequest": { - "type": "EncodedTaskRunRequest", - "credentials": {}, - "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", - "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "isArchiveEnabled": true, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "values": [] - }, - "runResult": { - "name": "yd4", - "type": "Microsoft.ContainerRegistry/registries/runs", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd4", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "createTime": "2019-09-04T17:15:29.2278794+00:00", - "finishTime": "2019-09-04T17:15:37.0349516+00:00", - "isArchiveEnabled": true, - "lastUpdatedTime": "2019-09-04T17:15:37+00:00", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "runId": "yd4", - "runType": "QuickRun", - "startTime": "2019-09-04T17:15:29.4589616+00:00", - "status": "Succeeded" - } - } - } - } - ] - } - } - }, - "operationId": "TaskRuns_List", - "title": "TaskRuns_List" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsUpdate.json deleted file mode 100644 index 1639e953bc7c..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TaskRunsUpdate.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskRunName": "myRun", - "updateParameters": { - "properties": { - "forceUpdateTag": "test", - "runRequest": { - "type": "EncodedTaskRunRequest", - "credentials": {}, - "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", - "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "isArchiveEnabled": true, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "values": [] - } - } - } - }, - "responses": { - "200": { - "body": { - "name": "mytestrun", - "type": "Microsoft.ContainerRegistry/registries/TaskRuns", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "properties": { - "provisioningState": "Creating", - "runRequest": { - "type": "EncodedTaskRunRequest", - "credentials": {}, - "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", - "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "isArchiveEnabled": true, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "values": [] - }, - "runResult": { - "name": "yd6", - "type": "Microsoft.ContainerRegistry/registries/runs", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd6", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "createTime": "2019-09-06T17:31:34.1184031+00:00", - "isArchiveEnabled": true, - "lastUpdatedTime": "2019-09-06T17:31:34+00:00", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "runId": "yd6", - "runType": "QuickRun", - "status": "Queued" - } - } - } - } - }, - "201": { - "body": { - "name": "mytestrun", - "type": "Microsoft.ContainerRegistry/registries/TaskRuns", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun", - "properties": { - "provisioningState": "Creating", - "runRequest": { - "type": "EncodedTaskRunRequest", - "credentials": {}, - "encodedTaskContent": "c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K", - "encodedValuesContent": "Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==", - "isArchiveEnabled": true, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "values": [] - }, - "runResult": { - "name": "yd6", - "type": "Microsoft.ContainerRegistry/registries/runs", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd6", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "createTime": "2019-09-06T17:31:34.1184031+00:00", - "isArchiveEnabled": true, - "lastUpdatedTime": "2019-09-06T17:31:34+00:00", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "runId": "yd6", - "runType": "QuickRun", - "status": "Queued" - } - } - } - } - } - }, - "operationId": "TaskRuns_Update", - "title": "TaskRuns_Update" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate.json deleted file mode 100644 index 72a2de71e7d2..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate.json +++ /dev/null @@ -1,241 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskCreateParameters": { - "identity": { - "type": "SystemAssigned" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "isSystemTask": false, - "logTemplate": "acr/tasks:{{.Run.OS}}", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", - "updateTriggerPayloadType": "Token" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlAuthProperties": { - "token": "xxxxx", - "tokenType": "PAT" - }, - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ] - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5" - } - ] - } - }, - "tags": { - "testkey": "value" - } - }, - "taskName": "mytTask" - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "isSystemTask": false, - "logTemplate": "acr/tasks:{{.Run.OS}}", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Token" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - }, - "201": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "isSystemTask": false, - "logTemplate": "acr/tasks:{{.Run.OS}}", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Creating", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Token" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Create", - "title": "Tasks_Create" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json deleted file mode 100644 index 330570226afd..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskCreateParameters": { - "identity": null, - "location": "eastus", - "properties": { - "isSystemTask": true, - "logTemplate": "acr/tasks:{{.Run.OS}}", - "status": "Enabled" - }, - "tags": { - "testkey": "value" - } - }, - "taskName": "quicktask" - }, - "responses": { - "200": { - "body": { - "name": "quicktask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": null, - "location": "eastus", - "properties": { - "agentConfiguration": null, - "creationDate": "2018-01-25T06:54:23.536Z", - "isSystemTask": true, - "logTemplate": "acr/tasks:{{.Run.OS}}", - "platform": null, - "provisioningState": "Succeeded", - "status": "Enabled", - "trigger": null - }, - "tags": { - "testkey": "value" - } - } - }, - "201": { - "body": { - "name": "quicktask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": null, - "location": "eastus", - "properties": { - "agentConfiguration": null, - "creationDate": "2018-01-25T06:54:23.536Z", - "isSystemTask": true, - "logTemplate": "acr/tasks:{{.Run.OS}}", - "platform": null, - "provisioningState": "Creating", - "status": "Enabled", - "trigger": null - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Create", - "title": "Tasks_Create_QuickTask" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksDelete.json deleted file mode 100644 index c95ab4d440b1..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksDelete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskName": "myTask" - }, - "responses": { - "200": {}, - "204": {} - }, - "operationId": "Tasks_Delete", - "title": "Tasks_Delete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGet.json deleted file mode 100644 index fb911defd10b..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGet.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskName": "myTask" - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "credentials": { - "customRegistries": { - "myregistry.azure.io": null - }, - "sourceRegistry": null - }, - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Token" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Get", - "title": "Tasks_Get" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGetDetails.json deleted file mode 100644 index 865475732a7f..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksGetDetails.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskName": "myTask" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "credentials": { - "customRegistries": { - "myregistry.azure-test.io": { - "identity": "[system]", - "password": { - "type": "Vaultsecret", - "value": "https://myacbvault.vault.azure.net/secrets/username" - }, - "userName": { - "type": "Opaque", - "value": "username" - } - } - }, - "sourceRegistry": null - }, - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - }, - { - "name": "mysecrettestargument", - "isSecret": true, - "value": "mysecrettestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled", - "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo", - "updateTriggerPayloadType": "Token" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlAuthProperties": { - "token": "xxxxx", - "tokenType": "PAT" - }, - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_GetDetails", - "title": "Tasks_GetDetails" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksList.json deleted file mode 100644 index 9742a895334c..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksList.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 2 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "credentials": { - "customRegistries": { - "myRegistry.azure.io": null - }, - "sourceRegistry": null - }, - "isSystemTask": false, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - ] - } - } - }, - "operationId": "Tasks_List", - "title": "Tasks_List" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate.json deleted file mode 100644 index 5d690c516306..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate.json +++ /dev/null @@ -1,145 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskName": "myTask", - "taskUpdateParameters": { - "properties": { - "agentConfiguration": { - "cpu": 3 - }, - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": { - "identity": "[system]", - "password": { - "type": "Vaultsecret", - "value": "https://myacbvault.vault.azure.net/secrets/password" - }, - "userName": { - "type": "Opaque", - "value": "username" - } - } - } - }, - "logTemplate": "acr/tasks:{{.Run.OS}}", - "status": "Enabled", - "step": { - "type": "Docker", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag1" - ] - }, - "trigger": { - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "sourceControlAuthProperties": { - "token": "xxxxx", - "tokenType": "PAT" - } - }, - "sourceTriggerEvents": [ - "commit" - ] - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 3 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": null - }, - "sourceRegistry": null - }, - "logTemplate": "acr/tasks:{{.Run.OS}}", - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag1" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled", - "updateTriggerEndpoint": null, - "updateTriggerPayloadType": "Default" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Update", - "title": "Tasks_Update" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json deleted file mode 100644 index 4f1768a47bee..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskName": "quicktask", - "taskUpdateParameters": { - "properties": { - "logTemplate": "acr/tasks:{{.Run.OS}}", - "status": "Enabled" - }, - "tags": { - "testkey": "value" - } - } - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": null, - "location": "eastus", - "properties": { - "agentConfiguration": null, - "creationDate": "2018-01-25T06:54:23.536Z", - "logTemplate": "acr/tasks:{{.Run.OS}}", - "platform": null, - "provisioningState": "Succeeded", - "status": "Enabled", - "trigger": null - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Update", - "title": "Tasks_Update_QuickTask" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json deleted file mode 100644 index 0b7dcf4d73f8..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "parameters": { - "api-version": "2025-03-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "taskName": "myTask", - "taskUpdateParameters": { - "properties": { - "agentConfiguration": { - "cpu": 3 - }, - "credentials": { - "customRegistries": { - "myregistry.azurecr.io": { - "password": { - "type": "Opaque", - "value": "***" - }, - "userName": { - "type": "Opaque", - "value": "username" - } - } - } - }, - "logTemplate": null, - "status": "Enabled", - "step": { - "type": "Docker", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag1" - ] - }, - "trigger": { - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "sourceControlAuthProperties": { - "token": "xxxxx", - "tokenType": "PAT" - } - }, - "sourceTriggerEvents": [ - "commit" - ] - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - }, - "responses": { - "200": { - "body": { - "name": "myTask", - "type": "Microsoft.ContainerRegistry/registries/tasks", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "eastus", - "properties": { - "agentConfiguration": { - "cpu": 3 - }, - "creationDate": "2018-01-25T06:54:23.536Z", - "credentials": { - "customRegistries": { - "myregistry.azure.io": null - }, - "sourceRegistry": null - }, - "logTemplate": null, - "platform": { - "architecture": "amd64", - "os": "Linux" - }, - "provisioningState": "Succeeded", - "status": "Enabled", - "step": { - "type": "Docker", - "arguments": [ - { - "name": "mytestargument", - "isSecret": false, - "value": "mytestvalue" - } - ], - "contextPath": "src", - "dockerFilePath": "src/DockerFile", - "imageNames": [ - "azurerest:testtag1" - ], - "isPushEnabled": true, - "noCache": false - }, - "trigger": { - "baseImageTrigger": { - "name": "myBaseImageTrigger", - "baseImageTriggerType": "Runtime", - "status": "Enabled" - }, - "sourceTriggers": [ - { - "name": "mySourceTrigger", - "sourceRepository": { - "branch": "master", - "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs", - "sourceControlType": "Github" - }, - "sourceTriggerEvents": [ - "commit" - ], - "status": "Enabled" - } - ], - "timerTriggers": [ - { - "name": "myTimerTrigger", - "schedule": "30 9 * * 1-5", - "status": "Enabled" - } - ] - } - }, - "tags": { - "testkey": "value" - } - } - } - }, - "operationId": "Tasks_Update", - "title": "Tasks_Update_WithOpaqueCustomCredentials" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/containerregistry.json deleted file mode 100644 index 011a3ce20909..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/containerregistry.json +++ /dev/null @@ -1,9375 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ContainerRegistryManagementClient", - "version": "2025-05-01-preview", - "description": "// (missing-service-description) Add service description", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow.", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "Operations" - }, - { - "name": "Archives" - }, - { - "name": "Registries" - }, - { - "name": "ArchiveVersions" - }, - { - "name": "CacheRules" - }, - { - "name": "ConnectedRegistries" - }, - { - "name": "CredentialSets" - }, - { - "name": "ExportPipelines" - }, - { - "name": "PrivateLinkResources" - }, - { - "name": "ImportPipelines" - }, - { - "name": "PipelineRuns" - }, - { - "name": "PrivateEndpointConnections" - }, - { - "name": "Replications" - }, - { - "name": "ScopeMaps" - }, - { - "name": "Tokens" - }, - { - "name": "Webhooks" - } - ], - "paths": { - "/providers/Microsoft.ContainerRegistry/operations": { - "get": { - "operationId": "Operations_List", - "tags": [ - "Operations" - ], - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { - "post": { - "operationId": "Registries_CheckNameAvailability", - "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "body", - "in": "body", - "description": "The request body", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryNameCheckRequest" - } - } - ], - "responses": { - "200": { - "description": "The request has succeeded.", - "schema": { - "$ref": "#/definitions/RegistryNameStatus" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryCheckNameAvailable": { - "$ref": "./examples/RegistryCheckNameAvailable.json" - }, - "RegistryCheckNameNotAvailable": { - "$ref": "./examples/RegistryCheckNameNotAvailable.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { - "get": { - "operationId": "Registries_List", - "tags": [ - "Registries" - ], - "description": "Lists all the container registries under the specified subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/RegistryListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryList": { - "$ref": "./examples/RegistryList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { - "get": { - "operationId": "Registries_ListByResourceGroup", - "tags": [ - "Registries" - ], - "description": "Lists all the container registries under the specified resource group.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/RegistryListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryListByResourceGroup": { - "$ref": "./examples/RegistryListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { - "get": { - "operationId": "Registries_Get", - "tags": [ - "Registries" - ], - "description": "Gets the properties of the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGet": { - "$ref": "./examples/RegistryGet.json" - } - } - }, - "put": { - "operationId": "Registries_Create", - "tags": [ - "Registries" - ], - "description": "Creates a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "registry", - "in": "body", - "description": "The parameters for creating a container registry.", - "required": true, - "schema": { - "$ref": "#/definitions/Registry" - } - } - ], - "responses": { - "200": { - "description": "Resource 'Registry' update operation succeeded", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "201": { - "description": "Resource 'Registry' create operation succeeded", - "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryCreate": { - "$ref": "./examples/RegistryCreate.json" - }, - "RegistryCreateAbac": { - "$ref": "./examples/RegistryCreateAbac.json" - }, - "RegistryCreateDomainNameLabelScope": { - "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" - }, - "RegistryCreateZoneRedundant": { - "$ref": "./examples/RegistryCreateZoneRedundant.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Registry" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Registries_Update", - "tags": [ - "Registries" - ], - "description": "Updates a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "registryUpdateParameters", - "in": "body", - "description": "The parameters for updating a container registry.", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "201": { - "description": "Resource 'Registry' create operation succeeded", - "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryUpdate": { - "$ref": "./examples/RegistryUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", - "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CRegistry%3E" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Registries_Delete", - "tags": [ - "Registries" - ], - "description": "Deletes a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryDelete": { - "$ref": "./examples/RegistryDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/archives": { - "get": { - "operationId": "Archives_List", - "tags": [ - "Archives" - ], - "description": "Lists all archives for the specified container registry and package type.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ArchiveListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveList": { - "$ref": "./examples/ArchiveList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/archives/{archiveName}": { - "get": { - "operationId": "Archives_Get", - "tags": [ - "Archives" - ], - "description": "Gets the properties of the archive.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveGet": { - "$ref": "./examples/ArchiveGet.json" - } - } - }, - "put": { - "operationId": "Archives_Create", - "tags": [ - "Archives" - ], - "description": "Creates a archive for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveCreateParameters", - "in": "body", - "description": "The parameters for creating a archive.", - "required": true, - "schema": { - "$ref": "#/definitions/Archive" - } - } - ], - "responses": { - "200": { - "description": "Resource 'Archive' update operation succeeded", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "201": { - "description": "Resource 'Archive' create operation succeeded", - "schema": { - "$ref": "#/definitions/Archive" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveCreate": { - "$ref": "./examples/ArchiveCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Archive" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Archives_Update", - "tags": [ - "Archives" - ], - "description": "Updates a archive for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveUpdateParameters", - "in": "body", - "description": "The parameters for updating a archive.", - "required": true, - "schema": { - "$ref": "#/definitions/ArchiveUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveUpdate": { - "$ref": "./examples/ArchiveUpdate.json" - } - } - }, - "delete": { - "operationId": "Archives_Delete", - "tags": [ - "Archives" - ], - "description": "Deletes a archive from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveDelete": { - "$ref": "./examples/ArchiveDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/archives/{archiveName}/versions": { - "get": { - "operationId": "ArchiveVersions_List", - "tags": [ - "ArchiveVersions" - ], - "description": "Lists all archive versions for the specified container registry, repository type and archive name.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ArchiveVersionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionList": { - "$ref": "./examples/ArchiveVersionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/archives/{archiveName}/versions/{archiveVersionName}": { - "get": { - "operationId": "ArchiveVersions_Get", - "tags": [ - "ArchiveVersions" - ], - "description": "Gets the properties of the archive version.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveVersionName", - "in": "path", - "description": "The name of the archive version resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionGet": { - "$ref": "./examples/ArchiveVersionGet.json" - } - } - }, - "put": { - "operationId": "ArchiveVersions_Create", - "tags": [ - "ArchiveVersions" - ], - "description": "Creates a archive for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveVersionName", - "in": "path", - "description": "The name of the archive version resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Resource 'ArchiveVersion' update operation succeeded", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "201": { - "description": "Resource 'ArchiveVersion' create operation succeeded", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionCreate": { - "$ref": "./examples/ArchiveVersionCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ArchiveVersion" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ArchiveVersions_Delete", - "tags": [ - "ArchiveVersions" - ], - "description": "Deletes a archive version from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "archiveVersionName", - "in": "path", - "description": "The name of the archive version resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionDelete": { - "$ref": "./examples/ArchiveVersionDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { - "get": { - "operationId": "CacheRules_List", - "tags": [ - "CacheRules" - ], - "description": "Lists all cache rule resources for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CacheRuleListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleList": { - "$ref": "./examples/CacheRuleList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { - "get": { - "operationId": "CacheRules_Get", - "tags": [ - "CacheRules" - ], - "description": "Gets the properties of the specified cache rule resource.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleGet": { - "$ref": "./examples/CacheRuleGet.json" - } - } - }, - "put": { - "operationId": "CacheRules_Create", - "tags": [ - "CacheRules" - ], - "description": "Creates a cache rule for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "cacheRuleCreateParameters", - "in": "body", - "description": "The parameters for creating a cache rule.", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRule" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CacheRule' update operation succeeded", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "Resource 'CacheRule' create operation succeeded", - "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleCreate": { - "$ref": "./examples/CacheRuleCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/CacheRule" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CacheRules_Update", - "tags": [ - "CacheRules" - ], - "description": "Updates a cache rule for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "cacheRuleUpdateParameters", - "in": "body", - "description": "The parameters for updating a cache rule.", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRuleUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "Resource 'CacheRule' create operation succeeded", - "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleUpdate": { - "$ref": "./examples/CacheRuleUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", - "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CCacheRule%3E" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CacheRules_Delete", - "tags": [ - "CacheRules" - ], - "description": "Deletes a cache rule resource from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleDelete": { - "$ref": "./examples/CacheRuleDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { - "get": { - "operationId": "ConnectedRegistries_List", - "tags": [ - "ConnectedRegistries" - ], - "description": "Lists all connected registries for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "$filter", - "in": "query", - "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ConnectedRegistryListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryList": { - "$ref": "./examples/ConnectedRegistryList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { - "get": { - "operationId": "ConnectedRegistries_Get", - "tags": [ - "ConnectedRegistries" - ], - "description": "Gets the properties of the connected registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryGet": { - "$ref": "./examples/ConnectedRegistryGet.json" - } - } - }, - "put": { - "operationId": "ConnectedRegistries_Create", - "tags": [ - "ConnectedRegistries" - ], - "description": "Creates a connected registry for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryCreateParameters", - "in": "body", - "description": "The parameters for creating a connectedRegistry.", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ConnectedRegistry' update operation succeeded", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "201": { - "description": "Resource 'ConnectedRegistry' create operation succeeded", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryCreate": { - "$ref": "./examples/ConnectedRegistryCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ConnectedRegistry" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ConnectedRegistries_Update", - "tags": [ - "ConnectedRegistries" - ], - "description": "Updates a connected registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryUpdateParameters", - "in": "body", - "description": "The parameters for updating a connectedRegistry.", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectedRegistryUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "201": { - "description": "Resource 'ConnectedRegistry' create operation succeeded", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryUpdate": { - "$ref": "./examples/ConnectedRegistryUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", - "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CConnectedRegistry%3E" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ConnectedRegistries_Delete", - "tags": [ - "ConnectedRegistries" - ], - "description": "Deletes a connected registry from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryDelete": { - "$ref": "./examples/ConnectedRegistryDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { - "post": { - "operationId": "ConnectedRegistries_Deactivate", - "tags": [ - "ConnectedRegistries" - ], - "description": "Deactivates the connected registry instance.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "The request has succeeded." - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryDeactivate": { - "$ref": "./examples/ConnectedRegistryDeactivate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location", - "final-state-schema": "#/definitions/TypeSpec.Http.OkResponse" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { - "get": { - "operationId": "CredentialSets_List", - "tags": [ - "CredentialSets" - ], - "description": "Lists all credential set resources for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CredentialSetListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetList": { - "$ref": "./examples/CredentialSetList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { - "get": { - "operationId": "CredentialSets_Get", - "tags": [ - "CredentialSets" - ], - "description": "Gets the properties of the specified credential set resource.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetGet": { - "$ref": "./examples/CredentialSetGet.json" - } - } - }, - "put": { - "operationId": "CredentialSets_Create", - "tags": [ - "CredentialSets" - ], - "description": "Creates a credential set for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "credentialSetCreateParameters", - "in": "body", - "description": "The parameters for creating a credential set.", - "required": true, - "schema": { - "$ref": "#/definitions/CredentialSet" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CredentialSet' update operation succeeded", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "Resource 'CredentialSet' create operation succeeded", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetCreate": { - "$ref": "./examples/CredentialSetCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/CredentialSet" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CredentialSets_Update", - "tags": [ - "CredentialSets" - ], - "description": "Updates a credential set for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "credentialSetUpdateParameters", - "in": "body", - "description": "The parameters for updating a credential set.", - "required": true, - "schema": { - "$ref": "#/definitions/CredentialSetUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "Resource 'CredentialSet' create operation succeeded", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetUpdate": { - "$ref": "./examples/CredentialSetUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", - "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CCredentialSet%3E" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CredentialSets_Delete", - "tags": [ - "CredentialSets" - ], - "description": "Deletes a credential set from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetDelete": { - "$ref": "./examples/CredentialSetDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines": { - "get": { - "operationId": "ExportPipelines_List", - "tags": [ - "ExportPipelines" - ], - "description": "Lists all export pipelines for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExportPipelineListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineList": { - "$ref": "./examples/ExportPipelineList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { - "get": { - "operationId": "ExportPipelines_Get", - "tags": [ - "ExportPipelines" - ], - "description": "Gets the properties of the export pipeline.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineName", - "in": "path", - "description": "The name of the export pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineGet": { - "$ref": "./examples/ExportPipelineGet.json" - } - } - }, - "put": { - "operationId": "ExportPipelines_Create", - "tags": [ - "ExportPipelines" - ], - "description": "Creates an export pipeline for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineName", - "in": "path", - "description": "The name of the export pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineCreateParameters", - "in": "body", - "description": "The parameters for creating an export pipeline.", - "required": true, - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ExportPipeline' update operation succeeded", - "schema": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "201": { - "description": "Resource 'ExportPipeline' create operation succeeded", - "schema": { - "$ref": "#/definitions/ExportPipeline" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineCreate": { - "$ref": "./examples/ExportPipelineCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ExportPipeline" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExportPipelines_Delete", - "tags": [ - "ExportPipelines" - ], - "description": "Deletes an export pipeline from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "exportPipelineName", - "in": "path", - "description": "The name of the export pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExportPipelineDelete": { - "$ref": "./examples/ExportPipelineDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { - "post": { - "operationId": "Registries_GenerateCredentials", - "tags": [ - "Registries" - ], - "description": "Generate keys for a token of a specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "generateCredentialsParameters", - "in": "body", - "description": "The parameters for generating credentials.", - "required": true, - "schema": { - "$ref": "#/definitions/GenerateCredentialsParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/GenerateCredentialsResult" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGenerateCredentials": { - "$ref": "./examples/RegistryGenerateCredentials.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location", - "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CGenerateCredentialsResult%3E" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { - "post": { - "operationId": "Registries_ImportImage", - "tags": [ - "Registries" - ], - "description": "Copies an image to this container registry from the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "parameters", - "in": "body", - "description": "The parameters specifying the image to copy and the source container registry.", - "required": true, - "schema": { - "$ref": "#/definitions/ImportImageParameters" - } - } - ], - "responses": { - "200": { - "description": "The request has succeeded." - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportImageByManifestDigest": { - "$ref": "./examples/ImportImageByManifestDigest.json" - }, - "ImportImageByTag": { - "$ref": "./examples/ImportImageByTag.json" - }, - "ImportImageFromPublicRegistry": { - "$ref": "./examples/ImportImageFromPublicRegistry.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location", - "final-state-schema": "#/definitions/TypeSpec.Http.OkResponse" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { - "get": { - "operationId": "ImportPipelines_List", - "tags": [ - "ImportPipelines" - ], - "description": "Lists all import pipelines for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImportPipelineListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineList": { - "$ref": "./examples/ImportPipelineList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { - "get": { - "operationId": "ImportPipelines_Get", - "tags": [ - "ImportPipelines" - ], - "description": "Gets the properties of the import pipeline.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineName", - "in": "path", - "description": "The name of the import pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineGet": { - "$ref": "./examples/ImportPipelineGet.json" - } - } - }, - "put": { - "operationId": "ImportPipelines_Create", - "tags": [ - "ImportPipelines" - ], - "description": "Creates an import pipeline for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineName", - "in": "path", - "description": "The name of the import pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineCreateParameters", - "in": "body", - "description": "The parameters for creating an import pipeline.", - "required": true, - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ImportPipeline' update operation succeeded", - "schema": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "201": { - "description": "Resource 'ImportPipeline' create operation succeeded", - "schema": { - "$ref": "#/definitions/ImportPipeline" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineCreate": { - "$ref": "./examples/ImportPipelineCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ImportPipeline" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ImportPipelines_Delete", - "tags": [ - "ImportPipelines" - ], - "description": "Deletes an import pipeline from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "importPipelineName", - "in": "path", - "description": "The name of the import pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportPipelineDelete": { - "$ref": "./examples/ImportPipelineDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { - "post": { - "operationId": "Registries_ListCredentials", - "tags": [ - "Registries" - ], - "description": "Lists the login credentials for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryListCredentials": { - "$ref": "./examples/RegistryListCredentials.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { - "get": { - "operationId": "Registries_ListUsages", - "tags": [ - "Registries" - ], - "description": "Gets the quota usages for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/RegistryUsageListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryListUsages": { - "$ref": "./examples/RegistryListUsages.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { - "get": { - "operationId": "PipelineRuns_List", - "tags": [ - "PipelineRuns" - ], - "description": "Lists all the pipeline runs for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/PipelineRunListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunList": { - "$ref": "./examples/PipelineRunList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { - "get": { - "operationId": "PipelineRuns_Get", - "tags": [ - "PipelineRuns" - ], - "description": "Gets the detailed information for a given pipeline run.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "description": "The name of the pipeline run.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/PipelineRun" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunGet": { - "$ref": "./examples/PipelineRunGet.json" - } - } - }, - "put": { - "operationId": "PipelineRuns_Create", - "tags": [ - "PipelineRuns" - ], - "description": "Creates a pipeline run for a container registry with the specified parameters", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "description": "The name of the pipeline run.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunCreateParameters", - "in": "body", - "description": "The parameters for creating a pipeline run.", - "required": true, - "schema": { - "$ref": "#/definitions/PipelineRun" - } - } - ], - "responses": { - "200": { - "description": "Resource 'PipelineRun' update operation succeeded", - "schema": { - "$ref": "#/definitions/PipelineRun" - } - }, - "201": { - "description": "Resource 'PipelineRun' create operation succeeded", - "schema": { - "$ref": "#/definitions/PipelineRun" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunCreate_Export": { - "$ref": "./examples/PipelineRunCreate_Export.json" - }, - "PipelineRunCreate_Import": { - "$ref": "./examples/PipelineRunCreate_Import.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/PipelineRun" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "PipelineRuns_Delete", - "tags": [ - "PipelineRuns" - ], - "description": "Deletes a pipeline run from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "description": "The name of the pipeline run.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PipelineRunDelete": { - "$ref": "./examples/PipelineRunDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { - "get": { - "operationId": "PrivateEndpointConnections_List", - "tags": [ - "PrivateEndpointConnections" - ], - "description": "List all private endpoint connections in a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionList": { - "$ref": "./examples/PrivateEndpointConnectionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "operationId": "PrivateEndpointConnections_Get", - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Get the specified private endpoint connection associated with the container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionGet": { - "$ref": "./examples/PrivateEndpointConnectionGet.json" - } - } - }, - "put": { - "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Update the state of specified private endpoint connection associated with the container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnection", - "in": "body", - "description": "The parameters for creating a private endpoint connection.", - "required": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'PrivateEndpointConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "201": { - "description": "Resource 'PrivateEndpointConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionCreateOrUpdate": { - "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/PrivateEndpointConnection" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "PrivateEndpointConnections_Delete", - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Deletes the specified private endpoint connection associated with the container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionDelete": { - "$ref": "./examples/PrivateEndpointConnectionDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { - "get": { - "operationId": "Registries_ListPrivateLinkResources", - "tags": [ - "PrivateLinkResources" - ], - "description": "Lists the private link resources for a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryListPrivateLinkResources": { - "$ref": "./examples/RegistryListPrivateLinkResources.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { - "get": { - "operationId": "Registries_GetPrivateLinkResource", - "tags": [ - "PrivateLinkResources" - ], - "description": "Gets a private link resource by a specified group name for a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "groupName", - "in": "path", - "description": "The name of the private link resource.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGetPrivateLinkResource": { - "$ref": "./examples/RegistryGetPrivateLinkResource.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { - "post": { - "operationId": "Registries_RegenerateCredential", - "tags": [ - "Registries" - ], - "description": "Regenerates one of the login credentials for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "regenerateCredentialParameters", - "in": "body", - "description": "Specifies name of the password which should be regenerated -- password or password2.", - "required": true, - "schema": { - "$ref": "#/definitions/RegenerateCredentialParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryRegenerateCredential": { - "$ref": "./examples/RegistryRegenerateCredential.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications": { - "get": { - "operationId": "Replications_List", - "tags": [ - "Replications" - ], - "description": "Lists all the replications for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ReplicationListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ReplicationList": { - "$ref": "./examples/ReplicationList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { - "get": { - "operationId": "Replications_Get", - "tags": [ - "Replications" - ], - "description": "Gets the properties of the specified replication.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ReplicationGet": { - "$ref": "./examples/ReplicationGet.json" - } - } - }, - "put": { - "operationId": "Replications_Create", - "tags": [ - "Replications" - ], - "description": "Creates a replication for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replication", - "in": "body", - "description": "The parameters for creating a replication.", - "required": true, - "schema": { - "$ref": "#/definitions/Replication" - } - } - ], - "responses": { - "200": { - "description": "Resource 'Replication' update operation succeeded", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "201": { - "description": "Resource 'Replication' create operation succeeded", - "schema": { - "$ref": "#/definitions/Replication" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ReplicationCreate": { - "$ref": "./examples/ReplicationCreate.json" - }, - "ReplicationCreateZoneRedundant": { - "$ref": "./examples/ReplicationCreateZoneRedundant.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Replication" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Replications_Update", - "tags": [ - "Replications" - ], - "description": "Updates a replication for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationUpdateParameters", - "in": "body", - "description": "The parameters for updating a replication.", - "required": true, - "schema": { - "$ref": "#/definitions/ReplicationUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "201": { - "description": "Resource 'Replication' create operation succeeded", - "schema": { - "$ref": "#/definitions/Replication" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ReplicationUpdate": { - "$ref": "./examples/ReplicationUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", - "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CReplication%3E" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Replications_Delete", - "tags": [ - "Replications" - ], - "description": "Deletes a replication from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ReplicationDelete": { - "$ref": "./examples/ReplicationDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { - "get": { - "operationId": "ScopeMaps_List", - "tags": [ - "ScopeMaps" - ], - "description": "Lists all the scope maps for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ScopeMapListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapList": { - "$ref": "./examples/ScopeMapList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { - "get": { - "operationId": "ScopeMaps_Get", - "tags": [ - "ScopeMaps" - ], - "description": "Gets the properties of the specified scope map.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapGet": { - "$ref": "./examples/ScopeMapGet.json" - } - } - }, - "put": { - "operationId": "ScopeMaps_Create", - "tags": [ - "ScopeMaps" - ], - "description": "Creates a scope map for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - }, - { - "name": "scopeMapCreateParameters", - "in": "body", - "description": "The parameters for creating a scope map.", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeMap" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ScopeMap' update operation succeeded", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "201": { - "description": "Resource 'ScopeMap' create operation succeeded", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapCreate": { - "$ref": "./examples/ScopeMapCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ScopeMap" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ScopeMaps_Update", - "tags": [ - "ScopeMaps" - ], - "description": "Updates a scope map with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - }, - { - "name": "scopeMapUpdateParameters", - "in": "body", - "description": "The parameters for updating a scope map.", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeMapUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "201": { - "description": "Resource 'ScopeMap' create operation succeeded", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapUpdate": { - "$ref": "./examples/ScopeMapUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", - "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CScopeMap%3E" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ScopeMaps_Delete", - "tags": [ - "ScopeMaps" - ], - "description": "Deletes a scope map from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapDelete": { - "$ref": "./examples/ScopeMapDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens": { - "get": { - "operationId": "Tokens_List", - "tags": [ - "Tokens" - ], - "description": "Lists all the tokens for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TokenListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenList": { - "$ref": "./examples/TokenList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { - "get": { - "operationId": "Tokens_Get", - "tags": [ - "Tokens" - ], - "description": "Gets the properties of the specified token.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenGet": { - "$ref": "./examples/TokenGet.json" - } - } - }, - "put": { - "operationId": "Tokens_Create", - "tags": [ - "Tokens" - ], - "description": "Creates a token for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "tokenCreateParameters", - "in": "body", - "description": "The parameters for creating a token.", - "required": true, - "schema": { - "$ref": "#/definitions/Token" - } - } - ], - "responses": { - "200": { - "description": "Resource 'Token' update operation succeeded", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "201": { - "description": "Resource 'Token' create operation succeeded", - "schema": { - "$ref": "#/definitions/Token" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenCreate": { - "$ref": "./examples/TokenCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Token" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Tokens_Update", - "tags": [ - "Tokens" - ], - "description": "Updates a token with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "tokenUpdateParameters", - "in": "body", - "description": "The parameters for updating a token.", - "required": true, - "schema": { - "$ref": "#/definitions/TokenUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "201": { - "description": "Resource 'Token' create operation succeeded", - "schema": { - "$ref": "#/definitions/Token" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenUpdate": { - "$ref": "./examples/TokenUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", - "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CToken%3E" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Tokens_Delete", - "tags": [ - "Tokens" - ], - "description": "Deletes a token from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenDelete": { - "$ref": "./examples/TokenDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks": { - "get": { - "operationId": "Webhooks_List", - "tags": [ - "Webhooks" - ], - "description": "Lists all the webhooks for the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WebhookListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookList": { - "$ref": "./examples/WebhookList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { - "get": { - "operationId": "Webhooks_Get", - "tags": [ - "Webhooks" - ], - "description": "Gets the properties of the specified webhook.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookGet": { - "$ref": "./examples/WebhookGet.json" - } - } - }, - "put": { - "operationId": "Webhooks_Create", - "tags": [ - "Webhooks" - ], - "description": "Creates a webhook for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookCreateParameters", - "in": "body", - "description": "The parameters for creating a webhook.", - "required": true, - "schema": { - "$ref": "#/definitions/WebhookCreateParameters" - } - } - ], - "responses": { - "200": { - "description": "Resource 'Webhook' update operation succeeded", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "201": { - "description": "Resource 'Webhook' create operation succeeded", - "schema": { - "$ref": "#/definitions/Webhook" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookCreate": { - "$ref": "./examples/WebhookCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Webhook" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Webhooks_Update", - "tags": [ - "Webhooks" - ], - "description": "Updates a webhook with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookUpdateParameters", - "in": "body", - "description": "The parameters for updating a webhook.", - "required": true, - "schema": { - "$ref": "#/definitions/WebhookUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "201": { - "description": "Resource 'Webhook' create operation succeeded", - "schema": { - "$ref": "#/definitions/Webhook" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookUpdate": { - "$ref": "./examples/WebhookUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", - "final-state-schema": "#/definitions/Azure.ResourceManager.ArmResponse%3CWebhook%3E" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Webhooks_Delete", - "tags": [ - "Webhooks" - ], - "description": "Deletes a webhook from a container registry.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookDelete": { - "$ref": "./examples/WebhookDelete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { - "post": { - "operationId": "Webhooks_GetCallbackConfig", - "tags": [ - "Webhooks" - ], - "description": "Gets the configuration of service URI and custom headers for the webhook.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CallbackConfig" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookGetCallbackConfig": { - "$ref": "./examples/WebhookGetCallbackConfig.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { - "post": { - "operationId": "Webhooks_ListEvents", - "tags": [ - "Webhooks" - ], - "description": "Lists recent events for the specified webhook.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EventListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookListEvents": { - "$ref": "./examples/WebhookListEvents.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { - "post": { - "operationId": "Webhooks_Ping", - "tags": [ - "Webhooks" - ], - "description": "Triggers a ping event to be sent to the webhook.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EventInfo" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "WebhookPing": { - "$ref": "./examples/WebhookPing.json" - } - } - } - } - }, - "definitions": { - "ActionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "enum": [ - "None", - "Recreate" - ], - "x-ms-enum": { - "name": "ActionsRequired", - "modelAsString": true, - "values": [ - { - "name": "None", - "value": "None" - }, - { - "name": "Recreate", - "value": "Recreate" - } - ] - } - }, - "ActivationProperties": { - "type": "object", - "description": "The activation properties of the connected registry.", - "properties": { - "status": { - "$ref": "#/definitions/ActivationStatus", - "description": "The activation status of the connected registry.", - "readOnly": true - } - } - }, - "ActivationStatus": { - "type": "string", - "description": "The activation status of the connected registry.", - "enum": [ - "Active", - "Inactive" - ], - "x-ms-enum": { - "name": "ActivationStatus", - "modelAsString": true, - "values": [ - { - "name": "Active", - "value": "Active" - }, - { - "name": "Inactive", - "value": "Inactive" - } - ] - } - }, - "Actor": { - "type": "object", - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", - "properties": { - "name": { - "type": "string", - "description": "The subject or username associated with the request context that generated the event." - } - } - }, - "Archive": { - "type": "object", - "description": "An object that represents a archive for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveProperties", - "description": "The properties of the archive.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ArchiveListResult": { - "type": "object", - "description": "The response of a Archive list operation.", - "properties": { - "value": { - "type": "array", - "description": "The Archive items on this page", - "items": { - "$ref": "#/definitions/Archive" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ArchivePackageSourceProperties": { - "type": "object", - "description": "The properties of the archive package source.", - "properties": { - "type": { - "$ref": "#/definitions/PackageSourceType", - "description": "The type of package source for a archive." - }, - "url": { - "type": "string", - "description": "The external repository url." - } - } - }, - "ArchiveProperties": { - "type": "object", - "description": "The properties of a archive.", - "properties": { - "packageSource": { - "$ref": "#/definitions/ArchivePackageSourceProperties", - "description": "The package source of the archive." - }, - "publishedVersion": { - "type": "string", - "description": "The published version of the archive." - }, - "repositoryEndpointPrefix": { - "type": "string" - }, - "repositoryEndpoint": { - "type": "string", - "readOnly": true - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of the archive at the time the operation was called.", - "readOnly": true - } - } - }, - "ArchiveUpdateParameters": { - "type": "object", - "description": "The parameters for updating a archive.", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveUpdateProperties", - "description": "The properties of the connected registry update parameters.", - "x-ms-client-flatten": true - } - } - }, - "ArchiveUpdateProperties": { - "type": "object", - "description": "The properties of a archive.", - "properties": { - "publishedVersion": { - "type": "string", - "description": "The published version of the archive." - } - } - }, - "ArchiveVersion": { - "type": "object", - "description": "An object that represents an export pipeline for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveVersionProperties", - "description": "The properties of the archive.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ArchiveVersionListResult": { - "type": "object", - "description": "The response of a ArchiveVersion list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ArchiveVersion items on this page", - "items": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ArchiveVersionProperties": { - "type": "object", - "description": "The properties of an export pipeline.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of the archive at the time the operation was called.", - "readOnly": true - }, - "archiveVersionErrorMessage": { - "type": "string", - "description": "The detailed error message for the archive version in the case of failure." - } - } - }, - "AuthCredential": { - "type": "object", - "description": "Authentication credential stored for an upstream.", - "properties": { - "name": { - "$ref": "#/definitions/CredentialName", - "description": "The name of the credential." - }, - "usernameSecretIdentifier": { - "type": "string", - "description": "KeyVault Secret URI for accessing the username." - }, - "passwordSecretIdentifier": { - "type": "string", - "description": "KeyVault Secret URI for accessing the password." - }, - "credentialHealth": { - "$ref": "#/definitions/CredentialHealth", - "description": "This provides data pertaining to the health of the auth credential.", - "readOnly": true - } - } - }, - "AutoGeneratedDomainNameLabelScope": { - "type": "string", - "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true, - "values": [ - { - "name": "Unsecure", - "value": "Unsecure" - }, - { - "name": "TenantReuse", - "value": "TenantReuse" - }, - { - "name": "SubscriptionReuse", - "value": "SubscriptionReuse" - }, - { - "name": "ResourceGroupReuse", - "value": "ResourceGroupReuse" - }, - { - "name": "NoReuse", - "value": "NoReuse" - } - ] - } - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/CacheRule", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/ConnectedRegistry", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/CredentialSet", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/GenerateCredentialsResult", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/Registry", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/Replication", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/ScopeMap", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/Token", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, - "Azure.ResourceManager.ArmResponse": { - "type": "object", - "description": "Azure operation completed successfully.", - "properties": { - "body": { - "$ref": "#/definitions/Webhook", - "description": "The body type of the operation request or response." - } - }, - "required": [ - "body" - ] - }, - "AzureADAuthenticationAsArmPolicy": { - "type": "object", - "description": "The policy for using Azure Resource Manager audience token for a container registry.", - "properties": { - "status": { - "type": "string", - "description": "The value that indicates whether the policy is enabled or not.", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "AzureADAuthenticationAsArmPolicyStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] - } - } - } - }, - "CacheRule": { - "type": "object", - "description": "An object that represents a cache rule for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/CacheRuleProperties", - "description": "The properties of the cache rule.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "CacheRuleListResult": { - "type": "object", - "description": "The response of a CacheRule list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CacheRule items on this page", - "items": { - "$ref": "#/definitions/CacheRule" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CacheRuleProperties": { - "type": "object", - "description": "The properties of a cache rule.", - "properties": { - "credentialSetResourceId": { - "type": "string", - "description": "The ARM resource ID of the credential store which is associated with the cache rule." - }, - "sourceRepository": { - "type": "string", - "description": "Source repository pulled from upstream." - }, - "targetRepository": { - "type": "string", - "description": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}" - }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "The creation date of the cache rule.", - "readOnly": true - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true - } - } - }, - "CacheRuleUpdateParameters": { - "type": "object", - "description": "The parameters for updating a cache rule.", - "properties": { - "properties": { - "$ref": "#/definitions/CacheRuleUpdateProperties", - "description": "The properties of the cache rule update parameters.", - "x-ms-client-flatten": true - } - } - }, - "CacheRuleUpdateProperties": { - "type": "object", - "description": "The parameters for updating cache rule properties.", - "properties": { - "credentialSetResourceId": { - "type": "string", - "description": "The ARM resource ID of the credential store which is associated with the Cache rule." - } - } - }, - "CallbackConfig": { - "type": "object", - "description": "The configuration of service URI and custom headers for the webhook.", - "properties": { - "serviceUri": { - "type": "string", - "description": "The service URI for the webhook to post notifications." - }, - "customHeaders": { - "type": "object", - "description": "Custom headers that will be added to the webhook notifications.", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "serviceUri" - ] - }, - "CertificateType": { - "type": "string", - "description": "The type of certificate location.", - "enum": [ - "LocalDirectory" - ], - "x-ms-enum": { - "name": "CertificateType", - "modelAsString": true, - "values": [ - { - "name": "LocalDirectory", - "value": "LocalDirectory" - } - ] - } - }, - "ConnectedRegistry": { - "type": "object", - "description": "An object that represents a connected registry for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryProperties", - "description": "The properties of the connected registry.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ConnectedRegistryListResult": { - "type": "object", - "description": "The response of a ConnectedRegistry list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ConnectedRegistry items on this page", - "items": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ConnectedRegistryMode": { - "type": "string", - "description": "The mode of the connected registry resource that indicates the permissions of the registry.", - "enum": [ - "ReadWrite", - "ReadOnly", - "Registry", - "Mirror" - ], - "x-ms-enum": { - "name": "ConnectedRegistryMode", - "modelAsString": true, - "values": [ - { - "name": "ReadWrite", - "value": "ReadWrite" - }, - { - "name": "ReadOnly", - "value": "ReadOnly" - }, - { - "name": "Registry", - "value": "Registry" - }, - { - "name": "Mirror", - "value": "Mirror" - } - ] - } - }, - "ConnectedRegistryProperties": { - "type": "object", - "description": "The properties of a connected registry.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true - }, - "mode": { - "$ref": "#/definitions/ConnectedRegistryMode", - "description": "The mode of the connected registry resource that indicates the permissions of the registry." - }, - "version": { - "type": "string", - "description": "The current version of ACR runtime on the connected registry.", - "readOnly": true - }, - "connectionState": { - "$ref": "#/definitions/ConnectionState", - "description": "The current connection state of the connected registry.", - "readOnly": true - }, - "lastActivityTime": { - "type": "string", - "format": "date-time", - "description": "The last activity time of the connected registry.", - "readOnly": true - }, - "activation": { - "$ref": "#/definitions/ActivationProperties", - "description": "The activation properties of the connected registry.", - "readOnly": true - }, - "parent": { - "$ref": "#/definitions/ParentProperties", - "description": "The parent of the connected registry." - }, - "clientTokenIds": { - "type": "array", - "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", - "items": { - "type": "string" - } - }, - "loginServer": { - "$ref": "#/definitions/LoginServerProperties", - "description": "The login server properties of the connected registry." - }, - "logging": { - "$ref": "#/definitions/LoggingProperties", - "description": "The logging properties of the connected registry." - }, - "statusDetails": { - "type": "array", - "description": "The list of current statuses of the connected registry.", - "items": { - "$ref": "#/definitions/StatusDetailProperties" - }, - "readOnly": true, - "x-ms-identifiers": [ - "correlationId" - ] - }, - "notificationsList": { - "type": "array", - "description": "The list of notifications subscription information for the connected registry.", - "items": { - "type": "string" - } - }, - "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties", - "description": "The garbage collection properties of the connected registry." - } - }, - "required": [ - "mode", - "parent" - ] - }, - "ConnectedRegistryUpdateParameters": { - "type": "object", - "description": "The parameters for updating a connected registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryUpdateProperties", - "description": "The properties of the connected registry update parameters.", - "x-ms-client-flatten": true - } - } - }, - "ConnectedRegistryUpdateProperties": { - "type": "object", - "description": "The parameters for updating token properties.", - "properties": { - "syncProperties": { - "$ref": "#/definitions/SyncUpdateProperties", - "description": "The sync properties of the connected registry with its parent." - }, - "logging": { - "$ref": "#/definitions/LoggingProperties", - "description": "The logging properties of the connected registry." - }, - "clientTokenIds": { - "type": "array", - "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", - "items": { - "type": "string" - } - }, - "notificationsList": { - "type": "array", - "description": "The list of notifications subscription information for the connected registry.", - "items": { - "type": "string" - } - }, - "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties", - "description": "The garbage collection properties of the connected registry." - } - } - }, - "ConnectionState": { - "type": "string", - "description": "The current connection state of the connected registry.", - "enum": [ - "Online", - "Offline", - "Syncing", - "Unhealthy" - ], - "x-ms-enum": { - "name": "ConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Online", - "value": "Online" - }, - { - "name": "Offline", - "value": "Offline" - }, - { - "name": "Syncing", - "value": "Syncing" - }, - { - "name": "Unhealthy", - "value": "Unhealthy" - } - ] - } - }, - "ConnectionStatus": { - "type": "string", - "description": "The private link service connection status.", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ], - "x-ms-enum": { - "name": "ConnectionStatus", - "modelAsString": true, - "values": [ - { - "name": "Approved", - "value": "Approved" - }, - { - "name": "Pending", - "value": "Pending" - }, - { - "name": "Rejected", - "value": "Rejected" - }, - { - "name": "Disconnected", - "value": "Disconnected" - } - ] - } - }, - "CredentialHealth": { - "type": "object", - "description": "The health of the auth credential.", - "properties": { - "status": { - "$ref": "#/definitions/CredentialHealthStatus", - "description": "The health status of credential." - }, - "errorCode": { - "type": "string", - "description": "Error code representing the health check error." - }, - "errorMessage": { - "type": "string", - "description": "Descriptive message representing the health check error." - } - } - }, - "CredentialHealthStatus": { - "type": "string", - "description": "The health status of credential.", - "enum": [ - "Healthy", - "Unhealthy" - ], - "x-ms-enum": { - "name": "CredentialHealthStatus", - "modelAsString": true, - "values": [ - { - "name": "Healthy", - "value": "Healthy" - }, - { - "name": "Unhealthy", - "value": "Unhealthy" - } - ] - } - }, - "CredentialName": { - "type": "string", - "description": "The name of the credential.", - "enum": [ - "Credential1" - ], - "x-ms-enum": { - "name": "CredentialName", - "modelAsString": true, - "values": [ - { - "name": "Credential1", - "value": "Credential1" - } - ] - } - }, - "CredentialSet": { - "type": "object", - "description": "An object that represents a credential set resource for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetProperties", - "description": "The properties of the credential set.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "CredentialSetListResult": { - "type": "object", - "description": "The response of a CredentialSet list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CredentialSet items on this page", - "items": { - "$ref": "#/definitions/CredentialSet" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CredentialSetProperties": { - "type": "object", - "description": "The properties of a credential set resource.", - "properties": { - "loginServer": { - "type": "string", - "description": "The credentials are stored for this upstream or login server." - }, - "authCredentials": { - "type": "array", - "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "The creation date of credential store resource.", - "readOnly": true - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true - } - } - }, - "CredentialSetUpdateParameters": { - "type": "object", - "description": "The parameters for updating a credential set", - "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetUpdateProperties", - "description": "The properties of the credential set update parameters", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." - } - } - }, - "CredentialSetUpdateProperties": { - "type": "object", - "description": "The parameters for updating credential set properties.", - "properties": { - "authCredentials": { - "type": "array", - "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "DebianArchivePackageSourceProperties": { - "type": "object", - "description": "The properties of the archive package source.", - "properties": { - "distributionName": { - "type": "string", - "description": "Upstream Debian distribution Name." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ArchivePackageSourceProperties" - } - ] - }, - "DebianArchiveProperties": { - "type": "object", - "description": "The properties of the Debian package Archive.", - "properties": { - "distributionName": { - "type": "string", - "description": "Debian distribution Name." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ArchiveProperties" - } - ] - }, - "EncryptionProperty": { - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/EncryptionStatus", - "description": "Indicates whether or not the encryption is enabled for container registry." - }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", - "description": "Key vault properties." - } - } - }, - "EncryptionStatus": { - "type": "string", - "description": "Indicates whether or not the encryption is enabled for container registry.", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "EncryptionStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] - } - }, - "Event": { - "type": "object", - "description": "The event for a webhook.", - "properties": { - "eventRequestMessage": { - "$ref": "#/definitions/EventRequestMessage", - "description": "The event request message sent to the service URI." - }, - "eventResponseMessage": { - "$ref": "#/definitions/EventResponseMessage", - "description": "The event response message received from the service URI." - } - }, - "allOf": [ - { - "$ref": "#/definitions/EventInfo" - } - ] - }, - "EventContent": { - "type": "object", - "description": "The content of the event request message.", - "properties": { - "id": { - "type": "string", - "description": "The event ID." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The time at which the event occurred." - }, - "action": { - "type": "string", - "description": "The action that encompasses the provided event." - }, - "target": { - "$ref": "#/definitions/Target", - "description": "The target of the event." - }, - "request": { - "$ref": "#/definitions/Request", - "description": "The request that generated the event." - }, - "actor": { - "$ref": "#/definitions/Actor", - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." - }, - "source": { - "$ref": "#/definitions/Source", - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." - } - } - }, - "EventInfo": { - "type": "object", - "description": "The basic information of an event.", - "properties": { - "id": { - "type": "string", - "description": "The event ID." - } - } - }, - "EventListResult": { - "type": "object", - "description": "The result of a request to list events for a webhook.", - "properties": { - "value": { - "type": "array", - "description": "The Event items on this page", - "items": { - "$ref": "#/definitions/Event" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EventRequestMessage": { - "type": "object", - "description": "The event request message sent to the service URI.", - "properties": { - "content": { - "$ref": "#/definitions/EventContent", - "description": "The content of the event request message." - }, - "headers": { - "type": "object", - "description": "The headers of the event request message.", - "additionalProperties": { - "type": "string" - } - }, - "method": { - "type": "string", - "description": "The HTTP method used to send the event request message." - }, - "requestUri": { - "type": "string", - "description": "The URI used to send the event request message." - }, - "version": { - "type": "string", - "description": "The HTTP message version." - } - } - }, - "EventResponseMessage": { - "type": "object", - "description": "The event response message received from the service URI.", - "properties": { - "content": { - "type": "string", - "description": "The content of the event response message." - }, - "headers": { - "type": "object", - "description": "The headers of the event response message.", - "additionalProperties": { - "type": "string" - } - }, - "reasonPhrase": { - "type": "string", - "description": "The reason phrase of the event response message." - }, - "statusCode": { - "type": "string", - "description": "The status code of the event response message." - }, - "version": { - "type": "string", - "description": "The HTTP message version." - } - } - }, - "ExportPipeline": { - "type": "object", - "description": "An object that represents an export pipeline for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ExportPipelineProperties", - "description": "The properties of the export pipeline.", - "x-ms-client-flatten": true - }, - "location": { - "type": "string", - "description": "The location of the export pipeline." - }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the export pipeline." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ExportPipelineListResult": { - "type": "object", - "description": "The response of a ExportPipeline list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ExportPipeline items on this page", - "items": { - "$ref": "#/definitions/ExportPipeline" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ExportPipelineProperties": { - "type": "object", - "description": "The properties of an export pipeline.", - "properties": { - "target": { - "$ref": "#/definitions/ExportPipelineTargetProperties", - "description": "The target properties of the export pipeline." - }, - "options": { - "type": "array", - "description": "The list of all options configured for the pipeline.", - "items": { - "$ref": "#/definitions/PipelineOptions" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of the pipeline at the time the operation was called.", - "readOnly": true - } - }, - "required": [ - "target" - ] - }, - "ExportPipelineTargetProperties": { - "type": "object", - "description": "The properties of the export pipeline target.", - "properties": { - "type": { - "type": "string", - "description": "The type of target for the export pipeline." - }, - "uri": { - "type": "string", - "description": "The target uri of the export pipeline.\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" - }, - "keyVaultUri": { - "type": "string", - "description": "They key vault secret uri to obtain the target storage SAS token." - } - }, - "required": [ - "keyVaultUri" - ] - }, - "ExportPolicy": { - "type": "object", - "description": "The export policy for a container registry.", - "properties": { - "status": { - "type": "string", - "description": "The value that indicates whether the policy is enabled or not.", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "ExportPolicyStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] - } - } - } - }, - "GarbageCollectionProperties": { - "type": "object", - "description": "The garbage collection properties of the connected registry.", - "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether garbage collection is enabled for the connected registry." - }, - "schedule": { - "type": "string", - "description": "The cron expression indicating the schedule that the connected registry will run garbage collection." - } - } - }, - "GenerateCredentialsParameters": { - "type": "object", - "description": "The parameters used to generate credentials for a specified token or user of a container registry.", - "properties": { - "tokenId": { - "type": "string", - "description": "The resource ID of the token for which credentials have to be generated." - }, - "expiry": { - "type": "string", - "format": "date-time", - "description": "The expiry date of the generated credentials after which the credentials become invalid." - }, - "name": { - "$ref": "#/definitions/TokenPasswordName", - "description": "Specifies name of the password which should be regenerated if any -- password1 or password2." - } - } - }, - "GenerateCredentialsResult": { - "type": "object", - "description": "The response from the GenerateCredentials operation.", - "properties": { - "username": { - "type": "string", - "description": "The username for a container registry." - }, - "passwords": { - "type": "array", - "description": "The list of passwords for a container registry.", - "items": { - "$ref": "#/definitions/TokenPassword" - }, - "x-ms-identifiers": [] - } - } - }, - "IPRule": { - "type": "object", - "description": "IP rule with specific IP or IP range in CIDR format.", - "properties": { - "action": { - "type": "string", - "description": "The action of IP ACL rule.", - "default": "Allow", - "enum": [ - "Allow" - ], - "x-ms-enum": { - "name": "Action", - "modelAsString": true, - "values": [ - { - "name": "Allow", - "value": "Allow" - } - ] - } - }, - "value": { - "type": "string", - "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", - "x-ms-client-name": "IPAddressOrRange" - } - }, - "required": [ - "value" - ] - }, - "IdentityProperties": { - "type": "object", - "description": "Managed identity for the resource.", - "properties": { - "principalId": { - "type": "string", - "description": "The principal ID of resource identity.", - "readOnly": true - }, - "tenantId": { - "type": "string", - "description": "The tenant ID of resource.", - "readOnly": true - }, - "type": { - "$ref": "#/definitions/ResourceIdentityType", - "description": "The identity type." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } - } - } - }, - "ImportImageParameters": { - "type": "object", - "properties": { - "source": { - "$ref": "#/definitions/ImportSource", - "description": "The source of the image." - }, - "targetTags": { - "type": "array", - "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", - "items": { - "type": "string" - } - }, - "untaggedTargetRepositories": { - "type": "array", - "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", - "items": { - "type": "string" - } - }, - "mode": { - "type": "string", - "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.", - "default": "NoForce", - "enum": [ - "NoForce", - "Force" - ], - "x-ms-enum": { - "name": "ImportMode", - "modelAsString": true, - "values": [ - { - "name": "NoForce", - "value": "NoForce" - }, - { - "name": "Force", - "value": "Force" - } - ] - } - } - }, - "required": [ - "source" - ] - }, - "ImportPipeline": { - "type": "object", - "description": "An object that represents an import pipeline for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ImportPipelineProperties", - "description": "The properties of the import pipeline.", - "x-ms-client-flatten": true - }, - "location": { - "type": "string", - "description": "The location of the import pipeline." - }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the import pipeline." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ImportPipelineListResult": { - "type": "object", - "description": "The response of a ImportPipeline list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ImportPipeline items on this page", - "items": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ImportPipelineProperties": { - "type": "object", - "description": "The properties of an import pipeline.", - "properties": { - "source": { - "$ref": "#/definitions/ImportPipelineSourceProperties", - "description": "The source properties of the import pipeline." - }, - "trigger": { - "$ref": "#/definitions/PipelineTriggerProperties", - "description": "The properties that describe the trigger of the import pipeline." - }, - "options": { - "type": "array", - "description": "The list of all options configured for the pipeline.", - "items": { - "$ref": "#/definitions/PipelineOptions" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of the pipeline at the time the operation was called.", - "readOnly": true - } - }, - "required": [ - "source" - ] - }, - "ImportPipelineSourceProperties": { - "type": "object", - "description": "The properties of the import pipeline source.", - "properties": { - "type": { - "type": "string", - "description": "The type of source for the import pipeline.", - "default": "AzureStorageBlobContainer", - "enum": [ - "AzureStorageBlobContainer" - ], - "x-ms-enum": { - "name": "PipelineSourceType", - "modelAsString": true, - "values": [ - { - "name": "AzureStorageBlobContainer", - "value": "AzureStorageBlobContainer" - } - ] - } - }, - "uri": { - "type": "string", - "description": "The source uri of the import pipeline.\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" - }, - "keyVaultUri": { - "type": "string", - "description": "They key vault secret uri to obtain the source storage SAS token." - } - }, - "required": [ - "keyVaultUri" - ] - }, - "ImportSource": { - "type": "object", - "properties": { - "resourceId": { - "type": "string", - "description": "The resource identifier of the source Azure Container Registry." - }, - "registryUri": { - "type": "string", - "description": "The address of the source registry (e.g. 'mcr.microsoft.com')." - }, - "credentials": { - "$ref": "#/definitions/ImportSourceCredentials", - "description": "Credentials used when importing from a registry uri." - }, - "sourceImage": { - "type": "string", - "description": "Repository name of the source image.\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123')." - } - }, - "required": [ - "sourceImage" - ] - }, - "ImportSourceCredentials": { - "type": "object", - "properties": { - "username": { - "type": "string", - "description": "The username to authenticate with the source registry." - }, - "password": { - "type": "string", - "description": "The password used to authenticate with the source registry." - } - }, - "required": [ - "password" - ] - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "keyIdentifier": { - "type": "string", - "description": "Key vault uri to access the encryption key." - }, - "versionedKeyIdentifier": { - "type": "string", - "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", - "readOnly": true - }, - "identity": { - "type": "string", - "description": "The client id of the identity which will be used to access key vault." - }, - "keyRotationEnabled": { - "type": "boolean", - "description": "Auto key rotation status for a CMK enabled registry.", - "readOnly": true - }, - "lastKeyRotationTimestamp": { - "type": "string", - "format": "date-time", - "description": "Timestamp of the last successful key rotation.", - "readOnly": true - } - } - }, - "LoggingProperties": { - "type": "object", - "description": "The logging properties of the connected registry.", - "properties": { - "logLevel": { - "type": "string", - "description": "The verbosity of logs persisted on the connected registry.", - "default": "Information", - "enum": [ - "Debug", - "Information", - "Warning", - "Error", - "None" - ], - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": true, - "values": [ - { - "name": "Debug", - "value": "Debug" - }, - { - "name": "Information", - "value": "Information" - }, - { - "name": "Warning", - "value": "Warning" - }, - { - "name": "Error", - "value": "Error" - }, - { - "name": "None", - "value": "None" - } - ] - } - }, - "auditLogStatus": { - "type": "string", - "description": "Indicates whether audit logs are enabled on the connected registry.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "AuditLogStatus", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } - } - } - }, - "LoginServerProperties": { - "type": "object", - "description": "The login server properties of the connected registry.", - "properties": { - "host": { - "type": "string", - "description": "The host of the connected registry. Can be FQDN or IP.", - "readOnly": true - }, - "tls": { - "$ref": "#/definitions/TlsProperties", - "description": "The TLS properties of the connected registry login server.", - "readOnly": true - } - } - }, - "MetadataSearch": { - "type": "string", - "description": "Determines whether registry artifacts are indexed for metadata search.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } - }, - "NetworkRuleBypassOptions": { - "type": "string", - "description": "Whether to allow trusted Azure services to access a network restricted registry.", - "enum": [ - "AzureServices", - "None" - ], - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true, - "values": [ - { - "name": "AzureServices", - "value": "AzureServices" - }, - { - "name": "None", - "value": "None" - } - ] - } - }, - "NetworkRuleSet": { - "type": "object", - "description": "The network rule set for a container registry.", - "properties": { - "defaultAction": { - "type": "string", - "description": "The default action of allow or deny when no other rules match.", - "default": "Allow", - "enum": [ - "Allow", - "Deny" - ], - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": true, - "values": [ - { - "name": "Allow", - "value": "Allow" - }, - { - "name": "Deny", - "value": "Deny" - } - ] - } - }, - "ipRules": { - "type": "array", - "description": "The IP ACL rules.", - "items": { - "$ref": "#/definitions/IPRule" - }, - "x-ms-identifiers": [] - } - }, - "required": [ - "defaultAction" - ] - }, - "PackageSourceType": { - "type": "string", - "description": "The type of package source for a archive.", - "enum": [ - "remote" - ], - "x-ms-enum": { - "name": "PackageSourceType", - "modelAsString": true, - "values": [ - { - "name": "remote", - "value": "remote" - } - ] - } - }, - "ParentProperties": { - "type": "object", - "description": "The properties of the connected registry parent.", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "The resource ID of the parent to which the connected registry will be associated." - }, - "syncProperties": { - "$ref": "#/definitions/SyncProperties", - "description": "The sync properties of the connected registry with its parent." - } - }, - "required": [ - "syncProperties" - ] - }, - "PasswordName": { - "type": "string", - "description": "The password name.", - "enum": [ - "password", - "password2" - ], - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } - }, - "PipelineOptions": { - "type": "string", - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true, - "values": [ - { - "name": "OverwriteTags", - "value": "OverwriteTags" - }, - { - "name": "OverwriteBlobs", - "value": "OverwriteBlobs" - }, - { - "name": "DeleteSourceBlobOnSuccess", - "value": "DeleteSourceBlobOnSuccess" - }, - { - "name": "ContinueOnErrors", - "value": "ContinueOnErrors" - } - ] - } - }, - "PipelineRun": { - "type": "object", - "description": "An object that represents a pipeline run for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/PipelineRunProperties", - "description": "The properties of a pipeline run.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "PipelineRunListResult": { - "type": "object", - "description": "The response of a PipelineRun list operation.", - "properties": { - "value": { - "type": "array", - "description": "The PipelineRun items on this page", - "items": { - "$ref": "#/definitions/PipelineRun" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "PipelineRunProperties": { - "type": "object", - "description": "The properties of a pipeline run.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of a pipeline run.", - "readOnly": true - }, - "request": { - "$ref": "#/definitions/PipelineRunRequest", - "description": "The request parameters for a pipeline run." - }, - "response": { - "$ref": "#/definitions/PipelineRunResponse", - "description": "The response of a pipeline run.", - "readOnly": true - }, - "forceUpdateTag": { - "type": "string", - "description": "How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed." - } - } - }, - "PipelineRunRequest": { - "type": "object", - "description": "The request properties provided for a pipeline run.", - "properties": { - "pipelineResourceId": { - "type": "string", - "description": "The resource ID of the pipeline to run." - }, - "artifacts": { - "type": "array", - "description": "List of source artifacts to be transferred by the pipeline. \nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", - "items": { - "type": "string" - } - }, - "source": { - "$ref": "#/definitions/PipelineRunSourceProperties", - "description": "The source properties of the pipeline run." - }, - "target": { - "$ref": "#/definitions/PipelineRunTargetProperties", - "description": "The target properties of the pipeline run." - }, - "catalogDigest": { - "type": "string", - "description": "The digest of the tar used to transfer the artifacts." - } - } - }, - "PipelineRunResponse": { - "type": "object", - "description": "The response properties returned for a pipeline run.", - "properties": { - "status": { - "type": "string", - "description": "The current status of the pipeline run." - }, - "importedArtifacts": { - "type": "array", - "description": "The artifacts imported in the pipeline run.", - "items": { - "type": "string" - } - }, - "progress": { - "$ref": "#/definitions/ProgressProperties", - "description": "The current progress of the copy operation." - }, - "startTime": { - "type": "string", - "format": "date-time", - "description": "The time the pipeline run started." - }, - "finishTime": { - "type": "string", - "format": "date-time", - "description": "The time the pipeline run finished." - }, - "source": { - "$ref": "#/definitions/ImportPipelineSourceProperties", - "description": "The source of the pipeline run." - }, - "target": { - "$ref": "#/definitions/ExportPipelineTargetProperties", - "description": "The target of the pipeline run." - }, - "catalogDigest": { - "type": "string", - "description": "The digest of the tar used to transfer the artifacts." - }, - "trigger": { - "$ref": "#/definitions/PipelineTriggerDescriptor", - "description": "The trigger that caused the pipeline run." - }, - "pipelineRunErrorMessage": { - "type": "string", - "description": "The detailed error message for the pipeline run in the case of failure." - } - } - }, - "PipelineRunSourceProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The type of the source.", - "default": "AzureStorageBlob", - "enum": [ - "AzureStorageBlob" - ], - "x-ms-enum": { - "name": "PipelineRunSourceType", - "modelAsString": true, - "values": [ - { - "name": "AzureStorageBlob", - "value": "AzureStorageBlob" - } - ] - } - }, - "name": { - "type": "string", - "description": "The name of the source." - } - } - }, - "PipelineRunTargetProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The type of the target.", - "default": "AzureStorageBlob", - "enum": [ - "AzureStorageBlob" - ], - "x-ms-enum": { - "name": "PipelineRunTargetType", - "modelAsString": true, - "values": [ - { - "name": "AzureStorageBlob", - "value": "AzureStorageBlob" - } - ] - } - }, - "name": { - "type": "string", - "description": "The name of the target." - } - } - }, - "PipelineSourceTriggerDescriptor": { - "type": "object", - "properties": { - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The timestamp when the source update happened." - } - } - }, - "PipelineSourceTriggerProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "description": "The current status of the source trigger.", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } - } - }, - "required": [ - "status" - ] - }, - "PipelineTriggerDescriptor": { - "type": "object", - "properties": { - "sourceTrigger": { - "$ref": "#/definitions/PipelineSourceTriggerDescriptor", - "description": "The source trigger that caused the pipeline run." - } - } - }, - "PipelineTriggerProperties": { - "type": "object", - "properties": { - "sourceTrigger": { - "$ref": "#/definitions/PipelineSourceTriggerProperties", - "description": "The source trigger properties of the pipeline." - } - } - }, - "Policies": { - "type": "object", - "description": "The policies for a container registry.", - "properties": { - "quarantinePolicy": { - "$ref": "#/definitions/QuarantinePolicy", - "description": "The quarantine policy for a container registry." - }, - "trustPolicy": { - "$ref": "#/definitions/TrustPolicy", - "description": "The content trust policy for a container registry." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "The retention policy for a container registry." - }, - "exportPolicy": { - "$ref": "#/definitions/ExportPolicy", - "description": "The export policy for a container registry." - }, - "azureADAuthenticationAsArmPolicy": { - "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", - "description": "The policy for using Azure Resource Manager audience token for a container registry." - }, - "softDeletePolicy": { - "$ref": "#/definitions/SoftDeletePolicy", - "description": "The soft delete policy for a container registry." - } - } - }, - "PolicyStatus": { - "type": "string", - "description": "The value that indicates whether the policy is enabled or not.", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] - } - }, - "PrivateEndpoint": { - "type": "object", - "description": "The Private Endpoint resource.", - "properties": { - "id": { - "type": "string", - "description": "This is private endpoint resource created with Microsoft.Network resource provider." - } - } - }, - "PrivateEndpointConnection": { - "type": "object", - "description": "An object that represents a private endpoint connection for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "description": "The properties of a private endpoint connection.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "PrivateEndpointConnectionListResult": { - "type": "object", - "description": "The response of a PrivateEndpointConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The PrivateEndpointConnection items on this page", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "description": "The properties of a private endpoint connection.", - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", - "description": "The resource of private endpoint." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of private endpoint connection resource.", - "readOnly": true - } - } - }, - "PrivateLinkResource": { - "type": "object", - "description": "A resource that supports private link capabilities.", - "properties": { - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "A resource that supports private link capabilities.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "PrivateLinkResourceListResult": { - "type": "object", - "description": "The response of a PrivateLinkResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The PrivateLinkResource items on this page", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "PrivateLinkResourceProperties": { - "type": "object", - "description": "The properties of a private link resource.", - "properties": { - "groupId": { - "type": "string", - "description": "The private link resource group id." - }, - "requiredMembers": { - "type": "array", - "description": "The private link resource required member names.", - "items": { - "type": "string" - } - }, - "requiredZoneNames": { - "type": "array", - "description": "The private link resource Private link DNS zone name.", - "items": { - "type": "string" - } - } - } - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "description": "The state of a private link service connection.", - "properties": { - "status": { - "$ref": "#/definitions/ConnectionStatus", - "description": "The private link service connection status." - }, - "description": { - "type": "string", - "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection." - }, - "actionsRequired": { - "$ref": "#/definitions/ActionsRequired", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - } - } - }, - "ProgressProperties": { - "type": "object", - "properties": { - "percentage": { - "type": "string", - "description": "The percentage complete of the copy operation." - } - } - }, - "ProvisioningState": { - "type": "string", - "description": "The provisioning state of the archive at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Creating", - "value": "Creating" - }, - { - "name": "Updating", - "value": "Updating" - }, - { - "name": "Deleting", - "value": "Deleting" - }, - { - "name": "Succeeded", - "value": "Succeeded" - }, - { - "name": "Failed", - "value": "Failed" - }, - { - "name": "Canceled", - "value": "Canceled" - } - ] - } - }, - "PublicNetworkAccess": { - "type": "string", - "description": "Whether or not public network access is allowed for the container registry.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } - }, - "QuarantinePolicy": { - "type": "object", - "description": "The quarantine policy for a container registry.", - "properties": { - "status": { - "$ref": "#/definitions/PolicyStatus", - "description": "The value that indicates whether the policy is enabled or not." - } - } - }, - "RegenerateCredentialParameters": { - "type": "object", - "description": "The parameters used to regenerate the login credential.", - "properties": { - "name": { - "$ref": "#/definitions/PasswordName", - "description": "Specifies name of the password which should be regenerated -- password or password2." - } - }, - "required": [ - "name" - ] - }, - "Registry": { - "type": "object", - "description": "An object that represents a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/RegistryProperties", - "description": "The properties of the container registry.", - "x-ms-client-flatten": true - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU of the container registry." - }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the container registry." - } - }, - "required": [ - "sku" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "RegistryListCredentialsResult": { - "type": "object", - "description": "The response from the ListCredentials operation.", - "properties": { - "username": { - "type": "string", - "description": "The username for a container registry." - }, - "passwords": { - "type": "array", - "description": "The list of passwords for a container registry.", - "items": { - "$ref": "#/definitions/RegistryPassword" - }, - "x-ms-identifiers": [] - } - } - }, - "RegistryListResult": { - "type": "object", - "description": "The response of a Registry list operation.", - "properties": { - "value": { - "type": "array", - "description": "The Registry items on this page", - "items": { - "$ref": "#/definitions/Registry" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "RegistryNameCheckRequest": { - "type": "object", - "description": "A request to check whether a container registry name is available.", - "properties": { - "name": { - "type": "string", - "description": "The name of the container registry.", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - "type": { - "type": "string", - "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.", - "enum": [ - "Microsoft.ContainerRegistry/registries" - ], - "x-ms-enum": { - "modelAsString": false - } - }, - "resourceGroupName": { - "type": "string", - "description": "The resource group name of the container registry.", - "minLength": 1, - "maxLength": 90 - }, - "autoGeneratedDomainNameLabelScope": { - "$ref": "#/definitions/AutoGeneratedDomainNameLabelScope", - "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\"." - } - }, - "required": [ - "name", - "type" - ] - }, - "RegistryNameStatus": { - "type": "object", - "description": "The result of a request to check the availability of a container registry name.", - "properties": { - "availableLoginServerName": { - "type": "string", - "description": "The complete login server name with domain name label (DNL) hash, if available" - }, - "nameAvailable": { - "type": "boolean", - "description": "The value that indicates whether the name is available." - }, - "reason": { - "type": "string", - "description": "If any, the reason that the name is not available." - }, - "message": { - "type": "string", - "description": "If any, the error message that provides more detail for the reason that the name is not available." - } - } - }, - "RegistryPassword": { - "type": "object", - "description": "The login password for the container registry.", - "properties": { - "name": { - "$ref": "#/definitions/PasswordName", - "description": "The password name." - }, - "value": { - "type": "string", - "description": "The password value." - } - } - }, - "RegistryProperties": { - "type": "object", - "description": "The properties of a container registry.", - "properties": { - "loginServer": { - "type": "string", - "description": "The URL that can be used to log into the container registry.", - "readOnly": true - }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "The creation date of the container registry in ISO8601 format.", - "readOnly": true - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of the container registry at the time the operation was called.", - "readOnly": true - }, - "status": { - "$ref": "#/definitions/Status", - "description": "The status of the container registry at the time the operation was called.", - "readOnly": true - }, - "adminUserEnabled": { - "type": "boolean", - "description": "The value that indicates whether the admin user is enabled." - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet", - "description": "The network rule set for a container registry." - }, - "policies": { - "$ref": "#/definitions/Policies", - "description": "The policies for a container registry." - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty", - "description": "The encryption settings of container registry." - }, - "dataEndpointEnabled": { - "type": "boolean", - "description": "Enable a single data endpoint per region for serving data." - }, - "dataEndpointHostNames": { - "type": "array", - "description": "List of host names that will serve data when dataEndpointEnabled is true.", - "items": { - "type": "string" - }, - "readOnly": true - }, - "privateEndpointConnections": { - "type": "array", - "description": "List of private endpoint connections for a container registry.", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "readOnly": true - }, - "publicNetworkAccess": { - "$ref": "#/definitions/PublicNetworkAccess", - "description": "Whether or not public network access is allowed for the container registry." - }, - "networkRuleBypassOptions": { - "$ref": "#/definitions/NetworkRuleBypassOptions", - "description": "Whether to allow trusted Azure services to access a network restricted registry." - }, - "networkRuleBypassAllowedForTasks": { - "type": "boolean", - "description": "Whether or not Tasks allowed to bypass the network rules for this container registry." - }, - "zoneRedundancy": { - "$ref": "#/definitions/ZoneRedundancy", - "description": "Whether or not zone redundancy is enabled for this container registry" - }, - "anonymousPullEnabled": { - "type": "boolean", - "description": "Enables registry-wide pull from unauthenticated clients." - }, - "metadataSearch": { - "$ref": "#/definitions/MetadataSearch", - "description": "Determines whether registry artifacts are indexed for metadata search." - }, - "autoGeneratedDomainNameLabelScope": { - "$ref": "#/definitions/AutoGeneratedDomainNameLabelScope", - "description": "Determines the domain name label reuse scope." - }, - "roleAssignmentMode": { - "$ref": "#/definitions/RoleAssignmentMode", - "description": "Determines registry role assignment mode." - } - } - }, - "RegistryPropertiesUpdateParameters": { - "type": "object", - "description": "The parameters for updating the properties of a container registry.", - "properties": { - "adminUserEnabled": { - "type": "boolean", - "description": "The value that indicates whether the admin user is enabled." - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet", - "description": "The network rule set for a container registry." - }, - "policies": { - "$ref": "#/definitions/Policies", - "description": "The policies for a container registry." - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty", - "description": "The encryption settings of container registry." - }, - "dataEndpointEnabled": { - "type": "boolean", - "description": "Enable a single data endpoint per region for serving data." - }, - "publicNetworkAccess": { - "$ref": "#/definitions/PublicNetworkAccess", - "description": "Whether or not public network access is allowed for the container registry." - }, - "networkRuleBypassOptions": { - "$ref": "#/definitions/NetworkRuleBypassOptions", - "description": "Whether to allow trusted Azure services to access a network restricted registry." - }, - "networkRuleBypassAllowedForTasks": { - "type": "boolean", - "description": "Whether to allow ACR Tasks service to access a network restricted registry." - }, - "anonymousPullEnabled": { - "type": "boolean", - "description": "Enables registry-wide pull from unauthenticated clients." - }, - "metadataSearch": { - "$ref": "#/definitions/MetadataSearch", - "description": "Determines whether registry artifacts are indexed for metadata search." - }, - "roleAssignmentMode": { - "$ref": "#/definitions/RoleAssignmentMode", - "description": "Determines registry role assignment mode." - } - } - }, - "RegistryUpdateParameters": { - "type": "object", - "description": "The parameters for updating a container registry.", - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the container registry." - }, - "tags": { - "type": "object", - "description": "The tags for the container registry.", - "additionalProperties": { - "type": "string" - } - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU of the container registry." - }, - "properties": { - "$ref": "#/definitions/RegistryPropertiesUpdateParameters", - "description": "The properties that the container registry will be updated with.", - "x-ms-client-flatten": true - } - } - }, - "RegistryUsage": { - "type": "object", - "description": "The quota usage for a container registry.", - "properties": { - "name": { - "type": "string", - "description": "The name of the usage." - }, - "limit": { - "type": "integer", - "format": "int64", - "description": "The limit of the usage." - }, - "currentValue": { - "type": "integer", - "format": "int64", - "description": "The current value of the usage." - }, - "unit": { - "$ref": "#/definitions/RegistryUsageUnit", - "description": "The unit of measurement." - } - } - }, - "RegistryUsageListResult": { - "type": "object", - "description": "The result of a request to get container registry quota usages.", - "properties": { - "value": { - "type": "array", - "description": "The list of container registry quota usages.", - "items": { - "$ref": "#/definitions/RegistryUsage" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "RegistryUsageUnit": { - "type": "string", - "description": "The unit of measurement.", - "enum": [ - "Count", - "Bytes" - ], - "x-ms-enum": { - "name": "RegistryUsageUnit", - "modelAsString": true, - "values": [ - { - "name": "Count", - "value": "Count" - }, - { - "name": "Bytes", - "value": "Bytes" - } - ] - } - }, - "Replication": { - "type": "object", - "description": "An object that represents a replication for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ReplicationProperties", - "description": "The properties of the replication.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "ReplicationListResult": { - "type": "object", - "description": "The response of a Replication list operation.", - "properties": { - "value": { - "type": "array", - "description": "The Replication items on this page", - "items": { - "$ref": "#/definitions/Replication" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ReplicationProperties": { - "type": "object", - "description": "The properties of a replication.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of the replication at the time the operation was called.", - "readOnly": true - }, - "status": { - "$ref": "#/definitions/Status", - "description": "The status of the replication at the time the operation was called.", - "readOnly": true - }, - "regionEndpointEnabled": { - "type": "boolean", - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", - "default": true - }, - "zoneRedundancy": { - "$ref": "#/definitions/ZoneRedundancy", - "description": "Whether or not zone redundancy is enabled for this container registry replication" - } - } - }, - "ReplicationUpdateParameters": { - "type": "object", - "description": "The parameters for updating a replication.", - "properties": { - "tags": { - "type": "object", - "description": "The tags for the replication.", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/ReplicationUpdateParametersProperties", - "description": "The parameters for updating a replication's properties", - "x-ms-client-flatten": true - } - } - }, - "ReplicationUpdateParametersProperties": { - "type": "object", - "properties": { - "regionEndpointEnabled": { - "type": "boolean", - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications." - } - } - }, - "Request": { - "type": "object", - "description": "The request that generated the event.", - "properties": { - "id": { - "type": "string", - "description": "The ID of the request that initiated the event." - }, - "addr": { - "type": "string", - "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request." - }, - "host": { - "type": "string", - "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests." - }, - "method": { - "type": "string", - "description": "The request method that generated the event." - }, - "useragent": { - "type": "string", - "description": "The user agent header of the request." - } - } - }, - "ResourceIdentityType": { - "type": "string", - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "RetentionPolicy": { - "type": "object", - "description": "The retention policy for a container registry.", - "properties": { - "days": { - "type": "integer", - "format": "int32", - "description": "The number of days to retain an untagged manifest after which it gets purged.", - "default": 7 - }, - "lastUpdatedTime": { - "type": "string", - "format": "date-time", - "description": "The timestamp when the policy was last updated.", - "readOnly": true - }, - "status": { - "$ref": "#/definitions/PolicyStatus", - "description": "The value that indicates whether the policy is enabled or not." - } - } - }, - "RoleAssignmentMode": { - "type": "string", - "description": "Determines registry role assignment mode.", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true, - "values": [ - { - "name": "AbacRepositoryPermissions", - "value": "AbacRepositoryPermissions" - }, - { - "name": "LegacyRegistryPermissions", - "value": "LegacyRegistryPermissions" - } - ] - } - }, - "ScopeMap": { - "type": "object", - "description": "An object that represents a scope map for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapProperties", - "description": "The properties of the scope map.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ScopeMapListResult": { - "type": "object", - "description": "The response of a ScopeMap list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ScopeMap items on this page", - "items": { - "$ref": "#/definitions/ScopeMap" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ScopeMapProperties": { - "type": "object", - "description": "The properties of a scope map.", - "properties": { - "description": { - "type": "string", - "description": "The user friendly description of the scope map." - }, - "type": { - "type": "string", - "description": "The type of the scope map. E.g. BuildIn scope map.", - "readOnly": true - }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "The creation date of scope map.", - "readOnly": true - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true - }, - "actions": { - "type": "array", - "description": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write", - "items": { - "type": "string" - } - } - }, - "required": [ - "actions" - ] - }, - "ScopeMapPropertiesUpdateParameters": { - "type": "object", - "description": "The update parameters for scope map properties.", - "properties": { - "description": { - "type": "string", - "description": "The user friendly description of the scope map." - }, - "actions": { - "type": "array", - "description": "The list of scope permissions for registry artifacts.\nE.g. repositories/repository-name/pull,\nrepositories/repository-name/delete", - "items": { - "type": "string" - } - } - } - }, - "ScopeMapUpdateParameters": { - "type": "object", - "description": "The properties for updating the scope map.", - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", - "description": "The update parameters for scope map properties.", - "x-ms-client-flatten": true - } - } - }, - "Sku": { - "type": "object", - "description": "The SKU of a container registry.", - "properties": { - "name": { - "$ref": "#/definitions/SkuName", - "description": "The SKU name of the container registry. Required for registry creation." - }, - "tier": { - "$ref": "#/definitions/SkuTier", - "description": "The SKU tier based on the SKU name.", - "readOnly": true - } - }, - "required": [ - "name" - ] - }, - "SkuName": { - "type": "string", - "description": "The SKU name of the container registry. Required for registry creation.", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true, - "values": [ - { - "name": "Classic", - "value": "Classic" - }, - { - "name": "Basic", - "value": "Basic" - }, - { - "name": "Standard", - "value": "Standard" - }, - { - "name": "Premium", - "value": "Premium" - } - ] - } - }, - "SkuTier": { - "type": "string", - "description": "The SKU tier based on the SKU name.", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true, - "values": [ - { - "name": "Classic", - "value": "Classic" - }, - { - "name": "Basic", - "value": "Basic" - }, - { - "name": "Standard", - "value": "Standard" - }, - { - "name": "Premium", - "value": "Premium" - } - ] - } - }, - "SoftDeletePolicy": { - "type": "object", - "description": "The soft delete policy for a container registry", - "properties": { - "retentionDays": { - "type": "integer", - "format": "int32", - "description": "The number of days after which a soft-deleted item is permanently deleted.", - "default": 7 - }, - "lastUpdatedTime": { - "type": "string", - "format": "date-time", - "description": "The timestamp when the policy was last updated.", - "readOnly": true - }, - "status": { - "$ref": "#/definitions/PolicyStatus", - "description": "The value that indicates whether the policy is enabled or not." - } - } - }, - "Source": { - "type": "object", - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", - "properties": { - "addr": { - "type": "string", - "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port." - }, - "instanceID": { - "type": "string", - "description": "The running instance of an application. Changes after each restart." - } - } - }, - "Status": { - "type": "object", - "description": "The status of an Azure resource at the time the operation was called.", - "properties": { - "displayStatus": { - "type": "string", - "description": "The short label for the status.", - "readOnly": true - }, - "message": { - "type": "string", - "description": "The detailed message for the status, including alerts and error messages.", - "readOnly": true - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The timestamp when the status was changed to the current value.", - "readOnly": true - } - } - }, - "StatusDetailProperties": { - "type": "object", - "description": "The status detail properties of the connected registry.", - "properties": { - "type": { - "type": "string", - "description": "The component of the connected registry corresponding to the status.", - "readOnly": true - }, - "code": { - "type": "string", - "description": "The HTTP status code.", - "readOnly": true - }, - "description": { - "type": "string", - "description": "The description of the status.", - "readOnly": true - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The timestamp of the status.", - "readOnly": true - }, - "correlationId": { - "type": "string", - "description": "The correlation ID of the status.", - "readOnly": true - } - } - }, - "SyncProperties": { - "type": "object", - "description": "The sync properties of the connected registry with its parent.", - "properties": { - "tokenId": { - "type": "string", - "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync." - }, - "schedule": { - "type": "string", - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." - }, - "syncWindow": { - "type": "string", - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." - }, - "messageTtl": { - "type": "string", - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." - }, - "lastSyncTime": { - "type": "string", - "format": "date-time", - "description": "The last time a sync occurred between the connected registry and its parent.", - "readOnly": true - }, - "gatewayEndpoint": { - "type": "string", - "description": "The gateway endpoint used by the connected registry to communicate with its parent.", - "readOnly": true - } - }, - "required": [ - "tokenId", - "messageTtl" - ] - }, - "SyncUpdateProperties": { - "type": "object", - "description": "The parameters for updating the sync properties of the connected registry with its parent.", - "properties": { - "schedule": { - "type": "string", - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." - }, - "syncWindow": { - "type": "string", - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." - }, - "messageTtl": { - "type": "string", - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." - } - } - }, - "Target": { - "type": "object", - "description": "The target of the event.", - "properties": { - "mediaType": { - "type": "string", - "description": "The MIME type of the referenced object." - }, - "size": { - "type": "integer", - "format": "int64", - "description": "The number of bytes of the content. Same as Length field." - }, - "digest": { - "type": "string", - "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification." - }, - "length": { - "type": "integer", - "format": "int64", - "description": "The number of bytes of the content. Same as Size field." - }, - "repository": { - "type": "string", - "description": "The repository name." - }, - "url": { - "type": "string", - "description": "The direct URL to the content." - }, - "tag": { - "type": "string", - "description": "The tag name." - }, - "name": { - "type": "string", - "description": "The name of the artifact." - }, - "version": { - "type": "string", - "description": "The version of the artifact." - } - } - }, - "TlsCertificateProperties": { - "type": "object", - "description": "The TLS certificate properties of the connected registry login server.", - "properties": { - "type": { - "$ref": "#/definitions/CertificateType", - "description": "The type of certificate location.", - "readOnly": true - }, - "location": { - "type": "string", - "description": "Indicates the location of the certificates.", - "readOnly": true - } - } - }, - "TlsProperties": { - "type": "object", - "description": "The TLS properties of the connected registry login server.", - "properties": { - "status": { - "$ref": "#/definitions/TlsStatus", - "description": "Indicates whether HTTPS is enabled for the login server.", - "readOnly": true - }, - "certificate": { - "$ref": "#/definitions/TlsCertificateProperties", - "description": "The certificate used to configure HTTPS for the login server.", - "readOnly": true - } - } - }, - "TlsStatus": { - "type": "string", - "description": "Indicates whether HTTPS is enabled for the login server.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "TlsStatus", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } - }, - "Token": { - "type": "object", - "description": "An object that represents a token for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/TokenProperties", - "description": "The properties of the token.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "TokenCertificate": { - "type": "object", - "description": "The properties of a certificate used for authenticating a token.", - "properties": { - "name": { - "$ref": "#/definitions/TokenCertificateName" - }, - "expiry": { - "type": "string", - "format": "date-time", - "description": "The expiry datetime of the certificate." - }, - "thumbprint": { - "type": "string", - "description": "The thumbprint of the certificate." - }, - "encodedPemCertificate": { - "type": "string", - "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token." - } - } - }, - "TokenCertificateName": { - "type": "string", - "enum": [ - "certificate1", - "certificate2" - ], - "x-ms-enum": { - "name": "TokenCertificateName", - "modelAsString": true, - "values": [ - { - "name": "certificate1", - "value": "certificate1" - }, - { - "name": "certificate2", - "value": "certificate2" - } - ] - } - }, - "TokenCredentialsProperties": { - "type": "object", - "description": "The properties of the credentials that can be used for authenticating the token.", - "properties": { - "certificates": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenCertificate" - }, - "x-ms-identifiers": [ - "thumbprint" - ] - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - }, - "x-ms-identifiers": [] - } - } - }, - "TokenListResult": { - "type": "object", - "description": "The response of a Token list operation.", - "properties": { - "value": { - "type": "array", - "description": "The Token items on this page", - "items": { - "$ref": "#/definitions/Token" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "TokenPassword": { - "type": "object", - "description": "The password that will be used for authenticating the token of a container registry.", - "properties": { - "creationTime": { - "type": "string", - "format": "date-time", - "description": "The creation datetime of the password." - }, - "expiry": { - "type": "string", - "format": "date-time", - "description": "The expiry datetime of the password." - }, - "name": { - "$ref": "#/definitions/TokenPasswordName", - "description": "The password name \"password1\" or \"password2\"" - }, - "value": { - "type": "string", - "description": "The password value.", - "readOnly": true - } - } - }, - "TokenPasswordName": { - "type": "string", - "description": "The password name \"password1\" or \"password2\"", - "enum": [ - "password1", - "password2" - ], - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true, - "values": [ - { - "name": "password1", - "value": "password1" - }, - { - "name": "password2", - "value": "password2" - } - ] - } - }, - "TokenProperties": { - "type": "object", - "description": "The properties of a token.", - "properties": { - "creationDate": { - "type": "string", - "format": "date-time", - "description": "The creation date of scope map.", - "readOnly": true - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true - }, - "scopeMapId": { - "type": "string", - "description": "The resource ID of the scope map to which the token will be associated with." - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." - }, - "status": { - "$ref": "#/definitions/TokenStatus", - "description": "The status of the token example enabled or disabled." - } - } - }, - "TokenStatus": { - "type": "string", - "description": "The status of the token example enabled or disabled.", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] - } - }, - "TokenUpdateParameters": { - "type": "object", - "description": "The parameters for updating a token.", - "properties": { - "properties": { - "$ref": "#/definitions/TokenUpdateProperties", - "description": "The properties of the token update parameters.", - "x-ms-client-flatten": true - } - } - }, - "TokenUpdateProperties": { - "type": "object", - "description": "The parameters for updating token properties.", - "properties": { - "scopeMapId": { - "type": "string", - "description": "The resource ID of the scope map to which the token will be associated with." - }, - "status": { - "$ref": "#/definitions/TokenStatus", - "description": "The status of the token example enabled or disabled." - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." - } - } - }, - "TrustPolicy": { - "type": "object", - "description": "The content trust policy for a container registry.", - "properties": { - "type": { - "type": "string", - "description": "The type of trust policy.", - "default": "Notary", - "enum": [ - "Notary" - ], - "x-ms-enum": { - "name": "TrustPolicyType", - "modelAsString": true, - "values": [ - { - "name": "Notary", - "value": "Notary" - } - ] - } - }, - "status": { - "$ref": "#/definitions/PolicyStatus", - "description": "The value that indicates whether the policy is enabled or not." - } - } - }, - "TypeSpec.Http.OkResponse": { - "type": "object", - "description": "The request has succeeded." - }, - "UserIdentityProperties": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The principal id of user assigned identity.", - "readOnly": true - }, - "clientId": { - "type": "string", - "description": "The client id of user assigned identity.", - "readOnly": true - } - } - }, - "Webhook": { - "type": "object", - "description": "An object that represents a webhook for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/WebhookProperties", - "description": "The properties of the webhook.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "WebhookAction": { - "type": "string", - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true, - "values": [ - { - "name": "push", - "value": "push" - }, - { - "name": "delete", - "value": "delete" - }, - { - "name": "quarantine", - "value": "quarantine" - }, - { - "name": "chart_push", - "value": "chart_push" - }, - { - "name": "chart_delete", - "value": "chart_delete" - } - ] - } - }, - "WebhookCreateParameters": { - "type": "object", - "description": "The parameters for creating a webhook.", - "properties": { - "tags": { - "type": "object", - "description": "The tags for the webhook.", - "additionalProperties": { - "type": "string" - } - }, - "location": { - "type": "string", - "description": "The location of the webhook. This cannot be changed after the resource is created." - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesCreateParameters", - "description": "The properties that the webhook will be created with.", - "x-ms-client-flatten": true - } - }, - "required": [ - "location" - ] - }, - "WebhookListResult": { - "type": "object", - "description": "The response of a Webhook list operation.", - "properties": { - "value": { - "type": "array", - "description": "The Webhook items on this page", - "items": { - "$ref": "#/definitions/Webhook" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "WebhookProperties": { - "type": "object", - "description": "The properties of a webhook.", - "properties": { - "status": { - "$ref": "#/definitions/WebhookStatus", - "description": "The status of the webhook at the time the operation was called." - }, - "scope": { - "type": "string", - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." - }, - "actions": { - "type": "array", - "description": "The list of actions that trigger the webhook to post notifications.", - "items": { - "$ref": "#/definitions/WebhookAction" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of the webhook at the time the operation was called.", - "readOnly": true - } - }, - "required": [ - "actions" - ] - }, - "WebhookPropertiesCreateParameters": { - "type": "object", - "description": "The parameters for creating the properties of a webhook.", - "properties": { - "serviceUri": { - "type": "string", - "description": "The service URI for the webhook to post notifications." - }, - "customHeaders": { - "type": "object", - "description": "Custom headers that will be added to the webhook notifications.", - "additionalProperties": { - "type": "string" - } - }, - "status": { - "$ref": "#/definitions/WebhookStatus", - "description": "The status of the webhook at the time the operation was called." - }, - "scope": { - "type": "string", - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." - }, - "actions": { - "type": "array", - "description": "The list of actions that trigger the webhook to post notifications.", - "items": { - "$ref": "#/definitions/WebhookAction" - } - } - }, - "required": [ - "serviceUri", - "actions" - ] - }, - "WebhookPropertiesUpdateParameters": { - "type": "object", - "description": "The parameters for updating the properties of a webhook.", - "properties": { - "serviceUri": { - "type": "string", - "description": "The service URI for the webhook to post notifications." - }, - "customHeaders": { - "type": "object", - "description": "Custom headers that will be added to the webhook notifications.", - "additionalProperties": { - "type": "string" - } - }, - "status": { - "$ref": "#/definitions/WebhookStatus", - "description": "The status of the webhook at the time the operation was called." - }, - "scope": { - "type": "string", - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." - }, - "actions": { - "type": "array", - "description": "The list of actions that trigger the webhook to post notifications.", - "items": { - "$ref": "#/definitions/WebhookAction" - } - } - } - }, - "WebhookStatus": { - "type": "string", - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] - } - }, - "WebhookUpdateParameters": { - "type": "object", - "description": "The parameters for updating a webhook.", - "properties": { - "tags": { - "type": "object", - "description": "The tags for the webhook.", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesUpdateParameters", - "description": "The properties that the webhook will be updated with.", - "x-ms-client-flatten": true - } - } - }, - "ZoneRedundancy": { - "type": "string", - "description": "Whether or not zone redundancy is enabled for this container registry", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } - } - }, - "parameters": {} -} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveCreate.json deleted file mode 100644 index dc04c33cefdf..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveCreate.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "archiveCreateParameters": { - "properties": { - "packageSource": { - "type": "remote", - "url": "string" - }, - "publishedVersion": "string", - "repositoryEndpointPrefix": "string" - } - }, - "archiveName": "myArchiveName", - "packageType": "rpm", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myArchiveName", - "type": "Microsoft.ContainerRegistry/registries/archives", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName", - "properties": { - "packageSource": { - "type": "remote", - "url": "string" - }, - "provisioningState": "Succeeded", - "publishedVersion": "string", - "repositoryEndpoint": "string", - "repositoryEndpointPrefix": "string" - } - } - }, - "201": { - "body": { - "name": "myArchiveName", - "type": "Microsoft.ContainerRegistry/registries/archives", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives/myArchiveName", - "properties": { - "packageSource": { - "type": "remote", - "url": "string" - }, - "provisioningState": "Succeeded", - "publishedVersion": "string", - "repositoryEndpoint": "string", - "repositoryEndpointPrefix": "string" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" - } - } - }, - "operationId": "Archives_Create", - "title": "ArchiveCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveDelete.json deleted file mode 100644 index 9aba0f664905..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveDelete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "packageType": "myPackageType", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" - } - }, - "204": {} - }, - "operationId": "Archives_Delete", - "title": "ArchiveDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveGet.json deleted file mode 100644 index 476b471dff97..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveGet.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "packageType": "myPackageType", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myArchiveName", - "type": "Microsoft.ContainerRegistry/registries/packages/archives", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", - "properties": { - "packageSource": { - "type": "string", - "url": "string" - }, - "provisioningState": "Creating", - "publishedVersion": "string" - }, - "systemData": { - "createdAt": "2023-02-24T00:13:46.836Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:13:46.836Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - }, - "operationId": "Archives_Get", - "title": "ArchiveGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveList.json deleted file mode 100644 index f3fbd3b88ba5..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveList.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "packageType": "myPackageType", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "nextLink": "string", - "value": [ - { - "name": "string", - "type": "string", - "id": "string", - "properties": { - "packageSource": { - "type": "string", - "url": "string" - }, - "provisioningState": "Creating", - "publishedVersion": "string" - }, - "systemData": { - "createdAt": "2023-02-24T00:22:47.311Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:22:47.311Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ] - } - } - }, - "operationId": "Archives_List", - "title": "ArchiveList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveUpdate.json deleted file mode 100644 index d2e7aa9a6a42..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveUpdate.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "archiveUpdateParameters": { - "properties": { - "publishedVersion": "string" - } - }, - "packageType": "myPackageType", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myArchiveName", - "type": "Microsoft.ContainerRegistry/registries/packages/archives", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", - "properties": { - "packageSource": { - "type": "remote", - "url": "string" - }, - "provisioningState": "Creating", - "publishedVersion": "string", - "repositoryEndpoint": "string", - "repositoryEndpointPrefix": "string" - }, - "systemData": { - "createdAt": "2023-06-09T23:41:38.720Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-06-09T23:41:38.720Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - }, - "operationId": "Archives_Update", - "title": "ArchiveUpdate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json deleted file mode 100644 index bf3e7bae50d0..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName", - "packageType": "rpm", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myArchiveVersionName", - "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", - "properties": { - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "myCacheRule", - "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", - "properties": { - "provisioningState": "Succeeded" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archoveversion-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" - } - } - }, - "operationId": "ArchiveVersions_Create", - "title": "ArchiveVersionCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json deleted file mode 100644 index c7dfd5b3f787..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName", - "packageType": "myPackageType", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" - } - }, - "204": {} - }, - "operationId": "ArchiveVersions_Delete", - "title": "ArchiveVersionDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json deleted file mode 100644 index 562336e2bad0..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName", - "packageType": "rpm", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myArchiveName", - "type": "Microsoft.ContainerRegistry/registries/packages/archives", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", - "properties": { - "archiveVersionErrorMessage": "string", - "provisioningState": "Creating" - }, - "systemData": { - "createdAt": "2023-02-24T00:13:46.836Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:13:46.836Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - }, - "operationId": "ArchiveVersions_Get", - "title": "ArchiveVersionGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionList.json deleted file mode 100644 index 591543bc2709..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ArchiveVersionList.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "packageType": "myPackageType", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "nextLink": "string", - "value": [ - { - "name": "string", - "type": "string", - "id": "string", - "properties": { - "archiveVersionErrorMessage": "string", - "provisioningState": "Creating" - }, - "systemData": { - "createdAt": "2023-02-24T00:22:47.311Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:22:47.311Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ] - } - } - }, - "operationId": "ArchiveVersions_List", - "title": "ArchiveVersionList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleCreate.json deleted file mode 100644 index 75d48bd44545..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleCreate.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "cacheRuleCreateParameters": { - "properties": { - "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" - } - }, - "cacheRuleName": "myCacheRule", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myCacheRule", - "type": "Microsoft.ContainerRegistry/registries/cacheRules", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Succeeded", - "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" - } - } - }, - "201": { - "body": { - "name": "myCacheRule", - "type": "Microsoft.ContainerRegistry/registries/cacheRules", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Creating", - "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "CacheRules_Create", - "title": "CacheRuleCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleDelete.json deleted file mode 100644 index 1e6684d297c4..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleDelete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "cacheRuleName": "myCacheRule", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "CacheRules_Delete", - "title": "CacheRuleDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleGet.json deleted file mode 100644 index 995f262c5dd8..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleGet.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "cacheRuleName": "myCacheRule", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myCacheRule", - "type": "Microsoft.ContainerRegistry/registries/cacheRules", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Succeeded", - "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" - } - } - } - }, - "operationId": "CacheRules_Get", - "title": "CacheRuleGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleList.json deleted file mode 100644 index a0699412ee9a..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleList.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myCacheRule", - "type": "Microsoft.ContainerRegistry/registries/cacheRules", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Succeeded", - "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" - } - } - ] - } - } - }, - "operationId": "CacheRules_List", - "title": "CacheRuleList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json deleted file mode 100644 index cb06ebf79a1d..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "cacheRuleName": "myCacheRule", - "cacheRuleUpdateParameters": { - "properties": { - "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2" - } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myCacheRule", - "type": "Microsoft.ContainerRegistry/registries/cacheRules", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", - "provisioningState": "Succeeded", - "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" - } - } - }, - "201": { - "body": { - "name": "myCacheRule", - "type": "Microsoft.ContainerRegistry/registries/cacheRules", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", - "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", - "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", - "provisioningState": "Updating", - "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "CacheRules_Update", - "title": "CacheRuleUpdate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json deleted file mode 100644 index c502d14686f7..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "connectedRegistryCreateParameters": { - "properties": { - "clientTokenIds": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" - ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "mode": "ReadWrite", - "notificationsList": [ - "hello-world:*:*", - "sample/repo/*:1.0:*" - ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } - } - } - }, - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myConnectedRegistry", - "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", - "properties": { - "activation": { - "status": "Inactive" - }, - "clientTokenIds": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" - ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" - }, - "mode": "ReadWrite", - "notificationsList": [ - "hello-world:*:*", - "sample/repo/*:1.0:*" - ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } - } - } - } - }, - "201": { - "body": { - "name": "myConnectedRegistry", - "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", - "properties": { - "activation": { - "status": "Inactive" - }, - "clientTokenIds": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" - ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" - }, - "mode": "ReadWrite", - "notificationsList": [ - "hello-world:*:*", - "sample/repo/*:1.0:*" - ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } - } - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "ConnectedRegistries_Create", - "title": "ConnectedRegistryCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json deleted file mode 100644 index 6e189a00e328..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "ConnectedRegistries_Deactivate", - "title": "ConnectedRegistryDeactivate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json deleted file mode 100644 index a2eba1b22be4..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "ConnectedRegistries_Delete", - "title": "ConnectedRegistryDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json deleted file mode 100644 index f1ce8a3fcb5a..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myConnectedRegistry", - "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", - "properties": { - "activation": { - "status": "Inactive" - }, - "clientTokenIds": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" - ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" - }, - "mode": "ReadWrite", - "notificationsList": [ - "hello-world:*:*", - "sample/repo/*:1.0:*" - ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } - } - } - } - } - }, - "operationId": "ConnectedRegistries_Get", - "title": "ConnectedRegistryGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json deleted file mode 100644 index 803edeb1e126..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myConnectedRegistry", - "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", - "properties": { - "activation": { - "status": "Inactive" - }, - "clientTokenIds": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" - ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" - }, - "mode": "ReadWrite", - "notificationsList": [ - "hello-world:*:*", - "sample/repo/*:1.0:*" - ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } - } - } - } - ] - } - } - }, - "operationId": "ConnectedRegistries_List", - "title": "ConnectedRegistryList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json deleted file mode 100644 index f2b68454277c..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "connectedRegistryName": "myScopeMap", - "connectedRegistryUpdateParameters": { - "properties": { - "clientTokenIds": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" - ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "logging": { - "auditLogStatus": "Enabled", - "logLevel": "Debug" - }, - "notificationsList": [ - "hello-world:*:*", - "sample/repo/*:1.0:*" - ], - "syncProperties": { - "messageTtl": "P30D", - "schedule": "0 0 */10 * *", - "syncWindow": "P2D" - } - } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myConnectedRegistry", - "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", - "properties": { - "clientTokenIds": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" - ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "logging": { - "auditLogStatus": "Enabled", - "logLevel": "Debug" - }, - "mode": "ReadWrite", - "notificationsList": [ - "hello-world:*:*", - "sample/repo/*:1.0:*" - ], - "parent": { - "syncProperties": { - "messageTtl": "P30D", - "schedule": "0 0 */10 * *", - "syncWindow": "P2D", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } - } - } - } - }, - "201": { - "body": { - "name": "myConnectedRegistry", - "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", - "properties": { - "clientTokenIds": [ - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" - ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "logging": { - "auditLogStatus": "Enabled", - "logLevel": "Debug" - }, - "mode": "ReadWrite", - "notificationsList": [ - "hello-world:*:*", - "sample/repo/*:1.0:*" - ], - "parent": { - "syncProperties": { - "messageTtl": "P30D", - "schedule": "0 0 */10 * *", - "syncWindow": "P2D", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } - } - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "ConnectedRegistries_Update", - "title": "ConnectedRegistryUpdate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetCreate.json deleted file mode 100644 index c2b6391738a5..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetCreate.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "credentialSetCreateParameters": { - "identity": { - "type": "SystemAssigned" - }, - "properties": { - "authCredentials": [ - { - "name": "Credential1", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" - } - ], - "loginServer": "docker.io" - } - }, - "credentialSetName": "myCredentialSet", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myCredentialSet", - "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "identity": { - "type": "SystemAssigned", - "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" - }, - "properties": { - "authCredentials": [ - { - "name": "Credential1", - "credentialHealth": { - "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" - } - ], - "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "myCredentialSet", - "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "identity": { - "type": "SystemAssigned", - "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" - }, - "properties": { - "authCredentials": [ - { - "name": "Credential1", - "credentialHealth": { - "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" - } - ], - "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "CredentialSets_Create", - "title": "CredentialSetCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetDelete.json deleted file mode 100644 index e4058a6a6d3a..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetDelete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "credentialSetName": "myCredentialSet", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "CredentialSets_Delete", - "title": "CredentialSetDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetGet.json deleted file mode 100644 index 42249cde643e..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetGet.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "credentialSetName": "myCredentialSet", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myCredentialSet", - "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "identity": { - "type": "SystemAssigned", - "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" - }, - "properties": { - "authCredentials": [ - { - "name": "Credential1", - "credentialHealth": { - "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" - } - ], - "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", - "provisioningState": "Succeeded" - } - } - } - }, - "operationId": "CredentialSets_Get", - "title": "CredentialSetGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetList.json deleted file mode 100644 index 75655128524d..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetList.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myCredentialSet", - "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "identity": { - "type": "SystemAssigned", - "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" - }, - "properties": { - "authCredentials": [ - { - "name": "Credential1", - "credentialHealth": { - "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" - } - ], - "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", - "provisioningState": "Succeeded" - } - } - ] - } - } - }, - "operationId": "CredentialSets_List", - "title": "CredentialSetList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json deleted file mode 100644 index 45d99e9e938b..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "credentialSetName": "myCredentialSet", - "credentialSetUpdateParameters": { - "properties": { - "authCredentials": [ - { - "name": "Credential1", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" - } - ] - } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myCredentialSet", - "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "identity": { - "type": "SystemAssigned", - "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" - }, - "properties": { - "authCredentials": [ - { - "name": "Credential1", - "credentialHealth": { - "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" - } - ], - "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "myCredentialSet", - "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "identity": { - "type": "SystemAssigned", - "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" - }, - "properties": { - "authCredentials": [ - { - "name": "Credential1", - "credentialHealth": { - "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" - } - ], - "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "CredentialSets_Update", - "title": "CredentialSetUpdate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json deleted file mode 100644 index 66271fac5b88..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "exportPipelineCreateParameters": { - "identity": { - "type": "SystemAssigned" - }, - "location": "westus", - "properties": { - "options": [ - "OverwriteBlobs" - ], - "target": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } - } - }, - "exportPipelineName": "myExportPipeline", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myExportPipeline", - "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", - "properties": { - "options": [ - "OverwriteBlobs" - ], - "provisioningState": "Succeeded", - "target": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } - } - } - }, - "201": { - "body": { - "name": "myExportPipeline", - "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", - "properties": { - "options": [ - "OverwriteBlobs" - ], - "provisioningState": "Succeeded", - "target": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "ExportPipelines_Create", - "title": "ExportPipelineCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json deleted file mode 100644 index 8ce6b112904d..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "exportPipelineName": "myExportPipeline", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "ExportPipelines_Delete", - "title": "ExportPipelineDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineGet.json deleted file mode 100644 index 662586ed7f09..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineGet.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "exportPipelineName": "myExportPipeline", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myExportPipeline", - "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", - "properties": { - "options": [ - "OverwriteBlobs" - ], - "provisioningState": "Succeeded", - "target": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } - } - } - } - }, - "operationId": "ExportPipelines_Get", - "title": "ExportPipelineGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineList.json deleted file mode 100644 index 426f7146429e..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ExportPipelineList.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myExportPipeline", - "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", - "properties": { - "options": [ - "OverwriteBlobs" - ], - "provisioningState": "Succeeded", - "target": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } - } - } - ] - } - } - }, - "operationId": "ExportPipelines_List", - "title": "ExportPipelineList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json deleted file mode 100644 index bffb2268d135..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "parameters": { - "mode": "Force", - "source": { - "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", - "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000" - }, - "targetTags": [ - "targetRepository:targetTag" - ], - "untaggedTargetRepositories": [ - "targetRepository1" - ] - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Registries_ImportImage", - "title": "ImportImageByManifestDigest" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByTag.json deleted file mode 100644 index d27cdecc5311..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageByTag.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "parameters": { - "mode": "Force", - "source": { - "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", - "sourceImage": "sourceRepository:sourceTag" - }, - "targetTags": [ - "targetRepository:targetTag" - ], - "untaggedTargetRepositories": [ - "targetRepository1" - ] - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Registries_ImportImage", - "title": "ImportImageByTag" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json deleted file mode 100644 index 62a5d60c7e4e..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "parameters": { - "mode": "Force", - "source": { - "registryUri": "registry.hub.docker.com", - "sourceImage": "library/hello-world" - }, - "targetTags": [ - "targetRepository:targetTag" - ], - "untaggedTargetRepositories": [ - "targetRepository1" - ] - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Registries_ImportImage", - "title": "ImportImageFromPublicRegistry" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json deleted file mode 100644 index d1f54159b956..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "importPipelineCreateParameters": { - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} - } - }, - "location": "westus", - "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "source": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } - } - }, - "importPipelineName": "myImportPipeline", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myImportPipeline", - "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } - } - }, - "location": "westus", - "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", - "source": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - }, - "trigger": { - "sourceTrigger": { - "status": "Enabled" - } - } - } - } - }, - "201": { - "body": { - "name": "myImportPipeline", - "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } - } - }, - "location": "westus", - "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", - "source": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - }, - "trigger": { - "sourceTrigger": { - "status": "Enabled" - } - } - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "ImportPipelines_Create", - "title": "ImportPipelineCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json deleted file mode 100644 index d695627df8a5..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "importPipelineName": "myImportPipeline", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "ImportPipelines_Delete", - "title": "ImportPipelineDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineGet.json deleted file mode 100644 index b1ab529b009a..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineGet.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "importPipelineName": "myImportPipeline", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myImportPipeline", - "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } - } - }, - "location": "westus", - "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", - "source": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - }, - "trigger": { - "sourceTrigger": { - "status": "Enabled" - } - } - } - } - } - }, - "operationId": "ImportPipelines_Get", - "title": "ImportPipelineGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineList.json deleted file mode 100644 index 9671f76049d6..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ImportPipelineList.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myImportPipeline", - "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } - } - }, - "location": "westus", - "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", - "source": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - }, - "trigger": { - "sourceTrigger": { - "status": "Enabled" - } - } - } - } - ] - } - } - }, - "operationId": "ImportPipelines_List", - "title": "ImportPipelineList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/OperationList.json deleted file mode 100644 index f1937f9c350d..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/OperationList.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.ContainerRegistry/locations/deleteVirtualNetworkOrSubnets/action", - "display": { - "description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted", - "operation": "Delete virtual network or subnets notifications", - "provider": "Microsoft ContainerRegistry", - "resource": "" - } - } - ] - } - } - }, - "operationId": "Operations_List", - "title": "OperationList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json deleted file mode 100644 index 5d16d74802fb..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "pipelineRunCreateParameters": { - "properties": { - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "target": { - "name": "myblob.tar.gz", - "type": "AzureStorageBlob" - } - } - } - }, - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myPipelineRun", - "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", - "properties": { - "provisioningState": "Succeeded", - "response": { - "catalogDigest": "sha256@", - "progress": { - "percentage": "20" - }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", - "target": { - "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" - } - }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } - } - } - }, - "201": { - "body": { - "name": "myPipelineRun", - "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", - "properties": { - "provisioningState": "Succeeded", - "response": { - "catalogDigest": "sha256@", - "progress": { - "percentage": "20" - }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", - "target": { - "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" - } - }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "PipelineRuns_Create", - "title": "PipelineRunCreate_Export" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json deleted file mode 100644 index 93e0d2d11f38..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "pipelineRunCreateParameters": { - "properties": { - "forceUpdateTag": "2020-03-04T17:23:21.9261521+00:00", - "request": { - "catalogDigest": "sha256@", - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", - "source": { - "name": "myblob.tar.gz", - "type": "AzureStorageBlob" - } - } - } - }, - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myPipelineRun", - "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", - "properties": { - "provisioningState": "Succeeded", - "response": { - "catalogDigest": "sha256@", - "importedArtifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "progress": { - "percentage": "100" - }, - "source": { - "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" - }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Succeeded" - }, - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - } - } - } - }, - "201": { - "body": { - "name": "myPipelineRun", - "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", - "properties": { - "provisioningState": "Succeeded", - "response": { - "catalogDigest": "sha256@", - "finishTime": "2020-03-04T17:25:21.9261521+00:00", - "importedArtifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "progress": { - "percentage": "100" - }, - "source": { - "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" - }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Succeeded" - }, - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - } - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "PipelineRuns_Create", - "title": "PipelineRunCreate_Import" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunDelete.json deleted file mode 100644 index da55ee26c0f1..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunDelete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "PipelineRuns_Delete", - "title": "PipelineRunDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunGet.json deleted file mode 100644 index 31902e21c3bc..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunGet.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myPipelineRun", - "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", - "properties": { - "provisioningState": "Succeeded", - "response": { - "catalogDigest": "sha256@", - "progress": { - "percentage": "20" - }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", - "target": { - "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" - } - }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } - } - } - } - }, - "operationId": "PipelineRuns_Get", - "title": "PipelineRunGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunList.json deleted file mode 100644 index b2e4212f91e1..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PipelineRunList.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myPipelineRun", - "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", - "properties": { - "provisioningState": "Succeeded", - "response": { - "catalogDigest": "sha256@", - "progress": { - "percentage": "20" - }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", - "target": { - "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" - } - }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } - } - }, - { - "name": "myPipelineRun", - "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", - "properties": { - "provisioningState": "Succeeded", - "response": { - "catalogDigest": "sha256@", - "importedArtifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "progress": { - "percentage": "100" - }, - "source": { - "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" - }, - "startTime": "2020-03-03T17:23:21.9261521+00:00", - "status": "Succeeded" - }, - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - } - } - } - ] - } - } - }, - "operationId": "PipelineRuns_List", - "title": "PipelineRunList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json deleted file mode 100644 index 9ff344e76287..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "privateEndpointConnection": { - "properties": { - "privateLinkServiceConnectionState": { - "description": "Auto-Approved", - "status": "Approved" - } - } - }, - "privateEndpointConnectionName": "myConnection", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myConnection", - "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", - "properties": { - "privateEndpoint": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" - }, - "privateLinkServiceConnectionState": { - "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "myConnection", - "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", - "properties": { - "privateEndpoint": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" - }, - "privateLinkServiceConnectionState": { - "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "title": "PrivateEndpointConnectionCreateOrUpdate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json deleted file mode 100644 index bd4139622487..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "privateEndpointConnectionName": "myConnection", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "PrivateEndpointConnections_Delete", - "title": "PrivateEndpointConnectionDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json deleted file mode 100644 index 943f93e6c6d1..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "privateEndpointConnectionName": "myConnection", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myConnection", - "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", - "properties": { - "privateEndpoint": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" - }, - "privateLinkServiceConnectionState": { - "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" - } - } - } - }, - "operationId": "PrivateEndpointConnections_Get", - "title": "PrivateEndpointConnectionGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json deleted file mode 100644 index 04db068f7d2b..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myConnection", - "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", - "properties": { - "privateEndpoint": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" - }, - "privateLinkServiceConnectionState": { - "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" - } - } - ] - } - } - }, - "operationId": "PrivateEndpointConnections_List", - "title": "PrivateEndpointConnectionList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json deleted file mode 100644 index 1acb07a0b671..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryNameCheckRequest": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", - "resourceGroupName": "myResourceGroup" - }, - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "availableLoginServerName": "myregistry-a1b2c3d4e5f6.azurecr.io", - "nameAvailable": true - } - } - }, - "operationId": "Registries_CheckNameAvailability", - "title": "RegistryCheckNameAvailable" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json deleted file mode 100644 index 74bf7e432868..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryNameCheckRequest": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", - "resourceGroupName": "myResourceGroup" - }, - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "message": "The registry myRegistry is already in use.", - "nameAvailable": false, - "reason": "AlreadyExists" - } - } - }, - "operationId": "Registries_CheckNameAvailability", - "title": "RegistryCheckNameNotAvailable" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreate.json deleted file mode 100644 index affc04259789..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreate.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registry": { - "location": "westus", - "properties": { - "adminUserEnabled": true - }, - "sku": { - "name": "Standard" - }, - "tags": { - "key": "value" - } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Succeeded", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Creating", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - } - } - }, - "operationId": "Registries_Create", - "title": "RegistryCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json deleted file mode 100644 index e22674626cd9..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registry": { - "location": "westus", - "properties": { - "roleAssignmentMode": "AbacRepositoryPermissions" - }, - "sku": { - "name": "Standard" - }, - "tags": { - "key": "value" - } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Succeeded", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Creating", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - } - } - }, - "operationId": "Registries_Create", - "title": "RegistryCreateAbac" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json deleted file mode 100644 index 2a27118c9d37..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registry": { - "location": "westus", - "properties": { - "autoGeneratedDomainNameLabelScope": "TenantReuse" - }, - "sku": { - "name": "Standard" - }, - "tags": { - "key": "value" - } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Succeeded", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "TenantReuse", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Creating", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - } - } - }, - "operationId": "Registries_Create", - "title": "RegistryCreateDomainNameLabelScope" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json deleted file mode 100644 index 0577e026e093..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registry": { - "location": "westus", - "properties": { - "zoneRedundancy": "Enabled" - }, - "sku": { - "name": "Standard" - }, - "tags": { - "key": "value" - } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Succeeded", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Enabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Creating", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Enabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Registries_Create", - "title": "RegistryCreateZoneRedundant" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryDelete.json deleted file mode 100644 index 1b4ce26eea41..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryDelete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "Registries_Delete", - "title": "RegistryDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json deleted file mode 100644 index 6a12db62ede5..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "generateCredentialsParameters": { - "expiry": "2020-12-31T15:59:59.0707808Z", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken" - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "passwords": [ - { - "name": "password1", - "expiry": "2020-12-31T15:59:59.0707808Z", - "value": "00000000000000000000000000000000" - }, - { - "name": "password2", - "expiry": "2020-12-31T15:59:59.0707808Z", - "value": "00000000000000000000000000000000" - } - ], - "username": "myToken" - } - }, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Registries_GenerateCredentials", - "title": "RegistryGenerateCredentials" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGet.json deleted file mode 100644 index db87e0484cca..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGet.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Succeeded", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - } - } - }, - "operationId": "Registries_Get", - "title": "RegistryGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json deleted file mode 100644 index fc5370d8cb4a..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "groupName": "registry", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "registry", - "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", - "properties": { - "groupId": "registry", - "requiredMembers": [ - "registry", - "registry_data_myregion" - ], - "requiredZoneNames": [ - "privatelink.azurecr.io" - ] - } - } - } - }, - "operationId": "Registries_GetPrivateLinkResource", - "title": "RegistryGetPrivateLinkResource" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryList.json deleted file mode 100644 index b09dc55caca6..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryList.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Succeeded", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - } - ] - } - } - }, - "operationId": "Registries_List", - "title": "RegistryList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json deleted file mode 100644 index b5db1648e40f..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Succeeded", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - } - ] - } - } - }, - "operationId": "Registries_ListByResourceGroup", - "title": "RegistryListByResourceGroup" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListCredentials.json deleted file mode 100644 index cad13979f5af..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListCredentials.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "passwords": [ - { - "name": "password", - "value": "00000000000000000000000000000000" - }, - { - "name": "password2", - "value": "00000000000000000000000000000000" - } - ], - "username": "myRegistry" - } - } - }, - "operationId": "Registries_ListCredentials", - "title": "RegistryListCredentials" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json deleted file mode 100644 index 8bcee5174f5e..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "registry", - "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", - "properties": { - "groupId": "registry", - "requiredMembers": [ - "registry", - "registry_data_myregion" - ], - "requiredZoneNames": [ - "privatelink.azurecr.io" - ] - } - } - ] - } - } - }, - "operationId": "Registries_ListPrivateLinkResources", - "title": "RegistryListPrivateLinkResources" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListUsages.json deleted file mode 100644 index e9f9bd026795..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryListUsages.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Size", - "currentValue": 12345678, - "limit": 107374182400, - "unit": "Bytes" - }, - { - "name": "Webhooks", - "currentValue": 2, - "limit": 10, - "unit": "Count" - } - ] - } - } - }, - "operationId": "Registries_ListUsages", - "title": "RegistryListUsages" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json deleted file mode 100644 index a62ee263538d..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "regenerateCredentialParameters": { - "name": "password" - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "passwords": [ - { - "name": "password", - "value": "00000000000000000000000000000000" - }, - { - "name": "password2", - "value": "00000000000000000000000000000000" - } - ], - "username": "myRegistry" - } - } - }, - "operationId": "Registries_RegenerateCredential", - "title": "RegistryRegenerateCredential" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryUpdate.json deleted file mode 100644 index c33269beb299..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/RegistryUpdate.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "registryUpdateParameters": { - "properties": { - "adminUserEnabled": true, - "roleAssignmentMode": "AbacRepositoryPermissions" - }, - "sku": { - "name": "Standard" - }, - "tags": { - "key": "value" - } - }, - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Succeeded", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", - "location": "westus", - "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", - "networkRuleSet": { - "defaultAction": "Allow", - "ipRules": [] - }, - "policies": { - "exportPolicy": { - "status": "enabled" - }, - "quarantinePolicy": { - "status": "disabled" - }, - "retentionPolicy": { - "days": 7, - "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", - "status": "disabled" - }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" - } - }, - "privateEndpointConnections": [], - "provisioningState": "Updating", - "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Registries_Update", - "title": "RegistryUpdate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreate.json deleted file mode 100644 index 796288cf90fe..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreate.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "replication": { - "location": "eastus", - "tags": { - "key": "value" - } - }, - "replicationName": "myReplication", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "location": "eastus", - "properties": { - "provisioningState": "Succeeded", - "regionEndpointEnabled": true, - "status": { - "displayStatus": "Ready", - "message": "The replication is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "location": "eastus", - "properties": { - "provisioningState": "Creating", - "regionEndpointEnabled": true, - "status": { - "displayStatus": "Provisioning", - "message": "The replication is provisioning.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Replications_Create", - "title": "ReplicationCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json deleted file mode 100644 index c37cf3b8de41..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "replication": { - "location": "eastus", - "properties": { - "regionEndpointEnabled": true, - "zoneRedundancy": "Enabled" - }, - "tags": { - "key": "value" - } - }, - "replicationName": "myReplication", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "location": "eastus", - "properties": { - "provisioningState": "Succeeded", - "regionEndpointEnabled": true, - "status": { - "displayStatus": "Ready", - "message": "The replication is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "zoneRedundancy": "Enabled" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "location": "eastus", - "properties": { - "provisioningState": "Creating", - "regionEndpointEnabled": true, - "status": { - "displayStatus": "Provisioning", - "message": "The replication is provisioning.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "zoneRedundancy": "Enabled" - }, - "tags": { - "key": "value" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Replications_Create", - "title": "ReplicationCreateZoneRedundant" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationDelete.json deleted file mode 100644 index 0b32a1ee4c27..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationDelete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "replicationName": "myReplication", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "Replications_Delete", - "title": "ReplicationDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationGet.json deleted file mode 100644 index 4d5c6423f04c..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationGet.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "replicationName": "myReplication", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "location": "eastus", - "properties": { - "provisioningState": "Succeeded", - "regionEndpointEnabled": true, - "status": { - "displayStatus": "Ready", - "message": "The replication is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" - } - } - } - }, - "operationId": "Replications_Get", - "title": "ReplicationGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationList.json deleted file mode 100644 index 9c852ae198ae..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationList.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "location": "eastus", - "properties": { - "provisioningState": "Succeeded", - "regionEndpointEnabled": true, - "status": { - "displayStatus": "Ready", - "message": "The replication is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" - } - } - ] - } - } - }, - "operationId": "Replications_List", - "title": "ReplicationList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationUpdate.json deleted file mode 100644 index 3b9d0f9aa469..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ReplicationUpdate.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "replicationName": "myReplication", - "replicationUpdateParameters": { - "tags": { - "key": "value" - } - }, - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "location": "eastus", - "properties": { - "provisioningState": "Succeeded", - "regionEndpointEnabled": true, - "status": { - "displayStatus": "Ready", - "message": "The replication is ready.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "name": "myReplication", - "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", - "location": "eastus", - "properties": { - "provisioningState": "Updating", - "regionEndpointEnabled": true, - "status": { - "displayStatus": "Provisioning", - "message": "The replication is provisioning.", - "timestamp": "2017-03-01T23:15:37.0707808Z" - }, - "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Replications_Update", - "title": "ReplicationUpdate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapCreate.json deleted file mode 100644 index 0f43bbc379b5..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapCreate.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "scopeMapCreateParameters": { - "properties": { - "description": "Developer Scopes", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/delete" - ] - } - }, - "scopeMapName": "myScopeMap", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "properties": { - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/delete" - ], - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "properties": { - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/delete" - ], - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "ScopeMaps_Create", - "title": "ScopeMapCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapDelete.json deleted file mode 100644 index e2dbbccfd963..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapDelete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "scopeMapName": "myScopeMap", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "ScopeMaps_Delete", - "title": "ScopeMapDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapGet.json deleted file mode 100644 index 4df130731d3f..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapGet.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "scopeMapName": "myScopeMap", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "properties": { - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/delete" - ], - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded" - } - } - } - }, - "operationId": "ScopeMaps_Get", - "title": "ScopeMapGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapList.json deleted file mode 100644 index 45fe4ea3835a..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapList.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "properties": { - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/delete" - ], - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded" - } - } - ] - } - } - }, - "operationId": "ScopeMaps_List", - "title": "ScopeMapList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json deleted file mode 100644 index c9c1a5468cc7..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "scopeMapName": "myScopeMap", - "scopeMapUpdateParameters": { - "properties": { - "description": "Developer Scopes", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/contentRead" - ] - } - }, - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "properties": { - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/contentRead" - ], - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "myScopeMap", - "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "properties": { - "type": "IsUserDefined", - "actions": [ - "repositories/myrepository/contentWrite", - "repositories/myrepository/contentRead" - ], - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "ScopeMaps_Update", - "title": "ScopeMapUpdate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenCreate.json deleted file mode 100644 index 73d5f6060763..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenCreate.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "tokenCreateParameters": { - "properties": { - "credentials": { - "certificates": [ - { - "name": "certificate1", - "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" - } - ] - }, - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "disabled" - } - }, - "tokenName": "myToken" - }, - "responses": { - "200": { - "body": { - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "credentials": { - "certificates": [ - { - "name": "certificate1", - "expiry": "2020-12-04T15:32:48.0707808Z", - "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" - } - ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "disabled" - } - } - }, - "201": { - "body": { - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "credentials": { - "certificates": [ - { - "name": "certificate1", - "expiry": "2020-12-04T15:32:48.0707808Z", - "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" - } - ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "disabled" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Tokens_Create", - "title": "TokenCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenDelete.json deleted file mode 100644 index e9621195b024..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenDelete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "tokenName": "myToken" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "Tokens_Delete", - "title": "TokenDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenGet.json deleted file mode 100644 index 354b772d26c1..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenGet.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "tokenName": "myToken" - }, - "responses": { - "200": { - "body": { - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "enabled" - } - } - } - }, - "operationId": "Tokens_Get", - "title": "TokenGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenList.json deleted file mode 100644 index 541987d9de15..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenList.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "enabled" - } - } - ] - } - } - }, - "operationId": "Tokens_List", - "title": "TokenList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenUpdate.json deleted file mode 100644 index ec52fff2fff2..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/TokenUpdate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "tokenName": "myToken", - "tokenUpdateParameters": { - "properties": { - "credentials": { - "certificates": [ - { - "name": "certificate1", - "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" - } - ] - }, - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap" - } - } - }, - "responses": { - "200": { - "body": { - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "credentials": { - "certificates": [ - { - "name": "certificate1", - "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" - } - ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", - "status": "enabled" - } - } - }, - "201": { - "body": { - "name": "myToken", - "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", - "properties": { - "creationDate": "2017-03-01T23:14:37.0707808Z", - "credentials": { - "certificates": [ - { - "name": "certificate1", - "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" - } - ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", - "status": "enabled" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Tokens_Update", - "title": "TokenUpdate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookCreate.json deleted file mode 100644 index 4613db166023..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookCreate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "webhookCreateParameters": { - "location": "westus", - "properties": { - "actions": [ - "push" - ], - "customHeaders": { - "Authorization": "******" - }, - "scope": "myRepository", - "serviceUri": "http://myservice.com", - "status": "enabled" - }, - "tags": { - "key": "value" - } - }, - "webhookName": "myWebhook" - }, - "responses": { - "200": { - "body": { - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "location": "westus", - "properties": { - "actions": [ - "push" - ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "location": "westus", - "properties": { - "actions": [ - "push" - ], - "provisioningState": "Creating", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Webhooks_Create", - "title": "WebhookCreate" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookDelete.json deleted file mode 100644 index 1a576bf58359..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookDelete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "webhookName": "myWebhook" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - }, - "204": {} - }, - "operationId": "Webhooks_Delete", - "title": "WebhookDelete" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGet.json deleted file mode 100644 index 1468d1602ec9..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGet.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "webhookName": "myWebhook" - }, - "responses": { - "200": { - "body": { - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "location": "westus", - "properties": { - "actions": [ - "push" - ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" - } - } - } - }, - "operationId": "Webhooks_Get", - "title": "WebhookGet" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json deleted file mode 100644 index 06cac76bec5c..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "webhookName": "myWebhook" - }, - "responses": { - "200": { - "body": { - "customHeaders": { - "Authorization": "******" - }, - "serviceUri": "http://myservice.com" - } - } - }, - "operationId": "Webhooks_GetCallbackConfig", - "title": "WebhookGetCallbackConfig" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookList.json deleted file mode 100644 index 15e6239a49a9..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookList.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "location": "westus", - "properties": { - "actions": [ - "push" - ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" - } - } - ] - } - } - }, - "operationId": "Webhooks_List", - "title": "WebhookList" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookListEvents.json deleted file mode 100644 index f4e39977c108..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookListEvents.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "webhookName": "myWebhook" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "eventRequestMessage": { - "method": "POST", - "content": { - "action": "push", - "actor": {}, - "id": "00000000-0000-0000-0000-000000000000", - "source": { - "addr": "xtal.local:5000", - "instanceID": "00000000-0000-0000-0000-000000000000" - }, - "target": { - "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", - "length": 708, - "mediaType": "application/vnd.docker.distribution.manifest.v2+json", - "repository": "hello-world", - "size": 708, - "tag": "latest", - "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf" - }, - "timestamp": "2017-03-01T23:14:37.0707808Z", - "request": { - "method": "GET", - "addr": "192.168.64.11:42961", - "host": "192.168.100.227:5000", - "id": "00000000-0000-0000-0000-000000000000", - "useragent": "curl/7.38.0" - } - }, - "headers": { - "Authorization": "******", - "Content-Length": "719", - "Content-Type": "application/json" - }, - "requestUri": "http://myservice.com", - "version": "1.1" - }, - "eventResponseMessage": { - "headers": { - "Content-Length": "0" - }, - "statusCode": "200", - "version": "1.1" - }, - "id": "00000000-0000-0000-0000-000000000000" - } - ] - } - } - }, - "operationId": "Webhooks_ListEvents", - "title": "WebhookListEvents" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookPing.json deleted file mode 100644 index 7aee705896dd..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookPing.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "webhookName": "myWebhook" - }, - "responses": { - "200": { - "body": { - "id": "00000000-0000-0000-0000-000000000000" - } - } - }, - "operationId": "Webhooks_Ping", - "title": "WebhookPing" -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookUpdate.json deleted file mode 100644 index e10e232907fa..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/resource-manager/Microsoft.ContainerRegistry/preview/2025-05-01-preview/examples/WebhookUpdate.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "webhookName": "myWebhook", - "webhookUpdateParameters": { - "properties": { - "actions": [ - "push" - ], - "customHeaders": { - "Authorization": "******" - }, - "scope": "myRepository", - "serviceUri": "http://myservice.com", - "status": "enabled" - }, - "tags": { - "key": "value" - } - } - }, - "responses": { - "200": { - "body": { - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "location": "westus", - "properties": { - "actions": [ - "push" - ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "name": "myWebhook", - "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", - "location": "westus", - "properties": { - "actions": [ - "push" - ], - "provisioningState": "Updating", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" - } - } - }, - "operationId": "Webhooks_Update", - "title": "WebhookUpdate" -} \ No newline at end of file From 99434cf2eb075cc1bb17720ba90f0107d1e88777 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 11:33:11 +0800 Subject: [PATCH 11/41] update --- .../Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp | 6 +++++- .../Microsoft.ContainerRegistry/RegistryTasks/Task.tsp | 1 + .../Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp | 6 +++++- .../Microsoft.ContainerRegistry/RegistryTasks/main.tsp | 1 + .../Microsoft.ContainerRegistry/RegistryTasks/models.tsp | 6 ++++-- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp index 5cfb2e67ee65..f4b52d5f4c64 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp @@ -39,6 +39,7 @@ interface AgentPools { /** * Updates an agent pool with the specified parameters. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-patch" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< AgentPool, @@ -57,7 +58,10 @@ interface AgentPools { * Lists all the agent pools for a specified container registry. */ @list - list is ArmResourceListByParent>; + list is ArmResourceListByParent< + AgentPool, + Response = ArmResponse + >; /** * Gets the count of queued runs for a given agent pool. diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp index 97c234749c7c..ef6f74304d19 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp @@ -45,6 +45,7 @@ interface Tasks { /** * Updates a task with the specified parameters. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-patch" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) update is ArmCustomPatchSync; diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp index a4164d0d9022..7905e0235100 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp @@ -51,6 +51,7 @@ interface TaskRuns { /** * Updates a task run with the specified parameters. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-patch" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< TaskRun, @@ -69,7 +70,10 @@ interface TaskRuns { * Lists all the task runs for a specified container registry. */ @list - list is ArmResourceListByParent>; + list is ArmResourceListByParent< + TaskRun, + Response = ArmResponse + >; /** * Gets the detailed information for a given task run that includes all secrets. diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp index abe796180d48..af42808d7060 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/main.tsp @@ -28,6 +28,7 @@ using TypeSpec.Versioning; /** * The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components. */ +#suppress "@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @armProviderNamespace @service(#{ title: "ContainerRegistryTasksManagementClient" }) @versioned(Versions) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp index 893ce4e7a6a7..b946783a6891 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/models.tsp @@ -493,6 +493,7 @@ model RunRequest { /** * The type of the run request. */ + #suppress "@azure-tools/typespec-azure-core/no-string-discriminator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" type: string; /** @@ -625,6 +626,7 @@ model RunProperties { /** * The provisioning state of a run. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" provisioningState?: ProvisioningState; /** @@ -2096,8 +2098,8 @@ model Registry is Azure.ResourceManager.TrackedResource { Resource = Registry, KeyName = "registryName", SegmentName = "registries", - NamePattern = "^[a-zA-Z0-9]*$", + NamePattern = "^[a-zA-Z0-9]*$" >; } @@maxLength(Registry.name, 50); -@@minLength(Registry.name, 5); \ No newline at end of file +@@minLength(Registry.name, 5); From aa3e64abfaf96a4a588c9b925d2db8186881391b Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 11:34:21 +0800 Subject: [PATCH 12/41] update --- .../Registry/examples/2025-05-01-preview/ArchiveCreate.json | 2 +- .../Registry/examples/2025-05-01-preview/ArchiveDelete.json | 2 +- .../Registry/examples/2025-05-01-preview/ArchiveGet.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveCreate.json index dc04c33cefdf..4e87be6fbefa 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveCreate.json @@ -58,4 +58,4 @@ }, "operationId": "Archives_Create", "title": "ArchiveCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveDelete.json index 9aba0f664905..f67629416e30 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveDelete.json @@ -17,4 +17,4 @@ }, "operationId": "Archives_Delete", "title": "ArchiveDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveGet.json index 476b471dff97..7dab950ae036 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveGet.json @@ -34,4 +34,4 @@ }, "operationId": "Archives_Get", "title": "ArchiveGet" -} \ No newline at end of file +} From a2d5156a9da26a0e956fabb4af9cf2497d95b582 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 11:44:38 +0800 Subject: [PATCH 13/41] update --- .../Microsoft.ContainerRegistry/Registry/client.tsp | 3 +-- .../Registry/examples/2025-05-01-preview/ArchiveList.json | 2 +- .../Registry/examples/2025-05-01-preview/ArchiveUpdate.json | 2 +- .../examples/2025-05-01-preview/ArchiveVersionCreate.json | 2 +- .../examples/2025-05-01-preview/ArchiveVersionDelete.json | 2 +- .../examples/2025-05-01-preview/ArchiveVersionGet.json | 2 +- .../examples/2025-05-01-preview/ArchiveVersionList.json | 2 +- .../Registry/examples/2025-05-01-preview/CacheRuleCreate.json | 2 +- .../Registry/examples/2025-05-01-preview/CacheRuleDelete.json | 2 +- .../Registry/examples/2025-05-01-preview/CacheRuleGet.json | 2 +- .../Registry/examples/2025-05-01-preview/CacheRuleList.json | 2 +- .../Registry/examples/2025-05-01-preview/CacheRuleUpdate.json | 2 +- .../examples/2025-05-01-preview/ConnectedRegistryCreate.json | 2 +- .../2025-05-01-preview/ConnectedRegistryDeactivate.json | 2 +- .../examples/2025-05-01-preview/ConnectedRegistryDelete.json | 2 +- .../examples/2025-05-01-preview/ConnectedRegistryGet.json | 2 +- .../examples/2025-05-01-preview/ConnectedRegistryList.json | 2 +- .../examples/2025-05-01-preview/ConnectedRegistryUpdate.json | 2 +- .../examples/2025-05-01-preview/CredentialSetCreate.json | 2 +- .../examples/2025-05-01-preview/CredentialSetDelete.json | 2 +- .../Registry/examples/2025-05-01-preview/CredentialSetGet.json | 2 +- .../examples/2025-05-01-preview/CredentialSetList.json | 2 +- .../examples/2025-05-01-preview/CredentialSetUpdate.json | 2 +- .../examples/2025-05-01-preview/ExportPipelineCreate.json | 2 +- .../examples/2025-05-01-preview/ExportPipelineDelete.json | 2 +- .../examples/2025-05-01-preview/ExportPipelineGet.json | 2 +- .../examples/2025-05-01-preview/ExportPipelineList.json | 2 +- .../2025-05-01-preview/ImportImageByManifestDigest.json | 2 +- .../Registry/examples/2025-05-01-preview/ImportImageByTag.json | 2 +- .../2025-05-01-preview/ImportImageFromPublicRegistry.json | 2 +- .../examples/2025-05-01-preview/ImportPipelineCreate.json | 2 +- .../examples/2025-05-01-preview/ImportPipelineDelete.json | 2 +- .../examples/2025-05-01-preview/ImportPipelineGet.json | 2 +- .../examples/2025-05-01-preview/ImportPipelineList.json | 2 +- .../Registry/examples/2025-05-01-preview/OperationList.json | 2 +- .../examples/2025-05-01-preview/PipelineRunCreate_Export.json | 2 +- .../examples/2025-05-01-preview/PipelineRunCreate_Import.json | 2 +- .../examples/2025-05-01-preview/PipelineRunDelete.json | 2 +- .../Registry/examples/2025-05-01-preview/PipelineRunGet.json | 2 +- .../Registry/examples/2025-05-01-preview/PipelineRunList.json | 2 +- .../PrivateEndpointConnectionCreateOrUpdate.json | 2 +- .../2025-05-01-preview/PrivateEndpointConnectionDelete.json | 2 +- .../2025-05-01-preview/PrivateEndpointConnectionGet.json | 2 +- .../2025-05-01-preview/PrivateEndpointConnectionList.json | 2 +- .../2025-05-01-preview/RegistryCheckNameAvailable.json | 2 +- .../2025-05-01-preview/RegistryCheckNameNotAvailable.json | 2 +- .../Registry/examples/2025-05-01-preview/RegistryCreate.json | 2 +- .../examples/2025-05-01-preview/RegistryCreateAbac.json | 2 +- .../2025-05-01-preview/RegistryCreateDomainNameLabelScope.json | 2 +- .../2025-05-01-preview/RegistryCreateZoneRedundant.json | 2 +- .../Registry/examples/2025-05-01-preview/RegistryDelete.json | 2 +- .../2025-05-01-preview/RegistryGenerateCredentials.json | 2 +- .../Registry/examples/2025-05-01-preview/RegistryGet.json | 2 +- .../2025-05-01-preview/RegistryGetPrivateLinkResource.json | 2 +- .../Registry/examples/2025-05-01-preview/RegistryList.json | 2 +- .../2025-05-01-preview/RegistryListByResourceGroup.json | 2 +- .../examples/2025-05-01-preview/RegistryListCredentials.json | 2 +- .../2025-05-01-preview/RegistryListPrivateLinkResources.json | 2 +- .../examples/2025-05-01-preview/RegistryListUsages.json | 2 +- .../2025-05-01-preview/RegistryRegenerateCredential.json | 2 +- .../Registry/examples/2025-05-01-preview/RegistryUpdate.json | 2 +- .../examples/2025-05-01-preview/ReplicationCreate.json | 2 +- .../2025-05-01-preview/ReplicationCreateZoneRedundant.json | 2 +- .../examples/2025-05-01-preview/ReplicationDelete.json | 2 +- .../Registry/examples/2025-05-01-preview/ReplicationGet.json | 2 +- .../Registry/examples/2025-05-01-preview/ReplicationList.json | 2 +- .../examples/2025-05-01-preview/ReplicationUpdate.json | 2 +- .../Registry/examples/2025-05-01-preview/ScopeMapCreate.json | 2 +- .../Registry/examples/2025-05-01-preview/ScopeMapDelete.json | 2 +- .../Registry/examples/2025-05-01-preview/ScopeMapGet.json | 2 +- .../Registry/examples/2025-05-01-preview/ScopeMapList.json | 2 +- .../Registry/examples/2025-05-01-preview/ScopeMapUpdate.json | 2 +- .../Registry/examples/2025-05-01-preview/TokenCreate.json | 2 +- .../Registry/examples/2025-05-01-preview/TokenDelete.json | 2 +- .../Registry/examples/2025-05-01-preview/TokenGet.json | 2 +- .../Registry/examples/2025-05-01-preview/TokenList.json | 2 +- .../Registry/examples/2025-05-01-preview/TokenUpdate.json | 2 +- .../Registry/examples/2025-05-01-preview/WebhookCreate.json | 2 +- .../Registry/examples/2025-05-01-preview/WebhookDelete.json | 2 +- .../Registry/examples/2025-05-01-preview/WebhookGet.json | 2 +- .../examples/2025-05-01-preview/WebhookGetCallbackConfig.json | 2 +- .../Registry/examples/2025-05-01-preview/WebhookList.json | 2 +- .../examples/2025-05-01-preview/WebhookListEvents.json | 2 +- .../Registry/examples/2025-05-01-preview/WebhookPing.json | 2 +- .../Registry/examples/2025-05-01-preview/WebhookUpdate.json | 2 +- .../Microsoft.ContainerRegistry/RegistryTasks/client.tsp | 3 +-- .../examples/2025-03-01-preview/AgentPoolsCreate.json | 2 +- .../examples/2025-03-01-preview/AgentPoolsDelete.json | 2 +- .../examples/2025-03-01-preview/AgentPoolsGet.json | 2 +- .../examples/2025-03-01-preview/AgentPoolsGetQueueStatus.json | 2 +- .../examples/2025-03-01-preview/AgentPoolsList.json | 2 +- .../examples/2025-03-01-preview/AgentPoolsUpdate.json | 2 +- .../ManagedIdentity/TasksCreate_WithLoginIdentity.json | 2 +- .../TasksCreate_WithSystemAndUserIdentities.json | 2 +- .../ManagedIdentity/TasksCreate_WithSystemIdentity.json | 2 +- .../ManagedIdentity/TasksCreate_WithUserIdentities.json | 2 +- .../TasksUpdate_WithKeyVaultCustomCredentials.json | 2 +- .../ManagedIdentity/TasksUpdate_WithLoginIdentity.json | 2 +- .../ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json | 2 +- .../2025-03-01-preview/RegistriesGetBuildSourceUploadUrl.json | 2 +- .../examples/2025-03-01-preview/RegistriesScheduleRun.json | 2 +- .../RegistriesScheduleRun_EncodedTaskRun.json | 2 +- .../2025-03-01-preview/RegistriesScheduleRun_FileTaskRun.json | 2 +- .../RegistriesScheduleRun_FileTask_WithCustomCredentials.json | 2 +- .../2025-03-01-preview/RegistriesScheduleRun_Task.json | 2 +- .../RegistriesScheduleRun_WithCustomCredentials.json | 2 +- .../RegistriesScheduleRun_WithLogTemplate.json | 2 +- .../RegistryTasks/examples/2025-03-01-preview/RunsCancel.json | 2 +- .../RegistryTasks/examples/2025-03-01-preview/RunsGet.json | 2 +- .../examples/2025-03-01-preview/RunsGetLogSasUrl.json | 2 +- .../RegistryTasks/examples/2025-03-01-preview/RunsList.json | 2 +- .../RegistryTasks/examples/2025-03-01-preview/RunsUpdate.json | 2 +- .../examples/2025-03-01-preview/TaskRunsCreate.json | 2 +- .../examples/2025-03-01-preview/TaskRunsDelete.json | 2 +- .../RegistryTasks/examples/2025-03-01-preview/TaskRunsGet.json | 2 +- .../examples/2025-03-01-preview/TaskRunsGetDetails.json | 2 +- .../examples/2025-03-01-preview/TaskRunsList.json | 2 +- .../examples/2025-03-01-preview/TaskRunsUpdate.json | 2 +- .../RegistryTasks/examples/2025-03-01-preview/TasksCreate.json | 2 +- .../examples/2025-03-01-preview/TasksCreate_QuickTask.json | 2 +- .../RegistryTasks/examples/2025-03-01-preview/TasksDelete.json | 2 +- .../RegistryTasks/examples/2025-03-01-preview/TasksGet.json | 2 +- .../examples/2025-03-01-preview/TasksGetDetails.json | 2 +- .../RegistryTasks/examples/2025-03-01-preview/TasksList.json | 2 +- .../RegistryTasks/examples/2025-03-01-preview/TasksUpdate.json | 2 +- .../examples/2025-03-01-preview/TasksUpdate_QuickTask.json | 2 +- .../TasksUpdate_WithOpaqueCustomCredentials.json | 2 +- 127 files changed, 127 insertions(+), 129 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/client.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/client.tsp index 8156cd6bfb0d..0b2983e9a756 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/client.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/client.tsp @@ -2,8 +2,7 @@ import "@azure-tools/typespec-client-generator-core"; import "./main.tsp"; using Azure.ClientGenerator.Core; - -namespace Microsoft.ContainerRegistry; +using Microsoft.ContainerRegistry; @@clientName(Microsoft.ContainerRegistry, "ContainerRegistryManagementClient", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json index f3fbd3b88ba5..ee3d91e52e44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json @@ -38,4 +38,4 @@ }, "operationId": "Archives_List", "title": "ArchiveList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveUpdate.json index d2e7aa9a6a42..c911674db426 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveUpdate.json @@ -41,4 +41,4 @@ }, "operationId": "Archives_Update", "title": "ArchiveUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionCreate.json index bf3e7bae50d0..595455e63980 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionCreate.json @@ -35,4 +35,4 @@ }, "operationId": "ArchiveVersions_Create", "title": "ArchiveVersionCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionDelete.json index c7dfd5b3f787..8c1051b67080 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionDelete.json @@ -18,4 +18,4 @@ }, "operationId": "ArchiveVersions_Delete", "title": "ArchiveVersionDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionGet.json index 562336e2bad0..bb013af5731f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionGet.json @@ -31,4 +31,4 @@ }, "operationId": "ArchiveVersions_Get", "title": "ArchiveVersionGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json index 591543bc2709..7f3ae720775f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json @@ -35,4 +35,4 @@ }, "operationId": "ArchiveVersions_List", "title": "ArchiveVersionList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleCreate.json index 75d48bd44545..15d97651759e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleCreate.json @@ -48,4 +48,4 @@ }, "operationId": "CacheRules_Create", "title": "CacheRuleCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleDelete.json index 1e6684d297c4..180b50ec5e9a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleDelete.json @@ -16,4 +16,4 @@ }, "operationId": "CacheRules_Delete", "title": "CacheRuleDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleGet.json index 995f262c5dd8..795d05d83575 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleGet.json @@ -24,4 +24,4 @@ }, "operationId": "CacheRules_Get", "title": "CacheRuleGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleList.json index a0699412ee9a..a1ebf6bbf852 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleList.json @@ -27,4 +27,4 @@ }, "operationId": "CacheRules_List", "title": "CacheRuleList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleUpdate.json index cb06ebf79a1d..2a758f6e3b3c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleUpdate.json @@ -46,4 +46,4 @@ }, "operationId": "CacheRules_Update", "title": "CacheRuleUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryCreate.json index c502d14686f7..4596ee04805c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryCreate.json @@ -109,4 +109,4 @@ }, "operationId": "ConnectedRegistries_Create", "title": "ConnectedRegistryCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDeactivate.json index 6e189a00e328..ab9b692ac5c5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDeactivate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDeactivate.json @@ -16,4 +16,4 @@ }, "operationId": "ConnectedRegistries_Deactivate", "title": "ConnectedRegistryDeactivate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDelete.json index a2eba1b22be4..cf1ed7b6641f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDelete.json @@ -17,4 +17,4 @@ }, "operationId": "ConnectedRegistries_Delete", "title": "ConnectedRegistryDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryGet.json index f1ce8a3fcb5a..d60be062d298 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryGet.json @@ -46,4 +46,4 @@ }, "operationId": "ConnectedRegistries_Get", "title": "ConnectedRegistryGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryList.json index 803edeb1e126..86ed11893c08 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryList.json @@ -49,4 +49,4 @@ }, "operationId": "ConnectedRegistries_List", "title": "ConnectedRegistryList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryUpdate.json index f2b68454277c..a77c48efa0d0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryUpdate.json @@ -106,4 +106,4 @@ }, "operationId": "ConnectedRegistries_Update", "title": "ConnectedRegistryUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetCreate.json index c2b6391738a5..2a7e52e85421 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetCreate.json @@ -82,4 +82,4 @@ }, "operationId": "CredentialSets_Create", "title": "CredentialSetCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetDelete.json index e4058a6a6d3a..0485b7340623 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetDelete.json @@ -16,4 +16,4 @@ }, "operationId": "CredentialSets_Delete", "title": "CredentialSetDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetGet.json index 42249cde643e..5e5add0ca9c1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetGet.json @@ -37,4 +37,4 @@ }, "operationId": "CredentialSets_Get", "title": "CredentialSetGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetList.json index 75655128524d..5ad2bbeec727 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetList.json @@ -40,4 +40,4 @@ }, "operationId": "CredentialSets_List", "title": "CredentialSetList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetUpdate.json index 45d99e9e938b..6b2ac1f43f70 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetUpdate.json @@ -78,4 +78,4 @@ }, "operationId": "CredentialSets_Update", "title": "CredentialSetUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineCreate.json index 66271fac5b88..78b5837fe76a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineCreate.json @@ -77,4 +77,4 @@ }, "operationId": "ExportPipelines_Create", "title": "ExportPipelineCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineDelete.json index 8ce6b112904d..1283d89c59e1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineDelete.json @@ -17,4 +17,4 @@ }, "operationId": "ExportPipelines_Delete", "title": "ExportPipelineDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineGet.json index 662586ed7f09..7ac9e28d63c3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineGet.json @@ -34,4 +34,4 @@ }, "operationId": "ExportPipelines_Get", "title": "ExportPipelineGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineList.json index 426f7146429e..bfa3a065a55b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineList.json @@ -37,4 +37,4 @@ }, "operationId": "ExportPipelines_List", "title": "ExportPipelineList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByManifestDigest.json index bffb2268d135..a3d19b55cf9e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByManifestDigest.json @@ -28,4 +28,4 @@ }, "operationId": "Registries_ImportImage", "title": "ImportImageByManifestDigest" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByTag.json index d27cdecc5311..ea6b6213a92a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByTag.json @@ -28,4 +28,4 @@ }, "operationId": "Registries_ImportImage", "title": "ImportImageByTag" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageFromPublicRegistry.json index 62a5d60c7e4e..9e1550853b6b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageFromPublicRegistry.json @@ -28,4 +28,4 @@ }, "operationId": "Registries_ImportImage", "title": "ImportImageFromPublicRegistry" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineCreate.json index d1f54159b956..72e6cb291fb0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineCreate.json @@ -104,4 +104,4 @@ }, "operationId": "ImportPipelines_Create", "title": "ImportPipelineCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineDelete.json index d695627df8a5..18a454dacfaf 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineDelete.json @@ -17,4 +17,4 @@ }, "operationId": "ImportPipelines_Delete", "title": "ImportPipelineDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineGet.json index b1ab529b009a..ed72e9e14d54 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineGet.json @@ -45,4 +45,4 @@ }, "operationId": "ImportPipelines_Get", "title": "ImportPipelineGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineList.json index 9671f76049d6..5376577e59f4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineList.json @@ -48,4 +48,4 @@ }, "operationId": "ImportPipelines_List", "title": "ImportPipelineList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/OperationList.json index f1937f9c350d..a73afe99e923 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/OperationList.json @@ -21,4 +21,4 @@ }, "operationId": "Operations_List", "title": "OperationList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Export.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Export.json index 5d16d74802fb..3f40494c5e98 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Export.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Export.json @@ -88,4 +88,4 @@ }, "operationId": "PipelineRuns_Create", "title": "PipelineRunCreate_Export" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Import.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Import.json index 93e0d2d11f38..43777a6f3e64 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Import.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Import.json @@ -87,4 +87,4 @@ }, "operationId": "PipelineRuns_Create", "title": "PipelineRunCreate_Import" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunDelete.json index da55ee26c0f1..0cc8feb90596 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunDelete.json @@ -17,4 +17,4 @@ }, "operationId": "PipelineRuns_Delete", "title": "PipelineRunDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunGet.json index 31902e21c3bc..dd5ee1b757fe 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunGet.json @@ -40,4 +40,4 @@ }, "operationId": "PipelineRuns_Get", "title": "PipelineRunGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunList.json index b2e4212f91e1..f403fb76ac7e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunList.json @@ -71,4 +71,4 @@ }, "operationId": "PipelineRuns_List", "title": "PipelineRunList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionCreateOrUpdate.json index 9ff344e76287..b36f46966f1d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionCreateOrUpdate.json @@ -57,4 +57,4 @@ }, "operationId": "PrivateEndpointConnections_CreateOrUpdate", "title": "PrivateEndpointConnectionCreateOrUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionDelete.json index bd4139622487..6158a754d031 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionDelete.json @@ -17,4 +17,4 @@ }, "operationId": "PrivateEndpointConnections_Delete", "title": "PrivateEndpointConnectionDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionGet.json index 943f93e6c6d1..e6090563538e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionGet.json @@ -28,4 +28,4 @@ }, "operationId": "PrivateEndpointConnections_Get", "title": "PrivateEndpointConnectionGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionList.json index 04db068f7d2b..73b700233b7b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionList.json @@ -31,4 +31,4 @@ }, "operationId": "PrivateEndpointConnections_List", "title": "PrivateEndpointConnectionList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameAvailable.json index 1acb07a0b671..7e8b704af0bb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameAvailable.json @@ -19,4 +19,4 @@ }, "operationId": "Registries_CheckNameAvailability", "title": "RegistryCheckNameAvailable" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json index 74bf7e432868..1a7f8357e425 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json @@ -20,4 +20,4 @@ }, "operationId": "Registries_CheckNameAvailability", "title": "RegistryCheckNameNotAvailable" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreate.json index affc04259789..10fcc4ed06bf 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreate.json @@ -135,4 +135,4 @@ }, "operationId": "Registries_Create", "title": "RegistryCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateAbac.json index e22674626cd9..5f0d24183bfd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateAbac.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateAbac.json @@ -135,4 +135,4 @@ }, "operationId": "Registries_Create", "title": "RegistryCreateAbac" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateDomainNameLabelScope.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateDomainNameLabelScope.json index 2a27118c9d37..2b63b773d6fa 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateDomainNameLabelScope.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateDomainNameLabelScope.json @@ -135,4 +135,4 @@ }, "operationId": "Registries_Create", "title": "RegistryCreateDomainNameLabelScope" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateZoneRedundant.json index 0577e026e093..10dc465eb8d6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateZoneRedundant.json @@ -138,4 +138,4 @@ }, "operationId": "Registries_Create", "title": "RegistryCreateZoneRedundant" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryDelete.json index 1b4ce26eea41..fb02db6d63ff 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryDelete.json @@ -16,4 +16,4 @@ }, "operationId": "Registries_Delete", "title": "RegistryDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGenerateCredentials.json index 6a12db62ede5..08e32ea8a936 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGenerateCredentials.json @@ -35,4 +35,4 @@ }, "operationId": "Registries_GenerateCredentials", "title": "RegistryGenerateCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGet.json index db87e0484cca..3bbf7edd4846 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGet.json @@ -66,4 +66,4 @@ }, "operationId": "Registries_Get", "title": "RegistryGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGetPrivateLinkResource.json index fc5370d8cb4a..911a7dc8aa90 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGetPrivateLinkResource.json @@ -27,4 +27,4 @@ }, "operationId": "Registries_GetPrivateLinkResource", "title": "RegistryGetPrivateLinkResource" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryList.json index b09dc55caca6..15e3f32bf8ae 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryList.json @@ -68,4 +68,4 @@ }, "operationId": "Registries_List", "title": "RegistryList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListByResourceGroup.json index b5db1648e40f..fb9daede3fd1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListByResourceGroup.json @@ -69,4 +69,4 @@ }, "operationId": "Registries_ListByResourceGroup", "title": "RegistryListByResourceGroup" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListCredentials.json index cad13979f5af..a6eeacf7a39f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListCredentials.json @@ -24,4 +24,4 @@ }, "operationId": "Registries_ListCredentials", "title": "RegistryListCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListPrivateLinkResources.json index 8bcee5174f5e..01065f5ca67a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListPrivateLinkResources.json @@ -30,4 +30,4 @@ }, "operationId": "Registries_ListPrivateLinkResources", "title": "RegistryListPrivateLinkResources" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListUsages.json index e9f9bd026795..7e43413f4f16 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListUsages.json @@ -27,4 +27,4 @@ }, "operationId": "Registries_ListUsages", "title": "RegistryListUsages" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryRegenerateCredential.json index a62ee263538d..d79ddb3a266a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryRegenerateCredential.json @@ -27,4 +27,4 @@ }, "operationId": "Registries_RegenerateCredential", "title": "RegistryRegenerateCredential" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryUpdate.json index c33269beb299..3a9f2f7b02ab 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryUpdate.json @@ -138,4 +138,4 @@ }, "operationId": "Registries_Update", "title": "RegistryUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreate.json index 796288cf90fe..61692b0c0418 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreate.json @@ -61,4 +61,4 @@ }, "operationId": "Replications_Create", "title": "ReplicationCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreateZoneRedundant.json index c37cf3b8de41..f4533343c6a1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreateZoneRedundant.json @@ -65,4 +65,4 @@ }, "operationId": "Replications_Create", "title": "ReplicationCreateZoneRedundant" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationDelete.json index 0b32a1ee4c27..48176d553356 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationDelete.json @@ -17,4 +17,4 @@ }, "operationId": "Replications_Delete", "title": "ReplicationDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationGet.json index 4d5c6423f04c..3fceb2142447 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationGet.json @@ -31,4 +31,4 @@ }, "operationId": "Replications_Get", "title": "ReplicationGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationList.json index 9c852ae198ae..7d8d98237982 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationList.json @@ -34,4 +34,4 @@ }, "operationId": "Replications_List", "title": "ReplicationList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationUpdate.json index 3b9d0f9aa469..164eb88ab757 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationUpdate.json @@ -60,4 +60,4 @@ }, "operationId": "Replications_Update", "title": "ReplicationUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapCreate.json index 0f43bbc379b5..f105830b700e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapCreate.json @@ -54,4 +54,4 @@ }, "operationId": "ScopeMaps_Create", "title": "ScopeMapCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapDelete.json index e2dbbccfd963..52da9758db99 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapDelete.json @@ -17,4 +17,4 @@ }, "operationId": "ScopeMaps_Delete", "title": "ScopeMapDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapGet.json index 4df130731d3f..1b56ae9e1460 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapGet.json @@ -26,4 +26,4 @@ }, "operationId": "ScopeMaps_Get", "title": "ScopeMapGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapList.json index 45fe4ea3835a..5924f9a604ab 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapList.json @@ -29,4 +29,4 @@ }, "operationId": "ScopeMaps_List", "title": "ScopeMapList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapUpdate.json index c9c1a5468cc7..4e11886c2b68 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapUpdate.json @@ -54,4 +54,4 @@ }, "operationId": "ScopeMaps_Update", "title": "ScopeMapUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenCreate.json index 73d5f6060763..84f11348e076 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenCreate.json @@ -71,4 +71,4 @@ }, "operationId": "Tokens_Create", "title": "TokenCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenDelete.json index e9621195b024..165b8546f252 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenDelete.json @@ -17,4 +17,4 @@ }, "operationId": "Tokens_Delete", "title": "TokenDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenGet.json index 354b772d26c1..26890b9160d8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenGet.json @@ -23,4 +23,4 @@ }, "operationId": "Tokens_Get", "title": "TokenGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenList.json index 541987d9de15..8afa51829971 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenList.json @@ -26,4 +26,4 @@ }, "operationId": "Tokens_List", "title": "TokenList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenUpdate.json index ec52fff2fff2..0252f32007d8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenUpdate.json @@ -68,4 +68,4 @@ }, "operationId": "Tokens_Update", "title": "TokenUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookCreate.json index 4613db166023..f95ad3127ec2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookCreate.json @@ -68,4 +68,4 @@ }, "operationId": "Webhooks_Create", "title": "WebhookCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookDelete.json index 1a576bf58359..f54f7f314d65 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookDelete.json @@ -17,4 +17,4 @@ }, "operationId": "Webhooks_Delete", "title": "WebhookDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGet.json index 1468d1602ec9..23e83c6fb87f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGet.json @@ -29,4 +29,4 @@ }, "operationId": "Webhooks_Get", "title": "WebhookGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGetCallbackConfig.json index 06cac76bec5c..0ba015e0ab6e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGetCallbackConfig.json @@ -18,4 +18,4 @@ }, "operationId": "Webhooks_GetCallbackConfig", "title": "WebhookGetCallbackConfig" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookList.json index 15e6239a49a9..367d8cbe2497 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookList.json @@ -32,4 +32,4 @@ }, "operationId": "Webhooks_List", "title": "WebhookList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookListEvents.json index f4e39977c108..ee94bcb8d180 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookListEvents.json @@ -62,4 +62,4 @@ }, "operationId": "Webhooks_ListEvents", "title": "WebhookListEvents" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookPing.json index 7aee705896dd..491def0ded42 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookPing.json @@ -15,4 +15,4 @@ }, "operationId": "Webhooks_Ping", "title": "WebhookPing" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookUpdate.json index e10e232907fa..2f380143661d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookUpdate.json @@ -67,4 +67,4 @@ }, "operationId": "Webhooks_Update", "title": "WebhookUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp index 883fd57d32b2..b92783e14178 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp @@ -2,8 +2,7 @@ import "@azure-tools/typespec-client-generator-core"; import "./main.tsp"; using Azure.ClientGenerator.Core; - -namespace Microsoft.ContainerRegistry; +using Microsoft.ContainerRegistry; @@clientName(Microsoft.ContainerRegistry, "ContainerRegistryTasksManagementClient", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsCreate.json index 9b990a0ff01c..b12c4a009f38 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsCreate.json @@ -49,4 +49,4 @@ }, "operationId": "AgentPools_Create", "title": "AgentPools_Create" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsDelete.json index ce63d22205da..48414d23688c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsDelete.json @@ -16,4 +16,4 @@ }, "operationId": "AgentPools_Delete", "title": "AgentPools_Delete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGet.json index 2954ee2c1b41..3625dd50f75e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGet.json @@ -24,4 +24,4 @@ }, "operationId": "AgentPools_Get", "title": "AgentPools_Get" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGetQueueStatus.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGetQueueStatus.json index 8c8780758bce..505553d4074d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGetQueueStatus.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsGetQueueStatus.json @@ -15,4 +15,4 @@ }, "operationId": "AgentPools_GetQueueStatus", "title": "AgentPools_GetQueueStatus" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsList.json index 5a7188b5835b..6478e2458b9b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsList.json @@ -28,4 +28,4 @@ }, "operationId": "AgentPools_List", "title": "AgentPools_List" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsUpdate.json index e6d8cd533cc5..58c5e1970de0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/AgentPoolsUpdate.json @@ -43,4 +43,4 @@ }, "operationId": "AgentPools_Update", "title": "AgentPools_Update" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithLoginIdentity.json index 754f29e35b23..cc8ab5d569c1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithLoginIdentity.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithLoginIdentity.json @@ -247,4 +247,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create_WithLoginIdentity" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json index 7aebdbfa2a61..52f772a47edb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json @@ -253,4 +253,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create_WithSystemAndUserIdentities" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemIdentity.json index 234524ee8e79..30e24470a92a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemIdentity.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithSystemIdentity.json @@ -232,4 +232,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create_WithUserIdentities_WithSystemIdentity" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithUserIdentities.json index 3fb5af85dc17..243bd4a57b6b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithUserIdentities.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksCreate_WithUserIdentities.json @@ -258,4 +258,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create_WithUserIdentities" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json index 14aa7d77780c..4c0fc3c74129 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json @@ -142,4 +142,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update_WithKeyVaultCustomCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithLoginIdentity.json index 27709a3df937..cb58180cf9dd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithLoginIdentity.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithLoginIdentity.json @@ -129,4 +129,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update_WithLoginIdentity" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json index f4814334f82e..c97f23d49170 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json @@ -132,4 +132,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update_WithMSICustomCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesGetBuildSourceUploadUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesGetBuildSourceUploadUrl.json index a1cb2e510e55..db9811f38535 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesGetBuildSourceUploadUrl.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesGetBuildSourceUploadUrl.json @@ -15,4 +15,4 @@ }, "operationId": "Registries_GetBuildSourceUploadUrl", "title": "Registries_GetBuildSourceUploadUrl" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun.json index 5d33cde26aa0..2d879cbf5602 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun.json @@ -52,4 +52,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_EncodedTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_EncodedTaskRun.json index c1429e996f08..68cddcb69440 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_EncodedTaskRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_EncodedTaskRun.json @@ -45,4 +45,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_EncodedTaskRun" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTaskRun.json index b6163d6ff7df..3b09a9051569 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTaskRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTaskRun.json @@ -46,4 +46,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_FileTaskRun" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTask_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTask_WithCustomCredentials.json index 86c52b4164f0..6723b3269ec3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTask_WithCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_FileTask_WithCustomCredentials.json @@ -58,4 +58,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_Task_WithCustomCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_Task.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_Task.json index b275627c16eb..e096a7b00f34 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_Task.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_Task.json @@ -55,4 +55,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_Task" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithCustomCredentials.json index 2f1ad86b1c74..2e2a3707451f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithCustomCredentials.json @@ -80,4 +80,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_WithCustomCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithLogTemplate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithLogTemplate.json index b11d3b616edd..2334d808f9e7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithLogTemplate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RegistriesScheduleRun_WithLogTemplate.json @@ -53,4 +53,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_WithLogTemplate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsCancel.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsCancel.json index 7ab56cf944e5..24c833ad9c44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsCancel.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsCancel.json @@ -11,4 +11,4 @@ }, "operationId": "Runs_Cancel", "title": "Runs_Cancel" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGet.json index 93a34e25552a..4d1153db9fb3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGet.json @@ -62,4 +62,4 @@ }, "operationId": "Runs_Get", "title": "Runs_Get" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGetLogSasUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGetLogSasUrl.json index ab2b06b6b505..b504bcdebb54 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGetLogSasUrl.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsGetLogSasUrl.json @@ -15,4 +15,4 @@ }, "operationId": "Runs_GetLogSasUrl", "title": "Runs_GetLogSasUrl" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsList.json index cd0a4996c0ab..0023607c8a37 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsList.json @@ -67,4 +67,4 @@ }, "operationId": "Runs_List", "title": "Runs_List" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsUpdate.json index c55d23360923..8fa8887de78d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/RunsUpdate.json @@ -65,4 +65,4 @@ }, "operationId": "Runs_Update", "title": "Runs_Update" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsCreate.json index 95cc6de96a06..b6f9a3df5dd9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsCreate.json @@ -112,4 +112,4 @@ }, "operationId": "TaskRuns_Create", "title": "TaskRuns_Create" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsDelete.json index 9a7cfe9667e0..351006f3d0d1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsDelete.json @@ -12,4 +12,4 @@ }, "operationId": "TaskRuns_Delete", "title": "TaskRuns_Delete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGet.json index ccee28c4ae37..c2e8070d1e57 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGet.json @@ -55,4 +55,4 @@ }, "operationId": "TaskRuns_Get", "title": "TaskRuns_Get" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGetDetails.json index c15489473dad..5e6839876d69 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGetDetails.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsGetDetails.json @@ -55,4 +55,4 @@ }, "operationId": "TaskRuns_GetDetails", "title": "TaskRuns_GetDetails" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsList.json index bc9e915d36ab..5cd72d6bb9df 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsList.json @@ -58,4 +58,4 @@ }, "operationId": "TaskRuns_List", "title": "TaskRuns_List" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsUpdate.json index 1639e953bc7c..6d969de0affa 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TaskRunsUpdate.json @@ -113,4 +113,4 @@ }, "operationId": "TaskRuns_Update", "title": "TaskRuns_Update" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate.json index 72a2de71e7d2..3d56d1c7f3ef 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate.json @@ -238,4 +238,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate_QuickTask.json index 330570226afd..6f9ed04d0a8f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate_QuickTask.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksCreate_QuickTask.json @@ -66,4 +66,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create_QuickTask" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksDelete.json index c95ab4d440b1..d78fad470ee7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksDelete.json @@ -12,4 +12,4 @@ }, "operationId": "Tasks_Delete", "title": "Tasks_Delete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGet.json index fb911defd10b..1fccaa7b0f0b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGet.json @@ -93,4 +93,4 @@ }, "operationId": "Tasks_Get", "title": "Tasks_Get" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGetDetails.json index 865475732a7f..f1540b668463 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGetDetails.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksGetDetails.json @@ -107,4 +107,4 @@ }, "operationId": "Tasks_GetDetails", "title": "Tasks_GetDetails" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksList.json index 9742a895334c..ed487e9ec247 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksList.json @@ -96,4 +96,4 @@ }, "operationId": "Tasks_List", "title": "Tasks_List" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate.json index 5d690c516306..05ee75106937 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate.json @@ -142,4 +142,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_QuickTask.json index 4f1768a47bee..60afa8b925eb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_QuickTask.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_QuickTask.json @@ -40,4 +40,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update_QuickTask" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_WithOpaqueCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_WithOpaqueCustomCredentials.json index 0b7dcf4d73f8..d5e8362be267 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_WithOpaqueCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/examples/2025-03-01-preview/TasksUpdate_WithOpaqueCustomCredentials.json @@ -139,4 +139,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update_WithOpaqueCustomCredentials" -} \ No newline at end of file +} From 286fa5ad25e6b8e5cd656c801eba6fb6f2368a3b Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 13:54:45 +0800 Subject: [PATCH 14/41] update --- .../Microsoft.ContainerRegistry/Registry/Archive.tsp | 4 ++-- .../preview/2025-05-01-preview/examples/ArchiveCreate.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveDelete.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveGet.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveList.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveUpdate.json | 2 +- .../2025-05-01-preview/examples/ArchiveVersionCreate.json | 2 +- .../2025-05-01-preview/examples/ArchiveVersionDelete.json | 2 +- .../2025-05-01-preview/examples/ArchiveVersionGet.json | 2 +- .../2025-05-01-preview/examples/ArchiveVersionList.json | 2 +- .../preview/2025-05-01-preview/examples/CacheRuleCreate.json | 2 +- .../preview/2025-05-01-preview/examples/CacheRuleDelete.json | 2 +- .../preview/2025-05-01-preview/examples/CacheRuleGet.json | 2 +- .../preview/2025-05-01-preview/examples/CacheRuleList.json | 2 +- .../preview/2025-05-01-preview/examples/CacheRuleUpdate.json | 2 +- .../2025-05-01-preview/examples/ConnectedRegistryCreate.json | 2 +- .../examples/ConnectedRegistryDeactivate.json | 2 +- .../2025-05-01-preview/examples/ConnectedRegistryDelete.json | 2 +- .../2025-05-01-preview/examples/ConnectedRegistryGet.json | 2 +- .../2025-05-01-preview/examples/ConnectedRegistryList.json | 2 +- .../2025-05-01-preview/examples/ConnectedRegistryUpdate.json | 2 +- .../2025-05-01-preview/examples/CredentialSetCreate.json | 2 +- .../2025-05-01-preview/examples/CredentialSetDelete.json | 2 +- .../preview/2025-05-01-preview/examples/CredentialSetGet.json | 2 +- .../2025-05-01-preview/examples/CredentialSetList.json | 2 +- .../2025-05-01-preview/examples/CredentialSetUpdate.json | 2 +- .../2025-05-01-preview/examples/ExportPipelineCreate.json | 2 +- .../2025-05-01-preview/examples/ExportPipelineDelete.json | 2 +- .../2025-05-01-preview/examples/ExportPipelineGet.json | 2 +- .../2025-05-01-preview/examples/ExportPipelineList.json | 2 +- .../examples/ImportImageByManifestDigest.json | 2 +- .../preview/2025-05-01-preview/examples/ImportImageByTag.json | 2 +- .../examples/ImportImageFromPublicRegistry.json | 2 +- .../2025-05-01-preview/examples/ImportPipelineCreate.json | 2 +- .../2025-05-01-preview/examples/ImportPipelineDelete.json | 2 +- .../2025-05-01-preview/examples/ImportPipelineGet.json | 2 +- .../2025-05-01-preview/examples/ImportPipelineList.json | 2 +- .../preview/2025-05-01-preview/examples/OperationList.json | 2 +- .../2025-05-01-preview/examples/PipelineRunCreate_Export.json | 2 +- .../2025-05-01-preview/examples/PipelineRunCreate_Import.json | 2 +- .../2025-05-01-preview/examples/PipelineRunDelete.json | 2 +- .../preview/2025-05-01-preview/examples/PipelineRunGet.json | 2 +- .../preview/2025-05-01-preview/examples/PipelineRunList.json | 2 +- .../examples/PrivateEndpointConnectionCreateOrUpdate.json | 2 +- .../examples/PrivateEndpointConnectionDelete.json | 2 +- .../examples/PrivateEndpointConnectionGet.json | 2 +- .../examples/PrivateEndpointConnectionList.json | 2 +- .../examples/RegistryCheckNameAvailable.json | 2 +- .../examples/RegistryCheckNameNotAvailable.json | 2 +- .../preview/2025-05-01-preview/examples/RegistryCreate.json | 2 +- .../2025-05-01-preview/examples/RegistryCreateAbac.json | 2 +- .../examples/RegistryCreateDomainNameLabelScope.json | 2 +- .../examples/RegistryCreateZoneRedundant.json | 2 +- .../preview/2025-05-01-preview/examples/RegistryDelete.json | 2 +- .../examples/RegistryGenerateCredentials.json | 2 +- .../preview/2025-05-01-preview/examples/RegistryGet.json | 2 +- .../examples/RegistryGetPrivateLinkResource.json | 2 +- .../preview/2025-05-01-preview/examples/RegistryList.json | 2 +- .../examples/RegistryListByResourceGroup.json | 2 +- .../2025-05-01-preview/examples/RegistryListCredentials.json | 2 +- .../examples/RegistryListPrivateLinkResources.json | 2 +- .../2025-05-01-preview/examples/RegistryListUsages.json | 2 +- .../examples/RegistryRegenerateCredential.json | 2 +- .../preview/2025-05-01-preview/examples/RegistryUpdate.json | 2 +- .../2025-05-01-preview/examples/ReplicationCreate.json | 2 +- .../examples/ReplicationCreateZoneRedundant.json | 2 +- .../2025-05-01-preview/examples/ReplicationDelete.json | 2 +- .../preview/2025-05-01-preview/examples/ReplicationGet.json | 2 +- .../preview/2025-05-01-preview/examples/ReplicationList.json | 2 +- .../2025-05-01-preview/examples/ReplicationUpdate.json | 2 +- .../preview/2025-05-01-preview/examples/ScopeMapCreate.json | 2 +- .../preview/2025-05-01-preview/examples/ScopeMapDelete.json | 2 +- .../preview/2025-05-01-preview/examples/ScopeMapGet.json | 2 +- .../preview/2025-05-01-preview/examples/ScopeMapList.json | 2 +- .../preview/2025-05-01-preview/examples/ScopeMapUpdate.json | 2 +- .../preview/2025-05-01-preview/examples/TokenCreate.json | 2 +- .../preview/2025-05-01-preview/examples/TokenDelete.json | 2 +- .../preview/2025-05-01-preview/examples/TokenGet.json | 2 +- .../preview/2025-05-01-preview/examples/TokenList.json | 2 +- .../preview/2025-05-01-preview/examples/TokenUpdate.json | 2 +- .../preview/2025-05-01-preview/examples/WebhookCreate.json | 2 +- .../preview/2025-05-01-preview/examples/WebhookDelete.json | 2 +- .../preview/2025-05-01-preview/examples/WebhookGet.json | 2 +- .../2025-05-01-preview/examples/WebhookGetCallbackConfig.json | 2 +- .../preview/2025-05-01-preview/examples/WebhookList.json | 2 +- .../2025-05-01-preview/examples/WebhookListEvents.json | 2 +- .../preview/2025-05-01-preview/examples/WebhookPing.json | 2 +- .../preview/2025-05-01-preview/examples/WebhookUpdate.json | 2 +- .../Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp | 2 +- .../Microsoft.ContainerRegistry/RegistryTasks/Task.tsp | 2 +- .../preview/2025-03-01-preview/containerregistry_build.json | 4 ++-- .../preview/2025-03-01-preview/examples/AgentPoolsCreate.json | 2 +- .../preview/2025-03-01-preview/examples/AgentPoolsDelete.json | 2 +- .../preview/2025-03-01-preview/examples/AgentPoolsGet.json | 2 +- .../2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json | 2 +- .../preview/2025-03-01-preview/examples/AgentPoolsList.json | 2 +- .../preview/2025-03-01-preview/examples/AgentPoolsUpdate.json | 2 +- .../ManagedIdentity/TasksCreate_WithLoginIdentity.json | 2 +- .../TasksCreate_WithSystemAndUserIdentities.json | 2 +- .../ManagedIdentity/TasksCreate_WithSystemIdentity.json | 2 +- .../ManagedIdentity/TasksCreate_WithUserIdentities.json | 2 +- .../TasksUpdate_WithKeyVaultCustomCredentials.json | 2 +- .../ManagedIdentity/TasksUpdate_WithLoginIdentity.json | 2 +- .../ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json | 2 +- .../examples/RegistriesGetBuildSourceUploadUrl.json | 2 +- .../2025-03-01-preview/examples/RegistriesScheduleRun.json | 2 +- .../examples/RegistriesScheduleRun_EncodedTaskRun.json | 2 +- .../examples/RegistriesScheduleRun_FileTaskRun.json | 2 +- .../RegistriesScheduleRun_FileTask_WithCustomCredentials.json | 2 +- .../examples/RegistriesScheduleRun_Task.json | 2 +- .../examples/RegistriesScheduleRun_WithCustomCredentials.json | 2 +- .../examples/RegistriesScheduleRun_WithLogTemplate.json | 2 +- .../preview/2025-03-01-preview/examples/RunsCancel.json | 2 +- .../preview/2025-03-01-preview/examples/RunsGet.json | 2 +- .../preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json | 2 +- .../preview/2025-03-01-preview/examples/RunsList.json | 2 +- .../preview/2025-03-01-preview/examples/RunsUpdate.json | 2 +- .../preview/2025-03-01-preview/examples/TaskRunsCreate.json | 2 +- .../preview/2025-03-01-preview/examples/TaskRunsDelete.json | 2 +- .../preview/2025-03-01-preview/examples/TaskRunsGet.json | 2 +- .../2025-03-01-preview/examples/TaskRunsGetDetails.json | 2 +- .../preview/2025-03-01-preview/examples/TaskRunsList.json | 2 +- .../preview/2025-03-01-preview/examples/TaskRunsUpdate.json | 2 +- .../preview/2025-03-01-preview/examples/TasksCreate.json | 2 +- .../2025-03-01-preview/examples/TasksCreate_QuickTask.json | 2 +- .../preview/2025-03-01-preview/examples/TasksDelete.json | 2 +- .../preview/2025-03-01-preview/examples/TasksGet.json | 2 +- .../preview/2025-03-01-preview/examples/TasksGetDetails.json | 2 +- .../preview/2025-03-01-preview/examples/TasksList.json | 2 +- .../preview/2025-03-01-preview/examples/TasksUpdate.json | 2 +- .../2025-03-01-preview/examples/TasksUpdate_QuickTask.json | 2 +- .../examples/TasksUpdate_WithOpaqueCustomCredentials.json | 2 +- 132 files changed, 134 insertions(+), 134 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp index c5e373266bdc..85df1ee33b40 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp @@ -42,10 +42,9 @@ interface AchieveOperationOps @pattern("^[a-zA-Z]*$") @doc("The package type.") packageType: string, - }, { - /** + /** * The name of the archive resource. */ @path @@ -120,6 +119,7 @@ interface Archives { /** * Updates a archive for a container registry with the specified parameters. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-patch" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @patch(#{ implicitOptionality: false }) update is AchieveOperationOps.CustomPatchSync< Archive, diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json index dc04c33cefdf..4e87be6fbefa 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json @@ -58,4 +58,4 @@ }, "operationId": "Archives_Create", "title": "ArchiveCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json index 9aba0f664905..f67629416e30 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json @@ -17,4 +17,4 @@ }, "operationId": "Archives_Delete", "title": "ArchiveDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json index 476b471dff97..7dab950ae036 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json @@ -34,4 +34,4 @@ }, "operationId": "Archives_Get", "title": "ArchiveGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json index f3fbd3b88ba5..ee3d91e52e44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json @@ -38,4 +38,4 @@ }, "operationId": "Archives_List", "title": "ArchiveList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json index d2e7aa9a6a42..c911674db426 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json @@ -41,4 +41,4 @@ }, "operationId": "Archives_Update", "title": "ArchiveUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json index bf3e7bae50d0..595455e63980 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json @@ -35,4 +35,4 @@ }, "operationId": "ArchiveVersions_Create", "title": "ArchiveVersionCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json index c7dfd5b3f787..8c1051b67080 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json @@ -18,4 +18,4 @@ }, "operationId": "ArchiveVersions_Delete", "title": "ArchiveVersionDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json index 562336e2bad0..bb013af5731f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json @@ -31,4 +31,4 @@ }, "operationId": "ArchiveVersions_Get", "title": "ArchiveVersionGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json index 591543bc2709..7f3ae720775f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json @@ -35,4 +35,4 @@ }, "operationId": "ArchiveVersions_List", "title": "ArchiveVersionList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json index 75d48bd44545..15d97651759e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json @@ -48,4 +48,4 @@ }, "operationId": "CacheRules_Create", "title": "CacheRuleCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json index 1e6684d297c4..180b50ec5e9a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json @@ -16,4 +16,4 @@ }, "operationId": "CacheRules_Delete", "title": "CacheRuleDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json index 995f262c5dd8..795d05d83575 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json @@ -24,4 +24,4 @@ }, "operationId": "CacheRules_Get", "title": "CacheRuleGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json index a0699412ee9a..a1ebf6bbf852 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json @@ -27,4 +27,4 @@ }, "operationId": "CacheRules_List", "title": "CacheRuleList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json index cb06ebf79a1d..2a758f6e3b3c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json @@ -46,4 +46,4 @@ }, "operationId": "CacheRules_Update", "title": "CacheRuleUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json index c502d14686f7..4596ee04805c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json @@ -109,4 +109,4 @@ }, "operationId": "ConnectedRegistries_Create", "title": "ConnectedRegistryCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json index 6e189a00e328..ab9b692ac5c5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json @@ -16,4 +16,4 @@ }, "operationId": "ConnectedRegistries_Deactivate", "title": "ConnectedRegistryDeactivate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json index a2eba1b22be4..cf1ed7b6641f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json @@ -17,4 +17,4 @@ }, "operationId": "ConnectedRegistries_Delete", "title": "ConnectedRegistryDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json index f1ce8a3fcb5a..d60be062d298 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json @@ -46,4 +46,4 @@ }, "operationId": "ConnectedRegistries_Get", "title": "ConnectedRegistryGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json index 803edeb1e126..86ed11893c08 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json @@ -49,4 +49,4 @@ }, "operationId": "ConnectedRegistries_List", "title": "ConnectedRegistryList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json index f2b68454277c..a77c48efa0d0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json @@ -106,4 +106,4 @@ }, "operationId": "ConnectedRegistries_Update", "title": "ConnectedRegistryUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json index c2b6391738a5..2a7e52e85421 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json @@ -82,4 +82,4 @@ }, "operationId": "CredentialSets_Create", "title": "CredentialSetCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json index e4058a6a6d3a..0485b7340623 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json @@ -16,4 +16,4 @@ }, "operationId": "CredentialSets_Delete", "title": "CredentialSetDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json index 42249cde643e..5e5add0ca9c1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json @@ -37,4 +37,4 @@ }, "operationId": "CredentialSets_Get", "title": "CredentialSetGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json index 75655128524d..5ad2bbeec727 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json @@ -40,4 +40,4 @@ }, "operationId": "CredentialSets_List", "title": "CredentialSetList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json index 45d99e9e938b..6b2ac1f43f70 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json @@ -78,4 +78,4 @@ }, "operationId": "CredentialSets_Update", "title": "CredentialSetUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json index 66271fac5b88..78b5837fe76a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json @@ -77,4 +77,4 @@ }, "operationId": "ExportPipelines_Create", "title": "ExportPipelineCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json index 8ce6b112904d..1283d89c59e1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json @@ -17,4 +17,4 @@ }, "operationId": "ExportPipelines_Delete", "title": "ExportPipelineDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json index 662586ed7f09..7ac9e28d63c3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json @@ -34,4 +34,4 @@ }, "operationId": "ExportPipelines_Get", "title": "ExportPipelineGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json index 426f7146429e..bfa3a065a55b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json @@ -37,4 +37,4 @@ }, "operationId": "ExportPipelines_List", "title": "ExportPipelineList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json index bffb2268d135..a3d19b55cf9e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json @@ -28,4 +28,4 @@ }, "operationId": "Registries_ImportImage", "title": "ImportImageByManifestDigest" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json index d27cdecc5311..ea6b6213a92a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json @@ -28,4 +28,4 @@ }, "operationId": "Registries_ImportImage", "title": "ImportImageByTag" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json index 62a5d60c7e4e..9e1550853b6b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json @@ -28,4 +28,4 @@ }, "operationId": "Registries_ImportImage", "title": "ImportImageFromPublicRegistry" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json index d1f54159b956..72e6cb291fb0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json @@ -104,4 +104,4 @@ }, "operationId": "ImportPipelines_Create", "title": "ImportPipelineCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json index d695627df8a5..18a454dacfaf 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json @@ -17,4 +17,4 @@ }, "operationId": "ImportPipelines_Delete", "title": "ImportPipelineDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json index b1ab529b009a..ed72e9e14d54 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json @@ -45,4 +45,4 @@ }, "operationId": "ImportPipelines_Get", "title": "ImportPipelineGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json index 9671f76049d6..5376577e59f4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json @@ -48,4 +48,4 @@ }, "operationId": "ImportPipelines_List", "title": "ImportPipelineList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json index f1937f9c350d..a73afe99e923 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json @@ -21,4 +21,4 @@ }, "operationId": "Operations_List", "title": "OperationList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json index 5d16d74802fb..3f40494c5e98 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json @@ -88,4 +88,4 @@ }, "operationId": "PipelineRuns_Create", "title": "PipelineRunCreate_Export" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json index 93e0d2d11f38..43777a6f3e64 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json @@ -87,4 +87,4 @@ }, "operationId": "PipelineRuns_Create", "title": "PipelineRunCreate_Import" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json index da55ee26c0f1..0cc8feb90596 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json @@ -17,4 +17,4 @@ }, "operationId": "PipelineRuns_Delete", "title": "PipelineRunDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json index 31902e21c3bc..dd5ee1b757fe 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json @@ -40,4 +40,4 @@ }, "operationId": "PipelineRuns_Get", "title": "PipelineRunGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json index b2e4212f91e1..f403fb76ac7e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json @@ -71,4 +71,4 @@ }, "operationId": "PipelineRuns_List", "title": "PipelineRunList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json index 9ff344e76287..b36f46966f1d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json @@ -57,4 +57,4 @@ }, "operationId": "PrivateEndpointConnections_CreateOrUpdate", "title": "PrivateEndpointConnectionCreateOrUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json index bd4139622487..6158a754d031 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json @@ -17,4 +17,4 @@ }, "operationId": "PrivateEndpointConnections_Delete", "title": "PrivateEndpointConnectionDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json index 943f93e6c6d1..e6090563538e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json @@ -28,4 +28,4 @@ }, "operationId": "PrivateEndpointConnections_Get", "title": "PrivateEndpointConnectionGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json index 04db068f7d2b..73b700233b7b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json @@ -31,4 +31,4 @@ }, "operationId": "PrivateEndpointConnections_List", "title": "PrivateEndpointConnectionList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json index 1acb07a0b671..7e8b704af0bb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json @@ -19,4 +19,4 @@ }, "operationId": "Registries_CheckNameAvailability", "title": "RegistryCheckNameAvailable" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json index 74bf7e432868..1a7f8357e425 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json @@ -20,4 +20,4 @@ }, "operationId": "Registries_CheckNameAvailability", "title": "RegistryCheckNameNotAvailable" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json index affc04259789..10fcc4ed06bf 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json @@ -135,4 +135,4 @@ }, "operationId": "Registries_Create", "title": "RegistryCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json index e22674626cd9..5f0d24183bfd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json @@ -135,4 +135,4 @@ }, "operationId": "Registries_Create", "title": "RegistryCreateAbac" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json index 2a27118c9d37..2b63b773d6fa 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json @@ -135,4 +135,4 @@ }, "operationId": "Registries_Create", "title": "RegistryCreateDomainNameLabelScope" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json index 0577e026e093..10dc465eb8d6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json @@ -138,4 +138,4 @@ }, "operationId": "Registries_Create", "title": "RegistryCreateZoneRedundant" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json index 1b4ce26eea41..fb02db6d63ff 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json @@ -16,4 +16,4 @@ }, "operationId": "Registries_Delete", "title": "RegistryDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json index 6a12db62ede5..08e32ea8a936 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json @@ -35,4 +35,4 @@ }, "operationId": "Registries_GenerateCredentials", "title": "RegistryGenerateCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json index db87e0484cca..3bbf7edd4846 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json @@ -66,4 +66,4 @@ }, "operationId": "Registries_Get", "title": "RegistryGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json index fc5370d8cb4a..911a7dc8aa90 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json @@ -27,4 +27,4 @@ }, "operationId": "Registries_GetPrivateLinkResource", "title": "RegistryGetPrivateLinkResource" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json index b09dc55caca6..15e3f32bf8ae 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json @@ -68,4 +68,4 @@ }, "operationId": "Registries_List", "title": "RegistryList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json index b5db1648e40f..fb9daede3fd1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json @@ -69,4 +69,4 @@ }, "operationId": "Registries_ListByResourceGroup", "title": "RegistryListByResourceGroup" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json index cad13979f5af..a6eeacf7a39f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json @@ -24,4 +24,4 @@ }, "operationId": "Registries_ListCredentials", "title": "RegistryListCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json index 8bcee5174f5e..01065f5ca67a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json @@ -30,4 +30,4 @@ }, "operationId": "Registries_ListPrivateLinkResources", "title": "RegistryListPrivateLinkResources" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json index e9f9bd026795..7e43413f4f16 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json @@ -27,4 +27,4 @@ }, "operationId": "Registries_ListUsages", "title": "RegistryListUsages" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json index a62ee263538d..d79ddb3a266a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json @@ -27,4 +27,4 @@ }, "operationId": "Registries_RegenerateCredential", "title": "RegistryRegenerateCredential" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json index c33269beb299..3a9f2f7b02ab 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json @@ -138,4 +138,4 @@ }, "operationId": "Registries_Update", "title": "RegistryUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json index 796288cf90fe..61692b0c0418 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json @@ -61,4 +61,4 @@ }, "operationId": "Replications_Create", "title": "ReplicationCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json index c37cf3b8de41..f4533343c6a1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json @@ -65,4 +65,4 @@ }, "operationId": "Replications_Create", "title": "ReplicationCreateZoneRedundant" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json index 0b32a1ee4c27..48176d553356 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json @@ -17,4 +17,4 @@ }, "operationId": "Replications_Delete", "title": "ReplicationDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json index 4d5c6423f04c..3fceb2142447 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json @@ -31,4 +31,4 @@ }, "operationId": "Replications_Get", "title": "ReplicationGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json index 9c852ae198ae..7d8d98237982 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json @@ -34,4 +34,4 @@ }, "operationId": "Replications_List", "title": "ReplicationList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json index 3b9d0f9aa469..164eb88ab757 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json @@ -60,4 +60,4 @@ }, "operationId": "Replications_Update", "title": "ReplicationUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json index 0f43bbc379b5..f105830b700e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json @@ -54,4 +54,4 @@ }, "operationId": "ScopeMaps_Create", "title": "ScopeMapCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json index e2dbbccfd963..52da9758db99 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json @@ -17,4 +17,4 @@ }, "operationId": "ScopeMaps_Delete", "title": "ScopeMapDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json index 4df130731d3f..1b56ae9e1460 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json @@ -26,4 +26,4 @@ }, "operationId": "ScopeMaps_Get", "title": "ScopeMapGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json index 45fe4ea3835a..5924f9a604ab 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json @@ -29,4 +29,4 @@ }, "operationId": "ScopeMaps_List", "title": "ScopeMapList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json index c9c1a5468cc7..4e11886c2b68 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json @@ -54,4 +54,4 @@ }, "operationId": "ScopeMaps_Update", "title": "ScopeMapUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json index 73d5f6060763..84f11348e076 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json @@ -71,4 +71,4 @@ }, "operationId": "Tokens_Create", "title": "TokenCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json index e9621195b024..165b8546f252 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json @@ -17,4 +17,4 @@ }, "operationId": "Tokens_Delete", "title": "TokenDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json index 354b772d26c1..26890b9160d8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json @@ -23,4 +23,4 @@ }, "operationId": "Tokens_Get", "title": "TokenGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json index 541987d9de15..8afa51829971 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json @@ -26,4 +26,4 @@ }, "operationId": "Tokens_List", "title": "TokenList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json index ec52fff2fff2..0252f32007d8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json @@ -68,4 +68,4 @@ }, "operationId": "Tokens_Update", "title": "TokenUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json index 4613db166023..f95ad3127ec2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json @@ -68,4 +68,4 @@ }, "operationId": "Webhooks_Create", "title": "WebhookCreate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json index 1a576bf58359..f54f7f314d65 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json @@ -17,4 +17,4 @@ }, "operationId": "Webhooks_Delete", "title": "WebhookDelete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json index 1468d1602ec9..23e83c6fb87f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json @@ -29,4 +29,4 @@ }, "operationId": "Webhooks_Get", "title": "WebhookGet" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json index 06cac76bec5c..0ba015e0ab6e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json @@ -18,4 +18,4 @@ }, "operationId": "Webhooks_GetCallbackConfig", "title": "WebhookGetCallbackConfig" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json index 15e6239a49a9..367d8cbe2497 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json @@ -32,4 +32,4 @@ }, "operationId": "Webhooks_List", "title": "WebhookList" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json index f4e39977c108..ee94bcb8d180 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json @@ -62,4 +62,4 @@ }, "operationId": "Webhooks_ListEvents", "title": "WebhookListEvents" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json index 7aee705896dd..491def0ded42 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json @@ -15,4 +15,4 @@ }, "operationId": "Webhooks_Ping", "title": "WebhookPing" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json index e10e232907fa..2f380143661d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json @@ -67,4 +67,4 @@ }, "operationId": "Webhooks_Update", "title": "WebhookUpdate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp index f4b52d5f4c64..2efefa14ffba 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp @@ -15,7 +15,7 @@ namespace Microsoft.ContainerRegistry; * The agentpool will have all information to create an agent pool. */ @parentResource(Registry) -model AgentPool is Azure.ResourceManager.ProxyResource { +model AgentPool is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< Resource = AgentPool, KeyName = "agentPoolName", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp index ef6f74304d19..807b362150e6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/Task.tsp @@ -15,7 +15,7 @@ namespace Microsoft.ContainerRegistry; * The task will have all information to schedule a run against it. */ @parentResource(Registry) -model Task is Azure.ResourceManager.ProxyResource { +model Task is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< Resource = Task, KeyName = "taskName", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json index 45d625589174..8f161f865a61 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json @@ -1689,7 +1689,7 @@ }, "allOf": [ { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -3389,7 +3389,7 @@ }, "allOf": [ { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsCreate.json index 9b990a0ff01c..b12c4a009f38 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsCreate.json @@ -49,4 +49,4 @@ }, "operationId": "AgentPools_Create", "title": "AgentPools_Create" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsDelete.json index ce63d22205da..48414d23688c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsDelete.json @@ -16,4 +16,4 @@ }, "operationId": "AgentPools_Delete", "title": "AgentPools_Delete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGet.json index 2954ee2c1b41..3625dd50f75e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGet.json @@ -24,4 +24,4 @@ }, "operationId": "AgentPools_Get", "title": "AgentPools_Get" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json index 8c8780758bce..505553d4074d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsGetQueueStatus.json @@ -15,4 +15,4 @@ }, "operationId": "AgentPools_GetQueueStatus", "title": "AgentPools_GetQueueStatus" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsList.json index 5a7188b5835b..6478e2458b9b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsList.json @@ -28,4 +28,4 @@ }, "operationId": "AgentPools_List", "title": "AgentPools_List" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json index e6d8cd533cc5..58c5e1970de0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/AgentPoolsUpdate.json @@ -43,4 +43,4 @@ }, "operationId": "AgentPools_Update", "title": "AgentPools_Update" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json index 754f29e35b23..cc8ab5d569c1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithLoginIdentity.json @@ -247,4 +247,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create_WithLoginIdentity" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json index 7aebdbfa2a61..52f772a47edb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json @@ -253,4 +253,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create_WithSystemAndUserIdentities" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json index 234524ee8e79..30e24470a92a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json @@ -232,4 +232,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create_WithUserIdentities_WithSystemIdentity" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json index 3fb5af85dc17..243bd4a57b6b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json @@ -258,4 +258,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create_WithUserIdentities" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json index 14aa7d77780c..4c0fc3c74129 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json @@ -142,4 +142,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update_WithKeyVaultCustomCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json index 27709a3df937..cb58180cf9dd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithLoginIdentity.json @@ -129,4 +129,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update_WithLoginIdentity" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json index f4814334f82e..c97f23d49170 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json @@ -132,4 +132,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update_WithMSICustomCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json index a1cb2e510e55..db9811f38535 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json @@ -15,4 +15,4 @@ }, "operationId": "Registries_GetBuildSourceUploadUrl", "title": "Registries_GetBuildSourceUploadUrl" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json index 5d33cde26aa0..2d879cbf5602 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun.json @@ -52,4 +52,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json index c1429e996f08..68cddcb69440 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json @@ -45,4 +45,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_EncodedTaskRun" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json index b6163d6ff7df..3b09a9051569 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json @@ -46,4 +46,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_FileTaskRun" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json index 86c52b4164f0..6723b3269ec3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json @@ -58,4 +58,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_Task_WithCustomCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json index b275627c16eb..e096a7b00f34 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_Task.json @@ -55,4 +55,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_Task" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json index 2f1ad86b1c74..2e2a3707451f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json @@ -80,4 +80,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_WithCustomCredentials" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json index b11d3b616edd..2334d808f9e7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json @@ -53,4 +53,4 @@ }, "operationId": "Registries_ScheduleRun", "title": "Registries_ScheduleRun_WithLogTemplate" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsCancel.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsCancel.json index 7ab56cf944e5..24c833ad9c44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsCancel.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsCancel.json @@ -11,4 +11,4 @@ }, "operationId": "Runs_Cancel", "title": "Runs_Cancel" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGet.json index 93a34e25552a..4d1153db9fb3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGet.json @@ -62,4 +62,4 @@ }, "operationId": "Runs_Get", "title": "Runs_Get" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json index ab2b06b6b505..b504bcdebb54 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsGetLogSasUrl.json @@ -15,4 +15,4 @@ }, "operationId": "Runs_GetLogSasUrl", "title": "Runs_GetLogSasUrl" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsList.json index cd0a4996c0ab..0023607c8a37 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsList.json @@ -67,4 +67,4 @@ }, "operationId": "Runs_List", "title": "Runs_List" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsUpdate.json index c55d23360923..8fa8887de78d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/RunsUpdate.json @@ -65,4 +65,4 @@ }, "operationId": "Runs_Update", "title": "Runs_Update" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsCreate.json index 95cc6de96a06..b6f9a3df5dd9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsCreate.json @@ -112,4 +112,4 @@ }, "operationId": "TaskRuns_Create", "title": "TaskRuns_Create" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsDelete.json index 9a7cfe9667e0..351006f3d0d1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsDelete.json @@ -12,4 +12,4 @@ }, "operationId": "TaskRuns_Delete", "title": "TaskRuns_Delete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGet.json index ccee28c4ae37..c2e8070d1e57 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGet.json @@ -55,4 +55,4 @@ }, "operationId": "TaskRuns_Get", "title": "TaskRuns_Get" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json index c15489473dad..5e6839876d69 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsGetDetails.json @@ -55,4 +55,4 @@ }, "operationId": "TaskRuns_GetDetails", "title": "TaskRuns_GetDetails" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsList.json index bc9e915d36ab..5cd72d6bb9df 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsList.json @@ -58,4 +58,4 @@ }, "operationId": "TaskRuns_List", "title": "TaskRuns_List" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsUpdate.json index 1639e953bc7c..6d969de0affa 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TaskRunsUpdate.json @@ -113,4 +113,4 @@ }, "operationId": "TaskRuns_Update", "title": "TaskRuns_Update" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate.json index 72a2de71e7d2..3d56d1c7f3ef 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate.json @@ -238,4 +238,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json index 330570226afd..6f9ed04d0a8f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksCreate_QuickTask.json @@ -66,4 +66,4 @@ }, "operationId": "Tasks_Create", "title": "Tasks_Create_QuickTask" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksDelete.json index c95ab4d440b1..d78fad470ee7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksDelete.json @@ -12,4 +12,4 @@ }, "operationId": "Tasks_Delete", "title": "Tasks_Delete" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGet.json index fb911defd10b..1fccaa7b0f0b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGet.json @@ -93,4 +93,4 @@ }, "operationId": "Tasks_Get", "title": "Tasks_Get" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGetDetails.json index 865475732a7f..f1540b668463 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGetDetails.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksGetDetails.json @@ -107,4 +107,4 @@ }, "operationId": "Tasks_GetDetails", "title": "Tasks_GetDetails" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksList.json index 9742a895334c..ed487e9ec247 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksList.json @@ -96,4 +96,4 @@ }, "operationId": "Tasks_List", "title": "Tasks_List" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate.json index 5d690c516306..05ee75106937 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate.json @@ -142,4 +142,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json index 4f1768a47bee..60afa8b925eb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_QuickTask.json @@ -40,4 +40,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update_QuickTask" -} \ No newline at end of file +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json index 0b7dcf4d73f8..d5e8362be267 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json @@ -139,4 +139,4 @@ }, "operationId": "Tasks_Update", "title": "Tasks_Update_WithOpaqueCustomCredentials" -} \ No newline at end of file +} From 0f1ffd2e0b3f8677e000c95d543e57dbc8a885a8 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 14:08:07 +0800 Subject: [PATCH 15/41] Update ArchiveVersion.tsp --- .../Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp index 90187471b2b2..1f55a0b7bb04 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp @@ -53,10 +53,9 @@ interface ArchiveVersionOperationOps @maxLength(200) @doc("The name of the archive resource.") archiveName: string, - }, { - /** + /** * The name of the archive version resource. */ @path From c9f738d34db91c89bae3af3aca8b1c07bfa80064 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 14:20:34 +0800 Subject: [PATCH 16/41] =?UTF-8?q?fix=20swagger=20model-validation=EF=BC=9A?= =?UTF-8?q?Object=20didn't=20pass=20validation=20for=20format=20arm-id:=20?= =?UTF-8?q?string?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Registry/examples/2025-05-01-preview/ArchiveList.json | 2 +- .../examples/2025-05-01-preview/ArchiveVersionList.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveList.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveVersionList.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json index ee3d91e52e44..7c14892b50b8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json @@ -14,7 +14,7 @@ { "name": "string", "type": "string", - "id": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives", "properties": { "packageSource": { "type": "string", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json index 7f3ae720775f..86db92568dd7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json @@ -15,7 +15,7 @@ { "name": "string", "type": "string", - "id": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives/myArchiveName/packages/myPackageType/versions", "properties": { "archiveVersionErrorMessage": "string", "provisioningState": "Creating" diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json index ee3d91e52e44..7c14892b50b8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json @@ -14,7 +14,7 @@ { "name": "string", "type": "string", - "id": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives", "properties": { "packageSource": { "type": "string", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json index 7f3ae720775f..86db92568dd7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json @@ -15,7 +15,7 @@ { "name": "string", "type": "string", - "id": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives/myArchiveName/packages/myPackageType/versions", "properties": { "archiveVersionErrorMessage": "string", "provisioningState": "Creating" From bb385e00a44065427c6fdfe3aecf6cc0c0531396 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 14:25:05 +0800 Subject: [PATCH 17/41] =?UTF-8?q?Revert=20"fix=20swagger=20model-validatio?= =?UTF-8?q?n=EF=BC=9AObject=20didn't=20pass=20validation=20for=20format=20?= =?UTF-8?q?arm-id:=20string"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit c9f738d34db91c89bae3af3aca8b1c07bfa80064. --- .../Registry/examples/2025-05-01-preview/ArchiveList.json | 2 +- .../examples/2025-05-01-preview/ArchiveVersionList.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveList.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveVersionList.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json index 7c14892b50b8..ee3d91e52e44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json @@ -14,7 +14,7 @@ { "name": "string", "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives", + "id": "string", "properties": { "packageSource": { "type": "string", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json index 86db92568dd7..7f3ae720775f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json @@ -15,7 +15,7 @@ { "name": "string", "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives/myArchiveName/packages/myPackageType/versions", + "id": "string", "properties": { "archiveVersionErrorMessage": "string", "provisioningState": "Creating" diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json index 7c14892b50b8..ee3d91e52e44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json @@ -14,7 +14,7 @@ { "name": "string", "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives", + "id": "string", "properties": { "packageSource": { "type": "string", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json index 86db92568dd7..7f3ae720775f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json @@ -15,7 +15,7 @@ { "name": "string", "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives/myArchiveName/packages/myPackageType/versions", + "id": "string", "properties": { "archiveVersionErrorMessage": "string", "provisioningState": "Creating" From d274225d78ab7eda9c6b6323a552d502759eb21a Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 14:30:22 +0800 Subject: [PATCH 18/41] fix: Object didn't pass validation for format arm-id --- .../Registry/examples/2025-05-01-preview/ArchiveList.json | 2 +- .../examples/2025-05-01-preview/ArchiveVersionList.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveList.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveVersionList.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json index ee3d91e52e44..71a3855a6a8c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json @@ -14,7 +14,7 @@ { "name": "string", "type": "string", - "id": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives", "properties": { "packageSource": { "type": "string", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json index 7f3ae720775f..9e91ec369eeb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json @@ -15,7 +15,7 @@ { "name": "string", "type": "string", - "id": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions", "properties": { "archiveVersionErrorMessage": "string", "provisioningState": "Creating" diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json index ee3d91e52e44..71a3855a6a8c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json @@ -14,7 +14,7 @@ { "name": "string", "type": "string", - "id": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives", "properties": { "packageSource": { "type": "string", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json index 7f3ae720775f..9e91ec369eeb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json @@ -15,7 +15,7 @@ { "name": "string", "type": "string", - "id": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions", "properties": { "archiveVersionErrorMessage": "string", "provisioningState": "Creating" From a01062d3647d18e69397d84c7e62acf475e9a878 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 14:58:07 +0800 Subject: [PATCH 19/41] update --- .../Registry/PrivateLinkResource.tsp | 4 ---- .../Microsoft.ContainerRegistry/Registry/Registry.tsp | 2 -- .../RegistryTasks/back-compatible.tsp | 9 +-------- .../Microsoft.ContainerRegistry/RegistryTasks/routes.tsp | 6 +----- 4 files changed, 2 insertions(+), 19 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp index 0dacf578ab74..f2db1a65fe39 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp @@ -30,15 +30,11 @@ interface PrivateLinkResources { /** * Gets a private link resource by a specified group name for a container registry. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" - @operationId("Registries_GetPrivateLinkResource") getPrivateLinkResource is ArmResourceRead; /** * Lists the private link resources for a container registry. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" - @operationId("Registries_ListPrivateLinkResources") @list listPrivateLinkResources is ArmResourceListByParent< PrivateLinkResource, diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp index 3cba3e138bcd..bd3595252190 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp @@ -141,8 +141,6 @@ interface Registries { /** * Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" - @operationId("Registries_CheckNameAvailability") @autoRoute checkNameAvailability is ArmProviderActionSync< Request = RegistryNameCheckRequest, diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp index eb0b17086982..fe4231b88d8f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp @@ -14,11 +14,4 @@ using Microsoft.ContainerRegistry; @@clientName(Tasks.create::parameters.resource, "taskCreateParameters"); @@clientName(Tasks.update::parameters.properties, "taskUpdateParameters"); -@@clientLocation(RegistriesOperationGroup.scheduleRun, "Registries"); -@@clientLocation(RegistriesOperationGroup.getBuildSourceUploadUrl, - "Registries" -); - -@@clientName(RegistriesOperationGroup.scheduleRun::parameters.body, - "runRequest" -); +@@clientName(Registries.scheduleRun::parameters.body, "runRequest"); diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/routes.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/routes.tsp index c8d2452e750a..070d1cbb5010 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/routes.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/routes.tsp @@ -14,12 +14,10 @@ using TypeSpec.OpenAPI; namespace Microsoft.ContainerRegistry; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "For backward compatibility" -interface RegistriesOperationGroup { +interface Registries { /** * Schedules a new run based on the request parameters and add it to the run queue. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" - @operationId("Registries_ScheduleRun") @autoRoute scheduleRun is ArmProviderActionSync< Request = RunRequest, @@ -40,8 +38,6 @@ interface RegistriesOperationGroup { /** * Get the upload location for the user to be able to upload the source. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" - @operationId("Registries_GetBuildSourceUploadUrl") @autoRoute @action("listBuildSourceUploadUrl") getBuildSourceUploadUrl is ArmProviderActionSync< From f17f321852556e323be7c0316edb3f898de8f264 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 11 Sep 2025 17:34:28 +0800 Subject: [PATCH 20/41] update --- .../Registry/examples/2025-05-01-preview/ArchiveList.json | 2 +- .../examples/2025-05-01-preview/ArchiveVersionList.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveList.json | 2 +- .../preview/2025-05-01-preview/examples/ArchiveVersionList.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json index 71a3855a6a8c..9e182e2657b8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json @@ -14,7 +14,7 @@ { "name": "string", "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/string", "properties": { "packageSource": { "type": "string", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json index 9e91ec369eeb..37374210a510 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json @@ -15,7 +15,7 @@ { "name": "string", "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions/string", "properties": { "archiveVersionErrorMessage": "string", "provisioningState": "Creating" diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json index 71a3855a6a8c..9e182e2657b8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json @@ -14,7 +14,7 @@ { "name": "string", "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/string", "properties": { "packageSource": { "type": "string", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json index 9e91ec369eeb..37374210a510 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json @@ -15,7 +15,7 @@ { "name": "string", "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions/string", "properties": { "archiveVersionErrorMessage": "string", "provisioningState": "Creating" From b8dc94d1395b4faa61076e08ea475a132ec28769 Mon Sep 17 00:00:00 2001 From: ZiWei Chen Date: Fri, 12 Sep 2025 17:06:33 +0800 Subject: [PATCH 21/41] update --- .../Registry/tspconfig.yaml | 10 ++-------- .../RegistryTasks/tspconfig.yaml | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml index 45d23c0c46f3..01d06da66a15 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml @@ -13,12 +13,6 @@ options: arm-resource-flattening: true arm-types-dir: "{project-root}/../../../../common-types/resource-management" emit-lro-options: "all" - "@azure-tools/typespec-csharp": - flavor: azure - package-dir: "Azure.ResourceManager.ContainerRegistry" - clear-output-folder: true - model-namespace: true - namespace: "{package-dir}" "@azure-tools/typespec-python": service-dir: "sdk/containerregistry" package-dir: "azure-mgmt-containerregistry" @@ -41,8 +35,8 @@ options: name: "@azure/arm-containerregistry" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/containerregistry" - package-dir: "armcontainerregistries" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armcontainerregistries" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcontainerregistries" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml index 1bb0b3cbee6e..80e3e2442419 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml @@ -13,12 +13,6 @@ options: arm-resource-flattening: true arm-types-dir: "{project-root}/../../../../common-types/resource-management" emit-lro-options: "all" - "@azure-tools/typespec-csharp": - flavor: azure - package-dir: "Azure.ResourceManager.ContainerRegistry" - clear-output-folder: true - model-namespace: true - namespace: "{package-dir}" "@azure-tools/typespec-python": service-dir: "sdk/containerregistry" package-dir: "azure-mgmt-containerregistrytasks" @@ -41,8 +35,8 @@ options: name: "@azure/arm-containerregistrytasks" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/containerregistry" - package-dir: "armcontainerregistrytasks" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armcontainerregistrytasks" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcontainerregistrytasks" fix-const-stuttering: true flavor: "azure" generate-samples: true From e2e3d02d03f4a7e69bfc2638caf2028fbebdce7b Mon Sep 17 00:00:00 2001 From: ZiWei Chen Date: Fri, 12 Sep 2025 17:34:51 +0800 Subject: [PATCH 22/41] update --- .../RegistryTasks/AgentPool.tsp | 8 +++++--- .../RegistryTasks/TaskRun.tsp | 8 +++++--- .../2025-03-01-preview/containerregistry_build.json | 12 ++++++++++-- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp index 2efefa14ffba..5b14f32f1aad 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/AgentPool.tsp @@ -44,9 +44,11 @@ interface AgentPools { update is ArmCustomPatchAsync< AgentPool, PatchModel = AgentPoolUpdateParameters, - Response = AgentPool | ArmResourceCreatedResponse, - LroHeaders = ArmAsyncOperationHeader & - Azure.Core.Foundations.RetryAfterHeader + Response = AgentPool | ArmResourceCreatedResponse< + AgentPool, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + > >; /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp index 7905e0235100..a08676aa6bfd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/TaskRun.tsp @@ -56,9 +56,11 @@ interface TaskRuns { update is ArmCustomPatchAsync< TaskRun, PatchModel = TaskRunUpdateParameters, - Response = TaskRun | ArmResourceCreatedResponse, - LroHeaders = ArmAsyncOperationHeader & - Azure.Core.Foundations.RetryAfterHeader + Response = TaskRun | ArmResourceCreatedResponse< + TaskRun, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + > >; /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json index 8f161f865a61..443502384725 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/preview/2025-03-01-preview/containerregistry_build.json @@ -310,6 +310,10 @@ "$ref": "#/definitions/AgentPool" }, "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, "Retry-After": { "type": "integer", "format": "int32", @@ -330,7 +334,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", + "final-state-via": "azure-async-operation", "final-state-schema": "#/definitions/AgentPool" }, "x-ms-long-running-operation": true @@ -1138,6 +1142,10 @@ "$ref": "#/definitions/TaskRun" }, "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, "Retry-After": { "type": "integer", "format": "int32", @@ -1158,7 +1166,7 @@ } }, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri", + "final-state-via": "azure-async-operation", "final-state-schema": "#/definitions/TaskRun" }, "x-ms-long-running-operation": true From cb5793a48df6bfe8c066ef2e58363f50663264d1 Mon Sep 17 00:00:00 2001 From: ZiWei Chen Date: Tue, 16 Sep 2025 09:52:08 +0800 Subject: [PATCH 23/41] Update client.tsp --- .../Microsoft.ContainerRegistry/RegistryTasks/client.tsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp index b92783e14178..4ea82f7ba0f5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp @@ -8,3 +8,5 @@ using Microsoft.ContainerRegistry; "ContainerRegistryTasksManagementClient", "javascript" ); + +@@clientName(Architecture.`386`, "ThreeHundredEightySix", "javascript"); From beb294dedccd967dd30dd5e22b40a31c70660e4f Mon Sep 17 00:00:00 2001 From: xiaofeicao Date: Wed, 24 Sep 2025 15:21:18 +0800 Subject: [PATCH 24/41] java config --- .../Microsoft.ContainerRegistry/Registry/tspconfig.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml index 01d06da66a15..4653dd029245 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml @@ -21,12 +21,13 @@ options: generate-sample: true flavor: "azure" "@azure-tools/typespec-java": - service-dir: "sdk/containerregistry" - package-dir: "azure-resourcemanager-containerregistry" - namespace: "com.azure.resourcemanager.containerregistry" + package-dir: "azure-resourcemanager-containerregistry-generated" + namespace: "com.azure.resourcemanager.containerregistry.generated" service-name: "ContainerRegistry" flavor: azure use-object-for-unknown: true + premium: false + enable-sync-stack: false "@azure-tools/typespec-ts": package-dir: "arm-containerregistry" flavor: azure From a85b5133dafa41686820fd82eb79671186b48348 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Wed, 15 Oct 2025 15:35:58 +0800 Subject: [PATCH 25/41] update --- .../ArchiveVersionList.json | 38 - .../RegistryCheckNameNotAvailable.json | 23 - .../ArchiveCreate.json | 38 +- .../ArchiveDelete.json | 16 +- .../ArchiveGet.json | 38 +- .../ArchiveList.json | 40 +- .../ArchiveUpdate.json | 40 +- .../ArchiveVersionCreate.json | 28 +- .../ArchiveVersionDelete.json | 18 +- .../ArchiveVersionGet.json | 34 +- .../ArchiveVersionList.json | 38 + .../CacheRuleCreate.json | 44 +- .../CacheRuleDelete.json | 16 +- .../CacheRuleGet.json | 22 +- .../CacheRuleList.json | 20 +- .../CacheRuleUpdate.json | 38 +- .../ConnectedRegistryCreate.json | 108 +- .../ConnectedRegistryDeactivate.json | 16 +- .../ConnectedRegistryDelete.json | 19 +- .../ConnectedRegistryGet.json | 47 +- .../ConnectedRegistryList.json | 45 +- .../ConnectedRegistryUpdate.json | 109 +- .../CredentialSetCreate.json | 73 +- .../CredentialSetDelete.json | 19 +- .../CredentialSetGet.json | 33 +- .../CredentialSetList.json | 31 +- .../CredentialSetUpdate.json | 61 +- .../ExportPipelineCreate.json | 94 +- .../ExportPipelineDelete.json | 19 +- .../ExportPipelineGet.json | 44 +- .../ExportPipelineList.json | 42 +- .../ImportImageByManifestDigest.json | 25 +- .../ImportImageByTag.json | 25 +- .../ImportImageFromPublicRegistry.json | 25 +- .../ImportPipelineCreate.json | 116 +- .../ImportPipelineDelete.json | 19 +- .../ImportPipelineGet.json | 54 +- .../ImportPipelineList.json | 52 +- .../OperationList.json | 17 +- .../PipelineRunCreate_Export.json | 85 +- .../PipelineRunCreate_Import.json | 89 +- .../PipelineRunDelete.json | 19 +- .../PipelineRunGet.json | 40 +- .../PipelineRunList.json | 63 +- ...ivateEndpointConnectionCreateOrUpdate.json | 51 +- .../PrivateEndpointConnectionDelete.json | 19 +- .../PrivateEndpointConnectionGet.json | 27 +- .../PrivateEndpointConnectionList.json | 25 +- .../RegistryCheckNameAvailable.json | 19 +- .../RegistryCheckNameNotAvailable.json | 24 + .../RegistryCreate.json | 147 +- .../RegistryCreateAbac.json | 147 +- .../RegistryCreateDomainNameLabelScope.json | 147 +- .../RegistryCreateZoneRedundant.json | 153 +- .../RegistryDelete.json | 17 +- .../RegistryGenerateCredentials.json | 33 +- .../RegistryGet.json | 75 +- .../RegistryGetPrivateLinkResource.json | 19 +- .../RegistryList.json | 71 +- .../RegistryListByResourceGroup.json | 75 +- .../RegistryListCredentials.json | 19 +- .../RegistryListPrivateLinkResources.json | 17 +- .../RegistryListUsages.json | 19 +- .../RegistryRegenerateCredential.json | 23 +- .../RegistryUpdate.json | 153 +- .../ReplicationCreate.json | 45 +- .../ReplicationCreateZoneRedundant.json | 51 +- .../ReplicationDelete.json | 19 +- .../ReplicationGet.json | 27 +- .../ReplicationList.json | 25 +- .../ReplicationUpdate.json | 43 +- .../ScopeMapCreate.json | 33 +- .../ScopeMapDelete.json | 19 +- .../ScopeMapGet.json | 21 +- .../ScopeMapList.json | 19 +- .../ScopeMapUpdate.json | 31 +- .../TokenCreate.json | 59 +- .../TokenDelete.json | 17 +- .../TokenGet.json | 19 +- .../TokenList.json | 19 +- .../TokenUpdate.json | 45 +- .../WebhookCreate.json | 69 +- .../WebhookDelete.json | 17 +- .../WebhookGet.json | 29 +- .../WebhookGetCallbackConfig.json | 19 +- .../WebhookList.json | 29 +- .../WebhookListEvents.json | 51 +- .../WebhookPing.json | 15 +- .../WebhookUpdate.json | 65 +- .../Registry/main.tsp | 2 +- .../Registry/models.tsp | 63 +- .../2025-05-01-preview/containerregistry.json | 9428 +++++++--------- .../examples/ArchiveCreate.json | 34 +- .../examples/ArchiveDelete.json | 12 +- .../examples/ArchiveGet.json | 34 +- .../examples/ArchiveList.json | 36 +- .../examples/ArchiveUpdate.json | 36 +- .../examples/ArchiveVersionCreate.json | 24 +- .../examples/ArchiveVersionDelete.json | 14 +- .../examples/ArchiveVersionGet.json | 30 +- .../examples/ArchiveVersionList.json | 32 +- .../examples/CacheRuleCreate.json | 40 +- .../examples/CacheRuleDelete.json | 10 +- .../examples/CacheRuleGet.json | 18 +- .../examples/CacheRuleList.json | 16 +- .../examples/CacheRuleUpdate.json | 34 +- .../examples/ConnectedRegistryCreate.json | 104 +- .../examples/ConnectedRegistryDeactivate.json | 10 +- .../examples/ConnectedRegistryDelete.json | 10 +- .../examples/ConnectedRegistryGet.json | 40 +- .../examples/ConnectedRegistryList.json | 38 +- .../examples/ConnectedRegistryUpdate.json | 102 +- .../examples/CredentialSetCreate.json | 66 +- .../examples/CredentialSetDelete.json | 10 +- .../examples/CredentialSetGet.json | 26 +- .../examples/CredentialSetList.json | 24 +- .../examples/CredentialSetUpdate.json | 54 +- .../examples/ExportPipelineCreate.json | 86 +- .../examples/ExportPipelineDelete.json | 10 +- .../examples/ExportPipelineGet.json | 36 +- .../examples/ExportPipelineList.json | 34 +- .../examples/ImportImageByManifestDigest.json | 16 +- .../examples/ImportImageByTag.json | 16 +- .../ImportImageFromPublicRegistry.json | 16 +- .../examples/ImportPipelineCreate.json | 110 +- .../examples/ImportPipelineDelete.json | 10 +- .../examples/ImportPipelineGet.json | 48 +- .../examples/ImportPipelineList.json | 46 +- .../examples/OperationList.json | 10 +- .../examples/PipelineRunCreate_Export.json | 80 +- .../examples/PipelineRunCreate_Import.json | 84 +- .../examples/PipelineRunDelete.json | 10 +- .../examples/PipelineRunGet.json | 34 +- .../examples/PipelineRunList.json | 58 +- ...ivateEndpointConnectionCreateOrUpdate.json | 44 +- .../PrivateEndpointConnectionDelete.json | 10 +- .../PrivateEndpointConnectionGet.json | 20 +- .../PrivateEndpointConnectionList.json | 18 +- .../examples/RegistryCheckNameAvailable.json | 12 +- .../RegistryCheckNameNotAvailable.json | 16 +- .../examples/RegistryCreate.json | 140 +- .../examples/RegistryCreateAbac.json | 140 +- .../RegistryCreateDomainNameLabelScope.json | 140 +- .../examples/RegistryCreateZoneRedundant.json | 146 +- .../examples/RegistryDelete.json | 8 +- .../examples/RegistryGenerateCredentials.json | 24 +- .../examples/RegistryGet.json | 68 +- .../RegistryGetPrivateLinkResource.json | 12 +- .../examples/RegistryList.json | 64 +- .../examples/RegistryListByResourceGroup.json | 68 +- .../examples/RegistryListCredentials.json | 12 +- .../RegistryListPrivateLinkResources.json | 10 +- .../examples/RegistryListUsages.json | 12 +- .../RegistryRegenerateCredential.json | 16 +- .../examples/RegistryUpdate.json | 146 +- .../examples/ReplicationCreate.json | 38 +- .../ReplicationCreateZoneRedundant.json | 44 +- .../examples/ReplicationDelete.json | 10 +- .../examples/ReplicationGet.json | 20 +- .../examples/ReplicationList.json | 18 +- .../examples/ReplicationUpdate.json | 36 +- .../examples/ScopeMapCreate.json | 26 +- .../examples/ScopeMapDelete.json | 10 +- .../examples/ScopeMapGet.json | 14 +- .../examples/ScopeMapList.json | 12 +- .../examples/ScopeMapUpdate.json | 24 +- .../examples/TokenCreate.json | 52 +- .../examples/TokenDelete.json | 8 +- .../2025-05-01-preview/examples/TokenGet.json | 12 +- .../examples/TokenList.json | 12 +- .../examples/TokenUpdate.json | 38 +- .../examples/WebhookCreate.json | 62 +- .../examples/WebhookDelete.json | 8 +- .../examples/WebhookGet.json | 22 +- .../examples/WebhookGetCallbackConfig.json | 12 +- .../examples/WebhookList.json | 22 +- .../examples/WebhookListEvents.json | 44 +- .../examples/WebhookPing.json | 8 +- .../examples/WebhookUpdate.json | 58 +- .../2025-06-01-preview/containerregistry.json | 9430 ++++++++++------- .../examples/ArchiveCreate.json | 2 + .../examples/ArchiveDelete.json | 2 + .../examples/ArchiveGet.json | 2 + .../examples/ArchiveList.json | 2 + .../examples/ArchiveUpdate.json | 2 + .../examples/ArchiveVersionCreate.json | 2 + .../examples/ArchiveVersionDelete.json | 2 + .../examples/ArchiveVersionGet.json | 2 + .../examples/ArchiveVersionList.json | 2 + .../examples/CacheRuleCreate.json | 2 + .../examples/CacheRuleDelete.json | 2 + .../examples/CacheRuleGet.json | 2 + .../examples/CacheRuleList.json | 2 + .../examples/CacheRuleUpdate.json | 2 + .../examples/ConnectedRegistryCreate.json | 2 + .../examples/ConnectedRegistryDeactivate.json | 2 + .../examples/ConnectedRegistryDelete.json | 3 + .../examples/ConnectedRegistryGet.json | 3 + .../examples/ConnectedRegistryList.json | 3 + .../examples/ConnectedRegistryUpdate.json | 3 + .../examples/CredentialSetCreate.json | 3 + .../examples/CredentialSetDelete.json | 3 + .../examples/CredentialSetGet.json | 3 + .../examples/CredentialSetList.json | 3 + .../examples/CredentialSetUpdate.json | 3 + .../examples/ExportPipelineCreate.json | 3 + .../examples/ExportPipelineDelete.json | 3 + .../examples/ExportPipelineGet.json | 3 + .../examples/ExportPipelineList.json | 3 + .../examples/ImportImageByManifestDigest.json | 3 + .../examples/ImportImageByTag.json | 3 + .../ImportImageFromPublicRegistry.json | 3 + .../examples/ImportPipelineCreate.json | 3 + .../examples/ImportPipelineDelete.json | 3 + .../examples/ImportPipelineGet.json | 3 + .../examples/ImportPipelineList.json | 3 + .../examples/OperationList.json | 3 + .../examples/PipelineRunCreate_Export.json | 3 + .../examples/PipelineRunCreate_Import.json | 3 + .../examples/PipelineRunDelete.json | 3 + .../examples/PipelineRunGet.json | 3 + .../examples/PipelineRunList.json | 3 + ...ivateEndpointConnectionCreateOrUpdate.json | 3 + .../PrivateEndpointConnectionDelete.json | 3 + .../PrivateEndpointConnectionGet.json | 3 + .../PrivateEndpointConnectionList.json | 3 + .../examples/RegistryCheckNameAvailable.json | 3 + .../RegistryCheckNameNotAvailable.json | 3 + .../examples/RegistryCreate.json | 3 + .../examples/RegistryCreateAbac.json | 3 + .../RegistryCreateDomainNameLabelScope.json | 3 + .../examples/RegistryCreateZoneRedundant.json | 3 + .../examples/RegistryDelete.json | 3 + .../examples/RegistryGenerateCredentials.json | 3 + .../examples/RegistryGet.json | 3 + .../RegistryGetPrivateLinkResource.json | 3 + .../examples/RegistryList.json | 3 + .../examples/RegistryListByResourceGroup.json | 3 + .../examples/RegistryListCredentials.json | 3 + .../RegistryListPrivateLinkResources.json | 3 + .../examples/RegistryListUsages.json | 3 + .../RegistryRegenerateCredential.json | 3 + .../examples/RegistryUpdate.json | 3 + .../examples/ReplicationCreate.json | 3 + .../ReplicationCreateZoneRedundant.json | 3 + .../examples/ReplicationDelete.json | 3 + .../examples/ReplicationGet.json | 3 + .../examples/ReplicationList.json | 3 + .../examples/ReplicationUpdate.json | 3 + .../examples/ScopeMapCreate.json | 3 + .../examples/ScopeMapDelete.json | 3 + .../examples/ScopeMapGet.json | 3 + .../examples/ScopeMapList.json | 3 + .../examples/ScopeMapUpdate.json | 3 + .../examples/TokenCreate.json | 3 + .../examples/TokenDelete.json | 3 + .../2025-06-01-preview/examples/TokenGet.json | 3 + .../examples/TokenList.json | 3 + .../examples/TokenUpdate.json | 3 + .../examples/WebhookCreate.json | 3 + .../examples/WebhookDelete.json | 3 + .../examples/WebhookGet.json | 3 + .../examples/WebhookGetCallbackConfig.json | 3 + .../examples/WebhookList.json | 3 + .../examples/WebhookListEvents.json | 3 + .../examples/WebhookPing.json | 3 + .../examples/WebhookUpdate.json | 3 + 267 files changed, 13313 insertions(+), 13095 deletions(-) delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ArchiveCreate.json (85%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ArchiveDelete.json (77%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ArchiveGet.json (71%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ArchiveList.json (52%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ArchiveUpdate.json (77%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ArchiveVersionCreate.json (89%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ArchiveVersionDelete.json (77%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ArchiveVersionGet.json (68%) create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionList.json rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/CacheRuleCreate.json (81%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/CacheRuleDelete.json (67%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/CacheRuleGet.json (75%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/CacheRuleList.json (81%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/CacheRuleUpdate.json (83%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ConnectedRegistryCreate.json (86%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ConnectedRegistryDeactivate.json (71%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ConnectedRegistryDelete.json (71%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ConnectedRegistryGet.json (79%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ConnectedRegistryList.json (80%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ConnectedRegistryUpdate.json (87%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/CredentialSetCreate.json (83%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/CredentialSetDelete.json (65%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/CredentialSetGet.json (77%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/CredentialSetList.json (82%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/CredentialSetUpdate.json (84%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ExportPipelineCreate.json (79%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ExportPipelineDelete.json (66%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ExportPipelineGet.json (70%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ExportPipelineList.json (75%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ImportImageByManifestDigest.json (79%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ImportImageByTag.json (79%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ImportImageFromPublicRegistry.json (75%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ImportPipelineCreate.json (89%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ImportPipelineDelete.json (66%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ImportPipelineGet.json (82%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ImportPipelineList.json (83%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/OperationList.json (76%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/PipelineRunCreate_Export.json (83%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/PipelineRunCreate_Import.json (79%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/PipelineRunDelete.json (66%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/PipelineRunGet.json (79%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/PipelineRunList.json (81%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/PrivateEndpointConnectionCreateOrUpdate.json (79%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/PrivateEndpointConnectionDelete.json (70%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/PrivateEndpointConnectionGet.json (71%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/PrivateEndpointConnectionList.json (73%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryCheckNameAvailable.json (57%) create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameNotAvailable.json rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryCreate.json (89%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryCreateAbac.json (89%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryCreateDomainNameLabelScope.json (88%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryCreateZoneRedundant.json (89%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryDelete.json (68%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryGenerateCredentials.json (75%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryGet.json (85%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryGetPrivateLinkResource.json (80%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryList.json (89%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryListByResourceGroup.json (85%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryListCredentials.json (65%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryListPrivateLinkResources.json (81%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryListUsages.json (73%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryRegenerateCredential.json (71%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/RegistryUpdate.json (89%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ReplicationCreate.json (90%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ReplicationCreateZoneRedundant.json (90%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ReplicationDelete.json (66%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ReplicationGet.json (83%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ReplicationList.json (85%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ReplicationUpdate.json (90%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ScopeMapCreate.json (90%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ScopeMapDelete.json (68%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ScopeMapGet.json (81%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ScopeMapList.json (83%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/ScopeMapUpdate.json (90%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/TokenCreate.json (93%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/TokenDelete.json (82%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/TokenGet.json (92%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/TokenList.json (83%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/TokenUpdate.json (97%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/WebhookCreate.json (83%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/WebhookDelete.json (81%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/WebhookGet.json (83%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/WebhookGetCallbackConfig.json (71%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/WebhookList.json (74%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/WebhookListEvents.json (86%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/WebhookPing.json (81%) rename specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/{2025-05-01-preview => 2025-06-01-preview}/WebhookUpdate.json (85%) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json deleted file mode 100644 index 37374210a510..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionList.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "packageType": "myPackageType", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "nextLink": "string", - "value": [ - { - "name": "string", - "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions/string", - "properties": { - "archiveVersionErrorMessage": "string", - "provisioningState": "Creating" - }, - "systemData": { - "createdAt": "2023-02-24T00:22:47.311Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:22:47.311Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ] - } - } - }, - "operationId": "ArchiveVersions_List", - "title": "ArchiveVersionList" -} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json deleted file mode 100644 index 1a7f8357e425..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameNotAvailable.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "api-version": "2025-05-01-preview", - "registryNameCheckRequest": { - "name": "myRegistry", - "type": "Microsoft.ContainerRegistry/registries", - "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", - "resourceGroupName": "myResourceGroup" - }, - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "message": "The registry myRegistry is already in use.", - "nameAvailable": false, - "reason": "AlreadyExists" - } - } - }, - "operationId": "Registries_CheckNameAvailability", - "title": "RegistryCheckNameNotAvailable" -} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveCreate.json similarity index 85% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveCreate.json index 4e87be6fbefa..959b621b8d2a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveCreate.json @@ -1,6 +1,13 @@ { + "title": "ArchiveCreate", + "operationId": "Archives_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "packageType": "rpm", + "archiveName": "myArchiveName", "archiveCreateParameters": { "properties": { "packageSource": { @@ -10,52 +17,45 @@ "publishedVersion": "string", "repositoryEndpointPrefix": "string" } - }, - "archiveName": "myArchiveName", - "packageType": "rpm", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName", + "name": "myArchiveName", "properties": { "packageSource": { "type": "remote", "url": "string" }, - "provisioningState": "Succeeded", "publishedVersion": "string", + "repositoryEndpointPrefix": "string", "repositoryEndpoint": "string", - "repositoryEndpointPrefix": "string" + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + }, "body": { - "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives/myArchiveName", + "name": "myArchiveName", "properties": { "packageSource": { "type": "remote", "url": "string" }, - "provisioningState": "Succeeded", "publishedVersion": "string", + "repositoryEndpointPrefix": "string", "repositoryEndpoint": "string", - "repositoryEndpointPrefix": "string" + "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" } } - }, - "operationId": "Archives_Create", - "title": "ArchiveCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveDelete.json similarity index 77% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveDelete.json index f67629416e30..268607217a0a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveDelete.json @@ -1,11 +1,13 @@ { + "title": "ArchiveDelete", + "operationId": "Archives_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "packageType": "myPackageType", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "myPackageType", + "archiveName": "myArchiveName" }, "responses": { "202": { @@ -14,7 +16,5 @@ } }, "204": {} - }, - "operationId": "Archives_Delete", - "title": "ArchiveDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveGet.json similarity index 71% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveGet.json index 7dab950ae036..4ad492e1d4cd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveGet.json @@ -1,37 +1,37 @@ { + "title": "ArchiveGet", + "operationId": "Archives_Get", "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "packageType": "myPackageType", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "myPackageType", + "archiveName": "myArchiveName" }, "responses": { "200": { "body": { - "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/packages/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", + "name": "myArchiveName", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-02-24T00:13:46.836Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-24T00:13:46.836Z" + }, "properties": { "packageSource": { "type": "string", "url": "string" }, - "provisioningState": "Creating", - "publishedVersion": "string" - }, - "systemData": { - "createdAt": "2023-02-24T00:13:46.836Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:13:46.836Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" + "publishedVersion": "string", + "provisioningState": "Creating" } } } - }, - "operationId": "Archives_Get", - "title": "ArchiveGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveList.json similarity index 52% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveList.json index 9e182e2657b8..ba601e7d9371 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveList.json @@ -1,41 +1,41 @@ { + "title": "ArchiveList", + "operationId": "Archives_List", "parameters": { - "api-version": "2025-05-01-preview", - "packageType": "myPackageType", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "myPackageType" }, "responses": { "200": { "body": { - "nextLink": "string", "value": [ { + "id": "string", "name": "string", "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/string", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-02-24T00:22:47.311Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-24T00:22:47.311Z" + }, "properties": { "packageSource": { "type": "string", "url": "string" }, - "provisioningState": "Creating", - "publishedVersion": "string" - }, - "systemData": { - "createdAt": "2023-02-24T00:22:47.311Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:22:47.311Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" + "publishedVersion": "string", + "provisioningState": "Creating" } } - ] + ], + "nextLink": "string" } } - }, - "operationId": "Archives_List", - "title": "ArchiveList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveUpdate.json similarity index 77% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveUpdate.json index c911674db426..669a9b0a37b4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveUpdate.json @@ -1,44 +1,44 @@ { + "title": "ArchiveUpdate", + "operationId": "Archives_Update", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "packageType": "myPackageType", "archiveName": "myArchiveName", "archiveUpdateParameters": { "properties": { "publishedVersion": "string" } - }, - "packageType": "myPackageType", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/packages/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", + "name": "myArchiveName", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-06-09T23:41:38.720Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T23:41:38.720Z" + }, "properties": { "packageSource": { "type": "remote", "url": "string" }, - "provisioningState": "Creating", "publishedVersion": "string", + "repositoryEndpointPrefix": "string", "repositoryEndpoint": "string", - "repositoryEndpointPrefix": "string" - }, - "systemData": { - "createdAt": "2023-06-09T23:41:38.720Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-06-09T23:41:38.720Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" + "provisioningState": "Creating" } } } - }, - "operationId": "Archives_Update", - "title": "ArchiveUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionCreate.json similarity index 89% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionCreate.json index 595455e63980..ce0c59192f1f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionCreate.json @@ -1,38 +1,38 @@ { + "title": "ArchiveVersionCreate", + "operationId": "ArchiveVersions_Create", "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName", - "packageType": "rpm", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "rpm", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName" }, "responses": { "200": { "body": { - "name": "myArchiveVersionName", "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", + "name": "myArchiveVersionName", "properties": { "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archoveversion-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + }, "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", + "name": "myCacheRule", "properties": { "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archoveversion-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" } } - }, - "operationId": "ArchiveVersions_Create", - "title": "ArchiveVersionCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionDelete.json similarity index 77% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionDelete.json index 8c1051b67080..2dcd2f40b747 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionDelete.json @@ -1,12 +1,14 @@ { + "title": "ArchiveVersionDelete", + "operationId": "ArchiveVersions_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName", - "packageType": "myPackageType", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "myPackageType", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName" }, "responses": { "202": { @@ -15,7 +17,5 @@ } }, "204": {} - }, - "operationId": "ArchiveVersions_Delete", - "title": "ArchiveVersionDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionGet.json similarity index 68% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionGet.json index bb013af5731f..bc0543fc3926 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ArchiveVersionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionGet.json @@ -1,34 +1,34 @@ { + "title": "ArchiveVersionGet", + "operationId": "ArchiveVersions_Get", "parameters": { - "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName", - "packageType": "rpm", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "rpm", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName" }, "responses": { "200": { "body": { - "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/packages/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", - "properties": { - "archiveVersionErrorMessage": "string", - "provisioningState": "Creating" - }, + "name": "myArchiveName", "systemData": { - "createdAt": "2023-02-24T00:13:46.836Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:13:46.836Z", + "createdAt": "2023-02-24T00:13:46.836Z", "lastModifiedBy": "string", - "lastModifiedByType": "User" + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-24T00:13:46.836Z" + }, + "properties": { + "provisioningState": "Creating", + "archiveVersionErrorMessage": "string" } } } - }, - "operationId": "ArchiveVersions_Get", - "title": "ArchiveVersionGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionList.json new file mode 100644 index 000000000000..c998a235e5f8 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionList.json @@ -0,0 +1,38 @@ +{ + "title": "ArchiveVersionList", + "operationId": "ArchiveVersions_List", + "parameters": { + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "packageType": "myPackageType", + "archiveName": "myArchiveName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "string", + "name": "string", + "type": "string", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-02-24T00:22:47.311Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-24T00:22:47.311Z" + }, + "properties": { + "provisioningState": "Creating", + "archiveVersionErrorMessage": "string" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleCreate.json similarity index 81% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleCreate.json index 15d97651759e..1821597db5a7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleCreate.json @@ -1,51 +1,51 @@ { + "title": "CacheRuleCreate", + "operationId": "CacheRules_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "cacheRuleName": "myCacheRule", "cacheRuleCreateParameters": { "properties": { - "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet" } - }, - "cacheRuleName": "myCacheRule", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Creating", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Creating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "CacheRules_Create", - "title": "CacheRuleCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleDelete.json similarity index 67% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleDelete.json index 180b50ec5e9a..194f00380be0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleDelete.json @@ -1,19 +1,19 @@ { + "title": "CacheRuleDelete", + "operationId": "CacheRules_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "cacheRuleName": "myCacheRule", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "cacheRuleName": "myCacheRule" }, "responses": { "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "CacheRules_Delete", - "title": "CacheRuleDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleGet.json similarity index 75% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleGet.json index 795d05d83575..6dbba0e9633d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleGet.json @@ -1,27 +1,27 @@ { + "title": "CacheRuleGet", + "operationId": "CacheRules_Get", "parameters": { - "api-version": "2025-05-01-preview", - "cacheRuleName": "myCacheRule", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "cacheRuleName": "myCacheRule" }, "responses": { "200": { "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" } } } - }, - "operationId": "CacheRules_Get", - "title": "CacheRuleGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleList.json similarity index 81% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleList.json index a1ebf6bbf852..d05b3b25c5ee 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleList.json @@ -1,30 +1,30 @@ { + "title": "CacheRuleList", + "operationId": "CacheRules_List", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" } } ] } } - }, - "operationId": "CacheRules_List", - "title": "CacheRuleList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleUpdate.json similarity index 83% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleUpdate.json index 2a758f6e3b3c..70c3d2acc8d3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CacheRuleUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CacheRuleUpdate.json @@ -1,49 +1,49 @@ { + "title": "CacheRuleUpdate", + "operationId": "CacheRules_Update", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "cacheRuleName": "myCacheRule", "cacheRuleUpdateParameters": { "properties": { "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2" } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", - "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", - "provisioningState": "Updating", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Updating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "CacheRules_Update", - "title": "CacheRuleUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryCreate.json similarity index 86% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryCreate.json index 4596ee04805c..26bdf307fca3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryCreate.json @@ -1,112 +1,112 @@ { + "title": "ConnectedRegistryCreate", + "operationId": "ConnectedRegistries_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry", "connectedRegistryCreateParameters": { "properties": { + "mode": "ReadWrite", + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } - }, - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", "activation": { "status": "Inactive" }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" + "logLevel": "Information", + "auditLogStatus": "Disabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", "activation": { "status": "Inactive" }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" + "logLevel": "Information", + "auditLogStatus": "Disabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ConnectedRegistries_Create", - "title": "ConnectedRegistryCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryDeactivate.json similarity index 71% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDeactivate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryDeactivate.json index ab9b692ac5c5..12876d937829 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDeactivate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryDeactivate.json @@ -1,19 +1,19 @@ { + "title": "ConnectedRegistryDeactivate", + "operationId": "ConnectedRegistries_Deactivate", "parameters": { - "api-version": "2025-05-01-preview", - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry" }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } } - }, - "operationId": "ConnectedRegistries_Deactivate", - "title": "ConnectedRegistryDeactivate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryDelete.json similarity index 71% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryDelete.json index cf1ed7b6641f..3feb3acf32a4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryDelete.json @@ -1,20 +1,21 @@ -{ +{ + "title": "ConnectedRegistryDelete", + "operationId": "ConnectedRegistries_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry" }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "ConnectedRegistries_Delete", - "title": "ConnectedRegistryDelete" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryGet.json similarity index 79% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryGet.json index d60be062d298..24dcecb0b1cc 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryGet.json @@ -1,49 +1,50 @@ -{ +{ + "title": "ConnectedRegistryGet", + "operationId": "ConnectedRegistries_Get", "parameters": { - "api-version": "2025-05-01-preview", - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", "activation": { "status": "Inactive" }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" + "logLevel": "Information", + "auditLogStatus": "Disabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } } } - }, - "operationId": "ConnectedRegistries_Get", - "title": "ConnectedRegistryGet" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryList.json similarity index 80% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryList.json index 86ed11893c08..0557f6a454cb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryList.json @@ -1,52 +1,53 @@ -{ +{ + "title": "ConnectedRegistryList", + "operationId": "ConnectedRegistries_List", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", "activation": { "status": "Inactive" }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" + "logLevel": "Information", + "auditLogStatus": "Disabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } } ] } } - }, - "operationId": "ConnectedRegistries_List", - "title": "ConnectedRegistryList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryUpdate.json similarity index 87% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryUpdate.json index a77c48efa0d0..87401642ccc3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ConnectedRegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryUpdate.json @@ -1,109 +1,110 @@ -{ +{ + "title": "ConnectedRegistryUpdate", + "operationId": "ConnectedRegistries_Update", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "connectedRegistryName": "myScopeMap", "connectedRegistryUpdateParameters": { "properties": { + "syncProperties": { + "schedule": "0 0 */10 * *", + "messageTtl": "P30D", + "syncWindow": "P2D" + }, + "logging": { + "logLevel": "Debug", + "auditLogStatus": "Enabled" + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "logging": { - "auditLogStatus": "Enabled", - "logLevel": "Debug" - }, "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "syncProperties": { - "messageTtl": "P30D", - "schedule": "0 0 */10 * *", - "syncWindow": "P2D" + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 0 */10 * *", + "messageTtl": "P30D", + "syncWindow": "P2D" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Enabled", - "logLevel": "Debug" + "logLevel": "Debug", + "auditLogStatus": "Enabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P30D", - "schedule": "0 0 */10 * *", - "syncWindow": "P2D", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 0 */10 * *", + "messageTtl": "P30D", + "syncWindow": "P2D" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Enabled", - "logLevel": "Debug" + "logLevel": "Debug", + "auditLogStatus": "Enabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P30D", - "schedule": "0 0 */10 * *", - "syncWindow": "P2D", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ConnectedRegistries_Update", - "title": "ConnectedRegistryUpdate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetCreate.json similarity index 83% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetCreate.json index 2a7e52e85421..3f329535a9da 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetCreate.json @@ -1,85 +1,86 @@ -{ +{ + "title": "CredentialSetCreate", + "operationId": "CredentialSets_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "credentialSetName": "myCredentialSet", "credentialSetCreateParameters": { - "identity": { - "type": "SystemAssigned" - }, "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password" } - ], - "loginServer": "docker.io" + ] + }, + "identity": { + "type": "SystemAssigned" } - }, - "credentialSetName": "myCredentialSet", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Creating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "CredentialSets_Create", - "title": "CredentialSetCreate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetDelete.json similarity index 65% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetDelete.json index 0485b7340623..146b5b073388 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetDelete.json @@ -1,19 +1,20 @@ -{ +{ + "title": "CredentialSetDelete", + "operationId": "CredentialSets_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "credentialSetName": "myCredentialSet", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "credentialSetName": "myCredentialSet" }, "responses": { "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "CredentialSets_Delete", - "title": "CredentialSetDelete" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetGet.json similarity index 77% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetGet.json index 5e5add0ca9c1..00c7fdec082c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetGet.json @@ -1,40 +1,41 @@ -{ +{ + "title": "CredentialSetGet", + "operationId": "CredentialSets_Get", "parameters": { - "api-version": "2025-05-01-preview", - "credentialSetName": "myCredentialSet", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "credentialSetName": "myCredentialSet" }, "responses": { "200": { "body": { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Succeeded" } } } - }, - "operationId": "CredentialSets_Get", - "title": "CredentialSetGet" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetList.json similarity index 82% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetList.json index 5ad2bbeec727..fa588cd15762 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetList.json @@ -1,43 +1,44 @@ -{ +{ + "title": "CredentialSetList", + "operationId": "CredentialSets_List", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Succeeded" } } ] } } - }, - "operationId": "CredentialSets_List", - "title": "CredentialSetList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetUpdate.json similarity index 84% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetUpdate.json index 6b2ac1f43f70..054023741115 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/CredentialSetUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetUpdate.json @@ -1,81 +1,82 @@ -{ +{ + "title": "CredentialSetUpdate", + "operationId": "CredentialSets_Update", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "credentialSetName": "myCredentialSet", "credentialSetUpdateParameters": { "properties": { "authCredentials": [ { "name": "Credential1", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2" } ] } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Updating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "CredentialSets_Update", - "title": "CredentialSetUpdate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineCreate.json similarity index 79% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineCreate.json index 78b5837fe76a..7ea6ed5a8330 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineCreate.json @@ -1,80 +1,84 @@ -{ +{ + "title": "ExportPipelineCreate", + "operationId": "ExportPipelines_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "exportPipelineName": "myExportPipeline", "exportPipelineCreateParameters": { + "location": "westus", "identity": { "type": "SystemAssigned" }, - "location": "westus", "properties": { - "options": [ - "OverwriteBlobs" - ], "target": { "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + "storageAccessMode": "SasToken" + }, + "options": [ + "OverwriteBlobs" + ] } - }, - "exportPipelineName": "myExportPipeline", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", "properties": { - "options": [ - "OverwriteBlobs" - ], - "provisioningState": "Succeeded", "target": { "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + "storageAccessMode": "SasToken" + }, + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", "properties": { - "options": [ - "OverwriteBlobs" - ], - "provisioningState": "Succeeded", "target": { "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + "storageAccessMode": "SasToken" + }, + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ExportPipelines_Create", - "title": "ExportPipelineCreate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineDelete.json similarity index 66% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineDelete.json index 1283d89c59e1..d76f32d32fc4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineDelete.json @@ -1,20 +1,21 @@ -{ +{ + "title": "ExportPipelineDelete", + "operationId": "ExportPipelines_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "exportPipelineName": "myExportPipeline", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "exportPipelineName": "myExportPipeline" }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "ExportPipelines_Delete", - "title": "ExportPipelineDelete" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineGet.json similarity index 70% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineGet.json index 7ac9e28d63c3..edec98c91fb4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineGet.json @@ -1,37 +1,39 @@ -{ +{ + "title": "ExportPipelineGet", + "operationId": "ExportPipelines_Get", "parameters": { - "api-version": "2025-05-01-preview", - "exportPipelineName": "myExportPipeline", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "exportPipelineName": "myExportPipeline" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", "properties": { - "options": [ - "OverwriteBlobs" - ], - "provisioningState": "Succeeded", "target": { "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + "storageAccessMode": "SasToken" + }, + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" } } } - }, - "operationId": "ExportPipelines_Get", - "title": "ExportPipelineGet" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineList.json similarity index 75% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineList.json index bfa3a065a55b..8b4307941ded 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ExportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineList.json @@ -1,40 +1,42 @@ -{ +{ + "title": "ExportPipelineList", + "operationId": "ExportPipelines_List", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", "properties": { - "options": [ - "OverwriteBlobs" - ], - "provisioningState": "Succeeded", "target": { "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + "storageAccessMode": "SasToken" + }, + "options": [ + "OverwriteBlobs" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" } } ] } } - }, - "operationId": "ExportPipelines_List", - "title": "ExportPipelineList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByManifestDigest.json similarity index 79% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByManifestDigest.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByManifestDigest.json index a3d19b55cf9e..2e98f7c6ed04 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByManifestDigest.json @@ -1,8 +1,12 @@ -{ +{ + "title": "ImportImageByManifestDigest", + "operationId": "Registries_ImportImage", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "parameters": { - "mode": "Force", "source": { "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000" @@ -12,20 +16,17 @@ ], "untaggedTargetRepositories": [ "targetRepository1" - ] - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + ], + "mode": "Force" + } }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } } - }, - "operationId": "Registries_ImportImage", - "title": "ImportImageByManifestDigest" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByTag.json similarity index 79% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByTag.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByTag.json index ea6b6213a92a..4ec626272c94 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByTag.json @@ -1,8 +1,12 @@ -{ +{ + "title": "ImportImageByTag", + "operationId": "Registries_ImportImage", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "parameters": { - "mode": "Force", "source": { "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", "sourceImage": "sourceRepository:sourceTag" @@ -12,20 +16,17 @@ ], "untaggedTargetRepositories": [ "targetRepository1" - ] - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + ], + "mode": "Force" + } }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } } - }, - "operationId": "Registries_ImportImage", - "title": "ImportImageByTag" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageFromPublicRegistry.json similarity index 75% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageFromPublicRegistry.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageFromPublicRegistry.json index 9e1550853b6b..a08f7a8e5df9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageFromPublicRegistry.json @@ -1,8 +1,12 @@ -{ +{ + "title": "ImportImageFromPublicRegistry", + "operationId": "Registries_ImportImage", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "parameters": { - "mode": "Force", "source": { "registryUri": "registry.hub.docker.com", "sourceImage": "library/hello-world" @@ -12,20 +16,17 @@ ], "untaggedTargetRepositories": [ "targetRepository1" - ] - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + ], + "mode": "Force" + } }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } } - }, - "operationId": "Registries_ImportImage", - "title": "ImportImageFromPublicRegistry" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineCreate.json similarity index 89% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineCreate.json index 72e6cb291fb0..55fd0bc79a1b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineCreate.json @@ -1,73 +1,61 @@ -{ +{ + "title": "ImportPipelineCreate", + "operationId": "ImportPipelines_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "importPipelineName": "myImportPipeline", "importPipelineCreateParameters": { + "location": "westus", "identity": { "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} } }, - "location": "westus", "properties": { + "source": { + "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", + "storageAccessMode": "SasToken" + }, "options": [ "OverwriteTags", "DeleteSourceBlobOnSuccess", "ContinueOnErrors" - ], - "source": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + ] } - }, - "importPipelineName": "myImportPipeline", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "name": "myImportPipeline", "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } - } - }, - "location": "westus", "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" + "storageAccessMode": "SasToken" }, "trigger": { "sourceTrigger": { "status": "Enabled" } - } - } - } - }, - "201": { - "body": { - "name": "myImportPipeline", - "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + }, + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", "identity": { "type": "UserAssigned", "userAssignedIdentities": { @@ -76,32 +64,48 @@ "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" } } - }, - "location": "westus", + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "name": "myImportPipeline", + "type": "Microsoft.ContainerRegistry/registries/importPipelines", "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" + "storageAccessMode": "SasToken" }, "trigger": { "sourceTrigger": { "status": "Enabled" } + }, + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ImportPipelines_Create", - "title": "ImportPipelineCreate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineDelete.json similarity index 66% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineDelete.json index 18a454dacfaf..463daa4827dd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineDelete.json @@ -1,20 +1,21 @@ -{ +{ + "title": "ImportPipelineDelete", + "operationId": "ImportPipelines_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "importPipelineName": "myImportPipeline", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "importPipelineName": "myImportPipeline" }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "ImportPipelines_Delete", - "title": "ImportPipelineDelete" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineGet.json similarity index 82% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineGet.json index ed72e9e14d54..16f56209c628 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineGet.json @@ -1,48 +1,50 @@ -{ +{ + "title": "ImportPipelineGet", + "operationId": "ImportPipelines_Get", "parameters": { - "api-version": "2025-05-01-preview", - "importPipelineName": "myImportPipeline", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "importPipelineName": "myImportPipeline" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "name": "myImportPipeline", "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } - } - }, - "location": "westus", "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" + "storageAccessMode": "SasToken" }, "trigger": { "sourceTrigger": { "status": "Enabled" } + }, + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } } } } } - }, - "operationId": "ImportPipelines_Get", - "title": "ImportPipelineGet" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineList.json similarity index 83% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineList.json index 5376577e59f4..59dc764bb1e9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ImportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineList.json @@ -1,51 +1,53 @@ -{ +{ + "title": "ImportPipelineList", + "operationId": "ImportPipelines_List", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "name": "myImportPipeline", "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } - } - }, - "location": "westus", "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" + "storageAccessMode": "SasToken" }, "trigger": { "sourceTrigger": { "status": "Enabled" } + }, + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } } } } ] } } - }, - "operationId": "ImportPipelines_List", - "title": "ImportPipelineList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/OperationList.json similarity index 76% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/OperationList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/OperationList.json index a73afe99e923..3f2c6d28cffa 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/OperationList.json @@ -1,6 +1,8 @@ -{ +{ + "title": "OperationList", + "operationId": "Operations_List", "parameters": { - "api-version": "2025-05-01-preview" + "api-version": "2025-06-01-preview" }, "responses": { "200": { @@ -9,16 +11,15 @@ { "name": "Microsoft.ContainerRegistry/locations/deleteVirtualNetworkOrSubnets/action", "display": { - "description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted", - "operation": "Delete virtual network or subnets notifications", "provider": "Microsoft ContainerRegistry", - "resource": "" + "resource": "", + "operation": "Delete virtual network or subnets notifications", + "description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted" } } ] } } - }, - "operationId": "Operations_List", - "title": "OperationList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Export.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Export.json similarity index 83% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Export.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Export.json index 3f40494c5e98..53f770543f23 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Export.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Export.json @@ -1,91 +1,94 @@ -{ +{ + "title": "PipelineRunCreate_Export", + "operationId": "PipelineRuns_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "pipelineRunName": "myPipelineRun", "pipelineRunCreateParameters": { "properties": { "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "target": { + "type": "AzureStorageBlob", + "name": "myblob.tar.gz" + }, "artifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "target": { - "name": "myblob.tar.gz", - "type": "AzureStorageBlob" - } + ] } } - }, - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ] + }, "response": { + "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", "target": { "type": "AzureStorageBlob", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "storageAccessMode": "SasToken" } }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ] + }, "response": { + "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", "target": { "type": "AzureStorageBlob", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "storageAccessMode": "SasToken" } }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } + "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "PipelineRuns_Create", - "title": "PipelineRunCreate_Export" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Import.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Import.json similarity index 79% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Import.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Import.json index 43777a6f3e64..d2c7d42e105b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunCreate_Import.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Import.json @@ -1,90 +1,93 @@ -{ +{ + "title": "PipelineRunCreate_Import", + "operationId": "PipelineRuns_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "pipelineRunName": "myPipelineRun", "pipelineRunCreateParameters": { "properties": { - "forceUpdateTag": "2020-03-04T17:23:21.9261521+00:00", "request": { - "catalogDigest": "sha256@", "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "source": { - "name": "myblob.tar.gz", - "type": "AzureStorageBlob" - } - } + "type": "AzureStorageBlob", + "name": "myblob.tar.gz" + }, + "catalogDigest": "sha256@" + }, + "forceUpdateTag": "2020-03-04T17:23:21.9261521+00:00" } - }, - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + }, "response": { - "catalogDigest": "sha256@", + "status": "Succeeded", + "progress": { + "percentage": "100" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", "importedArtifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" ], - "progress": { - "percentage": "100" - }, "source": { "type": "AzureStorageBlob", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "storageAccessMode": "SasToken" }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Succeeded" + "catalogDigest": "sha256@" }, - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - } + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + }, "response": { - "catalogDigest": "sha256@", + "status": "Succeeded", + "progress": { + "percentage": "100" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", "finishTime": "2020-03-04T17:25:21.9261521+00:00", "importedArtifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" ], - "progress": { - "percentage": "100" - }, "source": { "type": "AzureStorageBlob", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "storageAccessMode": "SasToken" }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Succeeded" + "catalogDigest": "sha256@" }, - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - } + "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "PipelineRuns_Create", - "title": "PipelineRunCreate_Import" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunDelete.json similarity index 66% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunDelete.json index 0cc8feb90596..45f4aabfdc53 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunDelete.json @@ -1,20 +1,21 @@ -{ +{ + "title": "PipelineRunDelete", + "operationId": "PipelineRuns_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "pipelineRunName": "myPipelineRun" }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "PipelineRuns_Delete", - "title": "PipelineRunDelete" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunGet.json similarity index 79% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunGet.json index dd5ee1b757fe..237fbf421ad2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunGet.json @@ -1,43 +1,45 @@ -{ +{ + "title": "PipelineRunGet", + "operationId": "PipelineRuns_Get", "parameters": { - "api-version": "2025-05-01-preview", - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "pipelineRunName": "myPipelineRun" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ] + }, "response": { + "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", "target": { "type": "AzureStorageBlob", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "storageAccessMode": "SasToken" } }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } + "provisioningState": "Succeeded" } } } - }, - "operationId": "PipelineRuns_Get", - "title": "PipelineRunGet" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunList.json similarity index 81% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunList.json index f403fb76ac7e..b0687ee3bdb3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PipelineRunList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunList.json @@ -1,74 +1,77 @@ -{ +{ + "title": "PipelineRunList", + "operationId": "PipelineRuns_List", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ] + }, "response": { + "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", "target": { "type": "AzureStorageBlob", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "storageAccessMode": "SasToken" } }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } + "provisioningState": "Succeeded" } }, { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + }, "response": { - "catalogDigest": "sha256@", + "status": "Succeeded", + "progress": { + "percentage": "100" + }, + "startTime": "2020-03-03T17:23:21.9261521+00:00", "importedArtifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" ], - "progress": { - "percentage": "100" - }, "source": { "type": "AzureStorageBlob", + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "storageAccessMode": "SasToken" }, - "startTime": "2020-03-03T17:23:21.9261521+00:00", - "status": "Succeeded" + "catalogDigest": "sha256@" }, - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - } + "provisioningState": "Succeeded" } } ] } } - }, - "operationId": "PipelineRuns_List", - "title": "PipelineRunList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionCreateOrUpdate.json similarity index 79% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionCreateOrUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionCreateOrUpdate.json index b36f46966f1d..220b419fcad4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionCreateOrUpdate.json @@ -1,60 +1,61 @@ -{ +{ + "title": "PrivateEndpointConnectionCreateOrUpdate", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "privateEndpointConnectionName": "myConnection", "privateEndpointConnection": { "properties": { "privateLinkServiceConnectionState": { - "description": "Auto-Approved", - "status": "Approved" + "status": "Approved", + "description": "Auto-Approved" } } - }, - "privateEndpointConnectionName": "myConnection", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { + "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { + "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" + "actionsRequired": "None" + } } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { + "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { + "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" + "actionsRequired": "None" + } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "title": "PrivateEndpointConnectionCreateOrUpdate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionDelete.json similarity index 70% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionDelete.json index 6158a754d031..d4654526dcb6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionDelete.json @@ -1,20 +1,21 @@ -{ +{ + "title": "PrivateEndpointConnectionDelete", + "operationId": "PrivateEndpointConnections_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "privateEndpointConnectionName": "myConnection", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "privateEndpointConnectionName": "myConnection" }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "PrivateEndpointConnections_Delete", - "title": "PrivateEndpointConnectionDelete" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionGet.json similarity index 71% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionGet.json index e6090563538e..2d534f6d207c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionGet.json @@ -1,31 +1,32 @@ -{ +{ + "title": "PrivateEndpointConnectionGet", + "operationId": "PrivateEndpointConnections_Get", "parameters": { - "api-version": "2025-05-01-preview", - "privateEndpointConnectionName": "myConnection", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "privateEndpointConnectionName": "myConnection" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { + "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { + "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" + "actionsRequired": "None" + } } } } - }, - "operationId": "PrivateEndpointConnections_Get", - "title": "PrivateEndpointConnectionGet" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionList.json similarity index 73% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionList.json index 73b700233b7b..50685e40cfae 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionList.json @@ -1,34 +1,35 @@ -{ +{ + "title": "PrivateEndpointConnectionList", + "operationId": "PrivateEndpointConnections_List", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { + "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { + "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" + "actionsRequired": "None" + } } } ] } } - }, - "operationId": "PrivateEndpointConnections_List", - "title": "PrivateEndpointConnectionList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameAvailable.json similarity index 57% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameAvailable.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameAvailable.json index 7e8b704af0bb..826bdb8685ba 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameAvailable.json @@ -1,13 +1,15 @@ -{ +{ + "title": "RegistryCheckNameAvailable", + "operationId": "Registries_CheckNameAvailability", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "registryNameCheckRequest": { "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", - "resourceGroupName": "myResourceGroup" - }, - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "resourceGroupName": "myResourceGroup", + "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse" + } }, "responses": { "200": { @@ -16,7 +18,6 @@ "nameAvailable": true } } - }, - "operationId": "Registries_CheckNameAvailability", - "title": "RegistryCheckNameAvailable" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameNotAvailable.json new file mode 100644 index 000000000000..8b424b2b841f --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameNotAvailable.json @@ -0,0 +1,24 @@ +{ + "title": "RegistryCheckNameNotAvailable", + "operationId": "Registries_CheckNameAvailability", + "parameters": { + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryNameCheckRequest": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "resourceGroupName": "myResourceGroup", + "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "The registry myRegistry is already in use." + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreate.json similarity index 89% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreate.json index 10fcc4ed06bf..e17e85c0aa01 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreate.json @@ -1,138 +1,139 @@ -{ +{ + "title": "RegistryCreate", + "operationId": "Registries_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "registry": { "location": "westus", - "properties": { - "adminUserEnabled": true + "tags": { + "key": "value" }, "sku": { "name": "Standard" }, - "tags": { - "key": "value" + "properties": { + "adminUserEnabled": true } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", + "loginServer": "myregistry.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Succeeded", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } }, "201": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", + "loginServer": "myregistry.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Creating", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } } - }, - "operationId": "Registries_Create", - "title": "RegistryCreate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateAbac.json similarity index 89% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateAbac.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateAbac.json index 5f0d24183bfd..ceb5e183e5c4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateAbac.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateAbac.json @@ -1,138 +1,139 @@ -{ +{ + "title": "RegistryCreateAbac", + "operationId": "Registries_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "registry": { "location": "westus", - "properties": { - "roleAssignmentMode": "AbacRepositoryPermissions" + "tags": { + "key": "value" }, "sku": { "name": "Standard" }, - "tags": { - "key": "value" + "properties": { + "roleAssignmentMode": "AbacRepositoryPermissions" } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", + "loginServer": "myregistry.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Succeeded", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "AbacRepositoryPermissions" } } }, "201": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", + "loginServer": "myregistry.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Creating", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "AbacRepositoryPermissions" } } } - }, - "operationId": "Registries_Create", - "title": "RegistryCreateAbac" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateDomainNameLabelScope.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateDomainNameLabelScope.json similarity index 88% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateDomainNameLabelScope.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateDomainNameLabelScope.json index 2b63b773d6fa..4311a2456847 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateDomainNameLabelScope.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateDomainNameLabelScope.json @@ -1,138 +1,139 @@ -{ +{ + "title": "RegistryCreateDomainNameLabelScope", + "operationId": "Registries_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "registry": { "location": "westus", - "properties": { - "autoGeneratedDomainNameLabelScope": "TenantReuse" + "tags": { + "key": "value" }, "sku": { "name": "Standard" }, - "tags": { - "key": "value" + "properties": { + "autoGeneratedDomainNameLabelScope": "TenantReuse" } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "TenantReuse", + "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Succeeded", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "roleAssignmentMode": "LegacyRegistryPermissions" } } }, "201": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "TenantReuse", + "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Creating", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "roleAssignmentMode": "LegacyRegistryPermissions" } } } - }, - "operationId": "Registries_Create", - "title": "RegistryCreateDomainNameLabelScope" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateZoneRedundant.json similarity index 89% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateZoneRedundant.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateZoneRedundant.json index 10dc465eb8d6..504ecfb27a62 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateZoneRedundant.json @@ -1,141 +1,142 @@ -{ +{ + "title": "RegistryCreateZoneRedundant", + "operationId": "Registries_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "registry": { "location": "westus", - "properties": { - "zoneRedundancy": "Enabled" + "tags": { + "key": "value" }, "sku": { "name": "Standard" }, - "tags": { - "key": "value" + "properties": { + "zoneRedundancy": "Enabled" } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", + "loginServer": "myregistry.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Succeeded", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Enabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Enabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", + "loginServer": "myregistry.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Creating", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Enabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Enabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Registries_Create", - "title": "RegistryCreateZoneRedundant" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryDelete.json similarity index 68% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryDelete.json index fb02db6d63ff..81a7c42c5b11 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryDelete.json @@ -1,19 +1,20 @@ -{ +{ + "title": "RegistryDelete", + "operationId": "Registries_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "Registries_Delete", - "title": "RegistryDelete" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGenerateCredentials.json similarity index 75% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGenerateCredentials.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGenerateCredentials.json index 08e32ea8a936..606124ebfa39 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGenerateCredentials.json @@ -1,38 +1,39 @@ -{ +{ + "title": "RegistryGenerateCredentials", + "operationId": "Registries_GenerateCredentials", "parameters": { - "api-version": "2025-05-01-preview", - "generateCredentialsParameters": { - "expiry": "2020-12-31T15:59:59.0707808Z", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken" - }, - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "generateCredentialsParameters": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "expiry": "2020-12-31T15:59:59.0707808Z" + } }, "responses": { "200": { "body": { + "username": "myToken", "passwords": [ { - "name": "password1", "expiry": "2020-12-31T15:59:59.0707808Z", + "name": "password1", "value": "00000000000000000000000000000000" }, { - "name": "password2", "expiry": "2020-12-31T15:59:59.0707808Z", + "name": "password2", "value": "00000000000000000000000000000000" } - ], - "username": "myToken" + ] } }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } } - }, - "operationId": "Registries_GenerateCredentials", - "title": "RegistryGenerateCredentials" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGet.json similarity index 85% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGet.json index 3bbf7edd4846..32efaa820b72 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGet.json @@ -1,69 +1,70 @@ -{ +{ + "title": "RegistryGet", + "operationId": "Registries_Get", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", + "loginServer": "myregistry.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Succeeded", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } } - }, - "operationId": "Registries_Get", - "title": "RegistryGet" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGetPrivateLinkResource.json similarity index 80% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGetPrivateLinkResource.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGetPrivateLinkResource.json index 911a7dc8aa90..ab2570888ac0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGetPrivateLinkResource.json @@ -1,17 +1,19 @@ -{ +{ + "title": "RegistryGetPrivateLinkResource", + "operationId": "Registries_GetPrivateLinkResource", "parameters": { - "api-version": "2025-05-01-preview", - "groupName": "registry", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "groupName": "registry" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "name": "registry", "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "properties": { "groupId": "registry", "requiredMembers": [ @@ -24,7 +26,6 @@ } } } - }, - "operationId": "Registries_GetPrivateLinkResource", - "title": "RegistryGetPrivateLinkResource" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryList.json similarity index 89% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryList.json index 15e3f32bf8ae..bd80323b1311 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryList.json @@ -1,6 +1,8 @@ -{ +{ + "title": "RegistryList", + "operationId": "Registries_List", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { @@ -8,64 +10,63 @@ "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", + "loginServer": "myregistry.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Succeeded", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } ] } } - }, - "operationId": "Registries_List", - "title": "RegistryList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListByResourceGroup.json similarity index 85% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListByResourceGroup.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListByResourceGroup.json index fb9daede3fd1..63b753480d25 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListByResourceGroup.json @@ -1,72 +1,73 @@ -{ +{ + "title": "RegistryListByResourceGroup", + "operationId": "Registries_ListByResourceGroup", "parameters": { - "api-version": "2025-05-01-preview", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", + "loginServer": "myregistry.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Succeeded", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } ] } } - }, - "operationId": "Registries_ListByResourceGroup", - "title": "RegistryListByResourceGroup" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListCredentials.json similarity index 65% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListCredentials.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListCredentials.json index a6eeacf7a39f..ae12aea204a8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListCredentials.json @@ -1,13 +1,16 @@ -{ +{ + "title": "RegistryListCredentials", + "operationId": "Registries_ListCredentials", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { + "username": "myRegistry", "passwords": [ { "name": "password", @@ -17,11 +20,9 @@ "name": "password2", "value": "00000000000000000000000000000000" } - ], - "username": "myRegistry" + ] } } - }, - "operationId": "Registries_ListCredentials", - "title": "RegistryListCredentials" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListPrivateLinkResources.json similarity index 81% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListPrivateLinkResources.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListPrivateLinkResources.json index 01065f5ca67a..d819077dd7c9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListPrivateLinkResources.json @@ -1,18 +1,20 @@ -{ +{ + "title": "RegistryListPrivateLinkResources", + "operationId": "Registries_ListPrivateLinkResources", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "name": "registry", "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "properties": { "groupId": "registry", "requiredMembers": [ @@ -27,7 +29,6 @@ ] } } - }, - "operationId": "Registries_ListPrivateLinkResources", - "title": "RegistryListPrivateLinkResources" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListUsages.json similarity index 73% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListUsages.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListUsages.json index 7e43413f4f16..b9778b7d6680 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListUsages.json @@ -1,9 +1,11 @@ -{ +{ + "title": "RegistryListUsages", + "operationId": "Registries_ListUsages", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { @@ -11,20 +13,19 @@ "value": [ { "name": "Size", - "currentValue": 12345678, "limit": 107374182400, + "currentValue": 12345678, "unit": "Bytes" }, { "name": "Webhooks", - "currentValue": 2, "limit": 10, + "currentValue": 2, "unit": "Count" } ] } } - }, - "operationId": "Registries_ListUsages", - "title": "RegistryListUsages" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryRegenerateCredential.json similarity index 71% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryRegenerateCredential.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryRegenerateCredential.json index d79ddb3a266a..50ad70d42c44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryRegenerateCredential.json @@ -1,16 +1,19 @@ -{ +{ + "title": "RegistryRegenerateCredential", + "operationId": "Registries_RegenerateCredential", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "regenerateCredentialParameters": { "name": "password" - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "username": "myRegistry", "passwords": [ { "name": "password", @@ -20,11 +23,9 @@ "name": "password2", "value": "00000000000000000000000000000000" } - ], - "username": "myRegistry" + ] } } - }, - "operationId": "Registries_RegenerateCredential", - "title": "RegistryRegenerateCredential" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryUpdate.json similarity index 89% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryUpdate.json index 3a9f2f7b02ab..16fb3ec2105b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryUpdate.json @@ -1,141 +1,142 @@ -{ +{ + "title": "RegistryUpdate", + "operationId": "Registries_Update", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", "registryUpdateParameters": { - "properties": { - "adminUserEnabled": true, - "roleAssignmentMode": "AbacRepositoryPermissions" + "tags": { + "key": "value" }, "sku": { "name": "Standard" }, - "tags": { - "key": "value" + "properties": { + "adminUserEnabled": true, + "roleAssignmentMode": "AbacRepositoryPermissions" } - }, - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", + "loginServer": "myregistry.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Succeeded", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "AbacRepositoryPermissions" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", + "loginServer": "myregistry.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Updating", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Updating", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "AbacRepositoryPermissions" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Registries_Update", - "title": "RegistryUpdate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreate.json similarity index 90% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreate.json index 61692b0c0418..3220a3c6dc07 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreate.json @@ -1,64 +1,65 @@ -{ +{ + "title": "ReplicationCreate", + "operationId": "Replications_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "replicationName": "myReplication", "replication": { "location": "eastus", "tags": { "key": "value" } - }, - "replicationName": "myReplication", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Succeeded", - "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Creating", - "regionEndpointEnabled": true, "status": { "displayStatus": "Provisioning", "message": "The replication is provisioning.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Replications_Create", - "title": "ReplicationCreate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreateZoneRedundant.json similarity index 90% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreateZoneRedundant.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreateZoneRedundant.json index f4533343c6a1..e1d698783c08 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreateZoneRedundant.json @@ -1,68 +1,69 @@ -{ +{ + "title": "ReplicationCreateZoneRedundant", + "operationId": "Replications_Create", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "replicationName": "myReplication", "replication": { "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "regionEndpointEnabled": true, "zoneRedundancy": "Enabled" - }, - "tags": { - "key": "value" } - }, - "replicationName": "myReplication", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Succeeded", - "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Enabled" - }, - "tags": { - "key": "value" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Creating", - "regionEndpointEnabled": true, "status": { "displayStatus": "Provisioning", "message": "The replication is provisioning.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Enabled" - }, - "tags": { - "key": "value" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Replications_Create", - "title": "ReplicationCreateZoneRedundant" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationDelete.json similarity index 66% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationDelete.json index 48176d553356..b0eb4ee92117 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationDelete.json @@ -1,20 +1,21 @@ -{ +{ + "title": "ReplicationDelete", + "operationId": "Replications_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "replicationName": "myReplication", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "replicationName": "myReplication" }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "Replications_Delete", - "title": "ReplicationDelete" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationGet.json similarity index 83% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationGet.json index 3fceb2142447..aff2c538584c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationGet.json @@ -1,34 +1,35 @@ -{ +{ + "title": "ReplicationGet", + "operationId": "Replications_Get", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "replicationName": "myReplication", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "replicationName": "myReplication" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Succeeded", - "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } } } - }, - "operationId": "Replications_Get", - "title": "ReplicationGet" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationList.json similarity index 85% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationList.json index 7d8d98237982..6f6c3e2b3f9f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationList.json @@ -1,37 +1,38 @@ -{ +{ + "title": "ReplicationList", + "operationId": "Replications_List", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Succeeded", - "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } } ] } } - }, - "operationId": "Replications_List", - "title": "ReplicationList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationUpdate.json similarity index 90% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationUpdate.json index 164eb88ab757..bba8225dc35c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationUpdate.json @@ -1,63 +1,64 @@ -{ +{ + "title": "ReplicationUpdate", + "operationId": "Replications_Update", "parameters": { - "api-version": "2025-05-01-preview", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", "replicationName": "myReplication", "replicationUpdateParameters": { "tags": { "key": "value" } - }, - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Succeeded", - "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Updating", - "regionEndpointEnabled": true, "status": { "displayStatus": "Provisioning", "message": "The replication is provisioning.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Replications_Update", - "title": "ReplicationUpdate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapCreate.json similarity index 90% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapCreate.json index f105830b700e..dde4d389c041 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapCreate.json @@ -1,8 +1,12 @@ -{ +{ + "title": "ScopeMapCreate", + "operationId": "ScopeMaps_Create", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "scopeMapName": "myScopeMap", "scopeMapCreateParameters": { "properties": { "description": "Developer Scopes", @@ -11,47 +15,44 @@ "repositories/myrepository/delete" ] } - }, - "scopeMapName": "myScopeMap", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ScopeMaps_Create", - "title": "ScopeMapCreate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapDelete.json similarity index 68% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapDelete.json index 52da9758db99..915c9f20d2e5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapDelete.json @@ -1,20 +1,21 @@ -{ +{ + "title": "ScopeMapDelete", + "operationId": "ScopeMaps_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "scopeMapName": "myScopeMap", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "scopeMapName": "myScopeMap" }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "ScopeMaps_Delete", - "title": "ScopeMapDelete" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapGet.json similarity index 81% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapGet.json index 1b56ae9e1460..836ec1b4542c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapGet.json @@ -1,29 +1,30 @@ -{ +{ + "title": "ScopeMapGet", + "operationId": "ScopeMaps_Get", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "scopeMapName": "myScopeMap", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "scopeMapName": "myScopeMap" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } } - }, - "operationId": "ScopeMaps_Get", - "title": "ScopeMapGet" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapList.json similarity index 83% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapList.json index 5924f9a604ab..c5e048d9abd0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapList.json @@ -1,32 +1,33 @@ -{ +{ + "title": "ScopeMapList", + "operationId": "ScopeMaps_List", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } ] } } - }, - "operationId": "ScopeMaps_List", - "title": "ScopeMapList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapUpdate.json similarity index 90% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapUpdate.json index 4e11886c2b68..ca579b6ecd3d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapUpdate.json @@ -1,8 +1,11 @@ -{ +{ + "title": "ScopeMapUpdate", + "operationId": "ScopeMaps_Update", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "scopeMapName": "myScopeMap", "scopeMapUpdateParameters": { "properties": { @@ -12,46 +15,44 @@ "repositories/myrepository/contentRead" ] } - }, - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/contentRead" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/contentRead" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ScopeMaps_Update", - "title": "ScopeMapUpdate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenCreate.json similarity index 93% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenCreate.json index 84f11348e076..df412bdd058d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenCreate.json @@ -1,11 +1,16 @@ -{ +{ + "title": "TokenCreate", + "operationId": "Tokens_Create", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "tokenName": "myToken", "tokenCreateParameters": { "properties": { + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled", "credentials": { "certificates": [ { @@ -13,62 +18,58 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - }, - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "disabled" + } } - }, - "tokenName": "myToken" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "disabled", "credentials": { "certificates": [ { "name": "certificate1", - "expiry": "2020-12-04T15:32:48.0707808Z", - "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", + "expiry": "2020-12-04T15:32:48.0707808Z" } ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "disabled" + } } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "disabled", "credentials": { "certificates": [ { "name": "certificate1", - "expiry": "2020-12-04T15:32:48.0707808Z", - "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", + "expiry": "2020-12-04T15:32:48.0707808Z" } ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "disabled" + } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Tokens_Create", - "title": "TokenCreate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenDelete.json similarity index 82% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenDelete.json index 165b8546f252..14e2eb3c0a34 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenDelete.json @@ -1,20 +1,21 @@ -{ +{ + "title": "TokenDelete", + "operationId": "Tokens_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "tokenName": "myToken" }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "Tokens_Delete", - "title": "TokenDelete" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenGet.json similarity index 92% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenGet.json index 26890b9160d8..9adebdfa5e64 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenGet.json @@ -1,26 +1,27 @@ -{ +{ + "title": "TokenGet", + "operationId": "Tokens_Get", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "tokenName": "myToken" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded", "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", "status": "enabled" } } } - }, - "operationId": "Tokens_Get", - "title": "TokenGet" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenList.json similarity index 83% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenList.json index 8afa51829971..51b7ed267842 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenList.json @@ -1,29 +1,30 @@ -{ +{ + "title": "TokenList", + "operationId": "Tokens_List", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded", "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", "status": "enabled" } } ] } } - }, - "operationId": "Tokens_List", - "title": "TokenList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenUpdate.json similarity index 97% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenUpdate.json index 0252f32007d8..d27fff48a29c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenUpdate.json @@ -1,12 +1,15 @@ -{ +{ + "title": "TokenUpdate", + "operationId": "Tokens_Update", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "tokenName": "myToken", "tokenUpdateParameters": { "properties": { + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", "credentials": { "certificates": [ { @@ -14,19 +17,21 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - }, - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap" + } } } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "provisioningState": "Succeeded", + "status": "enabled", "credentials": { "certificates": [ { @@ -34,20 +39,23 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", - "status": "enabled" + } } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "provisioningState": "Succeeded", + "status": "enabled", "credentials": { "certificates": [ { @@ -55,17 +63,10 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", - "status": "enabled" + } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Tokens_Update", - "title": "TokenUpdate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookCreate.json similarity index 83% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookCreate.json index f95ad3127ec2..fc1b4fd60128 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookCreate.json @@ -1,71 +1,72 @@ -{ +{ + "title": "WebhookCreate", + "operationId": "Webhooks_Create", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook", "webhookCreateParameters": { "location": "westus", + "tags": { + "key": "value" + }, "properties": { - "actions": [ - "push" - ], + "serviceUri": "http://myservice.com", "customHeaders": { "Authorization": "******" }, + "status": "enabled", "scope": "myRepository", - "serviceUri": "http://myservice.com", - "status": "enabled" - }, - "tags": { - "key": "value" + "actions": [ + "push" + ] } - }, - "webhookName": "myWebhook" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Creating", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Creating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Webhooks_Create", - "title": "WebhookCreate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookDelete.json similarity index 81% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookDelete.json index f54f7f314d65..93a13424d8ea 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookDelete.json @@ -1,20 +1,21 @@ -{ +{ + "title": "WebhookDelete", + "operationId": "Webhooks_Delete", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook" }, "responses": { "200": {}, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" } }, "204": {} - }, - "operationId": "Webhooks_Delete", - "title": "WebhookDelete" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGet.json similarity index 83% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGet.json index 23e83c6fb87f..528e1f49498d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGet.json @@ -1,32 +1,33 @@ -{ +{ + "title": "WebhookGet", + "operationId": "Webhooks_Get", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Succeeded" } } } - }, - "operationId": "Webhooks_Get", - "title": "WebhookGet" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGetCallbackConfig.json similarity index 71% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGetCallbackConfig.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGetCallbackConfig.json index 0ba015e0ab6e..1ad5afd0690e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGetCallbackConfig.json @@ -1,21 +1,22 @@ -{ +{ + "title": "WebhookGetCallbackConfig", + "operationId": "Webhooks_GetCallbackConfig", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook" }, "responses": { "200": { "body": { + "serviceUri": "http://myservice.com", "customHeaders": { "Authorization": "******" - }, - "serviceUri": "http://myservice.com" + } } } - }, - "operationId": "Webhooks_GetCallbackConfig", - "title": "WebhookGetCallbackConfig" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookList.json similarity index 74% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookList.json index 367d8cbe2497..5a44f5008195 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookList.json @@ -1,35 +1,36 @@ -{ +{ + "title": "WebhookList", + "operationId": "Webhooks_List", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "api-version": "2025-06-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Succeeded" } } ] } } - }, - "operationId": "Webhooks_List", - "title": "WebhookList" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookListEvents.json similarity index 86% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookListEvents.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookListEvents.json index ee94bcb8d180..658efd170350 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookListEvents.json @@ -1,9 +1,11 @@ -{ +{ + "title": "WebhookListEvents", + "operationId": "Webhooks_ListEvents", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook" }, "responses": { @@ -11,39 +13,40 @@ "body": { "value": [ { + "id": "00000000-0000-0000-0000-000000000000", "eventRequestMessage": { - "method": "POST", "content": { - "action": "push", - "actor": {}, "id": "00000000-0000-0000-0000-000000000000", - "source": { - "addr": "xtal.local:5000", - "instanceID": "00000000-0000-0000-0000-000000000000" - }, + "timestamp": "2017-03-01T23:14:37.0707808Z", + "action": "push", "target": { + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "size": 708, "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", "length": 708, - "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "repository": "hello-world", - "size": 708, - "tag": "latest", - "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf" + "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", + "tag": "latest" }, - "timestamp": "2017-03-01T23:14:37.0707808Z", "request": { - "method": "GET", + "id": "00000000-0000-0000-0000-000000000000", "addr": "192.168.64.11:42961", "host": "192.168.100.227:5000", - "id": "00000000-0000-0000-0000-000000000000", + "method": "GET", "useragent": "curl/7.38.0" + }, + "actor": {}, + "source": { + "addr": "xtal.local:5000", + "instanceID": "00000000-0000-0000-0000-000000000000" } }, "headers": { - "Authorization": "******", + "Content-Type": "application/json", "Content-Length": "719", - "Content-Type": "application/json" + "Authorization": "******" }, + "method": "POST", "requestUri": "http://myservice.com", "version": "1.1" }, @@ -53,13 +56,11 @@ }, "statusCode": "200", "version": "1.1" - }, - "id": "00000000-0000-0000-0000-000000000000" + } } ] } } - }, - "operationId": "Webhooks_ListEvents", - "title": "WebhookListEvents" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookPing.json similarity index 81% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookPing.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookPing.json index 491def0ded42..176c0f2163e1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookPing.json @@ -1,9 +1,11 @@ -{ +{ + "title": "WebhookPing", + "operationId": "Webhooks_Ping", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook" }, "responses": { @@ -12,7 +14,6 @@ "id": "00000000-0000-0000-0000-000000000000" } } - }, - "operationId": "Webhooks_Ping", - "title": "WebhookPing" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookUpdate.json similarity index 85% rename from specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookUpdate.json index 2f380143661d..4285698507bd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-05-01-preview/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookUpdate.json @@ -1,70 +1,71 @@ -{ +{ + "title": "WebhookUpdate", + "operationId": "Webhooks_Update", "parameters": { - "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook", "webhookUpdateParameters": { + "tags": { + "key": "value" + }, "properties": { - "actions": [ - "push" - ], + "serviceUri": "http://myservice.com", "customHeaders": { "Authorization": "******" }, + "status": "enabled", "scope": "myRepository", - "serviceUri": "http://myservice.com", - "status": "enabled" - }, - "tags": { - "key": "value" + "actions": [ + "push" + ] } } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-06-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Updating", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Updating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Webhooks_Update", - "title": "WebhookUpdate" + } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp index 7740142387d2..5864d03e0154 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp @@ -52,7 +52,7 @@ enum Versions { /** * The 2025-05-01-preview API version. */ - v2025_05_01_preview: "2025-05-01-preview", + v2025_06_01_preview: "2025-06-01-preview", } interface Operations { diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp index 04e66cf520f9..275d85b1a916 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp @@ -222,6 +222,19 @@ union TriggerStatus { Disabled: "Disabled", } +/** + * The storage access mode used for the customer storage account. + */ +union StorageAccessMode { + string, + + /** Managed Identity access mode */ + ManagedIdentity: "ManagedIdentity", + + /** SAS Token access mode */ + SasToken: "SasToken", +} + /** * The auto generated domain name label of the container registry. This value defaults to "Unsecure". */ @@ -661,7 +674,7 @@ model ArchiveUpdateProperties { } /** - * The properties of an export pipeline. + * The properties of an archive version. */ model ArchiveVersionProperties { /** @@ -1270,7 +1283,6 @@ model ExportPipelineTargetProperties { /** * The target uri of the export pipeline. - * When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName" * When 'AzureStorageBlobContainer': "https://accountName.blob.core.windows.net/containerName" */ uri?: string; @@ -1278,7 +1290,12 @@ model ExportPipelineTargetProperties { /** * They key vault secret uri to obtain the target storage SAS token. */ - keyVaultUri: string; + keyVaultUri?: string; + + /** + * The storage access mode used for the customer storage account. + */ + storageAccessMode?: StorageAccessMode = StorageAccessMode.SasToken; } #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@ -1379,19 +1396,25 @@ model ImportPipelineSourceProperties { type?: PipelineSourceType = PipelineSourceType.AzureStorageBlobContainer; /** - * The source uri of the import pipeline. - * When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName" - * When 'AzureStorageBlobContainer': "https://accountName.blob.core.windows.net/containerName" + * The target uri of the export pipeline. + * When 'AzureStorageBlobContainer': "https://accountName.blob.core.windows.net/containerName" */ uri?: string; /** * They key vault secret uri to obtain the source storage SAS token. */ - keyVaultUri: string; + keyVaultUri?: string; + + /** + * The storage access mode used for the customer storage account. + */ + storageAccessMode?: StorageAccessMode = StorageAccessMode.SasToken; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +/** + * The trigger properties of the import pipeline + */ model PipelineTriggerProperties { /** * The source trigger properties of the pipeline. @@ -1399,7 +1422,9 @@ model PipelineTriggerProperties { sourceTrigger?: PipelineSourceTriggerProperties; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +/** + * The source trigger properties of the import pipeline + */ model PipelineSourceTriggerProperties { /** * The current status of the source trigger. @@ -1685,7 +1710,9 @@ model PipelineRunRequest { catalogDigest?: string; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +/** + * The pipeline run source properties + */ model PipelineRunSourceProperties { /** * The type of the source. @@ -1698,7 +1725,9 @@ model PipelineRunSourceProperties { name?: string; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +/** + * The pipeline run target properties + */ model PipelineRunTargetProperties { /** * The type of the target. @@ -1768,7 +1797,9 @@ model PipelineRunResponse { pipelineRunErrorMessage?: string; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +/** + * The progress properties. + */ model ProgressProperties { /** * The percentage complete of the copy operation. @@ -1776,7 +1807,9 @@ model ProgressProperties { percentage?: string; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +/** + * The pipeline trigger descriptor + */ model PipelineTriggerDescriptor { /** * The source trigger that caused the pipeline run. @@ -1784,7 +1817,9 @@ model PipelineTriggerDescriptor { sourceTrigger?: PipelineSourceTriggerDescriptor; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +/** + * The pipeline source trigger descriptor. + */ model PipelineSourceTriggerDescriptor { /** * The timestamp when the source update happened. diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json index c0ad72bc00ee..3424ea83aafd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/containerregistry.json @@ -1,123 +1,61 @@ { "swagger": "2.0", "info": { - "title": "ContainerRegistryManagementClient", "version": "2025-05-01-preview", - "description": "The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components.", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] + "title": "ContainerRegistryManagementClient" }, + "host": "management.azure.com", "schemes": [ "https" ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], "consumes": [ "application/json" ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow.", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "Operations" - }, - { - "name": "Archives" - }, - { - "name": "Registries" - }, - { - "name": "ArchiveVersions" - }, - { - "name": "CacheRules" - }, - { - "name": "ConnectedRegistries" - }, - { - "name": "CredentialSets" - }, - { - "name": "ExportPipelines" - }, - { - "name": "PrivateLinkResources" - }, - { - "name": "ImportPipelines" - }, - { - "name": "PipelineRuns" - }, - { - "name": "PrivateEndpointConnections" - }, - { - "name": "Replications" - }, - { - "name": "ScopeMaps" - }, - { - "name": "Tokens" - }, - { - "name": "Webhooks" - } + "produces": [ + "application/json" ], "paths": { - "/providers/Microsoft.ContainerRegistry/operations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { "get": { - "operationId": "Operations_List", "tags": [ - "Operations" + "Archives" ], - "description": "List the operations for the provider", + "description": "Lists all archives for the specified container registry and package type.", + "operationId": "Archives_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/OperationListResult" + "$ref": "#/definitions/ArchiveListResult" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" + "ArchiveList": { + "$ref": "./examples/ArchiveList.json" } }, "x-ms-pageable": { @@ -125,13 +63,13 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { - "post": { - "operationId": "Registries_CheckNameAvailability", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { + "get": { "tags": [ - "Registries" + "Archives" ], - "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", + "description": "Gets the properties of the archive.", + "operationId": "Archives_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -140,85 +78,114 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "registryNameCheckRequest", - "in": "body", - "description": "The request body", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryNameCheckRequest" - } + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" } ], "responses": { "200": { - "description": "The request has succeeded.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/RegistryNameStatus" + "$ref": "#/definitions/Archive" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryCheckNameAvailable": { - "$ref": "./examples/RegistryCheckNameAvailable.json" - }, - "RegistryCheckNameNotAvailable": { - "$ref": "./examples/RegistryCheckNameNotAvailable.json" + "ArchiveGet": { + "$ref": "./examples/ArchiveGet.json" } } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { - "get": { - "operationId": "Registries_List", + }, + "put": { "tags": [ - "Registries" + "Archives" ], - "description": "Lists all the container registries under the specified subscription.", + "description": "Creates a archive for a container registry with the specified parameters.", + "operationId": "Archives_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + }, + { + "name": "archiveCreateParameters", + "in": "body", + "description": "The parameters for creating a archive.", + "required": true, + "schema": { + "$ref": "#/definitions/Archive" + } } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "ARM update operation completed successfully.", "schema": { - "$ref": "#/definitions/RegistryListResult" + "$ref": "#/definitions/Archive" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Archive" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryList": { - "$ref": "./examples/RegistryList.json" + "ArchiveCreate": { + "$ref": "./examples/ArchiveCreate.json" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { - "get": { - "operationId": "Registries_ListByResourceGroup", + }, + "delete": { "tags": [ - "Registries" + "Archives" ], - "description": "Lists all the container registries under the specified resource group.", + "description": "Deletes a archive from a container registry.", + "operationId": "Archives_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -228,39 +195,52 @@ }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/RegistryListResult" + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } } }, + "204": { + "description": "The archive does not exist in the subscription." + }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryListByResourceGroup": { - "$ref": "./examples/RegistryListByResourceGroup.json" + "ArchiveDelete": { + "$ref": "./examples/ArchiveDelete.json" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { - "get": { - "operationId": "Registries_Get", + }, + "patch": { "tags": [ - "Registries" + "Archives" ], - "description": "Gets the properties of the specified container registry.", + "description": "Updates a archive for a container registry with the specified parameters.", + "operationId": "Archives_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -272,42 +252,52 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + }, + { + "name": "archiveUpdateParameters", + "in": "body", + "description": "The parameters for updating a archive.", "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "schema": { + "$ref": "#/definitions/ArchiveUpdateParameters" + } } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the operation has completed successfully.", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/Archive" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryGet": { - "$ref": "./examples/RegistryGet.json" + "ArchiveUpdate": { + "$ref": "./examples/ArchiveUpdate.json" } } - }, - "put": { - "operationId": "Registries_Create", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { + "get": { "tags": [ - "Registries" + "ArchiveVersions" ], - "description": "Creates a container registry with the specified parameters.", + "description": "Lists all archive versions for the specified container registry, repository type and archive name.", + "operationId": "ArchiveVersions_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -319,82 +309,95 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "registry", - "in": "body", - "description": "The parameters for creating a container registry.", - "required": true, - "schema": { - "$ref": "#/definitions/Registry" - } + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" } ], "responses": { "200": { - "description": "Resource 'Registry' update operation succeeded", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/ArchiveVersionListResult" } }, - "201": { - "description": "Resource 'Registry' create operation succeeded", - "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", + "default": { + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryCreate": { - "$ref": "./examples/RegistryCreate.json" + "ArchiveVersionList": { + "$ref": "./examples/ArchiveVersionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { + "get": { + "tags": [ + "ArchiveVersions" + ], + "description": "Gets the properties of the archive version.", + "operationId": "ArchiveVersions_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, - "RegistryCreateAbac": { - "$ref": "./examples/RegistryCreateAbac.json" + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, - "RegistryCreateDomainNameLabelScope": { - "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, - "RegistryCreateZoneRedundant": { - "$ref": "./examples/RegistryCreateZoneRedundant.json" + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + }, + { + "$ref": "#/parameters/ArchiveVersionNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ArchiveVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Registry" - }, - "x-ms-long-running-operation": true + "x-ms-examples": { + "ArchiveVersionGet": { + "$ref": "./examples/ArchiveVersionGet.json" + } + } }, - "patch": { - "operationId": "Registries_Update", + "put": { "tags": [ - "Registries" + "ArchiveVersions" ], - "description": "Updates a container registry with the specified parameters.", + "description": "Creates a archive for a container registry with the specified parameters.", + "operationId": "ArchiveVersions_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -406,73 +409,59 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "registryUpdateParameters", - "in": "body", - "description": "The parameters for updating a container registry.", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryUpdateParameters" - } + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + }, + { + "$ref": "#/parameters/ArchiveVersionNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "ARM update operation completed successfully.", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/ArchiveVersion" } }, "201": { - "description": "Resource 'Registry' create operation succeeded", + "description": "ARM create operation completed successfully.", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/ArchiveVersion" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryUpdate": { - "$ref": "./examples/RegistryUpdate.json" + "ArchiveVersionCreate": { + "$ref": "./examples/ArchiveVersionCreate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Registry" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } }, "delete": { - "operationId": "Registries_Delete", "tags": [ - "Registries" + "ArchiveVersions" ], - "description": "Deletes a container registry.", + "description": "Deletes a archive version from a container registry.", + "operationId": "ArchiveVersions_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -484,62 +473,55 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/PackageTypeParameter" + }, + { + "$ref": "#/parameters/ArchiveNameParameter" + }, + { + "$ref": "#/parameters/ArchiveVersionNameParameter" } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { - "description": "Resource deletion accepted.", + "description": "The request was successful; the operation will complete asynchronously.", "headers": { "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "204": { - "description": "Resource does not exist." + "description": "The archive does not exist in the subscription." }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryDelete": { - "$ref": "./examples/RegistryDelete.json" + "ArchiveVersionDelete": { + "$ref": "./examples/ArchiveVersionDelete.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { "get": { - "operationId": "CacheRules_List", "tags": [ "CacheRules" ], "description": "Lists all cache rule resources for the specified container registry.", + "operationId": "CacheRules_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -551,25 +533,18 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/CacheRulesListResult" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -587,11 +562,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { "get": { - "operationId": "CacheRules_Get", "tags": [ "CacheRules" ], "description": "Gets the properties of the specified cache rule resource.", + "operationId": "CacheRules_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -603,35 +578,21 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/CacheRuleNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/CacheRule" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -644,11 +605,11 @@ } }, "put": { - "operationId": "CacheRules_Create", "tags": [ "CacheRules" ], "description": "Creates a cache rule for a container registry with the specified parameters.", + "operationId": "CacheRules_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -660,24 +621,10 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/CacheRuleNameParameter" }, { "name": "cacheRuleCreateParameters", @@ -691,30 +638,24 @@ ], "responses": { "200": { - "description": "Resource 'CacheRule' update operation succeeded", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/CacheRule" } }, "201": { - "description": "Resource 'CacheRule' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/CacheRule" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -725,106 +666,17 @@ "$ref": "./examples/CacheRuleCreate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/CacheRule" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CacheRules_Update", - "tags": [ - "CacheRules" - ], - "description": "Updates a cache rule for a container registry with the specified parameters.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "cacheRuleUpdateParameters", - "in": "body", - "description": "The parameters for updating a cache rule.", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRuleUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "Resource 'CacheRule' create operation succeeded", - "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleUpdate": { - "$ref": "./examples/CacheRuleUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/CacheRule" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } }, "delete": { - "operationId": "CacheRules_Delete", "tags": [ "CacheRules" ], "description": "Deletes a cache rule resource from a container registry.", + "operationId": "CacheRules_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -836,46 +688,26 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/CacheRuleNameParameter" } ], "responses": { "202": { - "description": "Resource deletion accepted.", + "description": "The request was successful; the operation will complete asynchronously.", "headers": { "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "204": { - "description": "Resource does not exist." + "description": "The cache rule does not exist in the subscription." }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -886,19 +718,17 @@ "$ref": "./examples/CacheRuleDelete.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { - "get": { - "operationId": "ConnectedRegistries_List", + } + }, + "patch": { "tags": [ - "ConnectedRegistries" + "CacheRules" ], - "description": "Lists all connected registries for the specified container registry.", + "description": "Updates a cache rule for a container registry with the specified parameters.", + "operationId": "CacheRules_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -910,54 +740,64 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "$filter", - "in": "query", - "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", - "required": false, - "type": "string" + "$ref": "#/parameters/CacheRuleNameParameter" + }, + { + "name": "cacheRuleUpdateParameters", + "in": "body", + "description": "The parameters for updating a cache rule.", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRuleUpdateParameters" + } } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/ConnectedRegistryListResult" + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ConnectedRegistryList": { - "$ref": "./examples/ConnectedRegistryList.json" + "CacheRuleUpdate": { + "$ref": "./examples/CacheRuleUpdate.json" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { "get": { - "operationId": "ConnectedRegistries_Get", "tags": [ "ConnectedRegistries" ], "description": "Gets the properties of the connected registry.", + "operationId": "ConnectedRegistries_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -969,35 +809,21 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "connectedRegistryName", - "in": "path", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ConnectedRegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/ConnectedRegistry" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1010,11 +836,11 @@ } }, "put": { - "operationId": "ConnectedRegistries_Create", "tags": [ "ConnectedRegistries" ], "description": "Creates a connected registry for a container registry with the specified parameters.", + "operationId": "ConnectedRegistries_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1026,28 +852,14 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "connectedRegistryName", - "in": "path", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ConnectedRegistryNameParameter" }, { - "name": "connectedRegistryCreateParameters", "in": "body", + "name": "connectedRegistryCreateParameters", "description": "The parameters for creating a connectedRegistry.", "required": true, "schema": { @@ -1057,52 +869,45 @@ ], "responses": { "200": { - "description": "Resource 'ConnectedRegistry' update operation succeeded", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/ConnectedRegistry" } }, "201": { - "description": "Resource 'ConnectedRegistry' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/ConnectedRegistry" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "ConnectedRegistryCreate": { "$ref": "./examples/ConnectedRegistryCreate.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ConnectedRegistry" - }, - "x-ms-long-running-operation": true + } }, "patch": { - "operationId": "ConnectedRegistries_Update", "tags": [ "ConnectedRegistries" ], "description": "Updates a connected registry with the specified parameters.", + "operationId": "ConnectedRegistries_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1114,28 +919,14 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "connectedRegistryName", - "in": "path", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ConnectedRegistryNameParameter" }, { - "name": "connectedRegistryUpdateParameters", "in": "body", + "name": "connectedRegistryUpdateParameters", "description": "The parameters for updating a connectedRegistry.", "required": true, "schema": { @@ -1145,52 +936,45 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/ConnectedRegistry" } }, "201": { - "description": "Resource 'ConnectedRegistry' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/ConnectedRegistry" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "ConnectedRegistryUpdate": { "$ref": "./examples/ConnectedRegistryUpdate.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ConnectedRegistry" - }, - "x-ms-long-running-operation": true + } }, "delete": { - "operationId": "ConnectedRegistries_Delete", "tags": [ "ConnectedRegistries" ], "description": "Deletes a connected registry from a container registry.", + "operationId": "ConnectedRegistries_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1202,72 +986,103 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "connectedRegistryName", - "in": "path", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ConnectedRegistryNameParameter" } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "The request was successful; the request was well-formed and received properly." }, "202": { - "description": "Resource deletion accepted.", + "description": "The request was successful; the operation will complete asynchronously.", "headers": { "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "204": { - "description": "Resource does not exist." + "description": "The webhook does not exist in the subscription." }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "ConnectedRegistryDelete": { "$ref": "./examples/ConnectedRegistryDelete.json" } }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" + "produces": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { + "get": { + "tags": [ + "ConnectedRegistries" + ], + "description": "Lists all connected registries for the specified container registry.", + "operationId": "ConnectedRegistries_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ConnectedRegistryFilterParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ConnectedRegistryListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" }, - "x-ms-long-running-operation": true + "x-ms-examples": { + "ConnectedRegistryList": { + "$ref": "./examples/ConnectedRegistryList.json" + } + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { "post": { - "operationId": "ConnectedRegistries_Deactivate", "tags": [ "ConnectedRegistries" ], "description": "Deactivates the connected registry instance.", + "operationId": "ConnectedRegistries_Deactivate", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1279,69 +1094,49 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "connectedRegistryName", - "in": "path", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ConnectedRegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully." + "description": "The request was successful; the request was well-formed and received properly." }, "202": { - "description": "Resource operation accepted.", + "description": "The request was successful; the operation will complete asynchronously.", "headers": { "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "ConnectedRegistryDeactivate": { "$ref": "./examples/ConnectedRegistryDeactivate.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { "get": { - "operationId": "CredentialSets_List", "tags": [ "CredentialSets" ], "description": "Lists all credential set resources for the specified container registry.", + "operationId": "CredentialSets_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1353,25 +1148,18 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/CredentialSetListResult" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1389,11 +1177,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { "get": { - "operationId": "CredentialSets_Get", "tags": [ "CredentialSets" ], "description": "Gets the properties of the specified credential set resource.", + "operationId": "CredentialSets_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1405,35 +1193,21 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/CredentialSetNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/CredentialSet" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1446,11 +1220,11 @@ } }, "put": { - "operationId": "CredentialSets_Create", "tags": [ "CredentialSets" ], "description": "Creates a credential set for a container registry with the specified parameters.", + "operationId": "CredentialSets_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1462,24 +1236,10 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/CredentialSetNameParameter" }, { "name": "credentialSetCreateParameters", @@ -1493,30 +1253,24 @@ ], "responses": { "200": { - "description": "Resource 'CredentialSet' update operation succeeded", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/CredentialSet" } }, "201": { - "description": "Resource 'CredentialSet' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/CredentialSet" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1527,18 +1281,17 @@ "$ref": "./examples/CredentialSetCreate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/CredentialSet" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } }, - "patch": { - "operationId": "CredentialSets_Update", + "delete": { "tags": [ "CredentialSets" ], - "description": "Updates a credential set for a container registry with the specified parameters.", + "description": "Deletes a credential set from a container registry.", + "operationId": "CredentialSets_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1550,83 +1303,47 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "credentialSetUpdateParameters", - "in": "body", - "description": "The parameters for updating a credential set.", - "required": true, - "schema": { - "$ref": "#/definitions/CredentialSetUpdateParameters" - } + "$ref": "#/parameters/CredentialSetNameParameter" } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "Resource 'CredentialSet' create operation succeeded", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "Location": { + "type": "string" } } }, + "204": { + "description": "The credential store resource does not exist in the subscription." + }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CredentialSetUpdate": { - "$ref": "./examples/CredentialSetUpdate.json" + "CredentialSetDelete": { + "$ref": "./examples/CredentialSetDelete.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/CredentialSet" - }, - "x-ms-long-running-operation": true + "final-state-via": "location" + } }, - "delete": { - "operationId": "CredentialSets_Delete", + "patch": { "tags": [ "CredentialSets" ], - "description": "Deletes a credential set from a container registry.", + "description": "Updates a credential set for a container registry with the specified parameters.", + "operationId": "CredentialSets_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1638,69 +1355,64 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/CredentialSetNameParameter" }, { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", + "name": "credentialSetUpdateParameters", + "in": "body", + "description": "The parameters for updating a credential set.", "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" + "schema": { + "$ref": "#/definitions/CredentialSetUpdateParameters" + } } ], "responses": { - "202": { - "description": "Resource deletion accepted.", + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "Azure-AsyncOperation": { + "type": "string" } } }, - "204": { - "description": "Resource does not exist." - }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CredentialSetDelete": { - "$ref": "./examples/CredentialSetDelete.json" + "CredentialSetUpdate": { + "$ref": "./examples/CredentialSetUpdate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines": { "get": { - "operationId": "ExportPipelines_List", "tags": [ "ExportPipelines" ], "description": "Lists all export pipelines for the specified container registry.", + "operationId": "ExportPipelines_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1712,25 +1424,18 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/ExportPipelineListResult" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1748,11 +1453,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { "get": { - "operationId": "ExportPipelines_Get", "tags": [ "ExportPipelines" ], "description": "Gets the properties of the export pipeline.", + "operationId": "ExportPipelines_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1764,35 +1469,21 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "exportPipelineName", - "in": "path", - "description": "The name of the export pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ExportPipelineNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/ExportPipeline" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1805,11 +1496,11 @@ } }, "put": { - "operationId": "ExportPipelines_Create", "tags": [ "ExportPipelines" ], "description": "Creates an export pipeline for a container registry with the specified parameters.", + "operationId": "ExportPipelines_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1821,24 +1512,10 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "exportPipelineName", - "in": "path", - "description": "The name of the export pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ExportPipelineNameParameter" }, { "name": "exportPipelineCreateParameters", @@ -1852,30 +1529,24 @@ ], "responses": { "200": { - "description": "Resource 'ExportPipeline' update operation succeeded", + "description": "The request was successful; the operation has completed successfully.", "schema": { "$ref": "#/definitions/ExportPipeline" } }, "201": { - "description": "Resource 'ExportPipeline' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/ExportPipeline" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1886,18 +1557,17 @@ "$ref": "./examples/ExportPipelineCreate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ExportPipeline" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } }, "delete": { - "operationId": "ExportPipelines_Delete", "tags": [ "ExportPipelines" ], "description": "Deletes an export pipeline from a container registry.", + "operationId": "ExportPipelines_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1909,49 +1579,29 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "exportPipelineName", - "in": "path", - "description": "The name of the export pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ExportPipelineNameParameter" } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "The request was successful; the request was well-formed and received properly." }, "202": { - "description": "Resource deletion accepted.", + "description": "The request was successful; the operation will complete asynchronously.", "headers": { "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "204": { - "description": "Resource does not exist." + "description": "The export pipeline does not exist in the subscription." }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1962,19 +1612,19 @@ "$ref": "./examples/ExportPipelineDelete.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { "post": { - "operationId": "Registries_GenerateCredentials", "tags": [ "Registries" ], - "description": "Generate keys for a token of a specified container registry.", + "description": "Copies an image to this container registry from the specified container registry.", + "operationId": "Registries_ImportImage", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1986,151 +1636,55 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "generateCredentialsParameters", + "name": "parameters", "in": "body", - "description": "The parameters for generating credentials.", + "description": "The parameters specifying the image to copy and the source container registry.", "required": true, "schema": { - "$ref": "#/definitions/GenerateCredentialsParameters" + "$ref": "#/definitions/ImportImageParameters" } } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/GenerateCredentialsResult" - } + "description": "The request was successful; the operation has completed successfully." }, "202": { - "description": "Resource operation accepted.", + "description": "The request was successful; the operation will complete asynchronously.", "headers": { "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { - "RegistryGenerateCredentials": { - "$ref": "./examples/RegistryGenerateCredentials.json" + "ImportImageByTag": { + "$ref": "./examples/ImportImageByTag.json" + }, + "ImportImageByManifestDigest": { + "$ref": "./examples/ImportImageByManifestDigest.json" + }, + "ImportImageFromPublicRegistry": { + "$ref": "./examples/ImportImageFromPublicRegistry.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location", - "final-state-schema": "#/definitions/GenerateCredentialsResult" - }, - "x-ms-long-running-operation": true + "final-state-via": "location" + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { - "post": { - "operationId": "Registries_ImportImage", - "tags": [ - "Registries" - ], - "description": "Copies an image to this container registry from the specified container registry.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "parameters", - "in": "body", - "description": "The parameters specifying the image to copy and the source container registry.", - "required": true, - "schema": { - "$ref": "#/definitions/ImportImageParameters" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully." - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ImportImageByManifestDigest": { - "$ref": "./examples/ImportImageByManifestDigest.json" - }, - "ImportImageByTag": { - "$ref": "./examples/ImportImageByTag.json" - }, - "ImportImageFromPublicRegistry": { - "$ref": "./examples/ImportImageFromPublicRegistry.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { - "get": { - "operationId": "ImportPipelines_List", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { + "get": { "tags": [ "ImportPipelines" ], "description": "Lists all import pipelines for the specified container registry.", + "operationId": "ImportPipelines_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2142,25 +1696,18 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/ImportPipelineListResult" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2178,11 +1725,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { "get": { - "operationId": "ImportPipelines_Get", "tags": [ "ImportPipelines" ], "description": "Gets the properties of the import pipeline.", + "operationId": "ImportPipelines_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2194,35 +1741,21 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "importPipelineName", - "in": "path", - "description": "The name of the import pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ImportPipelineNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/ImportPipeline" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2235,11 +1768,11 @@ } }, "put": { - "operationId": "ImportPipelines_Create", "tags": [ "ImportPipelines" ], "description": "Creates an import pipeline for a container registry with the specified parameters.", + "operationId": "ImportPipelines_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2251,24 +1784,10 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "importPipelineName", - "in": "path", - "description": "The name of the import pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ImportPipelineNameParameter" }, { "name": "importPipelineCreateParameters", @@ -2282,30 +1801,24 @@ ], "responses": { "200": { - "description": "Resource 'ImportPipeline' update operation succeeded", + "description": "The request was successful; the operation has completed successfully.", "schema": { "$ref": "#/definitions/ImportPipeline" } }, "201": { - "description": "Resource 'ImportPipeline' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/ImportPipeline" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2316,18 +1829,17 @@ "$ref": "./examples/ImportPipelineCreate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ImportPipeline" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } }, "delete": { - "operationId": "ImportPipelines_Delete", "tags": [ "ImportPipelines" ], "description": "Deletes an import pipeline from a container registry.", + "operationId": "ImportPipelines_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2339,49 +1851,29 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "importPipelineName", - "in": "path", - "description": "The name of the import pipeline.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ImportPipelineNameParameter" } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "The request was successful; the request was well-formed and received properly." }, "202": { - "description": "Resource deletion accepted.", + "description": "The request was successful; the operation will complete asynchronously.", "headers": { "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "204": { - "description": "Resource does not exist." + "description": "The import pipeline does not exist in the subscription." }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2392,68 +1884,49 @@ "$ref": "./examples/ImportPipelineDelete.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { - "post": { - "operationId": "Registries_ListCredentials", + "/providers/Microsoft.ContainerRegistry/operations": { + "get": { "tags": [ - "Registries" + "Operation" ], - "description": "Lists the login credentials for the specified container registry.", + "description": "Lists all of the available Azure Container Registry REST API operations.", + "operationId": "Operations_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/OperationListResult" } } }, "x-ms-examples": { - "RegistryListCredentials": { - "$ref": "./examples/RegistryListCredentials.json" + "OperationList": { + "$ref": "./examples/OperationList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { - "get": { - "operationId": "Registries_ListUsages", + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { + "post": { "tags": [ - "Registries" + "Operation" ], - "description": "Gets the quota usages for the specified container registry.", + "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", + "operationId": "Registries_CheckNameAvailability", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2462,47 +1935,40 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", + "name": "registryNameCheckRequest", + "in": "body", + "description": "The object containing information for the availability request.", "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "schema": { + "$ref": "#/definitions/RegistryNameCheckRequest" + } } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/RegistryUsageListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/RegistryNameStatus" } } }, "x-ms-examples": { - "RegistryListUsages": { - "$ref": "./examples/RegistryListUsages.json" + "RegistryCheckNameAvailable": { + "$ref": "./examples/RegistryCheckNameAvailable.json" + }, + "RegistryCheckNameNotAvailable": { + "$ref": "./examples/RegistryCheckNameNotAvailable.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { "get": { - "operationId": "Archives_List", "tags": [ - "Archives" + "PipelineRuns" ], - "description": "Lists all archives for the specified container registry and package type.", + "description": "Lists all the pipeline runs for the specified container registry.", + "operationId": "PipelineRuns_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2514,43 +1980,26 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "description": "The package type.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well - formed and received properly.", "schema": { - "$ref": "#/definitions/ArchiveListResult" + "$ref": "#/definitions/PipelineRunListResult" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveList": { - "$ref": "./examples/ArchiveList.json" + "PipelineRunList": { + "$ref": "./examples/PipelineRunList.json" } }, "x-ms-pageable": { @@ -2558,13 +2007,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { "get": { - "operationId": "Archives_Get", "tags": [ - "Archives" + "PipelineRuns" ], - "description": "Gets the properties of the archive.", + "description": "Gets the detailed information for a given pipeline run.", + "operationId": "PipelineRuns_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2576,62 +2025,38 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "description": "The package type.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/PipelineRunNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well - formed and received properly.", "schema": { - "$ref": "#/definitions/Archive" + "$ref": "#/definitions/PipelineRun" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveGet": { - "$ref": "./examples/ArchiveGet.json" + "PipelineRunGet": { + "$ref": "./examples/PipelineRunGet.json" } } }, "put": { - "operationId": "Archives_Create", "tags": [ - "Archives" + "PipelineRuns" ], - "description": "Creates a archive for a container registry with the specified parameters.", + "description": "Creates a pipeline run for a container registry with the specified parameters", + "operationId": "PipelineRuns_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2643,93 +2068,65 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "description": "The package type.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/PipelineRunNameParameter" }, { - "name": "archiveCreateParameters", + "name": "pipelineRunCreateParameters", "in": "body", - "description": "The parameters for creating a archive.", + "description": "The parameters for creating a pipeline run.", "required": true, "schema": { - "$ref": "#/definitions/Archive" + "$ref": "#/definitions/PipelineRun" } } ], "responses": { "200": { - "description": "Resource 'Archive' update operation succeeded", + "description": "The request was successful; the request was well - formed and received properly.", "schema": { - "$ref": "#/definitions/Archive" + "$ref": "#/definitions/PipelineRun" } }, "201": { - "description": "Resource 'Archive' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/Archive" + "$ref": "#/definitions/PipelineRun" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveCreate": { - "$ref": "./examples/ArchiveCreate.json" + "PipelineRunCreate_Export": { + "$ref": "./examples/PipelineRunCreate_Export.json" + }, + "PipelineRunCreate_Import": { + "$ref": "./examples/PipelineRunCreate_Import.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Archive" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } }, - "patch": { - "operationId": "Archives_Update", + "delete": { "tags": [ - "Archives" + "PipelineRuns" ], - "description": "Updates a archive for a container registry with the specified parameters.", + "description": "Deletes a pipeline run from a container registry.", + "operationId": "PipelineRuns_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2741,155 +2138,52 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "description": "The package type.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "archiveUpdateParameters", - "in": "body", - "description": "The parameters for updating a archive.", - "required": true, - "schema": { - "$ref": "#/definitions/ArchiveUpdateParameters" - } + "$ref": "#/parameters/PipelineRunNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Archive" - } + "description": "The request was successful; the request was well-formed and received properly." }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveUpdate": { - "$ref": "./examples/ArchiveUpdate.json" - } - } - }, - "delete": { - "operationId": "Archives_Delete", - "tags": [ - "Archives" - ], - "description": "Deletes a archive from a container registry.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "description": "The package type.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { "202": { - "description": "Resource deletion accepted.", + "description": "The request was successful; the operation will complete asynchronously.", "headers": { "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "204": { - "description": "Resource does not exist." + "description": "The pipeline run does not exist in the subscription." }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveDelete": { - "$ref": "./examples/ArchiveDelete.json" + "PipelineRunDelete": { + "$ref": "./examples/PipelineRunDelete.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { "get": { - "operationId": "ArchiveVersions_List", "tags": [ - "ArchiveVersions" + "PrivateEndpointConnections" ], - "description": "Lists all archive versions for the specified container registry, repository type and archive name.", + "description": "List all private endpoint connections in a container registry.", + "operationId": "PrivateEndpointConnections_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2901,53 +2195,20 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "description": "The package type.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ArchiveVersionListResult" - } - }, - "default": { - "description": "An unexpected error response.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/PrivateEndpointConnectionListResult" } } }, "x-ms-examples": { - "ArchiveVersionList": { - "$ref": "./examples/ArchiveVersionList.json" + "PrivateEndpointConnectionList": { + "$ref": "./examples/PrivateEndpointConnectionList.json" } }, "x-ms-pageable": { @@ -2955,13 +2216,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { "get": { - "operationId": "ArchiveVersions_Get", "tags": [ - "ArchiveVersions" + "PrivateEndpointConnections" ], - "description": "Gets the properties of the archive version.", + "description": "Get the specified private endpoint connection associated with the container registry.", + "operationId": "PrivateEndpointConnections_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2973,72 +2234,32 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "description": "The package type.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "archiveVersionName", - "in": "path", - "description": "The name of the archive version resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ArchiveVersion" - } - }, - "default": { - "description": "An unexpected error response.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/PrivateEndpointConnection" } } }, "x-ms-examples": { - "ArchiveVersionGet": { - "$ref": "./examples/ArchiveVersionGet.json" + "PrivateEndpointConnectionGet": { + "$ref": "./examples/PrivateEndpointConnectionGet.json" } } }, "put": { - "operationId": "ArchiveVersions_Create", "tags": [ - "ArchiveVersions" + "PrivateEndpointConnections" ], - "description": "Creates a archive version for a container registry with the specified parameters.", + "description": "Update the state of specified private endpoint connection associated with the container registry.", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3050,94 +2271,56 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "description": "The package type.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" }, { - "name": "archiveVersionName", - "in": "path", - "description": "The name of the archive version resource.", + "name": "privateEndpointConnection", + "in": "body", + "description": "The parameters for creating a private endpoint connection.", "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } } ], "responses": { "200": { - "description": "Resource 'ArchiveVersion' update operation succeeded", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/ArchiveVersion" + "$ref": "#/definitions/PrivateEndpointConnection" } }, "201": { - "description": "Resource 'ArchiveVersion' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/ArchiveVersion" + "$ref": "#/definitions/PrivateEndpointConnection" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { - "ArchiveVersionCreate": { - "$ref": "./examples/ArchiveVersionCreate.json" + "PrivateEndpointConnectionCreateOrUpdate": { + "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ArchiveVersion" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } }, "delete": { - "operationId": "ArchiveVersions_Delete", "tags": [ - "ArchiveVersions" + "PrivateEndpointConnections" ], - "description": "Deletes a archive version from a container registry.", + "description": "Deletes the specified private endpoint connection associated with the container registry.", + "operationId": "PrivateEndpointConnections_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3149,127 +2332,101 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "packageType", - "in": "path", - "description": "The package type.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 50, - "pattern": "^[a-zA-Z]*$" - }, - { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "archiveVersionName", - "in": "path", - "description": "The name of the archive version resource.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 200, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" } ], "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, "202": { - "description": "Resource deletion accepted.", + "description": "The request was successful; the operation will complete asynchronously.", "headers": { "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } + "description": "The private endpoint connection does not exist in the subscription." } }, "x-ms-examples": { - "ArchiveVersionDelete": { - "$ref": "./examples/ArchiveVersionDelete.json" + "PrivateEndpointConnectionDelete": { + "$ref": "./examples/PrivateEndpointConnectionDelete.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { "get": { - "operationId": "PipelineRuns_List", "tags": [ - "PipelineRuns" + "Registries" ], - "description": "Lists all the pipeline runs for the specified container registry.", + "description": "Lists all the container registries under the specified subscription.", + "operationId": "Registries_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/RegistryListResult" + } + } + }, + "x-ms-examples": { + "RegistryList": { + "$ref": "./examples/RegistryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { + "get": { + "tags": [ + "Registries" + ], + "description": "Lists all the container registries under the specified resource group.", + "operationId": "Registries_ListByResourceGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/PipelineRunListResult" - } - }, - "default": { - "description": "An unexpected error response.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/RegistryListResult" } } }, "x-ms-examples": { - "PipelineRunList": { - "$ref": "./examples/PipelineRunList.json" + "RegistryListByResourceGroup": { + "$ref": "./examples/RegistryListByResourceGroup.json" } }, "x-ms-pageable": { @@ -3277,13 +2434,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { "get": { - "operationId": "PipelineRuns_Get", "tags": [ - "PipelineRuns" + "Registries" ], - "description": "Gets the detailed information for a given pipeline run.", + "description": "Gets the properties of the specified container registry.", + "operationId": "Registries_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3295,52 +2452,29 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "description": "The name of the pipeline run.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/PipelineRun" - } - }, - "default": { - "description": "An unexpected error response.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/Registry" } } }, "x-ms-examples": { - "PipelineRunGet": { - "$ref": "./examples/PipelineRunGet.json" + "RegistryGet": { + "$ref": "./examples/RegistryGet.json" } } }, "put": { - "operationId": "PipelineRuns_Create", "tags": [ - "PipelineRuns" + "Registries" ], - "description": "Creates a pipeline run for a container registry with the specified parameters", + "description": "Creates a container registry with the specified parameters.", + "operationId": "Registries_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3352,86 +2486,62 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "description": "The name of the pipeline run.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "pipelineRunCreateParameters", + "name": "registry", "in": "body", - "description": "The parameters for creating a pipeline run.", + "description": "The parameters for creating a container registry.", "required": true, "schema": { - "$ref": "#/definitions/PipelineRun" + "$ref": "#/definitions/Registry" } } ], "responses": { "200": { - "description": "Resource 'PipelineRun' update operation succeeded", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PipelineRun" + "$ref": "#/definitions/Registry" } }, "201": { - "description": "Resource 'PipelineRun' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/PipelineRun" + "$ref": "#/definitions/Registry" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { - "PipelineRunCreate_Export": { - "$ref": "./examples/PipelineRunCreate_Export.json" + "RegistryCreate": { + "$ref": "./examples/RegistryCreate.json" }, - "PipelineRunCreate_Import": { - "$ref": "./examples/PipelineRunCreate_Import.json" + "RegistryCreateZoneRedundant": { + "$ref": "./examples/RegistryCreateZoneRedundant.json" + }, + "RegistryCreateDomainNameLabelScope": { + "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" + }, + "RegistryCreateAbac": { + "$ref": "./examples/RegistryCreateAbac.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/PipelineRun" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } }, "delete": { - "operationId": "PipelineRuns_Delete", "tags": [ - "PipelineRuns" + "Registries" ], - "description": "Deletes a pipeline run from a container registry.", + "description": "Deletes a container registry.", + "operationId": "Registries_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3443,178 +2553,41 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "pipelineRunName", - "in": "path", - "description": "The name of the pipeline run.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "The request was successful; the request was well-formed and received properly." }, "202": { - "description": "Resource deletion accepted.", + "description": "The request was successful; the operation will complete asynchronously.", "headers": { "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } + "description": "The container registry does not exist in the subscription." } }, "x-ms-examples": { - "PipelineRunDelete": { - "$ref": "./examples/PipelineRunDelete.json" + "RegistryDelete": { + "$ref": "./examples/RegistryDelete.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { - "get": { - "operationId": "PrivateEndpointConnections_List", - "tags": [ - "PrivateEndpointConnections" - ], - "description": "List all private endpoint connections in a container registry.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionList": { - "$ref": "./examples/PrivateEndpointConnectionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "operationId": "PrivateEndpointConnections_Get", - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Get the specified private endpoint connection associated with the container registry.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionGet": { - "$ref": "./examples/PrivateEndpointConnectionGet.json" - } } }, - "put": { - "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "patch": { "tags": [ - "PrivateEndpointConnections" + "Registries" ], - "description": "Update the state of specified private endpoint connection associated with the container registry.", + "description": "Updates a container registry with the specified parameters.", + "operationId": "Registries_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3626,80 +2599,55 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "privateEndpointConnection", + "name": "registryUpdateParameters", "in": "body", - "description": "The parameters for creating a private endpoint connection.", + "description": "The parameters for updating a container registry.", "required": true, "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/RegistryUpdateParameters" } } ], "responses": { "200": { - "description": "Resource 'PrivateEndpointConnection' update operation succeeded", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/Registry" } }, "201": { - "description": "Resource 'PrivateEndpointConnection' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/Registry" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { - "PrivateEndpointConnectionCreateOrUpdate": { - "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" + "RegistryUpdate": { + "$ref": "./examples/RegistryUpdate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/PrivateEndpointConnection" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "PrivateEndpointConnections_Delete", + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { + "get": { "tags": [ - "PrivateEndpointConnections" + "Registries" ], - "description": "Deletes the specified private endpoint connection associated with the container registry.", + "description": "Gets the quota usages for the specified container registry.", + "operationId": "Registries_ListUsages", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3711,69 +2659,31 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", + "description": "The request was successful; the registry usages retrieved and returned successfully.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/RegistryUsageListResult" } } }, "x-ms-examples": { - "PrivateEndpointConnectionDelete": { - "$ref": "./examples/PrivateEndpointConnectionDelete.json" + "RegistryListUsages": { + "$ref": "./examples/RegistryListUsages.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { "get": { - "operationId": "Registries_ListPrivateLinkResources", "tags": [ - "PrivateLinkResources" + "Registries" ], "description": "Lists the private link resources for a container registry.", + "operationId": "Registries_ListPrivateLinkResources", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3785,28 +2695,15 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the private link resources were retrieved and returned successfully.", "schema": { "$ref": "#/definitions/PrivateLinkResourceListResult" } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { @@ -3821,11 +2718,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { "get": { - "operationId": "Registries_GetPrivateLinkResource", "tags": [ - "PrivateLinkResources" + "Registries" ], "description": "Gets a private link resource by a specified group name for a container registry.", + "operationId": "Registries_GetPrivateLinkResource", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3837,32 +2734,21 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "groupName", - "in": "path", - "description": "The name of the private link resource.", - "required": true, - "type": "string" + "$ref": "#/parameters/GroupNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the private link resource was retrieved and returned successfully.", "schema": { "$ref": "#/definitions/PrivateLinkResource" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3875,13 +2761,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { "post": { - "operationId": "Registries_RegenerateCredential", "tags": [ "Registries" ], - "description": "Regenerates one of the login credentials for the specified container registry.", + "description": "Lists the login credentials for the specified container registry.", + "operationId": "Registries_ListCredentials", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3893,36 +2779,59 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "regenerateCredentialParameters", - "in": "body", - "description": "Specifies name of the password which should be regenerated -- password or password2.", - "required": true, - "schema": { - "$ref": "#/definitions/RegenerateCredentialParameters" - } + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the list of credentials retrieved and returned successfully.", "schema": { "$ref": "#/definitions/RegistryListCredentialsResult" } - }, - "default": { - "description": "An unexpected error response.", + } + }, + "x-ms-examples": { + "RegistryListCredentials": { + "$ref": "./examples/RegistryListCredentials.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { + "post": { + "tags": [ + "Registries" + ], + "description": "Regenerates one of the login credentials for the specified container registry.", + "operationId": "Registries_RegenerateCredential", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "name": "regenerateCredentialParameters", + "in": "body", + "description": "Specifies name of the password which should be regenerated -- password or password2.", + "required": true, "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/RegenerateCredentialParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the specified credential regenerated successfully.", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" } } }, @@ -3935,11 +2844,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications": { "get": { - "operationId": "Replications_List", "tags": [ "Replications" ], "description": "Lists all the replications for the specified container registry.", + "operationId": "Replications_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3951,28 +2860,15 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/ReplicationListResult" } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { @@ -3987,11 +2883,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { "get": { - "operationId": "Replications_Get", "tags": [ "Replications" ], "description": "Gets the properties of the specified replication.", + "operationId": "Replications_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4003,38 +2899,18 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ReplicationNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/Replication" } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { @@ -4044,11 +2920,11 @@ } }, "put": { - "operationId": "Replications_Create", "tags": [ "Replications" ], "description": "Creates a replication for a container registry with the specified parameters.", + "operationId": "Replications_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4060,24 +2936,10 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/ReplicationNameParameter" }, { "name": "replication", @@ -4091,33 +2953,21 @@ ], "responses": { "200": { - "description": "Resource 'Replication' update operation succeeded", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/Replication" } }, "201": { - "description": "Resource 'Replication' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/Replication" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { @@ -4128,18 +2978,17 @@ "$ref": "./examples/ReplicationCreateZoneRedundant.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Replication" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } }, - "patch": { - "operationId": "Replications_Update", + "delete": { "tags": [ "Replications" ], - "description": "Updates a replication for a container registry with the specified parameters.", + "description": "Deletes a replication from a container registry.", + "operationId": "Replications_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4151,83 +3000,44 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "replicationUpdateParameters", - "in": "body", - "description": "The parameters for updating a replication.", - "required": true, - "schema": { - "$ref": "#/definitions/ReplicationUpdateParameters" - } + "$ref": "#/parameters/ReplicationNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Replication" - } + "description": "The request was successful; the request was well-formed and received properly." }, - "201": { - "description": "Resource 'Replication' create operation succeeded", - "schema": { - "$ref": "#/definitions/Replication" - }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "Location": { + "type": "string" } } }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } + "204": { + "description": "The replication does not exist in the subscription." } }, "x-ms-examples": { - "ReplicationUpdate": { - "$ref": "./examples/ReplicationUpdate.json" + "ReplicationDelete": { + "$ref": "./examples/ReplicationDelete.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Replication" - }, - "x-ms-long-running-operation": true + "final-state-via": "location" + } }, - "delete": { - "operationId": "Replications_Delete", + "patch": { "tags": [ "Replications" ], - "description": "Deletes a replication from a container registry.", + "description": "Updates a replication for a container registry with the specified parameters.", + "operationId": "Replications_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4239,72 +3049,58 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", + "$ref": "#/parameters/ReplicationNameParameter" + }, + { + "name": "replicationUpdateParameters", + "in": "body", + "description": "The parameters for updating a replication.", "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "schema": { + "$ref": "#/definitions/ReplicationUpdateParameters" + } } ], "responses": { "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Replication" } }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", + "201": { + "description": "The request was successful; the operation will complete asynchronously.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/Replication" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } } } }, "x-ms-examples": { - "ReplicationDelete": { - "$ref": "./examples/ReplicationDelete.json" + "ReplicationUpdate": { + "$ref": "./examples/ReplicationUpdate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { "get": { - "operationId": "ScopeMaps_List", "tags": [ "ScopeMaps" ], "description": "Lists all the scope maps for the specified container registry.", + "operationId": "ScopeMaps_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4316,25 +3112,18 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/ScopeMapListResult" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -4352,11 +3141,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { "get": { - "operationId": "ScopeMaps_Get", "tags": [ "ScopeMaps" ], "description": "Gets the properties of the specified scope map.", + "operationId": "ScopeMaps_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4368,35 +3157,21 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" + "$ref": "#/parameters/ScopeMapNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/ScopeMap" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -4409,11 +3184,11 @@ } }, "put": { - "operationId": "ScopeMaps_Create", "tags": [ "ScopeMaps" ], "description": "Creates a scope map for a container registry with the specified parameters.", + "operationId": "ScopeMaps_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4425,24 +3200,10 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" + "$ref": "#/parameters/ScopeMapNameParameter" }, { "name": "scopeMapCreateParameters", @@ -4456,30 +3217,24 @@ ], "responses": { "200": { - "description": "Resource 'ScopeMap' update operation succeeded", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/ScopeMap" } }, "201": { - "description": "Resource 'ScopeMap' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/ScopeMap" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -4490,18 +3245,17 @@ "$ref": "./examples/ScopeMapCreate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ScopeMap" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } }, - "patch": { - "operationId": "ScopeMaps_Update", + "delete": { "tags": [ "ScopeMaps" ], - "description": "Updates a scope map with the specified parameters.", + "description": "Deletes a scope map from a container registry.", + "operationId": "ScopeMaps_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4513,83 +3267,50 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "scopeMapUpdateParameters", - "in": "body", - "description": "The parameters for updating a scope map.", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeMapUpdateParameters" - } + "$ref": "#/parameters/ScopeMapNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ScopeMap" - } + "description": "The request was successful; the request was well-formed and received properly." }, - "201": { - "description": "Resource 'ScopeMap' create operation succeeded", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "Location": { + "type": "string" } } }, + "204": { + "description": "The scopemap does not exist in the subscription." + }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScopeMapUpdate": { - "$ref": "./examples/ScopeMapUpdate.json" + "ScopeMapDelete": { + "$ref": "./examples/ScopeMapDelete.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/ScopeMap" - }, - "x-ms-long-running-operation": true + "final-state-via": "location" + } }, - "delete": { - "operationId": "ScopeMaps_Delete", + "patch": { "tags": [ "ScopeMaps" ], - "description": "Deletes a scope map from a container registry.", + "description": "Updates a scope map with the specified parameters.", + "operationId": "ScopeMaps_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4601,72 +3322,64 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/ScopeMapNameParameter" }, { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", + "name": "scopeMapUpdateParameters", + "in": "body", + "description": "The parameters for updating a scope map.", "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" + "schema": { + "$ref": "#/definitions/ScopeMapUpdateParameters" + } } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ScopeMap" + } }, - "202": { - "description": "Resource deletion accepted.", + "201": { + "description": "The request was successful; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "Azure-AsyncOperation": { + "type": "string" } } }, - "204": { - "description": "Resource does not exist." - }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScopeMapDelete": { - "$ref": "./examples/ScopeMapDelete.json" + "ScopeMapUpdate": { + "$ref": "./examples/ScopeMapUpdate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens": { "get": { - "operationId": "Tokens_List", "tags": [ "Tokens" ], "description": "Lists all the tokens for the specified container registry.", + "operationId": "Tokens_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4678,25 +3391,18 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/TokenListResult" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -4714,11 +3420,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { "get": { - "operationId": "Tokens_Get", "tags": [ "Tokens" ], "description": "Gets the properties of the specified token.", + "operationId": "Tokens_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4730,35 +3436,21 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/TokenNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/Token" } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -4771,11 +3463,11 @@ } }, "put": { - "operationId": "Tokens_Create", "tags": [ "Tokens" ], "description": "Creates a token for a container registry with the specified parameters.", + "operationId": "Tokens_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4787,24 +3479,10 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/TokenNameParameter" }, { "name": "tokenCreateParameters", @@ -4818,30 +3496,24 @@ ], "responses": { "200": { - "description": "Resource 'Token' update operation succeeded", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/Token" } }, "201": { - "description": "Resource 'Token' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/Token" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -4852,18 +3524,72 @@ "$ref": "./examples/TokenCreate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Token" + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Tokens" + ], + "description": "Deletes a token from a container registry.", + "operationId": "Tokens_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/TokenNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "The token does not exist in the subscription." + }, + "default": { + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } }, - "x-ms-long-running-operation": true + "x-ms-examples": { + "TokenDelete": { + "$ref": "./examples/TokenDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { - "operationId": "Tokens_Update", "tags": [ "Tokens" ], "description": "Updates a token with the specified parameters.", + "operationId": "Tokens_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4875,24 +3601,10 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" + "$ref": "#/parameters/TokenNameParameter" }, { "name": "tokenUpdateParameters", @@ -4906,30 +3618,24 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/Token" } }, "201": { - "description": "Resource 'Token' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/Token" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -4940,18 +3646,19 @@ "$ref": "./examples/TokenUpdate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Token" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Tokens_Delete", + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { + "post": { "tags": [ - "Tokens" + "Registries" ], - "description": "Deletes a token from a container registry.", + "description": "Generate keys for a token of a specified container registry.", + "operationId": "Registries_GenerateCredentials", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4963,72 +3670,58 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", + "name": "generateCredentialsParameters", + "in": "body", + "description": "The parameters for generating credentials.", "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" + "schema": { + "$ref": "#/definitions/GenerateCredentialsParameters" + } } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/GenerateCredentialsResult" + } }, "202": { - "description": "Resource deletion accepted.", + "description": "The request was successful; the operation will complete asynchronously.", "headers": { "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } }, - "204": { - "description": "Resource does not exist." - }, "default": { - "description": "An unexpected error response.", + "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "TokenDelete": { - "$ref": "./examples/TokenDelete.json" + "RegistryGenerateCredentials": { + "$ref": "./examples/RegistryGenerateCredentials.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks": { "get": { - "operationId": "Webhooks_List", "tags": [ "Webhooks" ], "description": "Lists all the webhooks for the specified container registry.", + "operationId": "Webhooks_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -5040,28 +3733,15 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/WebhookListResult" } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { @@ -5076,11 +3756,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { "get": { - "operationId": "Webhooks_Get", "tags": [ "Webhooks" ], "description": "Gets the properties of the specified webhook.", + "operationId": "Webhooks_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -5092,38 +3772,18 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/WebhookNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/Webhook" } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { @@ -5133,11 +3793,11 @@ } }, "put": { - "operationId": "Webhooks_Create", "tags": [ "Webhooks" ], "description": "Creates a webhook for a container registry with the specified parameters.", + "operationId": "Webhooks_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -5149,24 +3809,10 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/WebhookNameParameter" }, { "name": "webhookCreateParameters", @@ -5180,33 +3826,21 @@ ], "responses": { "200": { - "description": "Resource 'Webhook' update operation succeeded", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/Webhook" } }, "201": { - "description": "Resource 'Webhook' create operation succeeded", + "description": "The request was successful; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/Webhook" }, "headers": { "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "type": "string" } } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { @@ -5214,18 +3848,17 @@ "$ref": "./examples/WebhookCreate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Webhook" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } }, - "patch": { - "operationId": "Webhooks_Update", + "delete": { "tags": [ "Webhooks" ], - "description": "Updates a webhook with the specified parameters.", + "description": "Deletes a webhook from a container registry.", + "operationId": "Webhooks_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -5237,83 +3870,44 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "webhookUpdateParameters", - "in": "body", - "description": "The parameters for updating a webhook.", - "required": true, - "schema": { - "$ref": "#/definitions/WebhookUpdateParameters" - } + "$ref": "#/parameters/WebhookNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/Webhook" - } + "description": "The request was successful; the request was well-formed and received properly." }, - "201": { - "description": "Resource 'Webhook' create operation succeeded", - "schema": { - "$ref": "#/definitions/Webhook" - }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + "Location": { + "type": "string" } } }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } + "204": { + "description": "The webhook does not exist in the subscription." } }, "x-ms-examples": { - "WebhookUpdate": { - "$ref": "./examples/WebhookUpdate.json" + "WebhookDelete": { + "$ref": "./examples/WebhookDelete.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Webhook" - }, - "x-ms-long-running-operation": true + "final-state-via": "location" + } }, - "delete": { - "operationId": "Webhooks_Delete", + "patch": { "tags": [ "Webhooks" ], - "description": "Deletes a webhook from a container registry.", + "description": "Updates a webhook with the specified parameters.", + "operationId": "Webhooks_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -5325,72 +3919,58 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" + }, + { + "$ref": "#/parameters/WebhookNameParameter" }, { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", + "name": "webhookUpdateParameters", + "in": "body", + "description": "The parameters for updating a webhook.", "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "schema": { + "$ref": "#/definitions/WebhookUpdateParameters" + } } ], "responses": { "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Webhook" } }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", + "201": { + "description": "The request was successful; the operation will complete asynchronously.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/Webhook" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } } } }, "x-ms-examples": { - "WebhookDelete": { - "$ref": "./examples/WebhookDelete.json" + "WebhookUpdate": { + "$ref": "./examples/WebhookUpdate.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true + "final-state-via": "azure-async-operation" + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { "post": { - "operationId": "Webhooks_GetCallbackConfig", "tags": [ "Webhooks" ], - "description": "Gets the configuration of service URI and custom headers for the webhook.", + "description": "Triggers a ping event to be sent to the webhook.", + "operationId": "Webhooks_Ping", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -5402,54 +3982,34 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/WebhookNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CallbackConfig" - } - }, - "default": { - "description": "An unexpected error response.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/EventInfo" } } }, "x-ms-examples": { - "WebhookGetCallbackConfig": { - "$ref": "./examples/WebhookGetCallbackConfig.json" + "WebhookPing": { + "$ref": "./examples/WebhookPing.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { "post": { - "operationId": "Webhooks_ListEvents", "tags": [ "Webhooks" ], "description": "Lists recent events for the specified webhook.", + "operationId": "Webhooks_ListEvents", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -5461,38 +4021,18 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/WebhookNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/EventListResult" } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } } }, "x-ms-examples": { @@ -5505,13 +4045,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { "post": { - "operationId": "Webhooks_Ping", "tags": [ "Webhooks" ], - "description": "Triggers a ping event to be sent to the webhook.", + "description": "Gets the configuration of service URI and custom headers for the webhook.", + "operationId": "Webhooks_GetCallbackConfig", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -5523,172 +4063,111 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/RegistryNameParameter" }, { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" + "$ref": "#/parameters/WebhookNameParameter" } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/EventInfo" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/CallbackConfig" } } }, "x-ms-examples": { - "WebhookPing": { - "$ref": "./examples/WebhookPing.json" + "WebhookGetCallbackConfig": { + "$ref": "./examples/WebhookGetCallbackConfig.json" } } } } }, "definitions": { - "ActionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "enum": [ - "None", - "Recreate" - ], - "x-ms-enum": { - "name": "ActionsRequired", - "modelAsString": true, - "values": [ - { - "name": "None", - "value": "None" - }, - { - "name": "Recreate", - "value": "Recreate" - } - ] - } - }, "ActivationProperties": { - "type": "object", "description": "The activation properties of the connected registry.", + "type": "object", "properties": { "status": { - "$ref": "#/definitions/ActivationStatus", "description": "The activation status of the connected registry.", - "readOnly": true - } - } - }, - "ActivationStatus": { - "type": "string", - "description": "The activation status of the connected registry.", - "enum": [ - "Active", - "Inactive" - ], - "x-ms-enum": { - "name": "ActivationStatus", - "modelAsString": true, - "values": [ - { - "name": "Active", - "value": "Active" - }, - { - "name": "Inactive", - "value": "Inactive" + "enum": [ + "Active", + "Inactive" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ActivationStatus", + "modelAsString": true } - ] + } } }, - "Actor": { + "AzureADAuthenticationAsArmPolicy": { + "description": "The policy for using Azure Resource Manager audience token for a container registry.", "type": "object", - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", "properties": { - "name": { + "status": { + "description": "The value that indicates whether the policy is enabled or not.", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], "type": "string", - "description": "The subject or username associated with the request context that generated the event." + "x-ms-enum": { + "name": "AzureADAuthenticationAsArmPolicyStatus", + "modelAsString": true + } } } }, - "Archive": { - "type": "object", - "description": "An object that represents a archive for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveProperties", - "description": "The properties of the archive.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, "ArchiveListResult": { - "type": "object", "description": "The result of a request to list archives for a container registry.", + "type": "object", "properties": { "value": { + "description": "The list of archives. Since this list may be incomplete, the nextLink field should be used to request the next list of distributions.", "type": "array", - "description": "The list of archives. Since this list may be incomplete, the nextLink field should be used to request the next list of archives.", "items": { "$ref": "#/definitions/Archive" } }, "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of archives." + "description": "The URI that can be used to request the next list of archives.", + "type": "string" } } }, - "ArchivePackageSourceProperties": { + "Archive": { + "description": "An object that represents a archive for a container registry.", "type": "object", - "description": "The properties of the archive package source.", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], "properties": { - "type": { - "$ref": "#/definitions/PackageSourceType", - "description": "The type of package source for a archive." - }, - "url": { - "type": "string", - "description": "The external repository url." + "properties": { + "$ref": "#/definitions/ArchiveProperties", + "description": "The properties of the archive.", + "x-ms-client-flatten": true } } }, "ArchiveProperties": { - "type": "object", "description": "The properties of a archive.", + "type": "object", "properties": { "packageSource": { "$ref": "#/definitions/ArchivePackageSourceProperties", "description": "The package source of the archive." }, "publishedVersion": { - "type": "string", - "description": "The published version of the archive." + "description": "The published version of the archive.", + "type": "string" }, "repositoryEndpointPrefix": { "type": "string" @@ -5698,15 +4177,48 @@ "readOnly": true }, "provisioningState": { - "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the archive at the time the operation was called.", - "readOnly": true + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } } } }, - "ArchiveUpdateParameters": { + "ArchivePackageSourceProperties": { + "description": "The properties of the archive package source.", "type": "object", + "properties": { + "type": { + "description": "The type of package source for a archive.", + "enum": [ + "remote" + ], + "type": "string", + "x-ms-enum": { + "name": "PackageSourceType", + "modelAsString": true + } + }, + "url": { + "description": "The external repository url.", + "type": "string" + } + } + }, + "ArchiveUpdateParameters": { "description": "The parameters for updating a archive.", + "type": "object", "properties": { "properties": { "$ref": "#/definitions/ArchiveUpdateProperties", @@ -5716,163 +4228,152 @@ } }, "ArchiveUpdateProperties": { - "type": "object", "description": "The properties of a archive.", + "type": "object", "properties": { "publishedVersion": { - "type": "string", - "description": "The published version of the archive." + "description": "The published version of the archive.", + "type": "string" } } }, - "ArchiveVersion": { - "type": "object", - "description": "An object that represents an export pipeline for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ArchiveVersionProperties", - "description": "The properties of the archive.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, "ArchiveVersionListResult": { + "description": "The result of a request to list export pipelines for a container registry.", "type": "object", - "description": "The result of a request to list archive versions for a container registry.", "properties": { "value": { + "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", "type": "array", - "description": "The list of archive versions. Since this list may be incomplete, the nextLink field should be used to request the next list of archive versions.", "items": { "$ref": "#/definitions/ArchiveVersion" } }, "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of archive versions." + "description": "The URI that can be used to request the next list of pipeline runs.", + "type": "string" } } }, - "ArchiveVersionProperties": { + "ArchiveVersion": { + "description": "An object that represents an export pipeline for a container registry.", "type": "object", - "description": "The properties of an export pipeline.", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of the archive at the time the operation was called.", - "readOnly": true - }, - "archiveVersionErrorMessage": { - "type": "string", - "description": "The detailed error message for the archive version in the case of failure." + "properties": { + "$ref": "#/definitions/ArchiveVersionProperties", + "description": "The properties of the archive.", + "x-ms-client-flatten": true } } }, - "AuthCredential": { + "ArchiveVersionProperties": { + "description": "The properties of an export pipeline.", "type": "object", - "description": "Authentication credential stored for an upstream.", "properties": { - "name": { - "$ref": "#/definitions/CredentialName", - "description": "The name of the credential." - }, - "usernameSecretIdentifier": { - "type": "string", - "description": "KeyVault Secret URI for accessing the username." - }, - "passwordSecretIdentifier": { + "provisioningState": { + "description": "The provisioning state of the archive at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], "type": "string", - "description": "KeyVault Secret URI for accessing the password." + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } }, - "credentialHealth": { - "$ref": "#/definitions/CredentialHealth", - "description": "This provides data pertaining to the health of the auth credential.", - "readOnly": true + "archiveVersionErrorMessage": { + "description": "The detailed error message for the archive version in the case of failure.", + "type": "string" } } }, - "AzureADAuthenticationAsArmPolicy": { + "CacheRulesListResult": { + "description": "The result of a request to list cache rules for a container registry.", "type": "object", - "description": "The policy for using Azure Resource Manager audience token for a container registry.", "properties": { - "status": { - "type": "string", - "description": "The value that indicates whether the policy is enabled or not.", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "AzureADAuthenticationAsArmPolicyStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] + "value": { + "description": "The list of cache rules.", + "type": "array", + "items": { + "$ref": "#/definitions/CacheRule" } + }, + "nextLink": { + "description": "If provided, client must use NextLink URI to request next list of cache rules.", + "type": "string" } } }, "CacheRule": { - "type": "object", "description": "An object that represents a cache rule for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], "properties": { "properties": { "$ref": "#/definitions/CacheRuleProperties", "description": "The properties of the cache rule.", "x-ms-client-flatten": true } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] + } }, "CacheRuleProperties": { - "type": "object", "description": "The properties of a cache rule.", + "type": "object", "properties": { "credentialSetResourceId": { - "type": "string", - "description": "The ARM resource ID of the credential store which is associated with the cache rule." + "description": "The ARM resource ID of the credential store which is associated with the cache rule.", + "type": "string" }, "sourceRepository": { - "type": "string", - "description": "Source repository pulled from upstream." + "description": "Source repository pulled from upstream.", + "type": "string" }, "targetRepository": { - "type": "string", - "description": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}" + "description": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}", + "type": "string" }, "creationDate": { - "type": "string", "format": "date-time", "description": "The creation date of the cache rule.", + "type": "string", "readOnly": true }, "provisioningState": { - "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "readOnly": true + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } } } }, "CacheRuleUpdateParameters": { - "type": "object", "description": "The parameters for updating a cache rule.", + "type": "object", "properties": { "properties": { "$ref": "#/definitions/CacheRuleUpdateProperties", @@ -5882,161 +4383,111 @@ } }, "CacheRuleUpdateProperties": { - "type": "object", "description": "The parameters for updating cache rule properties.", + "type": "object", "properties": { "credentialSetResourceId": { - "type": "string", - "description": "The ARM resource ID of the credential store which is associated with the Cache rule." + "description": "The ARM resource ID of the credential store which is associated with the Cache rule.", + "type": "string" } } }, - "CacheRulesListResult": { + "ConnectedRegistry": { + "description": "An object that represents a connected registry for a container registry.", "type": "object", - "description": "The result of a request to list cache rules for a container registry.", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], "properties": { - "value": { - "type": "array", - "description": "The list of cache rules. Since this list may be incomplete, the nextLink field should be used to request the next list of cache rules.", - "items": { - "$ref": "#/definitions/CacheRule" - } - }, - "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of cache rules." + "properties": { + "$ref": "#/definitions/ConnectedRegistryProperties", + "description": "The properties of the connected registry.", + "x-ms-client-flatten": true } } }, - "CallbackConfig": { - "type": "object", - "description": "The configuration of service URI and custom headers for the webhook.", - "properties": { - "serviceUri": { - "type": "string", - "description": "The service URI for the webhook to post notifications." - }, - "customHeaders": { - "type": "object", - "description": "Custom headers that will be added to the webhook notifications.", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "serviceUri" - ] - }, - "CertificateType": { - "type": "string", - "description": "The type of certificate location.", - "enum": [ - "LocalDirectory" - ], - "x-ms-enum": { - "name": "CertificateType", - "modelAsString": true, - "values": [ - { - "name": "LocalDirectory", - "value": "LocalDirectory" - } - ] - } - }, - "ConnectedRegistry": { - "type": "object", - "description": "An object that represents a connected registry for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryProperties", - "description": "The properties of the connected registry.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, "ConnectedRegistryListResult": { - "type": "object", "description": "The result of a request to list connected registries for a container registry.", + "type": "object", "properties": { "value": { - "type": "array", "description": "The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries.", + "type": "array", "items": { "$ref": "#/definitions/ConnectedRegistry" } }, "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of connected registries." + "description": "The URI that can be used to request the next list of connected registries.", + "type": "string" } } }, - "ConnectedRegistryMode": { - "type": "string", - "description": "The mode of the connected registry resource that indicates the permissions of the registry.", - "enum": [ - "ReadWrite", - "ReadOnly", - "Registry", - "Mirror" - ], - "x-ms-enum": { - "name": "ConnectedRegistryMode", - "modelAsString": true, - "values": [ - { - "name": "ReadWrite", - "value": "ReadWrite" - }, - { - "name": "ReadOnly", - "value": "ReadOnly" - }, - { - "name": "Registry", - "value": "Registry" - }, - { - "name": "Mirror", - "value": "Mirror" - } - ] - } - }, "ConnectedRegistryProperties": { - "type": "object", "description": "The properties of a connected registry.", + "required": [ + "mode", + "parent" + ], + "type": "object", "properties": { "provisioningState": { - "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "readOnly": true + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } }, "mode": { - "$ref": "#/definitions/ConnectedRegistryMode", - "description": "The mode of the connected registry resource that indicates the permissions of the registry." + "description": "The mode of the connected registry resource that indicates the permissions of the registry.", + "enum": [ + "ReadWrite", + "ReadOnly", + "Registry", + "Mirror" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectedRegistryMode", + "modelAsString": true + } }, "version": { - "type": "string", "description": "The current version of ACR runtime on the connected registry.", + "type": "string", "readOnly": true }, "connectionState": { - "$ref": "#/definitions/ConnectionState", "description": "The current connection state of the connected registry.", - "readOnly": true + "enum": [ + "Online", + "Offline", + "Syncing", + "Unhealthy" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ConnectionState", + "modelAsString": true + } }, "lastActivityTime": { - "type": "string", "format": "date-time", "description": "The last activity time of the connected registry.", + "type": "string", "readOnly": true }, "activation": { @@ -6049,8 +4500,8 @@ "description": "The parent of the connected registry." }, "clientTokenIds": { - "type": "array", "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", + "type": "array", "items": { "type": "string" } @@ -6064,8 +4515,8 @@ "description": "The logging properties of the connected registry." }, "statusDetails": { - "type": "array", "description": "The list of current statuses of the connected registry.", + "type": "array", "items": { "$ref": "#/definitions/StatusDetailProperties" }, @@ -6075,25 +4526,20 @@ ] }, "notificationsList": { - "type": "array", "description": "The list of notifications subscription information for the connected registry.", + "type": "array", "items": { "type": "string" } }, "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties", - "description": "The garbage collection properties of the connected registry." + "$ref": "#/definitions/GarbageCollectionProperties" } - }, - "required": [ - "mode", - "parent" - ] + } }, "ConnectedRegistryUpdateParameters": { - "type": "object", "description": "The parameters for updating a connected registry.", + "type": "object", "properties": { "properties": { "$ref": "#/definitions/ConnectedRegistryUpdateProperties", @@ -6103,8 +4549,8 @@ } }, "ConnectedRegistryUpdateProperties": { - "type": "object", "description": "The parameters for updating token properties.", + "type": "object", "properties": { "syncProperties": { "$ref": "#/definitions/SyncUpdateProperties", @@ -6115,779 +4561,716 @@ "description": "The logging properties of the connected registry." }, "clientTokenIds": { - "type": "array", "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", + "type": "array", "items": { "type": "string" } }, "notificationsList": { - "type": "array", "description": "The list of notifications subscription information for the connected registry.", + "type": "array", "items": { "type": "string" } }, "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties", - "description": "The garbage collection properties of the connected registry." + "$ref": "#/definitions/GarbageCollectionProperties" } } }, - "ConnectionState": { - "type": "string", - "description": "The current connection state of the connected registry.", - "enum": [ - "Online", - "Offline", - "Syncing", - "Unhealthy" - ], - "x-ms-enum": { - "name": "ConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Online", - "value": "Online" - }, - { - "name": "Offline", - "value": "Offline" - }, - { - "name": "Syncing", - "value": "Syncing" - }, - { - "name": "Unhealthy", - "value": "Unhealthy" - } - ] - } - }, - "ConnectionStatus": { - "type": "string", - "description": "The private link service connection status.", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ], - "x-ms-enum": { - "name": "ConnectionStatus", - "modelAsString": true, - "values": [ - { - "name": "Approved", - "value": "Approved" - }, - { - "name": "Pending", - "value": "Pending" - }, - { - "name": "Rejected", - "value": "Rejected" - }, - { - "name": "Disconnected", - "value": "Disconnected" - } - ] - } - }, - "ContainerRegistryResourceType": { - "type": "string", - "description": "The resource type for Container Registry.", - "enum": [ - "Microsoft.ContainerRegistry/registries" - ], - "x-ms-enum": { - "name": "ContainerRegistryResourceType", - "modelAsString": false + "GarbageCollectionProperties": { + "description": "The garbage collection properties of the connected registry.", + "type": "object", + "properties": { + "enabled": { + "description": "Indicates whether garbage collection is enabled for the connected registry.", + "type": "boolean" + }, + "schedule": { + "description": "The cron expression indicating the schedule that the connected registry will run garbage collection.", + "type": "string" + } } }, - "CredentialHealth": { + "LoggingProperties": { + "description": "The logging properties of the connected registry.", "type": "object", - "description": "The health of the auth credential.", "properties": { - "status": { - "$ref": "#/definitions/CredentialHealthStatus", - "description": "The health status of credential." - }, - "errorCode": { + "logLevel": { + "description": "The verbosity of logs persisted on the connected registry.", + "default": "Information", + "enum": [ + "Debug", + "Information", + "Warning", + "Error", + "None" + ], "type": "string", - "description": "Error code representing the health check error." + "x-ms-enum": { + "name": "LogLevel", + "modelAsString": true + } }, - "errorMessage": { + "auditLogStatus": { + "description": "Indicates whether audit logs are enabled on the connected registry.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], "type": "string", - "description": "Descriptive message representing the health check error." + "x-ms-enum": { + "name": "AuditLogStatus", + "modelAsString": true + } } } }, - "CredentialHealthStatus": { - "type": "string", - "description": "The health status of credential.", - "enum": [ - "Healthy", - "Unhealthy" - ], - "x-ms-enum": { - "name": "CredentialHealthStatus", - "modelAsString": true, - "values": [ - { - "name": "Healthy", - "value": "Healthy" - }, - { - "name": "Unhealthy", - "value": "Unhealthy" - } - ] + "LoginServerProperties": { + "description": "The login server properties of the connected registry.", + "type": "object", + "properties": { + "host": { + "description": "The host of the connected registry. Can be FQDN or IP.", + "type": "string", + "readOnly": true + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "description": "The TLS properties of the connected registry login server.", + "readOnly": true + } } }, - "CredentialName": { - "type": "string", - "description": "The name of the credential.", - "enum": [ - "Credential1" + "ParentProperties": { + "description": "The properties of the connected registry parent.", + "required": [ + "syncProperties" ], - "x-ms-enum": { - "name": "CredentialName", - "modelAsString": true, - "values": [ - { - "name": "Credential1", - "value": "Credential1" - } - ] - } - }, - "CredentialSet": { "type": "object", - "description": "An object that represents a credential set resource for a container registry.", "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetProperties", - "description": "The properties of the credential set.", - "x-ms-client-flatten": true + "id": { + "description": "The resource ID of the parent to which the connected registry will be associated.", + "type": "string", + "format": "arm-id" }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + "syncProperties": { + "$ref": "#/definitions/SyncProperties", + "description": "The sync properties of the connected registry with its parent." } - ] + } }, "CredentialSetListResult": { - "type": "object", "description": "The result of a request to list credential sets for a container registry.", + "type": "object", "properties": { "value": { - "type": "array", "description": "The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets.", + "type": "array", "items": { "$ref": "#/definitions/CredentialSet" } }, "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of credential sets." + "description": "The URI that can be used to request the next list of credential sets.", + "type": "string" } } }, - "CredentialSetProperties": { + "CredentialSet": { + "description": "An object that represents a credential set resource for a container registry.", "type": "object", - "description": "The properties of a credential set resource.", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], "properties": { - "loginServer": { - "type": "string", - "description": "The credentials are stored for this upstream or login server." - }, - "authCredentials": { - "type": "array", - "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "The creation date of credential store resource.", - "readOnly": true - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true + "properties": { + "$ref": "#/definitions/CredentialSetProperties", + "description": "The properties of the credential set.", + "x-ms-client-flatten": true } } }, - "CredentialSetUpdateParameters": { + "IdentityProperties": { + "description": "Managed identity for the resource.", "type": "object", - "description": "The parameters for updating a credential set", "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetUpdateProperties", - "description": "The properties of the credential set update parameters", - "x-ms-client-flatten": true + "principalId": { + "description": "The principal ID of resource identity.", + "type": "string", + "readOnly": true }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." + "tenantId": { + "description": "The tenant ID of resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } } } }, - "CredentialSetUpdateProperties": { + "CredentialSetProperties": { + "description": "The properties of a credential set resource.", "type": "object", - "description": "The parameters for updating credential set properties.", "properties": { + "loginServer": { + "description": "The credentials are stored for this upstream or login server.", + "type": "string" + }, "authCredentials": { + "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", "type": "array", - "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", "items": { "$ref": "#/definitions/AuthCredential" }, "x-ms-identifiers": [ "name" ] - } - } - }, - "DebianArchivePackageSourceProperties": { - "type": "object", - "description": "The properties of the archive package source.", - "properties": { - "distributionName": { + }, + "creationDate": { + "format": "date-time", + "description": "The creation date of credential store resource.", "type": "string", - "description": "Upstream Debian distribution Name." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ArchivePackageSourceProperties" - } - ] - }, - "DebianArchiveProperties": { - "type": "object", - "description": "The properties of the Debian package Archive.", - "properties": { - "distributionName": { + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state of the resource.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], "type": "string", - "description": "Debian distribution Name." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ArchiveProperties" + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } } - ] + } }, - "EncryptionProperty": { + "UserIdentityProperties": { "type": "object", "properties": { - "status": { - "$ref": "#/definitions/EncryptionStatus", - "description": "Indicates whether or not the encryption is enabled for container registry." + "principalId": { + "description": "The principal id of user assigned identity.", + "type": "string", + "readOnly": true }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", - "description": "Key vault properties." + "clientId": { + "description": "The client id of user assigned identity.", + "type": "string", + "readOnly": true } } }, - "EncryptionStatus": { - "type": "string", - "description": "Indicates whether or not the encryption is enabled for container registry.", - "enum": [ - "enabled", - "disabled" + "Resource": { + "description": "An Azure resource.", + "required": [ + "location" ], - "x-ms-enum": { - "name": "EncryptionStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] - } - }, - "Event": { - "type": "object", - "description": "The event for a webhook.", - "properties": { - "eventRequestMessage": { - "$ref": "#/definitions/EventRequestMessage", - "description": "The event request message sent to the service URI." - }, - "eventResponseMessage": { - "$ref": "#/definitions/EventResponseMessage", - "description": "The event response message received from the service URI." - } - }, - "allOf": [ - { - "$ref": "#/definitions/EventInfo" - } - ] - }, - "EventContent": { - "type": "object", - "description": "The content of the event request message.", "properties": { "id": { + "description": "The resource ID.", "type": "string", - "description": "The event ID." + "readOnly": true }, - "timestamp": { + "name": { + "description": "The name of the resource.", "type": "string", - "format": "date-time", - "description": "The time at which the event occurred." + "readOnly": true }, - "action": { + "type": { + "description": "The type of the resource.", "type": "string", - "description": "The action that encompasses the provided event." - }, - "target": { - "$ref": "#/definitions/Target", - "description": "The target of the event." + "readOnly": true }, - "request": { - "$ref": "#/definitions/Request", - "description": "The request that generated the event." + "location": { + "description": "The location of the resource. This cannot be changed after the resource is created.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] }, - "actor": { - "$ref": "#/definitions/Actor", - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." + "tags": { + "description": "The tags of the resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "source": { - "$ref": "#/definitions/Source", - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." + "systemData": { + "$ref": "#/definitions/SystemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "type": "object", + "readOnly": true } - } + }, + "x-ms-azure-resource": true }, - "EventInfo": { + "AuthCredential": { + "description": "Authentication credential stored for an upstream.", "type": "object", - "description": "The basic information of an event.", "properties": { - "id": { + "name": { + "description": "The name of the credential.", + "enum": [ + "Credential1" + ], "type": "string", - "description": "The event ID." + "x-ms-enum": { + "name": "CredentialName", + "modelAsString": true + } + }, + "usernameSecretIdentifier": { + "description": "KeyVault Secret URI for accessing the username.", + "type": "string" + }, + "passwordSecretIdentifier": { + "description": "KeyVault Secret URI for accessing the password.", + "type": "string" + }, + "credentialHealth": { + "$ref": "#/definitions/CredentialHealth", + "description": "This provides data pertaining to the health of the auth credential.", + "readOnly": true } } }, - "EventListResult": { - "type": "object", - "description": "The result of a request to list events for a webhook.", + "ProxyResource": { + "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.", "properties": { - "value": { - "type": "array", - "description": "The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.", - "items": { - "$ref": "#/definitions/Event" - } + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true }, - "nextLink": { + "name": { + "description": "The name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", "type": "string", - "description": "The URI that can be used to request the next list of events." + "readOnly": true + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "type": "object", + "readOnly": true } - } + }, + "x-ms-azure-resource": true }, - "EventRequestMessage": { + "CredentialHealth": { + "description": "The health of the auth credential.", "type": "object", - "description": "The event request message sent to the service URI.", "properties": { - "content": { - "$ref": "#/definitions/EventContent", - "description": "The content of the event request message." - }, - "headers": { - "type": "object", - "description": "The headers of the event request message.", - "additionalProperties": { - "type": "string" - } - }, - "method": { + "status": { + "description": "The health status of credential.", + "enum": [ + "Healthy", + "Unhealthy" + ], "type": "string", - "description": "The HTTP method used to send the event request message." + "x-ms-enum": { + "name": "CredentialHealthStatus", + "modelAsString": true + } }, - "requestUri": { - "type": "string", - "description": "The URI used to send the event request message." + "errorCode": { + "description": "Error code representing the health check error.", + "type": "string" }, - "version": { - "type": "string", - "description": "The HTTP message version." + "errorMessage": { + "description": "Descriptive message representing the health check error.", + "type": "string" } } }, - "EventResponseMessage": { + "SystemData": { + "description": "Metadata pertaining to creation and last modification of the resource.", "type": "object", - "description": "The event response message received from the service URI.", "properties": { - "content": { + "createdBy": { + "description": "The identity that created the resource.", + "type": "string" + }, + "createdByType": { + "description": "The type of identity that created the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], "type": "string", - "description": "The content of the event response message." + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } }, - "headers": { - "type": "object", - "description": "The headers of the event response message.", - "additionalProperties": { - "type": "string" - } + "createdAt": { + "format": "date-time", + "description": "The timestamp of resource creation (UTC).", + "type": "string" }, - "reasonPhrase": { - "type": "string", - "description": "The reason phrase of the event response message." + "lastModifiedBy": { + "description": "The identity that last modified the resource.", + "type": "string" }, - "statusCode": { + "lastModifiedByType": { + "description": "The type of identity that last modified the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], "type": "string", - "description": "The status code of the event response message." + "x-ms-enum": { + "name": "lastModifiedByType", + "modelAsString": true + } }, - "version": { - "type": "string", - "description": "The HTTP message version." + "lastModifiedAt": { + "format": "date-time", + "description": "The timestamp of resource modification (UTC).", + "type": "string" + } + }, + "readOnly": true + }, + "DebianArchiveProperties": { + "description": "The properties of the Debian package Archive.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ArchiveProperties" + } + ], + "properties": { + "distributionName": { + "description": "Debian distribution Name.", + "type": "string" } } }, - "ExportPipeline": { + "DebianArchivePackageSourceProperties": { + "description": "The properties of the archive package source.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ArchivePackageSourceProperties" + } + ], + "properties": { + "distributionName": { + "description": "Upstream Debian distribution Name.", + "type": "string" + } + } + }, + "CredentialSetUpdateParameters": { + "description": "The parameters for updating a credential set", "type": "object", - "description": "An object that represents an export pipeline for a container registry.", "properties": { "properties": { - "$ref": "#/definitions/ExportPipelineProperties", - "description": "The properties of the export pipeline.", + "$ref": "#/definitions/CredentialSetUpdateProperties", + "description": "The properties of the credential set update parameters", "x-ms-client-flatten": true }, - "location": { - "type": "string", - "description": "The location of the export pipeline." - }, "identity": { "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the export pipeline." + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + }, + "CredentialSetUpdateProperties": { + "description": "The parameters for updating credential set properties.", + "type": "object", + "properties": { + "authCredentials": { + "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", + "type": "array", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" + ] } - ] + } }, "ExportPipelineListResult": { - "type": "object", "description": "The result of a request to list export pipelines for a container registry.", + "type": "object", "properties": { "value": { - "type": "array", "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", + "type": "array", "items": { "$ref": "#/definitions/ExportPipeline" } }, "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of export pipelines." + "description": "The URI that can be used to request the next list of pipeline runs.", + "type": "string" } } }, - "ExportPipelineProperties": { + "ExportPipeline": { + "description": "An object that represents an export pipeline for a container registry.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "location": { + "description": "The location of the export pipeline.", + "type": "string" + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the export pipeline." + }, + "properties": { + "$ref": "#/definitions/ExportPipelineProperties", + "description": "The properties of the export pipeline.", + "x-ms-client-flatten": true + } + } + }, + "ExportPipelineProperties": { "description": "The properties of an export pipeline.", + "required": [ + "target" + ], + "type": "object", "properties": { "target": { "$ref": "#/definitions/ExportPipelineTargetProperties", "description": "The target properties of the export pipeline." }, "options": { - "type": "array", "description": "The list of all options configured for the pipeline.", + "type": "array", "items": { - "$ref": "#/definitions/PipelineOptions" + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "type": "string", + "x-ms-enum": { + "name": "PipelineOptions", + "modelAsString": true + } } }, "provisioningState": { - "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the pipeline at the time the operation was called.", - "readOnly": true + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } } - }, - "required": [ - "target" - ] + } }, "ExportPipelineTargetProperties": { - "type": "object", "description": "The properties of the export pipeline target.", + "required": [ + "keyVaultUri" + ], + "type": "object", "properties": { "type": { - "type": "string", - "description": "The type of target for the export pipeline." + "description": "The type of target for the export pipeline.", + "type": "string" }, "uri": { - "type": "string", - "description": "The target uri of the export pipeline.\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" + "description": "The target uri of the export pipeline.\r\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"", + "type": "string" }, "keyVaultUri": { - "type": "string", - "description": "They key vault secret uri to obtain the target storage SAS token." + "description": "They key vault secret uri to obtain the target storage SAS token.", + "type": "string" } - }, - "required": [ - "keyVaultUri" - ] + } }, - "ExportPolicy": { + "ImportImageParameters": { + "required": [ + "source" + ], "type": "object", - "description": "The export policy for a container registry.", "properties": { - "status": { - "type": "string", - "description": "The value that indicates whether the policy is enabled or not.", - "default": "enabled", + "source": { + "$ref": "#/definitions/ImportSource", + "description": "The source of the image." + }, + "targetTags": { + "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", + "type": "array", + "items": { + "type": "string" + } + }, + "untaggedTargetRepositories": { + "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", + "type": "array", + "items": { + "type": "string" + } + }, + "mode": { + "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.", + "default": "NoForce", "enum": [ - "enabled", - "disabled" + "NoForce", + "Force" ], + "type": "string", "x-ms-enum": { - "name": "ExportPolicyStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] + "name": "ImportMode", + "modelAsString": true } } } }, - "GarbageCollectionProperties": { + "ImportSource": { + "required": [ + "sourceImage" + ], "type": "object", - "description": "The garbage collection properties of the connected registry.", "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether garbage collection is enabled for the connected registry." + "resourceId": { + "description": "The resource identifier of the source Azure Container Registry.", + "type": "string" }, - "schedule": { - "type": "string", - "description": "The cron expression indicating the schedule that the connected registry will run garbage collection." + "registryUri": { + "description": "The address of the source registry (e.g. 'mcr.microsoft.com').", + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/ImportSourceCredentials", + "description": "Credentials used when importing from a registry uri." + }, + "sourceImage": { + "description": "Repository name of the source image.\r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", + "type": "string" } } }, - "GenerateCredentialsParameters": { + "ImportSourceCredentials": { + "required": [ + "password" + ], "type": "object", - "description": "The parameters used to generate credentials for a specified token or user of a container registry.", "properties": { - "tokenId": { - "type": "string", - "description": "The resource ID of the token for which credentials have to be generated." - }, - "expiry": { - "type": "string", - "format": "date-time", - "description": "The expiry date of the generated credentials after which the credentials become invalid." + "username": { + "description": "The username to authenticate with the source registry.", + "type": "string" }, - "name": { - "$ref": "#/definitions/TokenPasswordName", - "description": "Specifies name of the password which should be regenerated if any -- password1 or password2." + "password": { + "description": "The password used to authenticate with the source registry.", + "type": "string" } } }, - "GenerateCredentialsResult": { + "ImportPipelineListResult": { + "description": "The result of a request to list import pipelines for a container registry.", "type": "object", - "description": "The response from the GenerateCredentials operation.", "properties": { - "username": { - "type": "string", - "description": "The username for a container registry." - }, - "passwords": { + "value": { + "description": "The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines.", "type": "array", - "description": "The list of passwords for a container registry.", "items": { - "$ref": "#/definitions/TokenPassword" - }, - "x-ms-identifiers": [] + "$ref": "#/definitions/ImportPipeline" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of pipeline runs.", + "type": "string" } } }, - "IPRule": { + "ImportPipeline": { + "description": "An object that represents an import pipeline for a container registry.", "type": "object", - "description": "IP rule with specific IP or IP range in CIDR format.", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], "properties": { - "action": { - "type": "string", - "description": "The action of IP ACL rule.", - "default": "Allow", - "enum": [ - "Allow" - ], - "x-ms-enum": { - "name": "Action", - "modelAsString": true, - "values": [ - { - "name": "Allow", - "value": "Allow" - } - ] - } - }, - "value": { - "type": "string", - "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", - "x-ms-client-name": "IPAddressOrRange" - } - }, - "required": [ - "value" - ] - }, - "IdentityProperties": { - "type": "object", - "description": "Managed identity for the resource.", - "properties": { - "principalId": { - "type": "string", - "description": "The principal ID of resource identity.", - "readOnly": true - }, - "tenantId": { - "type": "string", - "description": "The tenant ID of resource.", - "readOnly": true - }, - "type": { - "$ref": "#/definitions/ResourceIdentityType", - "description": "The identity type." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } - } - } - }, - "ImportImageParameters": { - "type": "object", - "properties": { - "source": { - "$ref": "#/definitions/ImportSource", - "description": "The source of the image." - }, - "targetTags": { - "type": "array", - "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", - "items": { - "type": "string" - } - }, - "untaggedTargetRepositories": { - "type": "array", - "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", - "items": { - "type": "string" - } - }, - "mode": { - "type": "string", - "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.", - "default": "NoForce", - "enum": [ - "NoForce", - "Force" - ], - "x-ms-enum": { - "name": "ImportMode", - "modelAsString": true, - "values": [ - { - "name": "NoForce", - "value": "NoForce" - }, - { - "name": "Force", - "value": "Force" - } - ] - } - } - }, - "required": [ - "source" - ] - }, - "ImportPipeline": { - "type": "object", - "description": "An object that represents an import pipeline for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/ImportPipelineProperties", - "description": "The properties of the import pipeline.", - "x-ms-client-flatten": true - }, "location": { - "type": "string", - "description": "The location of the import pipeline." + "description": "The location of the import pipeline.", + "type": "string" }, "identity": { "$ref": "#/definitions/IdentityProperties", "description": "The identity of the import pipeline." - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ImportPipelineListResult": { - "type": "object", - "description": "The result of a request to list import pipelines for a container registry.", - "properties": { - "value": { - "type": "array", - "description": "The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines.", - "items": { - "$ref": "#/definitions/ImportPipeline" - } }, - "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of import pipelines." + "properties": { + "$ref": "#/definitions/ImportPipelineProperties", + "description": "The properties of the import pipeline.", + "x-ms-client-flatten": true } } }, "ImportPipelineProperties": { - "type": "object", "description": "The properties of an import pipeline.", + "required": [ + "source" + ], + "type": "object", "properties": { "source": { "$ref": "#/definitions/ImportPipelineSourceProperties", @@ -6898,518 +5281,378 @@ "description": "The properties that describe the trigger of the import pipeline." }, "options": { - "type": "array", "description": "The list of all options configured for the pipeline.", + "type": "array", "items": { - "$ref": "#/definitions/PipelineOptions" + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "type": "string", + "x-ms-enum": { + "name": "PipelineOptions", + "modelAsString": true + } } }, "provisioningState": { - "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the pipeline at the time the operation was called.", - "readOnly": true + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } } - }, - "required": [ - "source" - ] + } }, "ImportPipelineSourceProperties": { - "type": "object", "description": "The properties of the import pipeline source.", + "required": [ + "keyVaultUri" + ], + "type": "object", "properties": { "type": { - "type": "string", "description": "The type of source for the import pipeline.", "default": "AzureStorageBlobContainer", "enum": [ "AzureStorageBlobContainer" ], + "type": "string", "x-ms-enum": { "name": "PipelineSourceType", - "modelAsString": true, - "values": [ - { - "name": "AzureStorageBlobContainer", - "value": "AzureStorageBlobContainer" - } - ] + "modelAsString": true } }, "uri": { - "type": "string", - "description": "The source uri of the import pipeline.\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" + "description": "The source uri of the import pipeline.\r\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"", + "type": "string" }, "keyVaultUri": { - "type": "string", - "description": "They key vault secret uri to obtain the source storage SAS token." + "description": "They key vault secret uri to obtain the source storage SAS token.", + "type": "string" } - }, - "required": [ - "keyVaultUri" - ] + } }, - "ImportSource": { + "PipelineTriggerProperties": { "type": "object", "properties": { - "resourceId": { - "type": "string", - "description": "The resource identifier of the source Azure Container Registry." - }, - "registryUri": { - "type": "string", - "description": "The address of the source registry (e.g. 'mcr.microsoft.com')." - }, - "credentials": { - "$ref": "#/definitions/ImportSourceCredentials", - "description": "Credentials used when importing from a registry uri." - }, - "sourceImage": { - "type": "string", - "description": "Repository name of the source image.\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123')." + "sourceTrigger": { + "$ref": "#/definitions/PipelineSourceTriggerProperties", + "description": "The source trigger properties of the pipeline." } - }, - "required": [ - "sourceImage" - ] + } }, - "ImportSourceCredentials": { + "PipelineSourceTriggerProperties": { + "required": [ + "status" + ], "type": "object", "properties": { - "username": { + "status": { + "description": "The current status of the source trigger.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], "type": "string", - "description": "The username to authenticate with the source registry." + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true + } + } + } + }, + "OperationListResult": { + "description": "The result of a request to list container registry operations.", + "type": "object", + "properties": { + "value": { + "description": "The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] }, - "password": { - "type": "string", - "description": "The password used to authenticate with the source registry." + "nextLink": { + "description": "The URI that can be used to request the next list of container registry operations.", + "type": "string" } - }, - "required": [ - "password" - ] + } }, - "KeyVaultProperties": { + "OperationDefinition": { + "description": "The definition of a container registry operation.", "type": "object", "properties": { - "keyIdentifier": { - "type": "string", - "description": "Key vault uri to access the encryption key." + "origin": { + "description": "The origin information of the container registry operation.", + "type": "string" }, - "versionedKeyIdentifier": { - "type": "string", - "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", - "readOnly": true + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" }, - "identity": { - "type": "string", - "description": "The client id of the identity which will be used to access key vault." + "display": { + "$ref": "#/definitions/OperationDisplayDefinition", + "description": "The display information for the container registry operation." }, - "keyRotationEnabled": { - "type": "boolean", - "description": "Auto key rotation status for a CMK enabled registry.", - "readOnly": true + "properties": { + "$ref": "#/definitions/OperationPropertiesDefinition", + "description": "The properties information for the container registry operation.", + "x-ms-client-flatten": true }, - "lastKeyRotationTimestamp": { - "type": "string", - "format": "date-time", - "description": "Timestamp of the last successful key rotation.", - "readOnly": true + "isDataAction": { + "description": "This property indicates if the operation is an action or a data action\r\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations", + "type": "boolean" } } }, - "LoggingProperties": { + "OperationDisplayDefinition": { + "description": "The display information for a container registry operation.", "type": "object", - "description": "The logging properties of the connected registry.", "properties": { - "logLevel": { - "type": "string", - "description": "The verbosity of logs persisted on the connected registry.", - "default": "Information", - "enum": [ - "Debug", - "Information", - "Warning", - "Error", - "None" - ], - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": true, - "values": [ - { - "name": "Debug", - "value": "Debug" - }, - { - "name": "Information", - "value": "Information" - }, - { - "name": "Warning", - "value": "Warning" - }, - { - "name": "Error", - "value": "Error" - }, - { - "name": "None", - "value": "None" - } - ] - } + "provider": { + "description": "The resource provider name: Microsoft.ContainerRegistry.", + "type": "string" }, - "auditLogStatus": { - "type": "string", - "description": "Indicates whether audit logs are enabled on the connected registry.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "AuditLogStatus", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } + "resource": { + "description": "The resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "The operation that users can perform.", + "type": "string" + }, + "description": { + "description": "The description for the operation.", + "type": "string" } } }, - "LoginServerProperties": { + "OperationPropertiesDefinition": { + "description": "The definition of Azure Monitoring properties.", "type": "object", - "description": "The login server properties of the connected registry.", "properties": { - "host": { - "type": "string", - "description": "The host of the connected registry. Can be FQDN or IP.", - "readOnly": true - }, - "tls": { - "$ref": "#/definitions/TlsProperties", - "description": "The TLS properties of the connected registry login server.", - "readOnly": true + "serviceSpecification": { + "$ref": "#/definitions/OperationServiceSpecificationDefinition", + "description": "The definition of Azure Monitoring service." } } }, - "NetworkRuleSet": { + "OperationServiceSpecificationDefinition": { + "description": "The definition of Azure Monitoring list.", "type": "object", - "description": "The network rule set for a container registry.", "properties": { - "defaultAction": { - "type": "string", - "description": "The default action of allow or deny when no other rules match.", - "default": "Allow", - "enum": [ - "Allow", - "Deny" - ], - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": true, - "values": [ - { - "name": "Allow", - "value": "Allow" - }, - { - "name": "Deny", - "value": "Deny" - } - ] - } + "metricSpecifications": { + "description": "A list of Azure Monitoring metrics definition.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationMetricSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] }, - "ipRules": { + "logSpecifications": { + "description": "A list of Azure Monitoring log definitions.", "type": "array", - "description": "The IP ACL rules.", "items": { - "$ref": "#/definitions/IPRule" + "$ref": "#/definitions/OperationLogSpecificationDefinition" }, - "x-ms-identifiers": [] + "x-ms-identifiers": [ + "name" + ] } - }, - "required": [ - "defaultAction" - ] + } }, - "OperationDefinition": { + "OperationMetricSpecificationDefinition": { + "description": "The definition of Azure Monitoring metric.", "type": "object", - "description": "The definition of a container registry operation.", "properties": { - "origin": { - "type": "string", - "description": "The origin information of the container registry operation." - }, "name": { - "type": "string", - "description": "Operation name: {provider}/{resource}/{operation}." - }, - "display": { - "$ref": "#/definitions/OperationDisplayDefinition", - "description": "The display information for the container registry operation." - }, - "properties": { - "$ref": "#/definitions/OperationPropertiesDefinition", - "description": "The properties information for the container registry operation.", - "x-ms-client-flatten": true + "description": "Metric name.", + "type": "string" }, - "isDataAction": { - "type": "boolean", - "description": "This property indicates if the operation is an action or a data action\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations" - } - } - }, - "OperationDisplayDefinition": { - "type": "object", - "description": "The display information for a container registry operation.", - "properties": { - "provider": { - "type": "string", - "description": "The resource provider name: Microsoft.ContainerRegistry." + "displayName": { + "description": "Metric display name.", + "type": "string" }, - "resource": { - "type": "string", - "description": "The resource on which the operation is performed." + "displayDescription": { + "description": "Metric description.", + "type": "string" }, - "operation": { - "type": "string", - "description": "The operation that users can perform." + "unit": { + "description": "Metric unit.", + "type": "string" }, - "description": { - "type": "string", - "description": "The description for the operation." - } - } - }, - "OperationListResult": { - "type": "object", - "description": "The result of a request to list container registry operations.", - "properties": { - "value": { - "type": "array", - "description": "The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.", - "items": { - "$ref": "#/definitions/OperationDefinition" - } + "aggregationType": { + "description": "Metric aggregation type.", + "type": "string" }, - "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of container registry operations." + "internalMetricName": { + "description": "Internal metric name.", + "type": "string" } } }, "OperationLogSpecificationDefinition": { - "type": "object", "description": "The definition of Azure Monitoring log.", + "type": "object", "properties": { "name": { - "type": "string", - "description": "Log name." + "description": "Log name.", + "type": "string" }, "displayName": { - "type": "string", - "description": "Log display name." + "description": "Log display name.", + "type": "string" }, "blobDuration": { - "type": "string", - "description": "Log blob duration." + "description": "Log blob duration.", + "type": "string" } } }, - "OperationMetricSpecificationDefinition": { + "RegistryNameCheckRequest": { + "description": "A request to check whether a container registry name is available.", + "required": [ + "name", + "type" + ], "type": "object", - "description": "The definition of Azure Monitoring metric.", "properties": { "name": { - "type": "string", - "description": "Metric name." - }, - "displayName": { - "type": "string", - "description": "Metric display name." - }, - "displayDescription": { - "type": "string", - "description": "Metric description." + "description": "The name of the container registry.", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "type": "string" }, - "unit": { + "type": { + "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.", + "enum": [ + "Microsoft.ContainerRegistry/registries" + ], "type": "string", - "description": "Metric unit." + "x-ms-enum": { + "name": "ContainerRegistryResourceType", + "modelAsString": false + } }, - "aggregationType": { - "type": "string", - "description": "Metric aggregation type." + "resourceGroupName": { + "description": "The resource group name of the container registry.", + "maxLength": 90, + "minLength": 1, + "type": "string" }, - "internalMetricName": { + "autoGeneratedDomainNameLabelScope": { + "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", + "default": "Unsecure", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], "type": "string", - "description": "Internal metric name." + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true + } } } }, - "OperationPropertiesDefinition": { + "RegistryNameStatus": { + "description": "The result of a request to check the availability of a container registry name.", "type": "object", - "description": "The definition of Azure Monitoring properties.", "properties": { - "serviceSpecification": { - "$ref": "#/definitions/OperationServiceSpecificationDefinition", - "description": "The definition of Azure Monitoring service." + "availableLoginServerName": { + "description": "The complete login server name with domain name label (DNL) hash, if available", + "type": "string" + }, + "nameAvailable": { + "description": "The value that indicates whether the name is available.", + "type": "boolean" + }, + "reason": { + "description": "If any, the reason that the name is not available.", + "type": "string" + }, + "message": { + "description": "If any, the error message that provides more detail for the reason that the name is not available.", + "type": "string" } } }, - "OperationServiceSpecificationDefinition": { + "PipelineRunListResult": { + "description": "The result of a request to list pipeline runs for a container registry.", "type": "object", - "description": "The definition of Azure Monitoring list.", "properties": { - "metricSpecifications": { + "value": { + "description": "The list of pipeline runs. Since this list may be incomplete, the nextLink field should be used to request the next list of pipeline runs.", "type": "array", - "description": "A list of Azure Monitoring metrics definition.", "items": { - "$ref": "#/definitions/OperationMetricSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] + "$ref": "#/definitions/PipelineRun" + } }, - "logSpecifications": { - "type": "array", - "description": "A list of Azure Monitoring log definitions.", - "items": { - "$ref": "#/definitions/OperationLogSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] + "nextLink": { + "description": "The URI that can be used to request the next list of pipeline runs.", + "type": "string" } } }, - "PackageSourceType": { - "type": "string", - "description": "The type of package source for a archive.", - "enum": [ - "remote" - ], - "x-ms-enum": { - "name": "PackageSourceType", - "modelAsString": true, - "values": [ - { - "name": "remote", - "value": "remote" - } - ] - } - }, - "ParentProperties": { + "PipelineRun": { + "description": "An object that represents a pipeline run for a container registry.", "type": "object", - "description": "The properties of the connected registry parent.", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "The resource ID of the parent to which the connected registry will be associated." - }, - "syncProperties": { - "$ref": "#/definitions/SyncProperties", - "description": "The sync properties of the connected registry with its parent." - } - }, - "required": [ - "syncProperties" - ] - }, - "PasswordName": { - "type": "string", - "description": "The password name.", - "enum": [ - "password", - "password2" - ], - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } - }, - "PipelineOptions": { - "type": "string", - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true, - "values": [ - { - "name": "OverwriteTags", - "value": "OverwriteTags" - }, - { - "name": "OverwriteBlobs", - "value": "OverwriteBlobs" - }, - { - "name": "DeleteSourceBlobOnSuccess", - "value": "DeleteSourceBlobOnSuccess" - }, - { - "name": "ContinueOnErrors", - "value": "ContinueOnErrors" - } - ] - } - }, - "PipelineRun": { - "type": "object", - "description": "An object that represents a pipeline run for a container registry.", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], "properties": { "properties": { "$ref": "#/definitions/PipelineRunProperties", "description": "The properties of a pipeline run.", "x-ms-client-flatten": true } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "PipelineRunListResult": { - "type": "object", - "description": "The result of a request to list pipeline runs for a container registry.", - "properties": { - "value": { - "type": "array", - "description": "The list of pipeline runs. Since this list may be incomplete, the nextLink field should be used to request the next list of pipeline runs.", - "items": { - "$ref": "#/definitions/PipelineRun" - } - }, - "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of pipeline runs." - } } }, "PipelineRunProperties": { - "type": "object", "description": "The properties of a pipeline run.", + "type": "object", "properties": { "provisioningState": { - "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of a pipeline run.", - "readOnly": true + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } }, "request": { "$ref": "#/definitions/PipelineRunRequest", @@ -7421,22 +5664,22 @@ "readOnly": true }, "forceUpdateTag": { - "type": "string", - "description": "How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed." + "description": "How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed.", + "type": "string" } } }, "PipelineRunRequest": { - "type": "object", "description": "The request properties provided for a pipeline run.", + "type": "object", "properties": { "pipelineResourceId": { - "type": "string", - "description": "The resource ID of the pipeline to run." + "description": "The resource ID of the pipeline to run.", + "type": "string" }, "artifacts": { + "description": "List of source artifacts to be transferred by the pipeline. \r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", "type": "array", - "description": "List of source artifacts to be transferred by the pipeline. \nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", "items": { "type": "string" } @@ -7450,22 +5693,22 @@ "description": "The target properties of the pipeline run." }, "catalogDigest": { - "type": "string", - "description": "The digest of the tar used to transfer the artifacts." + "description": "The digest of the tar used to transfer the artifacts.", + "type": "string" } } }, "PipelineRunResponse": { - "type": "object", "description": "The response properties returned for a pipeline run.", + "type": "object", "properties": { "status": { - "type": "string", - "description": "The current status of the pipeline run." + "description": "The current status of the pipeline run.", + "type": "string" }, "importedArtifacts": { - "type": "array", "description": "The artifacts imported in the pipeline run.", + "type": "array", "items": { "type": "string" } @@ -7475,14 +5718,14 @@ "description": "The current progress of the copy operation." }, "startTime": { - "type": "string", "format": "date-time", - "description": "The time the pipeline run started." + "description": "The time the pipeline run started.", + "type": "string" }, "finishTime": { - "type": "string", "format": "date-time", - "description": "The time the pipeline run finished." + "description": "The time the pipeline run finished.", + "type": "string" }, "source": { "$ref": "#/definitions/ImportPipelineSourceProperties", @@ -7493,16 +5736,16 @@ "description": "The target of the pipeline run." }, "catalogDigest": { - "type": "string", - "description": "The digest of the tar used to transfer the artifacts." + "description": "The digest of the tar used to transfer the artifacts.", + "type": "string" }, "trigger": { "$ref": "#/definitions/PipelineTriggerDescriptor", "description": "The trigger that caused the pipeline run." }, "pipelineRunErrorMessage": { - "type": "string", - "description": "The detailed error message for the pipeline run in the case of failure." + "description": "The detailed error message for the pipeline run in the case of failure.", + "type": "string" } } }, @@ -7510,26 +5753,20 @@ "type": "object", "properties": { "type": { - "type": "string", "description": "The type of the source.", "default": "AzureStorageBlob", "enum": [ "AzureStorageBlob" ], + "type": "string", "x-ms-enum": { "name": "PipelineRunSourceType", - "modelAsString": true, - "values": [ - { - "name": "AzureStorageBlob", - "value": "AzureStorageBlob" - } - ] + "modelAsString": true } }, "name": { - "type": "string", - "description": "The name of the source." + "description": "The name of the source.", + "type": "string" } } }, @@ -7537,70 +5774,32 @@ "type": "object", "properties": { "type": { - "type": "string", "description": "The type of the target.", "default": "AzureStorageBlob", "enum": [ "AzureStorageBlob" ], + "type": "string", "x-ms-enum": { "name": "PipelineRunTargetType", - "modelAsString": true, - "values": [ - { - "name": "AzureStorageBlob", - "value": "AzureStorageBlob" - } - ] + "modelAsString": true } }, "name": { - "type": "string", - "description": "The name of the target." + "description": "The name of the target.", + "type": "string" } } }, - "PipelineSourceTriggerDescriptor": { + "ProgressProperties": { "type": "object", "properties": { - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The timestamp when the source update happened." + "percentage": { + "description": "The percentage complete of the copy operation.", + "type": "string" } } }, - "PipelineSourceTriggerProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "description": "The current status of the source trigger.", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } - } - }, - "required": [ - "status" - ] - }, "PipelineTriggerDescriptor": { "type": "object", "properties": { @@ -7610,91 +5809,52 @@ } } }, - "PipelineTriggerProperties": { + "PipelineSourceTriggerDescriptor": { "type": "object", "properties": { - "sourceTrigger": { - "$ref": "#/definitions/PipelineSourceTriggerProperties", - "description": "The source trigger properties of the pipeline." + "timestamp": { + "format": "date-time", + "description": "The timestamp when the source update happened.", + "type": "string" } } }, - "Policies": { + "PrivateEndpointConnectionListResult": { + "description": "The result of a request to list private endpoint connections for a container registry.", "type": "object", - "description": "The policies for a container registry.", "properties": { - "quarantinePolicy": { - "$ref": "#/definitions/QuarantinePolicy", - "description": "The quarantine policy for a container registry." - }, - "trustPolicy": { - "$ref": "#/definitions/TrustPolicy", - "description": "The content trust policy for a container registry." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "The retention policy for a container registry." - }, - "exportPolicy": { - "$ref": "#/definitions/ExportPolicy", - "description": "The export policy for a container registry." - }, - "azureADAuthenticationAsArmPolicy": { - "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", - "description": "The policy for using Azure Resource Manager audience token for a container registry." + "value": { + "description": "The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } }, - "softDeletePolicy": { - "$ref": "#/definitions/SoftDeletePolicy", - "description": "The soft delete policy for a container registry." - } - } - }, - "PrivateEndpoint": { - "type": "object", - "description": "The Private Endpoint resource.", - "properties": { - "id": { - "type": "string", - "description": "This is private endpoint resource created with Microsoft.Network resource provider." + "nextLink": { + "description": "The URI that can be used to request the next list of private endpoint connections.", + "type": "string" } } }, "PrivateEndpointConnection": { - "type": "object", "description": "An object that represents a private endpoint connection for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], "properties": { "properties": { "$ref": "#/definitions/PrivateEndpointConnectionProperties", "description": "The properties of a private endpoint connection.", "x-ms-client-flatten": true } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "PrivateEndpointConnectionListResult": { - "type": "object", - "description": "The result of a request to list private endpoint connections for a container registry.", - "properties": { - "value": { - "type": "array", - "description": "The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections.", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of private endpoint connections." - } } }, "PrivateEndpointConnectionProperties": { - "type": "object", "description": "The properties of a private endpoint connection.", + "type": "object", "properties": { "privateEndpoint": { "$ref": "#/definitions/PrivateEndpoint", @@ -7705,211 +5865,99 @@ "description": "A collection of information about the state of the connection between service consumer and provider." }, "provisioningState": { - "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of private endpoint connection resource.", - "readOnly": true + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } } } }, - "PrivateLinkResource": { + "PrivateEndpoint": { + "description": "The Private Endpoint resource.", "type": "object", - "description": "A resource that supports private link capabilities.", "properties": { - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "A resource that supports private link capabilities.", - "x-ms-client-flatten": true + "id": { + "description": "This is private endpoint resource created with Microsoft.Network resource provider.", + "type": "string" } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + }, + "PrivateLinkServiceConnectionState": { + "description": "The state of a private link service connection.", + "type": "object", + "properties": { + "status": { + "description": "The private link service connection status.", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "type": "string", + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true + } + }, + "description": { + "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection.", + "type": "string" + }, + "actionsRequired": { + "description": "A message indicating if changes on the service provider require any updates on the consumer.", + "enum": [ + "None", + "Recreate" + ], + "type": "string", + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true + } } - ] + } }, - "PrivateLinkResourceListResult": { + "RegistryListResult": { + "description": "The result of a request to list container registries.", "type": "object", - "description": "The result of a request to list private link resources for a container registry.", "properties": { "value": { + "description": "The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.", "type": "array", - "description": "The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources.", "items": { - "$ref": "#/definitions/PrivateLinkResource" + "$ref": "#/definitions/Registry" } }, "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of private link resources." + "description": "The URI that can be used to request the next list of container registries.", + "type": "string" } } }, - "PrivateLinkResourceProperties": { - "type": "object", - "description": "The properties of a private link resource.", - "properties": { - "groupId": { - "type": "string", - "description": "The private link resource group id." - }, - "requiredMembers": { - "type": "array", - "description": "The private link resource required member names.", - "items": { - "type": "string" - } - }, - "requiredZoneNames": { - "type": "array", - "description": "The private link resource Private link DNS zone name.", - "items": { - "type": "string" - } - } - } - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "description": "The state of a private link service connection.", - "properties": { - "status": { - "$ref": "#/definitions/ConnectionStatus", - "description": "The private link service connection status." - }, - "description": { - "type": "string", - "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection." - }, - "actionsRequired": { - "$ref": "#/definitions/ActionsRequired", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - } - } - }, - "ProgressProperties": { - "type": "object", - "properties": { - "percentage": { - "type": "string", - "description": "The percentage complete of the copy operation." - } - } - }, - "ProvisioningState": { - "type": "string", - "description": "The provisioning state of the archive at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Creating", - "value": "Creating" - }, - { - "name": "Updating", - "value": "Updating" - }, - { - "name": "Deleting", - "value": "Deleting" - }, - { - "name": "Succeeded", - "value": "Succeeded" - }, - { - "name": "Failed", - "value": "Failed" - }, - { - "name": "Canceled", - "value": "Canceled" - } - ] - } - }, - "PublicNetworkAccess": { - "type": "string", - "description": "Whether or not public network access is allowed for the container registry.", - "enum": [ - "Enabled", - "Disabled" + "Registry": { + "description": "An object that represents a container registry.", + "required": [ + "sku" ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } - }, - "QuarantinePolicy": { - "type": "object", - "description": "The quarantine policy for a container registry.", - "properties": { - "status": { - "type": "string", - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] - } - } - } - }, - "RegenerateCredentialParameters": { "type": "object", - "description": "The parameters used to regenerate the login credential.", - "properties": { - "name": { - "$ref": "#/definitions/PasswordName", - "description": "Specifies name of the password which should be regenerated -- password or password2." + "allOf": [ + { + "$ref": "#/definitions/Resource" } - }, - "required": [ - "name" - ] - }, - "Registry": { - "type": "object", - "description": "An object that represents a container registry.", + ], "properties": { - "properties": { - "$ref": "#/definitions/RegistryProperties", - "description": "The properties of the container registry.", - "x-ms-client-flatten": true - }, "sku": { "$ref": "#/definitions/Sku", "description": "The SKU of the container registry." @@ -7917,172 +5965,83 @@ "identity": { "$ref": "#/definitions/IdentityProperties", "description": "The identity of the container registry." - } - }, - "required": [ - "sku" - ], - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "RegistryListCredentialsResult": { - "type": "object", - "description": "The response from the ListCredentials operation.", - "properties": { - "username": { - "type": "string", - "description": "The username for a container registry." - }, - "passwords": { - "type": "array", - "description": "The list of passwords for a container registry.", - "items": { - "$ref": "#/definitions/RegistryPassword" - }, - "x-ms-identifiers": [] - } - } - }, - "RegistryListResult": { - "type": "object", - "description": "The result of a request to list container registries.", - "properties": { - "value": { - "type": "array", - "description": "The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.", - "items": { - "$ref": "#/definitions/Registry" - } }, - "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of container registries." + "properties": { + "$ref": "#/definitions/RegistryProperties", + "description": "The properties of the container registry.", + "x-ms-client-flatten": true } } }, - "RegistryNameCheckRequest": { + "Sku": { + "description": "The SKU of a container registry.", + "required": [ + "name" + ], "type": "object", - "description": "A request to check whether a container registry name is available.", "properties": { "name": { - "type": "string", - "description": "The name of the container registry.", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - "type": { - "$ref": "#/definitions/ContainerRegistryResourceType", - "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'." - }, - "resourceGroupName": { - "type": "string", - "description": "The resource group name of the container registry.", - "minLength": 1, - "maxLength": 90 - }, - "autoGeneratedDomainNameLabelScope": { - "type": "string", - "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", - "default": "Unsecure", + "description": "The SKU name of the container registry. Required for registry creation.", "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" + "Classic", + "Basic", + "Standard", + "Premium" ], + "type": "string", "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true, - "values": [ - { - "name": "Unsecure", - "value": "Unsecure" - }, - { - "name": "TenantReuse", - "value": "TenantReuse" - }, - { - "name": "SubscriptionReuse", - "value": "SubscriptionReuse" - }, - { - "name": "ResourceGroupReuse", - "value": "ResourceGroupReuse" - }, - { - "name": "NoReuse", - "value": "NoReuse" - } - ] + "name": "SkuName", + "modelAsString": true } - } - }, - "required": [ - "name", - "type" - ] - }, - "RegistryNameStatus": { - "type": "object", - "description": "The result of a request to check the availability of a container registry name.", - "properties": { - "availableLoginServerName": { - "type": "string", - "description": "The complete login server name with domain name label (DNL) hash, if available" - }, - "nameAvailable": { - "type": "boolean", - "description": "The value that indicates whether the name is available." - }, - "reason": { - "type": "string", - "description": "If any, the reason that the name is not available." - }, - "message": { - "type": "string", - "description": "If any, the error message that provides more detail for the reason that the name is not available." - } - } - }, - "RegistryPassword": { - "type": "object", - "description": "The login password for the container registry.", - "properties": { - "name": { - "$ref": "#/definitions/PasswordName", - "description": "The password name." }, - "value": { + "tier": { + "description": "The SKU tier based on the SKU name.", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], "type": "string", - "description": "The password value." + "readOnly": true, + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + } } } }, "RegistryProperties": { - "type": "object", "description": "The properties of a container registry.", + "type": "object", "properties": { "loginServer": { - "type": "string", "description": "The URL that can be used to log into the container registry.", + "type": "string", "readOnly": true }, "creationDate": { - "type": "string", "format": "date-time", "description": "The creation date of the container registry in ISO8601 format.", + "type": "string", "readOnly": true }, "provisioningState": { - "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the container registry at the time the operation was called.", - "readOnly": true + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } }, "status": { "$ref": "#/definitions/Status", @@ -8090,9 +6049,9 @@ "readOnly": true }, "adminUserEnabled": { - "type": "boolean", "description": "The value that indicates whether the admin user is enabled.", - "default": false + "default": false, + "type": "boolean" }, "networkRuleSet": { "$ref": "#/definitions/NetworkRuleSet", @@ -8107,129 +6066,88 @@ "description": "The encryption settings of container registry." }, "dataEndpointEnabled": { - "type": "boolean", - "description": "Enable a single data endpoint per region for serving data." + "description": "Enable a single data endpoint per region for serving data.", + "type": "boolean" }, "dataEndpointHostNames": { - "type": "array", "description": "List of host names that will serve data when dataEndpointEnabled is true.", + "type": "array", "items": { "type": "string" }, "readOnly": true }, "privateEndpointConnections": { - "type": "array", "description": "List of private endpoint connections for a container registry.", + "type": "array", "items": { "$ref": "#/definitions/PrivateEndpointConnection" }, "readOnly": true }, "publicNetworkAccess": { - "type": "string", "description": "Whether or not public network access is allowed for the container registry.", "default": "Enabled", "enum": [ "Enabled", "Disabled" ], + "type": "string", "x-ms-enum": { "name": "PublicNetworkAccess", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] + "modelAsString": true } }, "networkRuleBypassOptions": { - "type": "string", "description": "Whether to allow trusted Azure services to access a network restricted registry.", "default": "AzureServices", "enum": [ "AzureServices", "None" ], + "type": "string", "x-ms-enum": { "name": "NetworkRuleBypassOptions", - "modelAsString": true, - "values": [ - { - "name": "AzureServices", - "value": "AzureServices" - }, - { - "name": "None", - "value": "None" - } - ] + "modelAsString": true } }, "networkRuleBypassAllowedForTasks": { - "type": "boolean", "description": "Whether or not Tasks allowed to bypass the network rules for this container registry.", - "default": false + "default": false, + "type": "boolean" }, "zoneRedundancy": { - "type": "string", "description": "Whether or not zone redundancy is enabled for this container registry", "default": "Disabled", "enum": [ "Enabled", "Disabled" ], + "type": "string", "x-ms-enum": { "name": "ZoneRedundancy", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] + "modelAsString": true } }, "anonymousPullEnabled": { - "type": "boolean", "description": "Enables registry-wide pull from unauthenticated clients.", - "default": false + "default": false, + "type": "boolean" }, "metadataSearch": { - "type": "string", "description": "Determines whether registry artifacts are indexed for metadata search.", "default": "Disabled", "enum": [ "Enabled", "Disabled" ], + "type": "string", "x-ms-enum": { "name": "MetadataSearch", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] + "modelAsString": true } }, "autoGeneratedDomainNameLabelScope": { - "type": "string", "description": "Determines the domain name label reuse scope.", "default": "Unsecure", "enum": [ @@ -8239,959 +6157,1236 @@ "ResourceGroupReuse", "NoReuse" ], + "type": "string", "x-ms-enum": { "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true, - "values": [ - { - "name": "Unsecure", - "value": "Unsecure" - }, - { - "name": "TenantReuse", - "value": "TenantReuse" - }, - { - "name": "SubscriptionReuse", - "value": "SubscriptionReuse" - }, - { - "name": "ResourceGroupReuse", - "value": "ResourceGroupReuse" - }, - { - "name": "NoReuse", - "value": "NoReuse" - } - ] + "modelAsString": true } }, "roleAssignmentMode": { - "type": "string", "description": "Determines registry role assignment mode.", "default": "LegacyRegistryPermissions", "enum": [ "AbacRepositoryPermissions", "LegacyRegistryPermissions" ], + "type": "string", "x-ms-enum": { "name": "RoleAssignmentMode", - "modelAsString": true, - "values": [ - { - "name": "AbacRepositoryPermissions", - "value": "AbacRepositoryPermissions" - }, - { - "name": "LegacyRegistryPermissions", - "value": "LegacyRegistryPermissions" - } - ] + "modelAsString": true } } } }, - "RegistryPropertiesUpdateParameters": { + "Status": { + "description": "The status of an Azure resource at the time the operation was called.", "type": "object", - "description": "The parameters for updating the properties of a container registry.", "properties": { - "adminUserEnabled": { - "type": "boolean", - "description": "The value that indicates whether the admin user is enabled." - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet", - "description": "The network rule set for a container registry." - }, - "policies": { - "$ref": "#/definitions/Policies", - "description": "The policies for a container registry." - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty", - "description": "The encryption settings of container registry." - }, - "dataEndpointEnabled": { - "type": "boolean", - "description": "Enable a single data endpoint per region for serving data." - }, - "publicNetworkAccess": { - "$ref": "#/definitions/PublicNetworkAccess", - "description": "Whether or not public network access is allowed for the container registry." - }, - "networkRuleBypassOptions": { + "displayStatus": { + "description": "The short label for the status.", "type": "string", - "description": "Whether to allow trusted Azure services to access a network restricted registry.", - "default": "AzureServices", - "enum": [ - "AzureServices", - "None" - ], - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true, - "values": [ - { - "name": "AzureServices", - "value": "AzureServices" - }, - { - "name": "None", - "value": "None" - } - ] - } - }, - "networkRuleBypassAllowedForTasks": { - "type": "boolean", - "description": "Whether to allow ACR Tasks service to access a network restricted registry." - }, - "anonymousPullEnabled": { - "type": "boolean", - "description": "Enables registry-wide pull from unauthenticated clients." + "readOnly": true }, - "metadataSearch": { + "message": { + "description": "The detailed message for the status, including alerts and error messages.", "type": "string", - "description": "Determines whether registry artifacts are indexed for metadata search.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } + "readOnly": true }, - "roleAssignmentMode": { - "$ref": "#/definitions/RoleAssignmentMode", - "description": "Determines registry role assignment mode." + "timestamp": { + "format": "date-time", + "description": "The timestamp when the status was changed to the current value.", + "type": "string", + "readOnly": true } } }, - "RegistryUpdateParameters": { + "StatusDetailProperties": { + "description": "The status detail properties of the connected registry.", "type": "object", - "description": "The parameters for updating a container registry.", "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the container registry." - }, - "tags": { - "type": "object", - "description": "The tags for the container registry.", - "additionalProperties": { - "type": "string" - } - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU of the container registry." + "type": { + "description": "The component of the connected registry corresponding to the status.", + "type": "string", + "readOnly": true }, - "properties": { - "$ref": "#/definitions/RegistryPropertiesUpdateParameters", - "description": "The properties that the container registry will be updated with.", - "x-ms-client-flatten": true - } - } - }, - "RegistryUsage": { - "type": "object", - "description": "The quota usage for a container registry.", - "properties": { - "name": { + "code": { + "description": "The HTTP status code.", "type": "string", - "description": "The name of the usage." + "readOnly": true }, - "limit": { - "type": "integer", - "format": "int64", - "description": "The limit of the usage." + "description": { + "description": "The description of the status.", + "type": "string", + "readOnly": true }, - "currentValue": { - "type": "integer", - "format": "int64", - "description": "The current value of the usage." + "timestamp": { + "format": "date-time", + "description": "The timestamp of the status.", + "type": "string", + "readOnly": true }, - "unit": { - "$ref": "#/definitions/RegistryUsageUnit", - "description": "The unit of measurement." + "correlationId": { + "description": "The correlation ID of the status.", + "type": "string", + "readOnly": true } } }, - "RegistryUsageListResult": { + "StorageAccountProperties": { + "description": "The properties of a storage account for a container registry. Only applicable to Classic SKU.", + "required": [ + "id" + ], "type": "object", - "description": "The result of a request to get container registry quota usages.", "properties": { - "value": { - "type": "array", - "description": "The list of container registry quota usages.", - "items": { - "$ref": "#/definitions/RegistryUsage" - }, - "x-ms-identifiers": [ - "name" - ] + "id": { + "description": "The resource ID of the storage account.", + "type": "string" } } }, - "RegistryUsageUnit": { - "type": "string", - "description": "The unit of measurement.", - "enum": [ - "Count", - "Bytes" + "SyncProperties": { + "description": "The sync properties of the connected registry with its parent.", + "required": [ + "tokenId", + "messageTtl" ], - "x-ms-enum": { - "name": "RegistryUsageUnit", - "modelAsString": true, - "values": [ - { - "name": "Count", - "value": "Count" - }, - { - "name": "Bytes", - "value": "Bytes" - } - ] - } - }, - "Replication": { "type": "object", - "description": "An object that represents a replication for a container registry.", "properties": { - "properties": { - "$ref": "#/definitions/ReplicationProperties", - "description": "The properties of the replication.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "tokenId": { + "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.", + "type": "string" + }, + "schedule": { + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", + "type": "string" + }, + "syncWindow": { + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", + "type": "string" + }, + "messageTtl": { + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", + "type": "string" + }, + "lastSyncTime": { + "format": "date-time", + "description": "The last time a sync occurred between the connected registry and its parent.", + "type": "string", + "readOnly": true + }, + "gatewayEndpoint": { + "description": "The gateway endpoint used by the connected registry to communicate with its parent.", + "type": "string", + "readOnly": true } - ] + } }, - "ReplicationListResult": { + "SyncUpdateProperties": { + "description": "The parameters for updating the sync properties of the connected registry with its parent.", "type": "object", - "description": "The result of a request to list replications for a container registry.", "properties": { - "value": { - "type": "array", - "description": "The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications.", - "items": { - "$ref": "#/definitions/Replication" - } + "schedule": { + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", + "type": "string" }, - "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of replications." + "syncWindow": { + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", + "type": "string" + }, + "messageTtl": { + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", + "type": "string" } } }, - "ReplicationProperties": { + "NetworkRuleSet": { + "description": "The network rule set for a container registry.", + "required": [ + "defaultAction" + ], "type": "object", - "description": "The properties of a replication.", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of the replication at the time the operation was called.", - "readOnly": true - }, - "status": { - "$ref": "#/definitions/Status", - "description": "The status of the replication at the time the operation was called.", - "readOnly": true - }, - "regionEndpointEnabled": { - "type": "boolean", - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", - "default": true - }, - "zoneRedundancy": { - "type": "string", - "description": "Whether or not zone redundancy is enabled for this container registry replication", - "default": "Disabled", + "defaultAction": { + "description": "The default action of allow or deny when no other rules match.", + "default": "Allow", "enum": [ - "Enabled", - "Disabled" + "Allow", + "Deny" ], + "type": "string", "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] + "name": "DefaultAction", + "modelAsString": true } + }, + "ipRules": { + "description": "The IP ACL rules.", + "type": "array", + "items": { + "$ref": "#/definitions/IPRule" + }, + "x-ms-identifiers": [] } } }, - "ReplicationUpdateParameters": { + "Policies": { + "description": "The policies for a container registry.", "type": "object", - "description": "The parameters for updating a replication.", "properties": { - "tags": { - "type": "object", - "description": "The tags for the replication.", - "additionalProperties": { - "type": "string" - } + "quarantinePolicy": { + "$ref": "#/definitions/QuarantinePolicy", + "description": "The quarantine policy for a container registry." }, - "properties": { - "$ref": "#/definitions/ReplicationUpdateParametersProperties", - "description": "The parameters for updating a replication's properties", - "x-ms-client-flatten": true + "trustPolicy": { + "$ref": "#/definitions/TrustPolicy", + "description": "The content trust policy for a container registry." + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "The retention policy for a container registry." + }, + "exportPolicy": { + "$ref": "#/definitions/ExportPolicy", + "description": "The export policy for a container registry." + }, + "azureADAuthenticationAsArmPolicy": { + "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", + "description": "The policy for using Azure Resource Manager audience token for a container registry." + }, + "softDeletePolicy": { + "$ref": "#/definitions/SoftDeletePolicy", + "description": "The soft delete policy for a container registry." } } }, - "ReplicationUpdateParametersProperties": { + "EncryptionProperty": { "type": "object", "properties": { - "regionEndpointEnabled": { - "type": "boolean", - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications." + "status": { + "description": "Indicates whether or not the encryption is enabled for container registry.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true + } + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Key vault properties." } } }, - "Request": { + "PackageType": { + "description": "The properties of a package type.", "type": "object", - "description": "The request that generated the event.", "properties": { - "id": { - "type": "string", - "description": "The ID of the request that initiated the event." + "name": { + "description": "The name of the package type.", + "type": "string" }, - "addr": { + "endpoint": { + "description": "The endpoint of the package type.", "type": "string", - "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request." - }, - "host": { + "readOnly": true + } + } + }, + "IPRule": { + "description": "IP rule with specific IP or IP range in CIDR format.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "action": { + "description": "The action of IP ACL rule.", + "default": "Allow", + "enum": [ + "Allow" + ], "type": "string", - "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests." + "x-ms-enum": { + "name": "Action", + "modelAsString": true + } }, - "method": { + "value": { + "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", "type": "string", - "description": "The request method that generated the event." - }, - "useragent": { + "x-ms-client-name": "IPAddressOrRange" + } + } + }, + "QuarantinePolicy": { + "description": "The quarantine policy for a container registry.", + "type": "object", + "properties": { + "status": { + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], "type": "string", - "description": "The user agent header of the request." + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } } } }, - "ResourceIdentityType": { - "type": "string", - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false + "TrustPolicy": { + "description": "The content trust policy for a container registry.", + "type": "object", + "properties": { + "type": { + "description": "The type of trust policy.", + "default": "Notary", + "enum": [ + "Notary" + ], + "type": "string", + "x-ms-enum": { + "name": "TrustPolicyType", + "modelAsString": true + } + }, + "status": { + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } } }, "RetentionPolicy": { - "type": "object", "description": "The retention policy for a container registry.", + "type": "object", "properties": { "days": { - "type": "integer", "format": "int32", "description": "The number of days to retain an untagged manifest after which it gets purged.", - "default": 7 + "default": 7, + "type": "integer" }, "lastUpdatedTime": { - "type": "string", "format": "date-time", "description": "The timestamp when the policy was last updated.", + "type": "string", "readOnly": true }, "status": { - "type": "string", "description": "The value that indicates whether the policy is enabled or not.", "default": "disabled", "enum": [ "enabled", "disabled" ], + "type": "string", "x-ms-enum": { "name": "PolicyStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] + "modelAsString": true } } } }, - "RoleAssignmentMode": { - "type": "string", - "description": "Determines registry role assignment mode.", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true, - "values": [ - { - "name": "AbacRepositoryPermissions", - "value": "AbacRepositoryPermissions" - }, - { - "name": "LegacyRegistryPermissions", - "value": "LegacyRegistryPermissions" - } - ] - } - }, - "ScopeMap": { + "ExportPolicy": { + "description": "The export policy for a container registry.", "type": "object", - "description": "An object that represents a scope map for a container registry.", "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapProperties", - "description": "The properties of the scope map.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + "status": { + "description": "The value that indicates whether the policy is enabled or not.", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "ExportPolicyStatus", + "modelAsString": true + } } - ] + } }, - "ScopeMapListResult": { + "SoftDeletePolicy": { + "description": "The soft delete policy for a container registry", "type": "object", - "description": "The result of a request to list scope maps for a container registry.", "properties": { - "value": { - "type": "array", - "description": "The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.", - "items": { - "$ref": "#/definitions/ScopeMap" - } + "retentionDays": { + "format": "int32", + "description": "The number of days after which a soft-deleted item is permanently deleted.", + "default": 7, + "type": "integer" }, - "nextLink": { + "lastUpdatedTime": { + "format": "date-time", + "description": "The timestamp when the policy was last updated.", + "type": "string", + "readOnly": true + }, + "status": { + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], "type": "string", - "description": "The URI that can be used to request the next list of scope maps." + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } } } }, - "ScopeMapProperties": { + "KeyVaultProperties": { "type": "object", - "description": "The properties of a scope map.", "properties": { - "description": { - "type": "string", - "description": "The user friendly description of the scope map." + "keyIdentifier": { + "description": "Key vault uri to access the encryption key.", + "type": "string" }, - "type": { + "versionedKeyIdentifier": { + "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", "type": "string", - "description": "The type of the scope map. E.g. BuildIn scope map.", "readOnly": true }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "The creation date of scope map.", - "readOnly": true + "identity": { + "description": "The client id of the identity which will be used to access key vault.", + "type": "string" }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning state of the resource.", + "keyRotationEnabled": { + "description": "Auto key rotation status for a CMK enabled registry.", + "type": "boolean", "readOnly": true }, - "actions": { - "type": "array", - "description": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write", - "items": { - "type": "string" - } + "lastKeyRotationTimestamp": { + "format": "date-time", + "description": "Timestamp of the last successful key rotation.", + "type": "string", + "readOnly": true } - }, - "required": [ - "actions" - ] + } }, - "ScopeMapPropertiesUpdateParameters": { + "RegistryUpdateParameters": { + "description": "The parameters for updating a container registry.", "type": "object", - "description": "The update parameters for scope map properties.", "properties": { - "description": { - "type": "string", - "description": "The user friendly description of the scope map." + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the container registry." }, - "actions": { - "type": "array", - "description": "The list of scope permissions for registry artifacts.\nE.g. repositories/repository-name/pull,\nrepositories/repository-name/delete", - "items": { + "tags": { + "description": "The tags for the container registry.", + "type": "object", + "additionalProperties": { "type": "string" } - } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the container registry." + }, + "properties": { + "$ref": "#/definitions/RegistryPropertiesUpdateParameters", + "description": "The properties that the container registry will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "RegistryPropertiesUpdateParameters": { + "description": "The parameters for updating the properties of a container registry.", + "type": "object", + "properties": { + "adminUserEnabled": { + "description": "The value that indicates whether the admin user is enabled.", + "type": "boolean" + }, + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "The network rule set for a container registry." + }, + "policies": { + "$ref": "#/definitions/Policies", + "description": "The policies for a container registry." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of container registry." + }, + "dataEndpointEnabled": { + "description": "Enable a single data endpoint per region for serving data.", + "type": "boolean" + }, + "publicNetworkAccess": { + "description": "Whether or not public network access is allowed for the container registry.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "networkRuleBypassOptions": { + "description": "Whether to allow trusted Azure services to access a network restricted registry.", + "default": "AzureServices", + "enum": [ + "AzureServices", + "None" + ], + "type": "string", + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true + } + }, + "networkRuleBypassAllowedForTasks": { + "description": "Whether to allow ACR Tasks service to access a network restricted registry.", + "type": "boolean" + }, + "anonymousPullEnabled": { + "description": "Enables registry-wide pull from unauthenticated clients.", + "type": "boolean" + }, + "metadataSearch": { + "description": "Determines whether registry artifacts are indexed for metadata search.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true + } + }, + "roleAssignmentMode": { + "description": "Determines registry role assignment mode.", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "type": "string", + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true + } + } + } + }, + "RegistryUsageListResult": { + "description": "The result of a request to get container registry quota usages.", + "type": "object", + "properties": { + "value": { + "description": "The list of container registry quota usages.", + "type": "array", + "items": { + "$ref": "#/definitions/RegistryUsage" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "RegistryUsage": { + "description": "The quota usage for a container registry.", + "type": "object", + "properties": { + "name": { + "description": "The name of the usage.", + "type": "string" + }, + "limit": { + "format": "int64", + "description": "The limit of the usage.", + "type": "integer" + }, + "currentValue": { + "format": "int64", + "description": "The current value of the usage.", + "type": "integer" + }, + "unit": { + "description": "The unit of measurement.", + "enum": [ + "Count", + "Bytes" + ], + "type": "string", + "x-ms-enum": { + "name": "RegistryUsageUnit", + "modelAsString": true + } + } + } + }, + "PrivateLinkResourceListResult": { + "description": "The result of a request to list private link resources for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of private link resources.", + "type": "string" + } + } + }, + "PrivateLinkResource": { + "description": "A resource that supports private link capabilities.", + "type": "object", + "properties": { + "type": { + "description": "The resource type is private link resource.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "The resource ID.", + "type": "string" + }, + "name": { + "description": "The name of the resource.", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "A resource that supports private link capabilities.", + "x-ms-client-flatten": true + } + } + }, + "PrivateLinkResourceProperties": { + "description": "The properties of a private link resource.", + "type": "object", + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string" + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + } + }, + "requiredZoneNames": { + "description": "The private link resource Private link DNS zone name.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RegistryListCredentialsResult": { + "description": "The response from the ListCredentials operation.", + "type": "object", + "properties": { + "username": { + "description": "The username for a container registry.", + "type": "string" + }, + "passwords": { + "description": "The list of passwords for a container registry.", + "type": "array", + "items": { + "$ref": "#/definitions/RegistryPassword" + }, + "x-ms-identifiers": [] + } + } + }, + "RegistryPassword": { + "description": "The login password for the container registry.", + "type": "object", + "properties": { + "name": { + "description": "The password name.", + "enum": [ + "password", + "password2" + ], + "type": "string", + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + }, + "value": { + "description": "The password value.", + "type": "string" + } + } + }, + "RegenerateCredentialParameters": { + "description": "The parameters used to regenerate the login credential.", + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "description": "Specifies name of the password which should be regenerated -- password or password2.", + "enum": [ + "password", + "password2" + ], + "type": "string", + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + } + } + }, + "ReplicationListResult": { + "description": "The result of a request to list replications for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications.", + "type": "array", + "items": { + "$ref": "#/definitions/Replication" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of replications.", + "type": "string" + } + } + }, + "Replication": { + "description": "An object that represents a replication for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ReplicationProperties", + "description": "The properties of the replication.", + "x-ms-client-flatten": true + } + } + }, + "ReplicationProperties": { + "description": "The properties of a replication.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state of the replication at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "status": { + "$ref": "#/definitions/Status", + "description": "The status of the replication at the time the operation was called.", + "readOnly": true + }, + "regionEndpointEnabled": { + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", + "default": true, + "type": "boolean" + }, + "zoneRedundancy": { + "description": "Whether or not zone redundancy is enabled for this container registry replication", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true + } + } + } + }, + "ReplicationUpdateParameters": { + "description": "The parameters for updating a replication.", + "type": "object", + "properties": { + "tags": { + "description": "The tags for the replication.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ReplicationUpdateParametersProperties", + "description": "The parameters for updating a replication's properties", + "x-ms-client-flatten": true + } } }, - "ScopeMapUpdateParameters": { + "ReplicationUpdateParametersProperties": { "type": "object", - "description": "The properties for updating the scope map.", "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", - "description": "The update parameters for scope map properties.", - "x-ms-client-flatten": true + "regionEndpointEnabled": { + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", + "type": "boolean" } } }, - "Sku": { + "ScopeMapListResult": { + "description": "The result of a request to list scope maps for a container registry.", "type": "object", - "description": "The SKU of a container registry.", "properties": { - "name": { - "$ref": "#/definitions/SkuName", - "description": "The SKU name of the container registry. Required for registry creation." + "value": { + "description": "The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.", + "type": "array", + "items": { + "$ref": "#/definitions/ScopeMap" + } }, - "tier": { - "$ref": "#/definitions/SkuTier", - "description": "The SKU tier based on the SKU name.", - "readOnly": true + "nextLink": { + "description": "The URI that can be used to request the next list of scope maps.", + "type": "string" } - }, - "required": [ - "name" - ] - }, - "SkuName": { - "type": "string", - "description": "The SKU name of the container registry. Required for registry creation.", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true, - "values": [ - { - "name": "Classic", - "value": "Classic" - }, - { - "name": "Basic", - "value": "Basic" - }, - { - "name": "Standard", - "value": "Standard" - }, - { - "name": "Premium", - "value": "Premium" - } - ] } }, - "SkuTier": { - "type": "string", - "description": "The SKU tier based on the SKU name.", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" + "ScopeMap": { + "description": "An object that represents a scope map for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } ], - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true, - "values": [ - { - "name": "Classic", - "value": "Classic" - }, - { - "name": "Basic", - "value": "Basic" - }, - { - "name": "Standard", - "value": "Standard" - }, - { - "name": "Premium", - "value": "Premium" - } - ] + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapProperties", + "description": "The properties of the scope map.", + "x-ms-client-flatten": true + } } }, - "SoftDeletePolicy": { + "ScopeMapProperties": { + "description": "The properties of a scope map.", + "required": [ + "actions" + ], "type": "object", - "description": "The soft delete policy for a container registry", "properties": { - "retentionDays": { - "type": "integer", - "format": "int32", - "description": "The number of days after which a soft-deleted item is permanently deleted.", - "default": 7 + "description": { + "description": "The user friendly description of the scope map.", + "type": "string" }, - "lastUpdatedTime": { + "type": { + "description": "The type of the scope map. E.g. BuildIn scope map.", "type": "string", - "format": "date-time", - "description": "The timestamp when the policy was last updated.", "readOnly": true }, - "status": { + "creationDate": { + "format": "date-time", + "description": "The creation date of scope map.", "type": "string", - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state of the resource.", "enum": [ - "enabled", - "disabled" + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" ], + "type": "string", + "readOnly": true, "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] + "name": "ProvisioningState", + "modelAsString": true + } + }, + "actions": { + "description": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write", + "type": "array", + "items": { + "type": "string" } } } }, - "Source": { + "ScopeMapUpdateParameters": { + "description": "The properties for updating the scope map.", "type": "object", - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", "properties": { - "addr": { - "type": "string", - "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port." - }, - "instanceID": { - "type": "string", - "description": "The running instance of an application. Changes after each restart." + "properties": { + "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", + "description": "The update parameters for scope map properties.", + "x-ms-client-flatten": true } } }, - "Status": { + "ScopeMapPropertiesUpdateParameters": { + "description": "The update parameters for scope map properties.", "type": "object", - "description": "The status of an Azure resource at the time the operation was called.", "properties": { - "displayStatus": { - "type": "string", - "description": "The short label for the status.", - "readOnly": true + "description": { + "description": "The user friendly description of the scope map.", + "type": "string" }, - "message": { + "actions": { + "description": "The list of scope permissions for registry artifacts.\r\nE.g. repositories/repository-name/pull, \r\nrepositories/repository-name/delete", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TlsCertificateProperties": { + "description": "The TLS certificate properties of the connected registry login server.", + "type": "object", + "properties": { + "type": { + "description": "The type of certificate location.", + "enum": [ + "LocalDirectory" + ], "type": "string", - "description": "The detailed message for the status, including alerts and error messages.", - "readOnly": true + "readOnly": true, + "x-ms-enum": { + "name": "CertificateType", + "modelAsString": true + } }, - "timestamp": { + "location": { + "description": "Indicates the location of the certificates.", "type": "string", - "format": "date-time", - "description": "The timestamp when the status was changed to the current value.", "readOnly": true } } }, - "StatusDetailProperties": { + "TlsProperties": { + "description": "The TLS properties of the connected registry login server.", "type": "object", - "description": "The status detail properties of the connected registry.", "properties": { - "type": { + "status": { + "description": "Indicates whether HTTPS is enabled for the login server.", + "enum": [ + "Enabled", + "Disabled" + ], "type": "string", - "description": "The component of the connected registry corresponding to the status.", + "readOnly": true, + "x-ms-enum": { + "name": "TlsStatus", + "modelAsString": true + } + }, + "certificate": { + "$ref": "#/definitions/TlsCertificateProperties", + "description": "The certificate used to configure HTTPS for the login server.", "readOnly": true + } + } + }, + "TokenListResult": { + "description": "The result of a request to list tokens for a container registry.", + "type": "object", + "properties": { + "value": { + "description": "The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens.", + "type": "array", + "items": { + "$ref": "#/definitions/Token" + } }, - "code": { + "nextLink": { + "description": "The URI that can be used to request the next list of tokens.", + "type": "string" + } + } + }, + "Token": { + "description": "An object that represents a token for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/TokenProperties", + "description": "The properties of the token.", + "x-ms-client-flatten": true + } + } + }, + "TokenProperties": { + "description": "The properties of a token.", + "type": "object", + "properties": { + "creationDate": { + "format": "date-time", + "description": "The creation date of scope map.", "type": "string", - "description": "The HTTP status code.", "readOnly": true }, - "description": { + "provisioningState": { + "description": "Provisioning state of the resource.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], "type": "string", - "description": "The description of the status.", - "readOnly": true + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } }, - "timestamp": { + "scopeMapId": { + "description": "The resource ID of the scope map to which the token will be associated with.", + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." + }, + "status": { + "description": "The status of the token example enabled or disabled.", + "enum": [ + "enabled", + "disabled" + ], "type": "string", - "format": "date-time", - "description": "The timestamp of the status.", - "readOnly": true + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true + } + } + } + }, + "TokenCredentialsProperties": { + "description": "The properties of the credentials that can be used for authenticating the token.", + "type": "object", + "properties": { + "certificates": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCertificate" + }, + "x-ms-identifiers": [ + "thumbprint" + ] }, - "correlationId": { - "type": "string", - "description": "The correlation ID of the status.", - "readOnly": true + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + }, + "x-ms-identifiers": [] } } }, - "SyncProperties": { + "ActiveDirectoryObject": { + "description": "The Active Directory Object that will be used for authenticating the token of a container registry.", "type": "object", - "description": "The sync properties of the connected registry with its parent.", "properties": { - "tokenId": { - "type": "string", - "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync." - }, - "schedule": { - "type": "string", - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." - }, - "syncWindow": { - "type": "string", - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." - }, - "messageTtl": { - "type": "string", - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." - }, - "lastSyncTime": { - "type": "string", - "format": "date-time", - "description": "The last time a sync occurred between the connected registry and its parent.", - "readOnly": true + "objectId": { + "description": "The user/group/application object ID for Active Directory Object that will be used for authenticating the token of a container registry.", + "type": "string" }, - "gatewayEndpoint": { - "type": "string", - "description": "The gateway endpoint used by the connected registry to communicate with its parent.", - "readOnly": true + "tenantId": { + "description": "The tenant ID of user/group/application object Active Directory Object that will be used for authenticating the token of a container registry.", + "type": "string" } - }, - "required": [ - "tokenId", - "messageTtl" - ] + } }, - "SyncUpdateProperties": { + "TokenCertificate": { + "description": "The properties of a certificate used for authenticating a token.", "type": "object", - "description": "The parameters for updating the sync properties of the connected registry with its parent.", "properties": { - "schedule": { + "name": { + "enum": [ + "certificate1", + "certificate2" + ], "type": "string", - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." + "x-ms-enum": { + "name": "TokenCertificateName", + "modelAsString": true + } }, - "syncWindow": { - "type": "string", - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + "expiry": { + "format": "date-time", + "description": "The expiry datetime of the certificate.", + "type": "string" }, - "messageTtl": { - "type": "string", - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + "thumbprint": { + "description": "The thumbprint of the certificate.", + "type": "string" + }, + "encodedPemCertificate": { + "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token.", + "type": "string" } } }, - "Target": { + "TokenPassword": { + "description": "The password that will be used for authenticating the token of a container registry.", "type": "object", - "description": "The target of the event.", "properties": { - "mediaType": { - "type": "string", - "description": "The MIME type of the referenced object." - }, - "size": { - "type": "integer", - "format": "int64", - "description": "The number of bytes of the content. Same as Length field." - }, - "digest": { - "type": "string", - "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification." - }, - "length": { - "type": "integer", - "format": "int64", - "description": "The number of bytes of the content. Same as Size field." - }, - "repository": { - "type": "string", - "description": "The repository name." - }, - "url": { - "type": "string", - "description": "The direct URL to the content." + "creationTime": { + "format": "date-time", + "description": "The creation datetime of the password.", + "type": "string" }, - "tag": { - "type": "string", - "description": "The tag name." + "expiry": { + "format": "date-time", + "description": "The expiry datetime of the password.", + "type": "string" }, "name": { + "description": "The password name \"password1\" or \"password2\"", + "enum": [ + "password1", + "password2" + ], "type": "string", - "description": "The name of the artifact." + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true + } }, - "version": { + "value": { + "description": "The password value.", "type": "string", - "description": "The version of the artifact." + "readOnly": true } } }, - "TlsCertificateProperties": { + "TokenUpdateParameters": { + "description": "The parameters for updating a token.", "type": "object", - "description": "The TLS certificate properties of the connected registry login server.", "properties": { - "type": { - "$ref": "#/definitions/CertificateType", - "description": "The type of certificate location.", - "readOnly": true - }, - "location": { - "type": "string", - "description": "Indicates the location of the certificates.", - "readOnly": true + "properties": { + "$ref": "#/definitions/TokenUpdateProperties", + "description": "The properties of the token update parameters.", + "x-ms-client-flatten": true } } }, - "TlsProperties": { + "TokenUpdateProperties": { + "description": "The parameters for updating token properties.", "type": "object", - "description": "The TLS properties of the connected registry login server.", "properties": { + "scopeMapId": { + "description": "The resource ID of the scope map to which the token will be associated with.", + "type": "string" + }, "status": { - "$ref": "#/definitions/TlsStatus", - "description": "Indicates whether HTTPS is enabled for the login server.", - "readOnly": true + "description": "The status of the token example enabled or disabled.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true + } }, - "certificate": { - "$ref": "#/definitions/TlsCertificateProperties", - "description": "The certificate used to configure HTTPS for the login server.", - "readOnly": true + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." } } }, - "TlsStatus": { - "type": "string", - "description": "Indicates whether HTTPS is enabled for the login server.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "TlsStatus", - "modelAsString": true, - "values": [ - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } - }, - "Token": { - "type": "object", - "description": "An object that represents a token for a container registry.", - "properties": { - "properties": { - "$ref": "#/definitions/TokenProperties", - "description": "The properties of the token.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "TokenCertificate": { + "GenerateCredentialsParameters": { + "description": "The parameters used to generate credentials for a specified token or user of a container registry.", "type": "object", - "description": "The properties of a certificate used for authenticating a token.", "properties": { - "name": { - "$ref": "#/definitions/TokenCertificateName" + "tokenId": { + "description": "The resource ID of the token for which credentials have to be generated.", + "type": "string" }, "expiry": { - "type": "string", "format": "date-time", - "description": "The expiry datetime of the certificate." - }, - "thumbprint": { - "type": "string", - "description": "The thumbprint of the certificate." + "description": "The expiry date of the generated credentials after which the credentials become invalid.", + "type": "string" }, - "encodedPemCertificate": { + "name": { + "description": "Specifies name of the password which should be regenerated if any -- password1 or password2.", + "enum": [ + "password1", + "password2" + ], "type": "string", - "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token." - } - } - }, - "TokenCertificateName": { - "type": "string", - "enum": [ - "certificate1", - "certificate2" - ], - "x-ms-enum": { - "name": "TokenCertificateName", - "modelAsString": true, - "values": [ - { - "name": "certificate1", - "value": "certificate1" - }, - { - "name": "certificate2", - "value": "certificate2" + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true } - ] + } } }, - "TokenCredentialsProperties": { + "GenerateCredentialsResult": { + "description": "The response from the GenerateCredentials operation.", "type": "object", - "description": "The properties of the credentials that can be used for authenticating the token.", "properties": { - "certificates": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenCertificate" - }, - "x-ms-identifiers": [ - "thumbprint" - ] + "username": { + "description": "The username for a container registry.", + "type": "string" }, "passwords": { + "description": "The list of passwords for a container registry.", "type": "array", "items": { "$ref": "#/definitions/TokenPassword" @@ -9200,447 +7395,702 @@ } } }, - "TokenListResult": { + "WebhookListResult": { + "description": "The result of a request to list webhooks for a container registry.", "type": "object", - "description": "The result of a request to list tokens for a container registry.", "properties": { "value": { + "description": "The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.", + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of webhooks.", + "type": "string" + } + } + }, + "Webhook": { + "description": "An object that represents a webhook for a container registry.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/WebhookProperties", + "description": "The properties of the webhook.", + "x-ms-client-flatten": true + } + } + }, + "WebhookProperties": { + "description": "The properties of a webhook.", + "required": [ + "actions" + ], + "type": "object", + "properties": { + "status": { + "description": "The status of the webhook at the time the operation was called.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", + "type": "string" + }, + "actions": { + "description": "The list of actions that trigger the webhook to post notifications.", "type": "array", - "description": "The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens.", "items": { - "$ref": "#/definitions/Token" + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "type": "string", + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } } }, - "nextLink": { + "provisioningState": { + "description": "The provisioning state of the webhook at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], "type": "string", - "description": "The URI that can be used to request the next list of tokens." + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } } } }, - "TokenPassword": { + "WebhookCreateParameters": { + "description": "The parameters for creating a webhook.", + "required": [ + "location" + ], "type": "object", - "description": "The password that will be used for authenticating the token of a container registry.", "properties": { - "creationTime": { - "type": "string", - "format": "date-time", - "description": "The creation datetime of the password." - }, - "expiry": { - "type": "string", - "format": "date-time", - "description": "The expiry datetime of the password." + "tags": { + "description": "The tags for the webhook.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "name": { - "$ref": "#/definitions/TokenPasswordName", - "description": "The password name \"password1\" or \"password2\"" + "location": { + "description": "The location of the webhook. This cannot be changed after the resource is created.", + "type": "string" }, - "value": { - "type": "string", - "description": "The password value.", - "readOnly": true + "properties": { + "$ref": "#/definitions/WebhookPropertiesCreateParameters", + "description": "The properties that the webhook will be created with.", + "x-ms-client-flatten": true } } }, - "TokenPasswordName": { - "type": "string", - "description": "The password name \"password1\" or \"password2\"", - "enum": [ - "password1", - "password2" + "WebhookPropertiesCreateParameters": { + "description": "The parameters for creating the properties of a webhook.", + "required": [ + "serviceUri", + "actions" ], - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true, - "values": [ - { - "name": "password1", - "value": "password1" - }, - { - "name": "password2", - "value": "password2" - } - ] - } - }, - "TokenProperties": { "type": "object", - "description": "The properties of a token.", "properties": { - "creationDate": { + "serviceUri": { + "description": "The service URI for the webhook to post notifications.", "type": "string", - "format": "date-time", - "description": "The creation date of scope map.", - "readOnly": true + "x-ms-secret": true }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true + "customHeaders": { + "description": "Custom headers that will be added to the webhook notifications.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true }, - "scopeMapId": { + "status": { + "description": "The status of the webhook at the time the operation was called.", + "enum": [ + "enabled", + "disabled" + ], "type": "string", - "description": "The resource ID of the scope map to which the token will be associated with." + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." + "scope": { + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", + "type": "string" }, - "status": { - "$ref": "#/definitions/TokenStatus", - "description": "The status of the token example enabled or disabled." - } - } - }, - "TokenStatus": { - "type": "string", - "description": "The status of the token example enabled or disabled.", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" + "actions": { + "description": "The list of actions that trigger the webhook to post notifications.", + "type": "array", + "items": { + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "type": "string", + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } } - ] + } } }, - "TokenUpdateParameters": { + "WebhookUpdateParameters": { + "description": "The parameters for updating a webhook.", "type": "object", - "description": "The parameters for updating a token.", "properties": { + "tags": { + "description": "The tags for the webhook.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "properties": { - "$ref": "#/definitions/TokenUpdateProperties", - "description": "The properties of the token update parameters.", + "$ref": "#/definitions/WebhookPropertiesUpdateParameters", + "description": "The properties that the webhook will be updated with.", "x-ms-client-flatten": true } } }, - "TokenUpdateProperties": { + "WebhookPropertiesUpdateParameters": { + "description": "The parameters for updating the properties of a webhook.", "type": "object", - "description": "The parameters for updating token properties.", "properties": { - "scopeMapId": { + "serviceUri": { + "description": "The service URI for the webhook to post notifications.", "type": "string", - "description": "The resource ID of the scope map to which the token will be associated with." - }, - "status": { - "$ref": "#/definitions/TokenStatus", - "description": "The status of the token example enabled or disabled." + "x-ms-secret": true }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." - } - } - }, - "TrustPolicy": { - "type": "object", - "description": "The content trust policy for a container registry.", - "properties": { - "type": { - "type": "string", - "description": "The type of trust policy.", - "default": "Notary", - "enum": [ - "Notary" - ], - "x-ms-enum": { - "name": "TrustPolicyType", - "modelAsString": true, - "values": [ - { - "name": "Notary", - "value": "Notary" - } - ] - } + "customHeaders": { + "description": "Custom headers that will be added to the webhook notifications.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true }, "status": { - "type": "string", - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", + "description": "The status of the webhook at the time the operation was called.", "enum": [ "enabled", "disabled" ], + "type": "string", "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", + "type": "string" + }, + "actions": { + "description": "The list of actions that trigger the webhook to post notifications.", + "type": "array", + "items": { + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "type": "string", + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } } } } }, - "UserIdentityProperties": { + "EventInfo": { + "description": "The basic information of an event.", "type": "object", "properties": { - "principalId": { - "type": "string", - "description": "The principal id of user assigned identity.", - "readOnly": true - }, - "clientId": { - "type": "string", - "description": "The client id of user assigned identity.", - "readOnly": true + "id": { + "description": "The event ID.", + "type": "string" } } }, - "Webhook": { + "EventListResult": { + "description": "The result of a request to list events for a webhook.", "type": "object", - "description": "An object that represents a webhook for a container registry.", "properties": { - "properties": { - "$ref": "#/definitions/WebhookProperties", - "description": "The properties of the webhook.", - "x-ms-client-flatten": true + "value": { + "description": "The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.", + "type": "array", + "items": { + "$ref": "#/definitions/Event" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of events.", + "type": "string" } - }, + } + }, + "Event": { + "description": "The event for a webhook.", + "type": "object", "allOf": [ { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "#/definitions/EventInfo" } - ] - }, - "WebhookAction": { - "type": "string", - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" ], - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true, - "values": [ - { - "name": "push", - "value": "push" - }, - { - "name": "delete", - "value": "delete" - }, - { - "name": "quarantine", - "value": "quarantine" - }, - { - "name": "chart_push", - "value": "chart_push" - }, - { - "name": "chart_delete", - "value": "chart_delete" - } - ] + "properties": { + "eventRequestMessage": { + "$ref": "#/definitions/EventRequestMessage", + "description": "The event request message sent to the service URI." + }, + "eventResponseMessage": { + "$ref": "#/definitions/EventResponseMessage", + "description": "The event response message received from the service URI." + } } }, - "WebhookCreateParameters": { + "EventRequestMessage": { + "description": "The event request message sent to the service URI.", "type": "object", - "description": "The parameters for creating a webhook.", "properties": { - "tags": { + "content": { + "$ref": "#/definitions/EventContent", + "description": "The content of the event request message." + }, + "headers": { + "description": "The headers of the event request message.", "type": "object", - "description": "The tags for the webhook.", "additionalProperties": { "type": "string" } }, - "location": { - "type": "string", - "description": "The location of the webhook. This cannot be changed after the resource is created." + "method": { + "description": "The HTTP method used to send the event request message.", + "type": "string" }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesCreateParameters", - "description": "The properties that the webhook will be created with.", - "x-ms-client-flatten": true + "requestUri": { + "description": "The URI used to send the event request message.", + "type": "string" + }, + "version": { + "description": "The HTTP message version.", + "type": "string" } - }, - "required": [ - "location" - ] + } }, - "WebhookListResult": { + "EventResponseMessage": { + "description": "The event response message received from the service URI.", "type": "object", - "description": "The result of a request to list webhooks for a container registry.", "properties": { - "value": { - "type": "array", - "description": "The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.", - "items": { - "$ref": "#/definitions/Webhook" + "content": { + "description": "The content of the event response message.", + "type": "string" + }, + "headers": { + "description": "The headers of the event response message.", + "type": "object", + "additionalProperties": { + "type": "string" } }, - "nextLink": { - "type": "string", - "description": "The URI that can be used to request the next list of webhooks." + "reasonPhrase": { + "description": "The reason phrase of the event response message.", + "type": "string" + }, + "statusCode": { + "description": "The status code of the event response message.", + "type": "string" + }, + "version": { + "description": "The HTTP message version.", + "type": "string" } } }, - "WebhookProperties": { + "EventContent": { + "description": "The content of the event request message.", "type": "object", - "description": "The properties of a webhook.", "properties": { - "status": { - "$ref": "#/definitions/WebhookStatus", - "description": "The status of the webhook at the time the operation was called." + "id": { + "description": "The event ID.", + "type": "string" }, - "scope": { - "type": "string", - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." + "timestamp": { + "format": "date-time", + "description": "The time at which the event occurred.", + "type": "string" }, - "actions": { - "type": "array", - "description": "The list of actions that trigger the webhook to post notifications.", - "items": { - "$ref": "#/definitions/WebhookAction" - } + "action": { + "description": "The action that encompasses the provided event.", + "type": "string" }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The provisioning state of the webhook at the time the operation was called.", - "readOnly": true + "target": { + "$ref": "#/definitions/Target", + "description": "The target of the event." + }, + "request": { + "$ref": "#/definitions/Request", + "description": "The request that generated the event." + }, + "actor": { + "$ref": "#/definitions/Actor", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." + }, + "source": { + "$ref": "#/definitions/Source", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." } - }, - "required": [ - "actions" - ] + } }, - "WebhookPropertiesCreateParameters": { + "Target": { + "description": "The target of the event.", "type": "object", - "description": "The parameters for creating the properties of a webhook.", "properties": { - "serviceUri": { - "type": "string", - "format": "password", - "description": "The service URI for the webhook to post notifications.", - "x-ms-secret": true + "mediaType": { + "description": "The MIME type of the referenced object.", + "type": "string" }, - "customHeaders": { - "type": "object", - "description": "Custom headers that will be added to the webhook notifications.", - "additionalProperties": { - "type": "string" - } + "size": { + "format": "int64", + "description": "The number of bytes of the content. Same as Length field.", + "type": "integer" }, - "status": { - "$ref": "#/definitions/WebhookStatus", - "description": "The status of the webhook at the time the operation was called." + "digest": { + "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification.", + "type": "string" }, - "scope": { - "type": "string", - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." + "length": { + "format": "int64", + "description": "The number of bytes of the content. Same as Size field.", + "type": "integer" }, - "actions": { - "type": "array", - "description": "The list of actions that trigger the webhook to post notifications.", - "items": { - "$ref": "#/definitions/WebhookAction" - } + "repository": { + "description": "The repository name.", + "type": "string" + }, + "url": { + "description": "The direct URL to the content.", + "type": "string" + }, + "tag": { + "description": "The tag name.", + "type": "string" + }, + "name": { + "description": "The name of the artifact.", + "type": "string" + }, + "version": { + "description": "The version of the artifact.", + "type": "string" } - }, - "required": [ - "serviceUri", - "actions" - ] + } }, - "WebhookPropertiesUpdateParameters": { + "Request": { + "description": "The request that generated the event.", "type": "object", - "description": "The parameters for updating the properties of a webhook.", "properties": { - "serviceUri": { - "type": "string", - "format": "password", - "description": "The service URI for the webhook to post notifications.", - "x-ms-secret": true + "id": { + "description": "The ID of the request that initiated the event.", + "type": "string" }, - "customHeaders": { - "type": "object", - "description": "Custom headers that will be added to the webhook notifications.", - "additionalProperties": { - "type": "string" - } + "addr": { + "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.", + "type": "string" }, - "status": { - "$ref": "#/definitions/WebhookStatus", - "description": "The status of the webhook at the time the operation was called." + "host": { + "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.", + "type": "string" }, - "scope": { - "type": "string", - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." + "method": { + "description": "The request method that generated the event.", + "type": "string" }, - "actions": { - "type": "array", - "description": "The list of actions that trigger the webhook to post notifications.", - "items": { - "$ref": "#/definitions/WebhookAction" - } + "useragent": { + "description": "The user agent header of the request.", + "type": "string" } } }, - "WebhookStatus": { - "type": "string", - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true, - "values": [ - { - "name": "enabled", - "value": "enabled" - }, - { - "name": "disabled", - "value": "disabled" - } - ] + "Actor": { + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", + "type": "object", + "properties": { + "name": { + "description": "The subject or username associated with the request context that generated the event.", + "type": "string" + } } }, - "WebhookUpdateParameters": { + "Source": { + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", "type": "object", - "description": "The parameters for updating a webhook.", "properties": { - "tags": { + "addr": { + "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.", + "type": "string" + }, + "instanceID": { + "description": "The running instance of an application. Changes after each restart.", + "type": "string" + } + } + }, + "CallbackConfig": { + "description": "The configuration of service URI and custom headers for the webhook.", + "required": [ + "serviceUri" + ], + "type": "object", + "properties": { + "serviceUri": { + "description": "The service URI for the webhook to post notifications.", + "type": "string" + }, + "customHeaders": { + "description": "Custom headers that will be added to the webhook notifications.", "type": "object", - "description": "The tags for the webhook.", "additionalProperties": { "type": "string" } - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesUpdateParameters", - "description": "The properties that the webhook will be updated with.", - "x-ms-client-flatten": true } } } }, - "parameters": {} + "parameters": { + "RegistryNameParameter": { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "WebhookNameParameter": { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ReplicationNameParameter": { + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ScopeMapNameParameter": { + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-_]*$", + "x-ms-parameter-location": "method" + }, + "TokenNameParameter": { + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-]*$", + "x-ms-parameter-location": "method" + }, + "PrivateEndpointConnectionNameParameter": { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "GroupNameParameter": { + "name": "groupName", + "in": "path", + "description": "The name of the private link resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ExportPipelineNameParameter": { + "name": "exportPipelineName", + "in": "path", + "description": "The name of the export pipeline.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ImportPipelineNameParameter": { + "name": "importPipelineName", + "in": "path", + "description": "The name of the import pipeline.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "PipelineRunNameParameter": { + "name": "pipelineRunName", + "in": "path", + "description": "The name of the pipeline run.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ConnectedRegistryNameParameter": { + "in": "path", + "name": "connectedRegistryName", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9]*$", + "x-ms-parameter-location": "method" + }, + "ConnectedRegistryFilterParameter": { + "in": "query", + "name": "$filter", + "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "PackageTypeParameter": { + "name": "packageType", + "in": "path", + "description": "The type of the package resource.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 3, + "pattern": "^[a-zA-Z]*$", + "x-ms-parameter-location": "method" + }, + "ArchiveNameParameter": { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "maxLength": 200, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-]*$", + "x-ms-parameter-location": "method" + }, + "ArchiveVersionNameParameter": { + "name": "archiveVersionName", + "in": "path", + "description": "The name of the archive version resource.", + "required": true, + "type": "string", + "maxLength": 200, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-]*$", + "x-ms-parameter-location": "method" + }, + "CredentialSetNameParameter": { + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-]*$", + "x-ms-parameter-location": "method" + }, + "CacheRuleNameParameter": { + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "maxLength": 50, + "minLength": 5, + "pattern": "^[a-zA-Z0-9-]*$", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json index 4e87be6fbefa..43851adf172a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveCreate.json @@ -1,6 +1,11 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "packageType": "rpm", + "archiveName": "myArchiveName", "archiveCreateParameters": { "properties": { "packageSource": { @@ -10,52 +15,45 @@ "publishedVersion": "string", "repositoryEndpointPrefix": "string" } - }, - "archiveName": "myArchiveName", - "packageType": "rpm", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName", + "name": "myArchiveName", "properties": { "packageSource": { "type": "remote", "url": "string" }, - "provisioningState": "Succeeded", "publishedVersion": "string", + "repositoryEndpointPrefix": "string", "repositoryEndpoint": "string", - "repositoryEndpointPrefix": "string" + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + }, "body": { - "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives/myArchiveName", + "name": "myArchiveName", "properties": { "packageSource": { "type": "remote", "url": "string" }, - "provisioningState": "Succeeded", "publishedVersion": "string", + "repositoryEndpointPrefix": "string", "repositoryEndpoint": "string", - "repositoryEndpointPrefix": "string" + "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/operationStatuses/archive-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" } } - }, - "operationId": "Archives_Create", - "title": "ArchiveCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json index f67629416e30..c2e14a168ff5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveDelete.json @@ -1,11 +1,11 @@ { "parameters": { "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "packageType": "myPackageType", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "myPackageType", + "archiveName": "myArchiveName" }, "responses": { "202": { @@ -14,7 +14,5 @@ } }, "204": {} - }, - "operationId": "Archives_Delete", - "title": "ArchiveDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json index 7dab950ae036..4f6d02ffec9b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveGet.json @@ -1,37 +1,35 @@ { "parameters": { "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "packageType": "myPackageType", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "myPackageType", + "archiveName": "myArchiveName" }, "responses": { "200": { "body": { - "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/packages/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", + "name": "myArchiveName", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-02-24T00:13:46.836Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-24T00:13:46.836Z" + }, "properties": { "packageSource": { "type": "string", "url": "string" }, - "provisioningState": "Creating", - "publishedVersion": "string" - }, - "systemData": { - "createdAt": "2023-02-24T00:13:46.836Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:13:46.836Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" + "publishedVersion": "string", + "provisioningState": "Creating" } } } - }, - "operationId": "Archives_Get", - "title": "ArchiveGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json index 9e182e2657b8..e8f025cde669 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveList.json @@ -1,41 +1,39 @@ { "parameters": { "api-version": "2025-05-01-preview", - "packageType": "myPackageType", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "myPackageType" }, "responses": { "200": { "body": { - "nextLink": "string", "value": [ { + "id": "string", "name": "string", "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/string", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-02-24T00:22:47.311Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-24T00:22:47.311Z" + }, "properties": { "packageSource": { "type": "string", "url": "string" }, - "provisioningState": "Creating", - "publishedVersion": "string" - }, - "systemData": { - "createdAt": "2023-02-24T00:22:47.311Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:22:47.311Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" + "publishedVersion": "string", + "provisioningState": "Creating" } } - ] + ], + "nextLink": "string" } } - }, - "operationId": "Archives_List", - "title": "ArchiveList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json index c911674db426..e61b82790090 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveUpdate.json @@ -1,44 +1,42 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "packageType": "myPackageType", "archiveName": "myArchiveName", "archiveUpdateParameters": { "properties": { "publishedVersion": "string" } - }, - "packageType": "myPackageType", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/packages/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", + "name": "myArchiveName", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-06-09T23:41:38.720Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T23:41:38.720Z" + }, "properties": { "packageSource": { "type": "remote", "url": "string" }, - "provisioningState": "Creating", "publishedVersion": "string", + "repositoryEndpointPrefix": "string", "repositoryEndpoint": "string", - "repositoryEndpointPrefix": "string" - }, - "systemData": { - "createdAt": "2023-06-09T23:41:38.720Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2023-06-09T23:41:38.720Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" + "provisioningState": "Creating" } } } - }, - "operationId": "Archives_Update", - "title": "ArchiveUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json index 595455e63980..21f308bf2c07 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionCreate.json @@ -1,38 +1,36 @@ { "parameters": { "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName", - "packageType": "rpm", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "rpm", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName" }, "responses": { "200": { "body": { - "name": "myArchiveVersionName", "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", + "name": "myArchiveVersionName", "properties": { "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archoveversion-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" + }, "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", + "name": "myCacheRule", "properties": { "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName/operationStatuses/archoveversion-00000000-0000-0000-0000-000000000000?api-version=2023-01-01-preview" } } - }, - "operationId": "ArchiveVersions_Create", - "title": "ArchiveVersionCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json index 8c1051b67080..1bb27ba69ff9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionDelete.json @@ -1,12 +1,12 @@ { "parameters": { "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName", - "packageType": "myPackageType", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "myPackageType", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName" }, "responses": { "202": { @@ -15,7 +15,5 @@ } }, "204": {} - }, - "operationId": "ArchiveVersions_Delete", - "title": "ArchiveVersionDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json index bb013af5731f..d454bba6284e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionGet.json @@ -1,34 +1,32 @@ { "parameters": { "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "archiveVersionName": "myArchiveVersionName", - "packageType": "rpm", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "rpm", + "archiveName": "myArchiveName", + "archiveVersionName": "myArchiveVersionName" }, "responses": { "200": { "body": { - "name": "myArchiveName", "type": "Microsoft.ContainerRegistry/registries/packages/archives", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName", - "properties": { - "archiveVersionErrorMessage": "string", - "provisioningState": "Creating" - }, + "name": "myArchiveName", "systemData": { - "createdAt": "2023-02-24T00:13:46.836Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:13:46.836Z", + "createdAt": "2023-02-24T00:13:46.836Z", "lastModifiedBy": "string", - "lastModifiedByType": "User" + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-24T00:13:46.836Z" + }, + "properties": { + "provisioningState": "Creating", + "archiveVersionErrorMessage": "string" } } } - }, - "operationId": "ArchiveVersions_Get", - "title": "ArchiveVersionGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json index 37374210a510..a59f7bab2fac 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ArchiveVersionList.json @@ -1,38 +1,36 @@ { "parameters": { "api-version": "2025-05-01-preview", - "archiveName": "myArchiveName", - "packageType": "myPackageType", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "packageType": "myPackageType", + "archiveName": "myArchiveName" }, "responses": { "200": { "body": { - "nextLink": "string", "value": [ { + "id": "string", "name": "string", "type": "string", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions/string", - "properties": { - "archiveVersionErrorMessage": "string", - "provisioningState": "Creating" - }, "systemData": { - "createdAt": "2023-02-24T00:22:47.311Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2023-02-24T00:22:47.311Z", + "createdAt": "2023-02-24T00:22:47.311Z", "lastModifiedBy": "string", - "lastModifiedByType": "User" + "lastModifiedByType": "User", + "lastModifiedAt": "2023-02-24T00:22:47.311Z" + }, + "properties": { + "provisioningState": "Creating", + "archiveVersionErrorMessage": "string" } } - ] + ], + "nextLink": "string" } } - }, - "operationId": "ArchiveVersions_List", - "title": "ArchiveVersionList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json index 15d97651759e..d802bd9d635b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleCreate.json @@ -1,51 +1,49 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "cacheRuleName": "myCacheRule", "cacheRuleCreateParameters": { "properties": { - "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet" } - }, - "cacheRuleName": "myCacheRule", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Creating", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Creating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "CacheRules_Create", - "title": "CacheRuleCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json index 180b50ec5e9a..6f461b1a81fb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "cacheRuleName": "myCacheRule", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "cacheRuleName": "myCacheRule" }, "responses": { "202": { @@ -13,7 +13,5 @@ } }, "204": {} - }, - "operationId": "CacheRules_Delete", - "title": "CacheRuleDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json index 795d05d83575..aecac6277e9a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleGet.json @@ -1,27 +1,25 @@ { "parameters": { "api-version": "2025-05-01-preview", - "cacheRuleName": "myCacheRule", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "cacheRuleName": "myCacheRule" }, "responses": { "200": { "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" } } } - }, - "operationId": "CacheRules_Get", - "title": "CacheRuleGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json index a1ebf6bbf852..03422d10682c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleList.json @@ -1,30 +1,28 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", - "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" } } ] } } - }, - "operationId": "CacheRules_List", - "title": "CacheRuleList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json index 2a758f6e3b3c..da66d174d016 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CacheRuleUpdate.json @@ -1,49 +1,47 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "cacheRuleName": "myCacheRule", "cacheRuleUpdateParameters": { "properties": { "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2" } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", - "provisioningState": "Succeeded", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { - "name": "myCacheRule", "type": "Microsoft.ContainerRegistry/registries/cacheRules", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", "properties": { - "creationDate": "2022-11-07T18:20:33.8374968+00:00", "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", - "provisioningState": "Updating", "sourceRepository": "docker.io/library/hello-world", - "targetRepository": "cached-docker-hub/hello-world" + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Updating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "CacheRules_Update", - "title": "CacheRuleUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json index 4596ee04805c..d0998932c162 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryCreate.json @@ -1,112 +1,110 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry", "connectedRegistryCreateParameters": { "properties": { + "mode": "ReadWrite", + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } - }, - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", "activation": { "status": "Inactive" }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" + "logLevel": "Information", + "auditLogStatus": "Disabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", "activation": { "status": "Inactive" }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" + "logLevel": "Information", + "auditLogStatus": "Disabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ConnectedRegistries_Create", - "title": "ConnectedRegistryCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json index ab9b692ac5c5..e365d68a1a0e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDeactivate.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry" }, "responses": { "200": {}, @@ -13,7 +13,5 @@ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ConnectedRegistries_Deactivate", - "title": "ConnectedRegistryDeactivate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json index cf1ed7b6641f..3423d52b7d40 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry" }, "responses": { "200": {}, @@ -14,7 +14,5 @@ } }, "204": {} - }, - "operationId": "ConnectedRegistries_Delete", - "title": "ConnectedRegistryDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json index d60be062d298..939ec49a5a9c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryGet.json @@ -1,49 +1,47 @@ { "parameters": { "api-version": "2025-05-01-preview", - "connectedRegistryName": "myConnectedRegistry", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", "activation": { "status": "Inactive" }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" + "logLevel": "Information", + "auditLogStatus": "Disabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } } } - }, - "operationId": "ConnectedRegistries_Get", - "title": "ConnectedRegistryGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json index 86ed11893c08..c47f8ac71a17 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryList.json @@ -1,52 +1,50 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", "activation": { "status": "Inactive" }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Disabled", - "logLevel": "Information" + "logLevel": "Information", + "auditLogStatus": "Disabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P2D", - "schedule": "0 9 * * *", - "syncWindow": "PT3H", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } } ] } } - }, - "operationId": "ConnectedRegistries_List", - "title": "ConnectedRegistryList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json index a77c48efa0d0..d1ed29ed4d64 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ConnectedRegistryUpdate.json @@ -1,109 +1,107 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "connectedRegistryName": "myScopeMap", "connectedRegistryUpdateParameters": { "properties": { + "syncProperties": { + "schedule": "0 0 */10 * *", + "messageTtl": "P30D", + "syncWindow": "P2D" + }, + "logging": { + "logLevel": "Debug", + "auditLogStatus": "Enabled" + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, - "logging": { - "auditLogStatus": "Enabled", - "logLevel": "Debug" - }, "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "syncProperties": { - "messageTtl": "P30D", - "schedule": "0 0 */10 * *", - "syncWindow": "P2D" + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 0 */10 * *", + "messageTtl": "P30D", + "syncWindow": "P2D" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Enabled", - "logLevel": "Debug" + "logLevel": "Debug", + "auditLogStatus": "Enabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P30D", - "schedule": "0 0 */10 * *", - "syncWindow": "P2D", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "name": "myConnectedRegistry", "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", "properties": { + "mode": "ReadWrite", + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 0 */10 * *", + "messageTtl": "P30D", + "syncWindow": "P2D" + } + }, "clientTokenIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" ], - "garbageCollection": { - "enabled": true, - "schedule": "0 5 * * *" - }, "logging": { - "auditLogStatus": "Enabled", - "logLevel": "Debug" + "logLevel": "Debug", + "auditLogStatus": "Enabled" }, - "mode": "ReadWrite", "notificationsList": [ "hello-world:*:*", "sample/repo/*:1.0:*" ], - "parent": { - "syncProperties": { - "messageTtl": "P30D", - "schedule": "0 0 */10 * *", - "syncWindow": "P2D", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken" - } + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ConnectedRegistries_Update", - "title": "ConnectedRegistryUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json index 2a7e52e85421..0aa2f03af132 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetCreate.json @@ -1,85 +1,83 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "credentialSetName": "myCredentialSet", "credentialSetCreateParameters": { - "identity": { - "type": "SystemAssigned" - }, "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password" } - ], - "loginServer": "docker.io" + ] + }, + "identity": { + "type": "SystemAssigned" } - }, - "credentialSetName": "myCredentialSet", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Creating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "CredentialSets_Create", - "title": "CredentialSetCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json index 0485b7340623..e6db7cc9ea48 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "credentialSetName": "myCredentialSet", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "credentialSetName": "myCredentialSet" }, "responses": { "202": { @@ -13,7 +13,5 @@ } }, "204": {} - }, - "operationId": "CredentialSets_Delete", - "title": "CredentialSetDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json index 5e5add0ca9c1..8fab56f071b8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetGet.json @@ -1,40 +1,38 @@ { "parameters": { "api-version": "2025-05-01-preview", - "credentialSetName": "myCredentialSet", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "credentialSetName": "myCredentialSet" }, "responses": { "200": { "body": { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Succeeded" } } } - }, - "operationId": "CredentialSets_Get", - "title": "CredentialSetGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json index 5ad2bbeec727..9d53089cce73 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetList.json @@ -1,43 +1,41 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Succeeded" } } ] } } - }, - "operationId": "CredentialSets_List", - "title": "CredentialSetList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json index 6b2ac1f43f70..c184d116009a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/CredentialSetUpdate.json @@ -1,81 +1,79 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "credentialSetName": "myCredentialSet", "credentialSetUpdateParameters": { "properties": { "authCredentials": [ { "name": "Credential1", - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2" } ] } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { - "name": "myCredentialSet", "type": "Microsoft.ContainerRegistry/registries/credentialSets", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", "identity": { - "type": "SystemAssigned", "principalId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", "properties": { + "loginServer": "docker.io", "authCredentials": [ { "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", "credentialHealth": { "status": "Healthy" - }, - "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", - "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2" + } } ], "creationDate": "2022-11-07T18:20:08.012276+00:00", - "loginServer": "docker.io", "provisioningState": "Updating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "CredentialSets_Update", - "title": "CredentialSetUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json index 78b5837fe76a..09985d940f14 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineCreate.json @@ -1,80 +1,78 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "exportPipelineName": "myExportPipeline", "exportPipelineCreateParameters": { + "location": "westus", "identity": { "type": "SystemAssigned" }, - "location": "westus", "properties": { - "options": [ - "OverwriteBlobs" - ], "target": { "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + "uri": "https://accountname.blob.core.windows.net/containername", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" + }, + "options": [ + "OverwriteBlobs" + ] } - }, - "exportPipelineName": "myExportPipeline", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", "properties": { + "target": { + "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" + }, "options": [ "OverwriteBlobs" ], - "provisioningState": "Succeeded", - "target": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", "properties": { + "target": { + "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" + }, "options": [ "OverwriteBlobs" ], - "provisioningState": "Succeeded", - "target": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline/operationStatuses/exportpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ExportPipelines_Create", - "title": "ExportPipelineCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json index 1283d89c59e1..1b2066242804 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "exportPipelineName": "myExportPipeline", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "exportPipelineName": "myExportPipeline" }, "responses": { "200": {}, @@ -14,7 +14,5 @@ } }, "204": {} - }, - "operationId": "ExportPipelines_Delete", - "title": "ExportPipelineDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json index 7ac9e28d63c3..bf89f0c77e53 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineGet.json @@ -1,37 +1,35 @@ { "parameters": { "api-version": "2025-05-01-preview", - "exportPipelineName": "myExportPipeline", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "exportPipelineName": "myExportPipeline" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", "properties": { + "target": { + "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" + }, "options": [ "OverwriteBlobs" ], - "provisioningState": "Succeeded", - "target": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" } } } - }, - "operationId": "ExportPipelines_Get", - "title": "ExportPipelineGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json index bfa3a065a55b..a609807c6799 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ExportPipelineList.json @@ -1,40 +1,38 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", "name": "myExportPipeline", "type": "Microsoft.ContainerRegistry/registries/exportPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "identity": { - "type": "SystemAssigned", - "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", - "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd" - }, - "location": "westus", "properties": { + "target": { + "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" + }, "options": [ "OverwriteBlobs" ], - "provisioningState": "Succeeded", - "target": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v", + "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd", + "type": "SystemAssigned" } } ] } } - }, - "operationId": "ExportPipelines_List", - "title": "ExportPipelineList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json index a3d19b55cf9e..f3d4d298473c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByManifestDigest.json @@ -1,8 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "parameters": { - "mode": "Force", "source": { "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000" @@ -12,11 +14,9 @@ ], "untaggedTargetRepositories": [ "targetRepository1" - ] - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + ], + "mode": "Force" + } }, "responses": { "200": {}, @@ -25,7 +25,5 @@ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Registries_ImportImage", - "title": "ImportImageByManifestDigest" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json index ea6b6213a92a..08216662dce3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageByTag.json @@ -1,8 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "parameters": { - "mode": "Force", "source": { "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", "sourceImage": "sourceRepository:sourceTag" @@ -12,11 +14,9 @@ ], "untaggedTargetRepositories": [ "targetRepository1" - ] - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + ], + "mode": "Force" + } }, "responses": { "200": {}, @@ -25,7 +25,5 @@ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Registries_ImportImage", - "title": "ImportImageByTag" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json index 9e1550853b6b..5fe5bfdcd1f4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportImageFromPublicRegistry.json @@ -1,8 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "parameters": { - "mode": "Force", "source": { "registryUri": "registry.hub.docker.com", "sourceImage": "library/hello-world" @@ -12,11 +14,9 @@ ], "untaggedTargetRepositories": [ "targetRepository1" - ] - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + ], + "mode": "Force" + } }, "responses": { "200": {}, @@ -25,7 +25,5 @@ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Registries_ImportImage", - "title": "ImportImageFromPublicRegistry" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json index 72e6cb291fb0..dd6b715ed250 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineCreate.json @@ -1,73 +1,57 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "importPipelineName": "myImportPipeline", "importPipelineCreateParameters": { + "location": "westus", "identity": { "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} } }, - "location": "westus", "properties": { + "source": { + "type": "AzureStorageBlobContainer", + "uri": "https://accountname.blob.core.windows.net/containername", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" + }, "options": [ "OverwriteTags", "DeleteSourceBlobOnSuccess", "ContinueOnErrors" - ], - "source": { - "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" - } + ] } - }, - "importPipelineName": "myImportPipeline", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "name": "myImportPipeline", "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } - } - }, - "location": "westus", "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" + "uri": "https://accountname.blob.core.windows.net/containername", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" }, "trigger": { "sourceTrigger": { "status": "Enabled" } - } - } - } - }, - "201": { - "body": { - "name": "myImportPipeline", - "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + }, + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", "identity": { "type": "UserAssigned", "userAssignedIdentities": { @@ -76,32 +60,46 @@ "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" } } - }, - "location": "westus", + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", + "name": "myImportPipeline", + "type": "Microsoft.ContainerRegistry/registries/importPipelines", "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" + "uri": "https://accountname.blob.core.windows.net/containername", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" }, "trigger": { "sourceTrigger": { "status": "Enabled" } + }, + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline/operationStatuses/importpipelines-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ImportPipelines_Create", - "title": "ImportPipelineCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json index 18a454dacfaf..635e29c38f06 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "importPipelineName": "myImportPipeline", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "importPipelineName": "myImportPipeline" }, "responses": { "200": {}, @@ -14,7 +14,5 @@ } }, "204": {} - }, - "operationId": "ImportPipelines_Delete", - "title": "ImportPipelineDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json index ed72e9e14d54..8004f8b8259a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineGet.json @@ -1,48 +1,46 @@ { "parameters": { "api-version": "2025-05-01-preview", - "importPipelineName": "myImportPipeline", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "importPipelineName": "myImportPipeline" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "name": "myImportPipeline", "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } - } - }, - "location": "westus", "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" + "uri": "https://accountname.blob.core.windows.net/containername", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" }, "trigger": { "sourceTrigger": { "status": "Enabled" } + }, + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } } } } } - }, - "operationId": "ImportPipelines_Get", - "title": "ImportPipelineGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json index 5376577e59f4..2387cf5c33d9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ImportPipelineList.json @@ -1,51 +1,49 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "name": "myImportPipeline", "type": "Microsoft.ContainerRegistry/registries/importPipelines", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { - "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", - "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" - } - } - }, - "location": "westus", "properties": { - "options": [ - "OverwriteTags", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "provisioningState": "Succeeded", "source": { "type": "AzureStorageBlobContainer", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername" + "uri": "https://accountname.blob.core.windows.net/containername", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" }, "trigger": { "sourceTrigger": { "status": "Enabled" } + }, + "options": [ + "OverwriteTags", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "provisioningState": "Succeeded" + }, + "location": "westus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e", + "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466" + } } } } ] } } - }, - "operationId": "ImportPipelines_List", - "title": "ImportPipelineList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json index a73afe99e923..c32b7f5873e1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/OperationList.json @@ -9,16 +9,14 @@ { "name": "Microsoft.ContainerRegistry/locations/deleteVirtualNetworkOrSubnets/action", "display": { - "description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted", - "operation": "Delete virtual network or subnets notifications", "provider": "Microsoft ContainerRegistry", - "resource": "" + "resource": "", + "operation": "Delete virtual network or subnets notifications", + "description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted" } } ] } } - }, - "operationId": "Operations_List", - "title": "OperationList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json index 3f40494c5e98..5db6bf4ea7c8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Export.json @@ -1,91 +1,89 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "pipelineRunName": "myPipelineRun", "pipelineRunCreateParameters": { "properties": { "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "target": { + "type": "AzureStorageBlob", + "name": "myblob.tar.gz" + }, "artifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", - "target": { - "name": "myblob.tar.gz", - "type": "AzureStorageBlob" - } + ] } } - }, - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ] + }, "response": { + "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", "target": { "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" } }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ] + }, "response": { + "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", "target": { "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" } }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } + "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "PipelineRuns_Create", - "title": "PipelineRunCreate_Export" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json index 43777a6f3e64..15d37848f2b6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunCreate_Import.json @@ -1,90 +1,88 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "pipelineRunName": "myPipelineRun", "pipelineRunCreateParameters": { "properties": { - "forceUpdateTag": "2020-03-04T17:23:21.9261521+00:00", "request": { - "catalogDigest": "sha256@", "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline", "source": { - "name": "myblob.tar.gz", - "type": "AzureStorageBlob" - } - } + "type": "AzureStorageBlob", + "name": "myblob.tar.gz" + }, + "catalogDigest": "sha256@" + }, + "forceUpdateTag": "2020-03-04T17:23:21.9261521+00:00" } - }, - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + }, "response": { - "catalogDigest": "sha256@", + "status": "Succeeded", + "progress": { + "percentage": "100" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", "importedArtifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" ], - "progress": { - "percentage": "100" - }, "source": { "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Succeeded" + "catalogDigest": "sha256@" }, - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - } + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + }, "response": { - "catalogDigest": "sha256@", + "status": "Succeeded", + "progress": { + "percentage": "100" + }, + "startTime": "2020-03-04T17:23:21.9261521+00:00", "finishTime": "2020-03-04T17:25:21.9261521+00:00", "importedArtifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" ], - "progress": { - "percentage": "100" - }, "source": { "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" }, - "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Succeeded" + "catalogDigest": "sha256@" }, - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - } + "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun/operationStatuses/pipelineruns-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "PipelineRuns_Create", - "title": "PipelineRunCreate_Import" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json index 0cc8feb90596..5c8731d62a08 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "pipelineRunName": "myPipelineRun" }, "responses": { "200": {}, @@ -14,7 +14,5 @@ } }, "204": {} - }, - "operationId": "PipelineRuns_Delete", - "title": "PipelineRunDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json index dd5ee1b757fe..7b32ba4e2c48 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunGet.json @@ -1,43 +1,41 @@ { "parameters": { "api-version": "2025-05-01-preview", - "pipelineRunName": "myPipelineRun", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "pipelineRunName": "myPipelineRun" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ] + }, "response": { + "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", "target": { "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" } }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } + "provisioningState": "Succeeded" } } } - }, - "operationId": "PipelineRuns_Get", - "title": "PipelineRunGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json index f403fb76ac7e..754fc109399a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PipelineRunList.json @@ -1,74 +1,72 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", + "artifacts": [ + "sourceRepository/hello-world", + "sourceRepository2@sha256:00000000000000000000000000000000000" + ] + }, "response": { + "status": "Running", "catalogDigest": "sha256@", "progress": { "percentage": "20" }, "startTime": "2020-03-04T17:23:21.9261521+00:00", - "status": "Running", "target": { "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" } }, - "request": { - "artifacts": [ - "sourceRepository/hello-world", - "sourceRepository2@sha256:00000000000000000000000000000000000" - ], - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline" - } + "provisioningState": "Succeeded" } }, { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "name": "myPipelineRun", "type": "Microsoft.ContainerRegistry/registries/pipelineRuns", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/pipelineRuns/myPipelineRun", "properties": { - "provisioningState": "Succeeded", + "request": { + "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" + }, "response": { - "catalogDigest": "sha256@", + "status": "Succeeded", + "progress": { + "percentage": "100" + }, + "startTime": "2020-03-03T17:23:21.9261521+00:00", "importedArtifacts": [ "sourceRepository/hello-world", "sourceRepository2@sha256:00000000000000000000000000000000000" ], - "progress": { - "percentage": "100" - }, "source": { "type": "AzureStorageBlob", - "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas", - "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz" + "uri": "https://accountname.blob.core.windows.net/containername/myblob.tar.gz", + "keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas" }, - "startTime": "2020-03-03T17:23:21.9261521+00:00", - "status": "Succeeded" + "catalogDigest": "sha256@" }, - "request": { - "pipelineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline" - } + "provisioningState": "Succeeded" } } ] } } - }, - "operationId": "PipelineRuns_List", - "title": "PipelineRunList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json index b36f46966f1d..2bb39e227f3a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json @@ -1,60 +1,58 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "privateEndpointConnectionName": "myConnection", "privateEndpointConnection": { "properties": { "privateLinkServiceConnectionState": { - "description": "Auto-Approved", - "status": "Approved" + "status": "Approved", + "description": "Auto-Approved" } } - }, - "privateEndpointConnectionName": "myConnection", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { + "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { + "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" + "actionsRequired": "None" + } } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { + "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { + "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" + "actionsRequired": "None" + } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "title": "PrivateEndpointConnectionCreateOrUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json index 6158a754d031..1ee6967f3e1e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "privateEndpointConnectionName": "myConnection", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "privateEndpointConnectionName": "myConnection" }, "responses": { "200": {}, @@ -14,7 +14,5 @@ } }, "204": {} - }, - "operationId": "PrivateEndpointConnections_Delete", - "title": "PrivateEndpointConnectionDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json index e6090563538e..0defe27c7f42 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionGet.json @@ -1,31 +1,29 @@ { "parameters": { "api-version": "2025-05-01-preview", - "privateEndpointConnectionName": "myConnection", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "privateEndpointConnectionName": "myConnection" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { + "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { + "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" + "actionsRequired": "None" + } } } } - }, - "operationId": "PrivateEndpointConnections_Get", - "title": "PrivateEndpointConnectionGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json index 73b700233b7b..59d6dee7955b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/PrivateEndpointConnectionList.json @@ -1,34 +1,32 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "name": "myConnection", "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", "properties": { + "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" }, "privateLinkServiceConnectionState": { + "status": "Approved", "description": "Auto-Approved", - "actionsRequired": "None", - "status": "Approved" - }, - "provisioningState": "Succeeded" + "actionsRequired": "None" + } } } ] } } - }, - "operationId": "PrivateEndpointConnections_List", - "title": "PrivateEndpointConnectionList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json index 7e8b704af0bb..836311f59ed9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameAvailable.json @@ -1,13 +1,13 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "registryNameCheckRequest": { "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", - "resourceGroupName": "myResourceGroup" - }, - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "resourceGroupName": "myResourceGroup", + "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse" + } }, "responses": { "200": { @@ -16,7 +16,5 @@ "nameAvailable": true } } - }, - "operationId": "Registries_CheckNameAvailability", - "title": "RegistryCheckNameAvailable" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json index 1a7f8357e425..a946137bc2b8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCheckNameNotAvailable.json @@ -1,23 +1,21 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "registryNameCheckRequest": { "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse", - "resourceGroupName": "myResourceGroup" - }, - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "resourceGroupName": "myResourceGroup", + "autoGeneratedDomainNameLabelScope": "ResourceGroupReuse" + } }, "responses": { "200": { "body": { - "message": "The registry myRegistry is already in use.", "nameAvailable": false, - "reason": "AlreadyExists" + "reason": "AlreadyExists", + "message": "The registry myRegistry is already in use." } } - }, - "operationId": "Registries_CheckNameAvailability", - "title": "RegistryCheckNameNotAvailable" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json index abad6fa46b28..ad9876b21453 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreate.json @@ -1,138 +1,136 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "registry": { "location": "westus", - "properties": { - "adminUserEnabled": true + "tags": { + "key": "value" }, "sku": { "name": "Standard" }, - "tags": { - "key": "value" + "properties": { + "adminUserEnabled": true } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, "loginServer": "myRegistry.azurecr.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } }, "201": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, "loginServer": "myRegistry.azurecr.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Creating", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } } - }, - "operationId": "Registries_Create", - "title": "RegistryCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json index 50d7b1010bc5..6ebe4a1dbd90 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateAbac.json @@ -1,138 +1,136 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "registry": { "location": "westus", - "properties": { - "roleAssignmentMode": "AbacRepositoryPermissions" + "tags": { + "key": "value" }, "sku": { "name": "Standard" }, - "tags": { - "key": "value" + "properties": { + "roleAssignmentMode": "AbacRepositoryPermissions" } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, "loginServer": "myRegistry.azurecr.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "AbacRepositoryPermissions" } } }, "201": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, "loginServer": "myRegistry.azurecr.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Creating", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "AbacRepositoryPermissions" } } } - }, - "operationId": "Registries_Create", - "title": "RegistryCreateAbac" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json index 2b63b773d6fa..cbfb6e79dd72 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateDomainNameLabelScope.json @@ -1,138 +1,136 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "registry": { "location": "westus", - "properties": { - "autoGeneratedDomainNameLabelScope": "TenantReuse" + "tags": { + "key": "value" }, "sku": { "name": "Standard" }, - "tags": { - "key": "value" + "properties": { + "autoGeneratedDomainNameLabelScope": "TenantReuse" } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "TenantReuse", + "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Succeeded", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "roleAssignmentMode": "LegacyRegistryPermissions" } } }, "201": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "TenantReuse", + "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr.io", "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, - "loginServer": "myRegistry-a1b2c3d4e5f6.azurecr-test.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "provisioningState": "Creating", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "roleAssignmentMode": "LegacyRegistryPermissions" } } } - }, - "operationId": "Registries_Create", - "title": "RegistryCreateDomainNameLabelScope" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json index 286bce9f6312..38183602765d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryCreateZoneRedundant.json @@ -1,141 +1,139 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "registry": { "location": "westus", - "properties": { - "zoneRedundancy": "Enabled" + "tags": { + "key": "value" }, "sku": { "name": "Standard" }, - "tags": { - "key": "value" + "properties": { + "zoneRedundancy": "Enabled" } - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, "loginServer": "myRegistry.azurecr.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Enabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Enabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, "loginServer": "myRegistry.azurecr.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Creating", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Creating", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Enabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Enabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Registries_Create", - "title": "RegistryCreateZoneRedundant" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json index fb02db6d63ff..8a5db5e5f87c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryDelete.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": {}, @@ -13,7 +13,5 @@ } }, "204": {} - }, - "operationId": "Registries_Delete", - "title": "RegistryDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json index 08e32ea8a936..6331d594f65a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGenerateCredentials.json @@ -1,30 +1,30 @@ { "parameters": { "api-version": "2025-05-01-preview", - "generateCredentialsParameters": { - "expiry": "2020-12-31T15:59:59.0707808Z", - "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken" - }, - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "generateCredentialsParameters": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "expiry": "2020-12-31T15:59:59.0707808Z" + } }, "responses": { "200": { "body": { + "username": "myToken", "passwords": [ { - "name": "password1", "expiry": "2020-12-31T15:59:59.0707808Z", + "name": "password1", "value": "00000000000000000000000000000000" }, { - "name": "password2", "expiry": "2020-12-31T15:59:59.0707808Z", + "name": "password2", "value": "00000000000000000000000000000000" } - ], - "username": "myToken" + ] } }, "202": { @@ -32,7 +32,5 @@ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Registries_GenerateCredentials", - "title": "RegistryGenerateCredentials" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json index aae2edaf7639..7865ebf449de 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGet.json @@ -1,69 +1,67 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, "loginServer": "myRegistry.azurecr.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } } - }, - "operationId": "Registries_Get", - "title": "RegistryGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json index 911a7dc8aa90..78a194e7ec0b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryGetPrivateLinkResource.json @@ -1,17 +1,17 @@ { "parameters": { "api-version": "2025-05-01-preview", - "groupName": "registry", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "groupName": "registry" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "name": "registry", "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "properties": { "groupId": "registry", "requiredMembers": [ @@ -24,7 +24,5 @@ } } } - }, - "operationId": "Registries_GetPrivateLinkResource", - "title": "RegistryGetPrivateLinkResource" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json index 9e2ec0235521..1d79d0099ffc 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryList.json @@ -8,64 +8,62 @@ "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, "loginServer": "myRegistry.azurecr.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } ] } } - }, - "operationId": "Registries_List", - "title": "RegistryList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json index c62045a3d39a..48775625132a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListByResourceGroup.json @@ -1,72 +1,70 @@ { "parameters": { "api-version": "2025-05-01-preview", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": false, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, "loginServer": "myRegistry.azurecr.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": false, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "LegacyRegistryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "LegacyRegistryPermissions" } } ] } } - }, - "operationId": "Registries_ListByResourceGroup", - "title": "RegistryListByResourceGroup" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json index a6eeacf7a39f..a7bf7c2b39a8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListCredentials.json @@ -1,13 +1,14 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { + "username": "myRegistry", "passwords": [ { "name": "password", @@ -17,11 +18,8 @@ "name": "password2", "value": "00000000000000000000000000000000" } - ], - "username": "myRegistry" + ] } } - }, - "operationId": "Registries_ListCredentials", - "title": "RegistryListCredentials" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json index 01065f5ca67a..9814c983f899 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListPrivateLinkResources.json @@ -1,18 +1,18 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "name": "registry", "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", "properties": { "groupId": "registry", "requiredMembers": [ @@ -27,7 +27,5 @@ ] } } - }, - "operationId": "Registries_ListPrivateLinkResources", - "title": "RegistryListPrivateLinkResources" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json index 7e43413f4f16..11b98a2c095b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryListUsages.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { @@ -11,20 +11,18 @@ "value": [ { "name": "Size", - "currentValue": 12345678, "limit": 107374182400, + "currentValue": 12345678, "unit": "Bytes" }, { "name": "Webhooks", - "currentValue": 2, "limit": 10, + "currentValue": 2, "unit": "Count" } ] } } - }, - "operationId": "Registries_ListUsages", - "title": "RegistryListUsages" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json index d79ddb3a266a..b77f9278af57 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryRegenerateCredential.json @@ -1,16 +1,17 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "regenerateCredentialParameters": { "name": "password" - }, - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "username": "myRegistry", "passwords": [ { "name": "password", @@ -20,11 +21,8 @@ "name": "password2", "value": "00000000000000000000000000000000" } - ], - "username": "myRegistry" + ] } } - }, - "operationId": "Registries_RegenerateCredential", - "title": "RegistryRegenerateCredential" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json index a2a157fc0ec8..af91f3f417e4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/RegistryUpdate.json @@ -1,141 +1,139 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", "registryUpdateParameters": { - "properties": { - "adminUserEnabled": true, - "roleAssignmentMode": "AbacRepositoryPermissions" + "tags": { + "key": "value" }, "sku": { "name": "Standard" }, - "tags": { - "key": "value" + "properties": { + "adminUserEnabled": true, + "roleAssignmentMode": "AbacRepositoryPermissions" } - }, - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, "loginServer": "myRegistry.azurecr.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "AbacRepositoryPermissions" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "name": "myRegistry", "type": "Microsoft.ContainerRegistry/registries", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, "properties": { - "adminUserEnabled": true, - "anonymousPullEnabled": false, - "autoGeneratedDomainNameLabelScope": "Unsecure", - "creationDate": "2021-06-15T21:38:26.1537861Z", - "dataEndpointEnabled": false, - "dataEndpointHostNames": [], - "encryption": { - "status": "disabled" - }, "loginServer": "myRegistry.azurecr.io", - "metadataSearch": "Disabled", - "networkRuleBypassAllowedForTasks": false, - "networkRuleBypassOptions": "AzureServices", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Updating", + "adminUserEnabled": true, "networkRuleSet": { "defaultAction": "Allow", "ipRules": [] }, "policies": { - "exportPolicy": { - "status": "enabled" - }, "quarantinePolicy": { "status": "disabled" }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, "retentionPolicy": { "days": 7, "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", "status": "disabled" }, - "trustPolicy": { - "type": "Notary", - "status": "disabled" + "exportPolicy": { + "status": "enabled" } }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], "privateEndpointConnections": [], - "provisioningState": "Updating", "publicNetworkAccess": "Enabled", - "roleAssignmentMode": "AbacRepositoryPermissions", - "status": null, - "zoneRedundancy": "Disabled" - }, - "sku": { - "name": "Standard", - "tier": "Standard" - }, - "tags": { - "key": "value" + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "metadataSearch": "Disabled", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "roleAssignmentMode": "AbacRepositoryPermissions" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Registries_Update", - "title": "RegistryUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json index 61692b0c0418..6b2138ab76b6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreate.json @@ -1,64 +1,62 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "replicationName": "myReplication", "replication": { "location": "eastus", "tags": { "key": "value" } - }, - "replicationName": "myReplication", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Succeeded", - "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Creating", - "regionEndpointEnabled": true, "status": { "displayStatus": "Provisioning", "message": "The replication is provisioning.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Replications_Create", - "title": "ReplicationCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json index f4533343c6a1..6cc50e1dc3dd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationCreateZoneRedundant.json @@ -1,68 +1,66 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", + "replicationName": "myReplication", "replication": { "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "regionEndpointEnabled": true, "zoneRedundancy": "Enabled" - }, - "tags": { - "key": "value" } - }, - "replicationName": "myReplication", - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Succeeded", - "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Enabled" - }, - "tags": { - "key": "value" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Creating", - "regionEndpointEnabled": true, "status": { "displayStatus": "Provisioning", "message": "The replication is provisioning.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Enabled" - }, - "tags": { - "key": "value" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Replications_Create", - "title": "ReplicationCreateZoneRedundant" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json index 48176d553356..af826948601e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "replicationName": "myReplication", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "replicationName": "myReplication" }, "responses": { "200": {}, @@ -14,7 +14,5 @@ } }, "204": {} - }, - "operationId": "Replications_Delete", - "title": "ReplicationDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json index 3fceb2142447..453c2c1aba2d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationGet.json @@ -1,34 +1,32 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "replicationName": "myReplication", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "replicationName": "myReplication" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Succeeded", - "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } } } - }, - "operationId": "Replications_Get", - "title": "ReplicationGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json index 7d8d98237982..445a91470610 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationList.json @@ -1,37 +1,35 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Succeeded", - "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } } ] } } - }, - "operationId": "Replications_List", - "title": "ReplicationList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json index 164eb88ab757..4a00d02a7699 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ReplicationUpdate.json @@ -1,63 +1,61 @@ { "parameters": { "api-version": "2025-05-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", "registryName": "myRegistry", "replicationName": "myReplication", "replicationUpdateParameters": { "tags": { "key": "value" } - }, - "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Succeeded", - "regionEndpointEnabled": true, "status": { "displayStatus": "Ready", "message": "The replication is ready.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "name": "myReplication", "type": "Microsoft.ContainerRegistry/registries/replications", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", "location": "eastus", + "tags": { + "key": "value" + }, "properties": { "provisioningState": "Updating", - "regionEndpointEnabled": true, "status": { "displayStatus": "Provisioning", "message": "The replication is provisioning.", "timestamp": "2017-03-01T23:15:37.0707808Z" }, + "regionEndpointEnabled": true, "zoneRedundancy": "Disabled" - }, - "tags": { - "key": "value" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Replications_Update", - "title": "ReplicationUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json index f105830b700e..9c3ebb6cb8bb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapCreate.json @@ -1,8 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "scopeMapName": "myScopeMap", "scopeMapCreateParameters": { "properties": { "description": "Developer Scopes", @@ -11,47 +13,43 @@ "repositories/myrepository/delete" ] } - }, - "scopeMapName": "myScopeMap", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ScopeMaps_Create", - "title": "ScopeMapCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json index 52da9758db99..518b23f780e5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapDelete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "scopeMapName": "myScopeMap", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "scopeMapName": "myScopeMap" }, "responses": { "200": {}, @@ -14,7 +14,5 @@ } }, "204": {} - }, - "operationId": "ScopeMaps_Delete", - "title": "ScopeMapDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json index 1b56ae9e1460..f4fb930db211 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapGet.json @@ -1,29 +1,27 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "scopeMapName": "myScopeMap", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry", + "scopeMapName": "myScopeMap" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } } - }, - "operationId": "ScopeMaps_Get", - "title": "ScopeMapGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json index 5924f9a604ab..c966c1556d47 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapList.json @@ -1,32 +1,30 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/delete" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } ] } } - }, - "operationId": "ScopeMaps_List", - "title": "ScopeMapList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json index 4e11886c2b68..17d4d48ddef2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/ScopeMapUpdate.json @@ -1,8 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "scopeMapName": "myScopeMap", "scopeMapUpdateParameters": { "properties": { @@ -12,46 +13,43 @@ "repositories/myrepository/contentRead" ] } - }, - "subscriptionId": "00000000-0000-0000-0000-000000000000" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/contentRead" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "name": "myScopeMap", "type": "Microsoft.ContainerRegistry/registries/scopeMaps", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", "type": "IsUserDefined", "actions": [ "repositories/myrepository/contentWrite", "repositories/myrepository/contentRead" ], - "creationDate": "2017-03-01T23:14:37.0707808Z", "provisioningState": "Succeeded" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "ScopeMaps_Update", - "title": "ScopeMapUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json index 84f11348e076..52eab850634e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenCreate.json @@ -1,11 +1,14 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "tokenName": "myToken", "tokenCreateParameters": { "properties": { + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled", "credentials": { "certificates": [ { @@ -13,62 +16,57 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - }, - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "disabled" + } } - }, - "tokenName": "myToken" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "disabled", "credentials": { "certificates": [ { "name": "certificate1", - "expiry": "2020-12-04T15:32:48.0707808Z", - "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", + "expiry": "2020-12-04T15:32:48.0707808Z" } ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "disabled" + } } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "disabled", "credentials": { "certificates": [ { "name": "certificate1", - "expiry": "2020-12-04T15:32:48.0707808Z", - "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7" + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", + "expiry": "2020-12-04T15:32:48.0707808Z" } ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", - "status": "disabled" + } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Tokens_Create", - "title": "TokenCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json index 165b8546f252..38cb6fdceeb1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenDelete.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "tokenName": "myToken" }, "responses": { @@ -14,7 +14,5 @@ } }, "204": {} - }, - "operationId": "Tokens_Delete", - "title": "TokenDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json index 26890b9160d8..a6297896d1f5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenGet.json @@ -1,26 +1,24 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "tokenName": "myToken" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded", "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", "status": "enabled" } } } - }, - "operationId": "Tokens_Get", - "title": "TokenGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json index 8afa51829971..c6ea3ac5c7c6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenList.json @@ -1,29 +1,27 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", - "provisioningState": "Succeeded", "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", "status": "enabled" } } ] } } - }, - "operationId": "Tokens_List", - "title": "TokenList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json index 0252f32007d8..ffe40c97359a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/TokenUpdate.json @@ -1,12 +1,13 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "tokenName": "myToken", "tokenUpdateParameters": { "properties": { + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", "credentials": { "certificates": [ { @@ -14,19 +15,21 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - }, - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap" + } } } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "provisioningState": "Succeeded", + "status": "enabled", "credentials": { "certificates": [ { @@ -34,20 +37,23 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", - "status": "enabled" + } } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "name": "myToken", "type": "Microsoft.ContainerRegistry/registries/tokens", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", "properties": { "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "provisioningState": "Succeeded", + "status": "enabled", "credentials": { "certificates": [ { @@ -55,17 +61,9 @@ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" } ] - }, - "provisioningState": "Succeeded", - "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", - "status": "enabled" + } } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Tokens_Update", - "title": "TokenUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json index f95ad3127ec2..a1f54f8ccc8c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookCreate.json @@ -1,71 +1,69 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook", "webhookCreateParameters": { "location": "westus", + "tags": { + "key": "value" + }, "properties": { - "actions": [ - "push" - ], + "serviceUri": "http://myservice.com", "customHeaders": { "Authorization": "******" }, + "status": "enabled", "scope": "myRepository", - "serviceUri": "http://myservice.com", - "status": "enabled" - }, - "tags": { - "key": "value" + "actions": [ + "push" + ] } - }, - "webhookName": "myWebhook" + } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Creating", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Creating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Webhooks_Create", - "title": "WebhookCreate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json index f54f7f314d65..7f1d4c9594b8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookDelete.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook" }, "responses": { @@ -14,7 +14,5 @@ } }, "204": {} - }, - "operationId": "Webhooks_Delete", - "title": "WebhookDelete" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json index 23e83c6fb87f..676b60fe5db3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGet.json @@ -1,32 +1,30 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook" }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Succeeded" } } } - }, - "operationId": "Webhooks_Get", - "title": "WebhookGet" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json index 0ba015e0ab6e..9113727cce1f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookGetCallbackConfig.json @@ -1,21 +1,19 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook" }, "responses": { "200": { "body": { + "serviceUri": "http://myservice.com", "customHeaders": { "Authorization": "******" - }, - "serviceUri": "http://myservice.com" + } } } - }, - "operationId": "Webhooks_GetCallbackConfig", - "title": "WebhookGetCallbackConfig" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json index 367d8cbe2497..39379704f815 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookList.json @@ -1,35 +1,33 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000" + "registryName": "myRegistry" }, "responses": { "200": { "body": { "value": [ { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Succeeded" } } ] } } - }, - "operationId": "Webhooks_List", - "title": "WebhookList" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json index ee94bcb8d180..3169cc37ed95 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookListEvents.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook" }, "responses": { @@ -11,39 +11,40 @@ "body": { "value": [ { + "id": "00000000-0000-0000-0000-000000000000", "eventRequestMessage": { - "method": "POST", "content": { - "action": "push", - "actor": {}, "id": "00000000-0000-0000-0000-000000000000", - "source": { - "addr": "xtal.local:5000", - "instanceID": "00000000-0000-0000-0000-000000000000" - }, + "timestamp": "2017-03-01T23:14:37.0707808Z", + "action": "push", "target": { + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "size": 708, "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", "length": 708, - "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "repository": "hello-world", - "size": 708, - "tag": "latest", - "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf" + "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", + "tag": "latest" }, - "timestamp": "2017-03-01T23:14:37.0707808Z", "request": { - "method": "GET", + "id": "00000000-0000-0000-0000-000000000000", "addr": "192.168.64.11:42961", "host": "192.168.100.227:5000", - "id": "00000000-0000-0000-0000-000000000000", + "method": "GET", "useragent": "curl/7.38.0" + }, + "actor": {}, + "source": { + "addr": "xtal.local:5000", + "instanceID": "00000000-0000-0000-0000-000000000000" } }, "headers": { - "Authorization": "******", + "Content-Type": "application/json", "Content-Length": "719", - "Content-Type": "application/json" + "Authorization": "******" }, + "method": "POST", "requestUri": "http://myservice.com", "version": "1.1" }, @@ -53,13 +54,10 @@ }, "statusCode": "200", "version": "1.1" - }, - "id": "00000000-0000-0000-0000-000000000000" + } } ] } } - }, - "operationId": "Webhooks_ListEvents", - "title": "WebhookListEvents" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json index 491def0ded42..07dfe63d2cee 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookPing.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook" }, "responses": { @@ -12,7 +12,5 @@ "id": "00000000-0000-0000-0000-000000000000" } } - }, - "operationId": "Webhooks_Ping", - "title": "WebhookPing" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json index 2f380143661d..f61f876b8703 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-05-01-preview/examples/WebhookUpdate.json @@ -1,70 +1,68 @@ { "parameters": { "api-version": "2025-05-01-preview", - "registryName": "myRegistry", - "resourceGroupName": "myResourceGroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", "webhookName": "myWebhook", "webhookUpdateParameters": { + "tags": { + "key": "value" + }, "properties": { - "actions": [ - "push" - ], + "serviceUri": "http://myservice.com", "customHeaders": { "Authorization": "******" }, + "status": "enabled", "scope": "myRepository", - "serviceUri": "http://myservice.com", - "status": "enabled" - }, - "tags": { - "key": "value" + "actions": [ + "push" + ] } } }, "responses": { "200": { "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Succeeded", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Succeeded" } } }, "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" + }, "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "name": "myWebhook", "type": "Microsoft.ContainerRegistry/registries/webhooks", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", "location": "westus", + "tags": { + "key": "value" + }, "properties": { + "status": "enabled", + "scope": "myRepository", "actions": [ "push" ], - "provisioningState": "Updating", - "scope": "myRepository", - "status": "enabled" - }, - "tags": { - "key": "value" + "provisioningState": "Updating" } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-05-01-preview" } } - }, - "operationId": "Webhooks_Update", - "title": "WebhookUpdate" + } } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json index 09d78b9024a7..2edad66516a0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json @@ -1,61 +1,123 @@ { "swagger": "2.0", "info": { + "title": "ContainerRegistryManagementClient", "version": "2025-06-01-preview", - "title": "ContainerRegistryManagementClient" + "description": "The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Archives" + }, + { + "name": "Registries" + }, + { + "name": "ArchiveVersions" + }, + { + "name": "CacheRules" + }, + { + "name": "ConnectedRegistries" + }, + { + "name": "CredentialSets" + }, + { + "name": "ExportPipelines" + }, + { + "name": "PrivateLinkResources" + }, + { + "name": "ImportPipelines" + }, + { + "name": "PipelineRuns" + }, + { + "name": "PrivateEndpointConnections" + }, + { + "name": "Replications" + }, + { + "name": "ScopeMaps" + }, + { + "name": "Tokens" + }, + { + "name": "Webhooks" + } + ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { + "/providers/Microsoft.ContainerRegistry/operations": { "get": { + "operationId": "Operations_List", "tags": [ - "Archives" + "Operations" ], - "description": "Lists all archives for the specified container registry and package type.", - "operationId": "Archives_List", + "description": "List the operations for the provider", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ArchiveListResult" + "$ref": "#/definitions/OperationListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveList": { - "$ref": "./examples/ArchiveList.json" + "OperationList": { + "$ref": "./examples/OperationList.json" } }, "x-ms-pageable": { @@ -63,13 +125,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { - "get": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { + "post": { + "operationId": "Registries_CheckNameAvailability", "tags": [ - "Archives" + "Registries" ], - "description": "Gets the properties of the archive.", - "operationId": "Archives_Get", + "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -78,114 +140,85 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" + "name": "registryNameCheckRequest", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryNameCheckRequest" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/Archive" + "$ref": "#/definitions/RegistryNameStatus" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveGet": { - "$ref": "./examples/ArchiveGet.json" + "RegistryCheckNameAvailable": { + "$ref": "./examples/RegistryCheckNameAvailable.json" + }, + "RegistryCheckNameNotAvailable": { + "$ref": "./examples/RegistryCheckNameNotAvailable.json" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_List", "tags": [ - "Archives" + "Registries" ], - "description": "Creates a archive for a container registry with the specified parameters.", - "operationId": "Archives_Create", + "description": "Lists all the container registries under the specified subscription.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "name": "archiveCreateParameters", - "in": "body", - "description": "The parameters for creating a archive.", - "required": true, - "schema": { - "$ref": "#/definitions/Archive" - } } ], "responses": { "200": { - "description": "ARM update operation completed successfully.", - "schema": { - "$ref": "#/definitions/Archive" - } - }, - "201": { - "description": "ARM create operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Archive" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } + "$ref": "#/definitions/RegistryListResult" } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveCreate": { - "$ref": "./examples/ArchiveCreate.json" + "RegistryList": { + "$ref": "./examples/RegistryList.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_ListByResourceGroup", "tags": [ - "Archives" + "Registries" ], - "description": "Deletes a archive from a container registry.", - "operationId": "Archives_Delete", + "description": "Lists all the container registries under the specified resource group.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -195,52 +228,39 @@ }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" } ], "responses": { - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegistryListResult" } }, - "204": { - "description": "The archive does not exist in the subscription." - }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveDelete": { - "$ref": "./examples/ArchiveDelete.json" + "RegistryListByResourceGroup": { + "$ref": "./examples/RegistryListByResourceGroup.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { + "get": { + "operationId": "Registries_Get", "tags": [ - "Archives" + "Registries" ], - "description": "Updates a archive for a container registry with the specified parameters.", - "operationId": "Archives_Update", + "description": "Gets the properties of the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -252,52 +272,42 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "name": "archiveUpdateParameters", - "in": "body", - "description": "The parameters for updating a archive.", + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", "required": true, - "schema": { - "$ref": "#/definitions/ArchiveUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the operation has completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Archive" + "$ref": "#/definitions/Registry" } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveUpdate": { - "$ref": "./examples/ArchiveUpdate.json" + "RegistryGet": { + "$ref": "./examples/RegistryGet.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { - "get": { + }, + "put": { + "operationId": "Registries_Create", "tags": [ - "ArchiveVersions" + "Registries" ], - "description": "Lists all archive versions for the specified container registry, repository type and archive name.", - "operationId": "ArchiveVersions_List", + "description": "Creates a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -309,95 +319,82 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ArchiveNameParameter" + "name": "registry", + "in": "body", + "description": "The parameters for creating a container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/Registry" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Registry' update operation succeeded", "schema": { - "$ref": "#/definitions/ArchiveVersionListResult" + "$ref": "#/definitions/Registry" } }, - "default": { - "description": "Error response describing why the operation failed.", + "201": { + "description": "Resource 'Registry' create operation succeeded", "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ArchiveVersionList": { - "$ref": "./examples/ArchiveVersionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { - "get": { - "tags": [ - "ArchiveVersions" - ], - "description": "Gets the properties of the archive version.", - "operationId": "ArchiveVersions_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "$ref": "#/parameters/ArchiveVersionNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ArchiveVersion" + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveVersionGet": { - "$ref": "./examples/ArchiveVersionGet.json" + "RegistryCreate": { + "$ref": "./examples/RegistryCreate.json" + }, + "RegistryCreateAbac": { + "$ref": "./examples/RegistryCreateAbac.json" + }, + "RegistryCreateDomainNameLabelScope": { + "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" + }, + "RegistryCreateZoneRedundant": { + "$ref": "./examples/RegistryCreateZoneRedundant.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Registry" + }, + "x-ms-long-running-operation": true }, - "put": { + "patch": { + "operationId": "Registries_Update", "tags": [ - "ArchiveVersions" + "Registries" ], - "description": "Creates a archive for a container registry with the specified parameters.", - "operationId": "ArchiveVersions_Create", + "description": "Updates a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -409,59 +406,73 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ArchiveVersionNameParameter" + "name": "registryUpdateParameters", + "in": "body", + "description": "The parameters for updating a container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryUpdateParameters" + } } ], "responses": { "200": { - "description": "ARM update operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ArchiveVersion" + "$ref": "#/definitions/Registry" } }, "201": { - "description": "ARM create operation completed successfully.", + "description": "Resource 'Registry' create operation succeeded", "schema": { - "$ref": "#/definitions/ArchiveVersion" + "$ref": "#/definitions/Registry" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveVersionCreate": { - "$ref": "./examples/ArchiveVersionCreate.json" + "RegistryUpdate": { + "$ref": "./examples/RegistryUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Registry" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Registries_Delete", "tags": [ - "ArchiveVersions" + "Registries" ], - "description": "Deletes a archive version from a container registry.", - "operationId": "ArchiveVersions_Delete", + "description": "Deletes a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -473,55 +484,62 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PackageTypeParameter" - }, - { - "$ref": "#/parameters/ArchiveNameParameter" - }, - { - "$ref": "#/parameters/ArchiveVersionNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { + "200": { + "description": "Resource deleted successfully." + }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The archive does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ArchiveVersionDelete": { - "$ref": "./examples/ArchiveVersionDelete.json" + "RegistryDelete": { + "$ref": "./examples/RegistryDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { "get": { + "operationId": "CacheRules_List", "tags": [ "CacheRules" ], "description": "Lists all cache rule resources for the specified container registry.", - "operationId": "CacheRules_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -533,18 +551,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/CacheRulesListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -562,11 +587,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { "get": { + "operationId": "CacheRules_Get", "tags": [ "CacheRules" ], "description": "Gets the properties of the specified cache rule resource.", - "operationId": "CacheRules_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -578,21 +603,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CacheRuleNameParameter" + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/CacheRule" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -605,11 +644,11 @@ } }, "put": { + "operationId": "CacheRules_Create", "tags": [ "CacheRules" ], "description": "Creates a cache rule for a container registry with the specified parameters.", - "operationId": "CacheRules_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -621,10 +660,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CacheRuleNameParameter" + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "cacheRuleCreateParameters", @@ -638,24 +691,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'CacheRule' update operation succeeded", "schema": { "$ref": "#/definitions/CacheRule" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'CacheRule' create operation succeeded", "schema": { "$ref": "#/definitions/CacheRule" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -666,17 +725,106 @@ "$ref": "./examples/CacheRuleCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CacheRule" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CacheRules_Update", + "tags": [ + "CacheRules" + ], + "description": "Updates a cache rule for a container registry with the specified parameters.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "cacheRuleUpdateParameters", + "in": "body", + "description": "The parameters for updating a cache rule.", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRuleUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "Resource 'CacheRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleUpdate": { + "$ref": "./examples/CacheRuleUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CacheRule" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "CacheRules_Delete", "tags": [ "CacheRules" ], "description": "Deletes a cache rule resource from a container registry.", - "operationId": "CacheRules_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -688,26 +836,46 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CacheRuleNameParameter" + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The cache rule does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -718,17 +886,19 @@ "$ref": "./examples/CacheRuleDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } - }, - "patch": { + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { + "get": { + "operationId": "ConnectedRegistries_List", "tags": [ - "CacheRules" + "ConnectedRegistries" ], - "description": "Updates a cache rule for a container registry with the specified parameters.", - "operationId": "CacheRules_Update", + "description": "Lists all connected registries for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -740,64 +910,54 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CacheRuleNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "cacheRuleUpdateParameters", - "in": "body", - "description": "The parameters for updating a cache rule.", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRuleUpdateParameters" - } + "name": "$filter", + "in": "query", + "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } + "$ref": "#/definitions/ConnectedRegistryListResult" } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CacheRuleUpdate": { - "$ref": "./examples/CacheRuleUpdate.json" + "ConnectedRegistryList": { + "$ref": "./examples/ConnectedRegistryList.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { "get": { + "operationId": "ConnectedRegistries_Get", "tags": [ "ConnectedRegistries" ], "description": "Gets the properties of the connected registry.", - "operationId": "ConnectedRegistries_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -809,21 +969,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ConnectedRegistry" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -836,11 +1010,11 @@ } }, "put": { + "operationId": "ConnectedRegistries_Create", "tags": [ "ConnectedRegistries" ], "description": "Creates a connected registry for a container registry with the specified parameters.", - "operationId": "ConnectedRegistries_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -852,14 +1026,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "in": "body", "name": "connectedRegistryCreateParameters", + "in": "body", "description": "The parameters for creating a connectedRegistry.", "required": true, "schema": { @@ -869,45 +1057,52 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'ConnectedRegistry' update operation succeeded", "schema": { "$ref": "#/definitions/ConnectedRegistry" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ConnectedRegistry' create operation succeeded", "schema": { "$ref": "#/definitions/ConnectedRegistry" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConnectedRegistryCreate": { "$ref": "./examples/ConnectedRegistryCreate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectedRegistry" + }, + "x-ms-long-running-operation": true }, "patch": { + "operationId": "ConnectedRegistries_Update", "tags": [ "ConnectedRegistries" ], "description": "Updates a connected registry with the specified parameters.", - "operationId": "ConnectedRegistries_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -919,14 +1114,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "in": "body", "name": "connectedRegistryUpdateParameters", + "in": "body", "description": "The parameters for updating a connectedRegistry.", "required": true, "schema": { @@ -936,45 +1145,52 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ConnectedRegistry" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ConnectedRegistry' create operation succeeded", "schema": { "$ref": "#/definitions/ConnectedRegistry" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "ConnectedRegistryUpdate": { "$ref": "./examples/ConnectedRegistryUpdate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectedRegistry" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "ConnectedRegistries_Delete", "tags": [ "ConnectedRegistries" ], "description": "Deletes a connected registry from a container registry.", - "operationId": "ConnectedRegistries_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -986,103 +1202,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Resource deleted successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The webhook does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "x-ms-examples": { "ConnectedRegistryDelete": { "$ref": "./examples/ConnectedRegistryDelete.json" } }, - "produces": [ - "application/json" - ] - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { - "get": { - "tags": [ - "ConnectedRegistries" - ], - "description": "Lists all connected registries for the specified container registry.", - "operationId": "ConnectedRegistries_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ConnectedRegistryFilterParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ConnectedRegistryListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-long-running-operation-options": { + "final-state-via": "location" }, - "x-ms-examples": { - "ConnectedRegistryList": { - "$ref": "./examples/ConnectedRegistryList.json" - } - } + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { "post": { + "operationId": "ConnectedRegistries_Deactivate", "tags": [ "ConnectedRegistries" ], "description": "Deactivates the connected registry instance.", - "operationId": "ConnectedRegistries_Deactivate", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1094,49 +1279,69 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource operation accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "x-ms-examples": { "ConnectedRegistryDeactivate": { "$ref": "./examples/ConnectedRegistryDeactivate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { "get": { + "operationId": "CredentialSets_List", "tags": [ "CredentialSets" ], "description": "Lists all credential set resources for the specified container registry.", - "operationId": "CredentialSets_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1148,18 +1353,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/CredentialSetListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1177,11 +1389,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { "get": { + "operationId": "CredentialSets_Get", "tags": [ "CredentialSets" ], "description": "Gets the properties of the specified credential set resource.", - "operationId": "CredentialSets_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1193,21 +1405,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/CredentialSet" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1220,11 +1446,11 @@ } }, "put": { + "operationId": "CredentialSets_Create", "tags": [ "CredentialSets" ], "description": "Creates a credential set for a container registry with the specified parameters.", - "operationId": "CredentialSets_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1236,10 +1462,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "credentialSetCreateParameters", @@ -1253,24 +1493,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'CredentialSet' update operation succeeded", "schema": { "$ref": "#/definitions/CredentialSet" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'CredentialSet' create operation succeeded", "schema": { "$ref": "#/definitions/CredentialSet" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1281,17 +1527,18 @@ "$ref": "./examples/CredentialSetCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CredentialSet" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "CredentialSets_Update", "tags": [ "CredentialSets" ], - "description": "Deletes a credential set from a container registry.", - "operationId": "CredentialSets_Delete", + "description": "Updates a credential set for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1303,47 +1550,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "credentialSetUpdateParameters", + "in": "body", + "description": "The parameters for updating a credential set.", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSetUpdateParameters" + } } ], "responses": { - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "Resource 'CredentialSet' create operation succeeded", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, "headers": { - "Location": { - "type": "string" + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The credential store resource does not exist in the subscription." - }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CredentialSetDelete": { - "$ref": "./examples/CredentialSetDelete.json" + "CredentialSetUpdate": { + "$ref": "./examples/CredentialSetUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CredentialSet" + }, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "CredentialSets_Delete", "tags": [ "CredentialSets" ], - "description": "Updates a credential set for a container registry with the specified parameters.", - "operationId": "CredentialSets_Update", + "description": "Deletes a credential set from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1355,64 +1638,69 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "credentialSetUpdateParameters", - "in": "body", - "description": "The parameters for updating a credential set.", + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", "required": true, - "schema": { - "$ref": "#/definitions/CredentialSetUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CredentialSetUpdate": { - "$ref": "./examples/CredentialSetUpdate.json" + "CredentialSetDelete": { + "$ref": "./examples/CredentialSetDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines": { "get": { + "operationId": "ExportPipelines_List", "tags": [ "ExportPipelines" ], "description": "Lists all export pipelines for the specified container registry.", - "operationId": "ExportPipelines_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1424,18 +1712,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ExportPipelineListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1453,11 +1748,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}": { "get": { + "operationId": "ExportPipelines_Get", "tags": [ "ExportPipelines" ], "description": "Gets the properties of the export pipeline.", - "operationId": "ExportPipelines_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1469,21 +1764,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ExportPipelineNameParameter" + "name": "exportPipelineName", + "in": "path", + "description": "The name of the export pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ExportPipeline" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1496,11 +1805,11 @@ } }, "put": { + "operationId": "ExportPipelines_Create", "tags": [ "ExportPipelines" ], "description": "Creates an export pipeline for a container registry with the specified parameters.", - "operationId": "ExportPipelines_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1512,10 +1821,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ExportPipelineNameParameter" + "name": "exportPipelineName", + "in": "path", + "description": "The name of the export pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "exportPipelineCreateParameters", @@ -1529,24 +1852,30 @@ ], "responses": { "200": { - "description": "The request was successful; the operation has completed successfully.", + "description": "Resource 'ExportPipeline' update operation succeeded", "schema": { "$ref": "#/definitions/ExportPipeline" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ExportPipeline' create operation succeeded", "schema": { "$ref": "#/definitions/ExportPipeline" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1557,17 +1886,18 @@ "$ref": "./examples/ExportPipelineCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExportPipeline" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "ExportPipelines_Delete", "tags": [ "ExportPipelines" ], "description": "Deletes an export pipeline from a container registry.", - "operationId": "ExportPipelines_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1579,29 +1909,49 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ExportPipelineNameParameter" + "name": "exportPipelineName", + "in": "path", + "description": "The name of the export pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Resource deleted successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The export pipeline does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1612,19 +1962,19 @@ "$ref": "./examples/ExportPipelineDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { "post": { + "operationId": "Registries_GenerateCredentials", "tags": [ "Registries" ], - "description": "Copies an image to this container registry from the specified container registry.", - "operationId": "Registries_ImportImage", + "description": "Generate keys for a token of a specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1636,55 +1986,151 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "parameters", + "name": "generateCredentialsParameters", "in": "body", - "description": "The parameters specifying the image to copy and the source container registry.", + "description": "The parameters for generating credentials.", "required": true, "schema": { - "$ref": "#/definitions/ImportImageParameters" + "$ref": "#/definitions/GenerateCredentialsParameters" } } ], "responses": { "200": { - "description": "The request was successful; the operation has completed successfully." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GenerateCredentialsResult" + } }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource operation accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "ImportImageByTag": { - "$ref": "./examples/ImportImageByTag.json" - }, - "ImportImageByManifestDigest": { - "$ref": "./examples/ImportImageByManifestDigest.json" - }, - "ImportImageFromPublicRegistry": { - "$ref": "./examples/ImportImageFromPublicRegistry.json" + "RegistryGenerateCredentials": { + "$ref": "./examples/RegistryGenerateCredentials.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "location", + "final-state-schema": "#/definitions/GenerateCredentialsResult" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { + "post": { + "operationId": "Registries_ImportImage", "tags": [ - "ImportPipelines" + "Registries" ], - "description": "Lists all import pipelines for the specified container registry.", + "description": "Copies an image to this container registry from the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters specifying the image to copy and the source container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/ImportImageParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImportImageByManifestDigest": { + "$ref": "./examples/ImportImageByManifestDigest.json" + }, + "ImportImageByTag": { + "$ref": "./examples/ImportImageByTag.json" + }, + "ImportImageFromPublicRegistry": { + "$ref": "./examples/ImportImageFromPublicRegistry.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines": { + "get": { "operationId": "ImportPipelines_List", + "tags": [ + "ImportPipelines" + ], + "description": "Lists all import pipelines for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1696,18 +2142,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ImportPipelineListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1725,11 +2178,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}": { "get": { + "operationId": "ImportPipelines_Get", "tags": [ "ImportPipelines" ], "description": "Gets the properties of the import pipeline.", - "operationId": "ImportPipelines_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1741,21 +2194,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ImportPipelineNameParameter" + "name": "importPipelineName", + "in": "path", + "description": "The name of the import pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ImportPipeline" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1768,11 +2235,11 @@ } }, "put": { + "operationId": "ImportPipelines_Create", "tags": [ "ImportPipelines" ], "description": "Creates an import pipeline for a container registry with the specified parameters.", - "operationId": "ImportPipelines_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1784,10 +2251,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ImportPipelineNameParameter" + "name": "importPipelineName", + "in": "path", + "description": "The name of the import pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "importPipelineCreateParameters", @@ -1801,24 +2282,30 @@ ], "responses": { "200": { - "description": "The request was successful; the operation has completed successfully.", + "description": "Resource 'ImportPipeline' update operation succeeded", "schema": { "$ref": "#/definitions/ImportPipeline" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ImportPipeline' create operation succeeded", "schema": { "$ref": "#/definitions/ImportPipeline" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1829,17 +2316,18 @@ "$ref": "./examples/ImportPipelineCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ImportPipeline" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "ImportPipelines_Delete", "tags": [ "ImportPipelines" ], "description": "Deletes an import pipeline from a container registry.", - "operationId": "ImportPipelines_Delete", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1851,29 +2339,49 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ImportPipelineNameParameter" + "name": "importPipelineName", + "in": "path", + "description": "The name of the import pipeline.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Resource deleted successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The import pipeline does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1884,49 +2392,68 @@ "$ref": "./examples/ImportPipelineDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, - "/providers/Microsoft.ContainerRegistry/operations": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { + "post": { + "operationId": "Registries_ListCredentials", "tags": [ - "Operation" + "Registries" ], - "description": "Lists all of the available Azure Container Registry REST API operations.", - "operationId": "Operations_List", + "description": "Lists the login credentials for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/OperationListResult" + "$ref": "#/definitions/RegistryListCredentialsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" + "RegistryListCredentials": { + "$ref": "./examples/RegistryListCredentials.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { + "get": { + "operationId": "Registries_ListUsages", "tags": [ - "Operation" + "Registries" ], - "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", - "operationId": "Registries_CheckNameAvailability", + "description": "Gets the quota usages for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1935,40 +2462,47 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "registryNameCheckRequest", - "in": "body", - "description": "The object containing information for the availability request.", + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", "required": true, - "schema": { - "$ref": "#/definitions/RegistryNameCheckRequest" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/RegistryNameStatus" + "$ref": "#/definitions/RegistryUsageListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryCheckNameAvailable": { - "$ref": "./examples/RegistryCheckNameAvailable.json" - }, - "RegistryCheckNameNotAvailable": { - "$ref": "./examples/RegistryCheckNameNotAvailable.json" + "RegistryListUsages": { + "$ref": "./examples/RegistryListUsages.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives": { "get": { + "operationId": "Archives_List", "tags": [ - "PipelineRuns" + "Archives" ], - "description": "Lists all the pipeline runs for the specified container registry.", - "operationId": "PipelineRuns_List", + "description": "Lists all archives for the specified container registry and package type.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1980,26 +2514,43 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well - formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PipelineRunListResult" + "$ref": "#/definitions/ArchiveListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PipelineRunList": { - "$ref": "./examples/PipelineRunList.json" + "ArchiveList": { + "$ref": "./examples/ArchiveList.json" } }, "x-ms-pageable": { @@ -2007,13 +2558,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}": { "get": { + "operationId": "Archives_Get", "tags": [ - "PipelineRuns" + "Archives" ], - "description": "Gets the detailed information for a given pipeline run.", - "operationId": "PipelineRuns_Get", + "description": "Gets the properties of the archive.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2025,38 +2576,62 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" }, { - "$ref": "#/parameters/PipelineRunNameParameter" + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well - formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PipelineRun" + "$ref": "#/definitions/Archive" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PipelineRunGet": { - "$ref": "./examples/PipelineRunGet.json" + "ArchiveGet": { + "$ref": "./examples/ArchiveGet.json" } } }, "put": { + "operationId": "Archives_Create", "tags": [ - "PipelineRuns" + "Archives" ], - "description": "Creates a pipeline run for a container registry with the specified parameters", - "operationId": "PipelineRuns_Create", + "description": "Creates a archive for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2068,65 +2643,93 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/PipelineRunNameParameter" + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" }, { - "name": "pipelineRunCreateParameters", + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveCreateParameters", "in": "body", - "description": "The parameters for creating a pipeline run.", + "description": "The parameters for creating a archive.", "required": true, "schema": { - "$ref": "#/definitions/PipelineRun" + "$ref": "#/definitions/Archive" } } ], "responses": { "200": { - "description": "The request was successful; the request was well - formed and received properly.", + "description": "Resource 'Archive' update operation succeeded", "schema": { - "$ref": "#/definitions/PipelineRun" + "$ref": "#/definitions/Archive" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Archive' create operation succeeded", "schema": { - "$ref": "#/definitions/PipelineRun" + "$ref": "#/definitions/Archive" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PipelineRunCreate_Export": { - "$ref": "./examples/PipelineRunCreate_Export.json" - }, - "PipelineRunCreate_Import": { - "$ref": "./examples/PipelineRunCreate_Import.json" + "ArchiveCreate": { + "$ref": "./examples/ArchiveCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Archive" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Archives_Update", "tags": [ - "PipelineRuns" + "Archives" ], - "description": "Deletes a pipeline run from a container registry.", - "operationId": "PipelineRuns_Delete", + "description": "Updates a archive for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2138,52 +2741,155 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" }, { - "$ref": "#/parameters/PipelineRunNameParameter" + "name": "archiveUpdateParameters", + "in": "body", + "description": "The parameters for updating a archive.", + "required": true, + "schema": { + "$ref": "#/definitions/ArchiveUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Archive" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ArchiveUpdate": { + "$ref": "./examples/ArchiveUpdate.json" + } + } + }, + "delete": { + "operationId": "Archives_Delete", + "tags": [ + "Archives" + ], + "description": "Deletes a archive from a container registry.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The pipeline run does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PipelineRunDelete": { - "$ref": "./examples/PipelineRunDelete.json" + "ArchiveDelete": { + "$ref": "./examples/ArchiveDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions": { "get": { + "operationId": "ArchiveVersions_List", "tags": [ - "PrivateEndpointConnections" + "ArchiveVersions" ], - "description": "List all private endpoint connections in a container registry.", - "operationId": "PrivateEndpointConnections_List", + "description": "Lists all archive versions for the specified container registry, repository type and archive name.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2195,20 +2901,53 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResult" + "$ref": "#/definitions/ArchiveVersionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PrivateEndpointConnectionList": { - "$ref": "./examples/PrivateEndpointConnectionList.json" + "ArchiveVersionList": { + "$ref": "./examples/ArchiveVersionList.json" } }, "x-ms-pageable": { @@ -2216,13 +2955,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName}/versions/{archiveVersionName}": { "get": { + "operationId": "ArchiveVersions_Get", "tags": [ - "PrivateEndpointConnections" + "ArchiveVersions" ], - "description": "Get the specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the properties of the archive version.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2234,32 +2973,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" }, { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + "name": "archiveVersionName", + "in": "path", + "description": "The name of the archive version resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/ArchiveVersion" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PrivateEndpointConnectionGet": { - "$ref": "./examples/PrivateEndpointConnectionGet.json" + "ArchiveVersionGet": { + "$ref": "./examples/ArchiveVersionGet.json" } } }, "put": { + "operationId": "ArchiveVersions_Create", "tags": [ - "PrivateEndpointConnections" + "ArchiveVersions" ], - "description": "Update the state of specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Creates a archive version for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2271,56 +3050,94 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" }, { - "name": "privateEndpointConnection", - "in": "body", - "description": "The parameters for creating a private endpoint connection.", + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", "required": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "archiveVersionName", + "in": "path", + "description": "The name of the archive version resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'ArchiveVersion' update operation succeeded", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/ArchiveVersion" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ArchiveVersion' create operation succeeded", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/ArchiveVersion" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "PrivateEndpointConnectionCreateOrUpdate": { - "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" + "ArchiveVersionCreate": { + "$ref": "./examples/ArchiveVersionCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ArchiveVersion" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "ArchiveVersions_Delete", "tags": [ - "PrivateEndpointConnections" + "ArchiveVersions" ], - "description": "Deletes the specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_Delete", + "description": "Deletes a archive version from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2332,65 +3149,127 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "packageType", + "in": "path", + "description": "The package type.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 50, + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "archiveName", + "in": "path", + "description": "The name of the archive resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" }, { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + "name": "archiveVersionName", + "in": "path", + "description": "The name of the archive version resource.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 200, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The private endpoint connection does not exist in the subscription." + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "PrivateEndpointConnectionDelete": { - "$ref": "./examples/PrivateEndpointConnectionDelete.json" + "ArchiveVersionDelete": { + "$ref": "./examples/ArchiveVersionDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns": { "get": { + "operationId": "PipelineRuns_List", "tags": [ - "Registries" + "PipelineRuns" ], - "description": "Lists all the container registries under the specified subscription.", - "operationId": "Registries_List", + "description": "Lists all the pipeline runs for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/RegistryListResult" + "$ref": "#/definitions/PipelineRunListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryList": { - "$ref": "./examples/RegistryList.json" + "PipelineRunList": { + "$ref": "./examples/PipelineRunList.json" } }, "x-ms-pageable": { @@ -2398,13 +3277,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}": { "get": { + "operationId": "PipelineRuns_Get", "tags": [ - "Registries" + "PipelineRuns" ], - "description": "Lists all the container registries under the specified resource group.", - "operationId": "Registries_ListByResourceGroup", + "description": "Gets the detailed information for a given pipeline run.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2414,33 +3293,54 @@ }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "description": "The name of the pipeline run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/RegistryListResult" + "$ref": "#/definitions/PipelineRun" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryListByResourceGroup": { - "$ref": "./examples/RegistryListByResourceGroup.json" + "PipelineRunGet": { + "$ref": "./examples/PipelineRunGet.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { - "get": { + }, + "put": { + "operationId": "PipelineRuns_Create", "tags": [ - "Registries" + "PipelineRuns" ], - "description": "Gets the properties of the specified container registry.", - "operationId": "Registries_Get", + "description": "Creates a pipeline run for a container registry with the specified parameters", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2452,96 +3352,86 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Registry" - } - } - }, - "x-ms-examples": { - "RegistryGet": { - "$ref": "./examples/RegistryGet.json" - } - } - }, - "put": { - "tags": [ - "Registries" - ], - "description": "Creates a container registry with the specified parameters.", - "operationId": "Registries_Create", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "pipelineRunName", + "in": "path", + "description": "The name of the pipeline run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "registry", + "name": "pipelineRunCreateParameters", "in": "body", - "description": "The parameters for creating a container registry.", + "description": "The parameters for creating a pipeline run.", "required": true, "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PipelineRun" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'PipelineRun' update operation succeeded", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PipelineRun" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'PipelineRun' create operation succeeded", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PipelineRun" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "RegistryCreate": { - "$ref": "./examples/RegistryCreate.json" - }, - "RegistryCreateZoneRedundant": { - "$ref": "./examples/RegistryCreateZoneRedundant.json" - }, - "RegistryCreateDomainNameLabelScope": { - "$ref": "./examples/RegistryCreateDomainNameLabelScope.json" + "PipelineRunCreate_Export": { + "$ref": "./examples/PipelineRunCreate_Export.json" }, - "RegistryCreateAbac": { - "$ref": "./examples/RegistryCreateAbac.json" + "PipelineRunCreate_Import": { + "$ref": "./examples/PipelineRunCreate_Import.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/PipelineRun" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "PipelineRuns_Delete", "tags": [ - "Registries" + "PipelineRuns" ], - "description": "Deletes a container registry.", - "operationId": "Registries_Delete", + "description": "Deletes a pipeline run from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2553,41 +3443,178 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "pipelineRunName", + "in": "path", + "description": "The name of the pipeline run.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Resource deleted successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The container registry does not exist in the subscription." + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "RegistryDelete": { - "$ref": "./examples/RegistryDelete.json" + "PipelineRunDelete": { + "$ref": "./examples/PipelineRunDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { + "get": { + "operationId": "PrivateEndpointConnections_List", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "List all private endpoint connections in a container registry.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionList": { + "$ref": "./examples/PrivateEndpointConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "PrivateEndpointConnections_Get", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Get the specified private endpoint connection associated with the container registry.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionGet": { + "$ref": "./examples/PrivateEndpointConnectionGet.json" + } } }, - "patch": { + "put": { + "operationId": "PrivateEndpointConnections_CreateOrUpdate", "tags": [ - "Registries" + "PrivateEndpointConnections" ], - "description": "Updates a container registry with the specified parameters.", - "operationId": "Registries_Update", + "description": "Update the state of specified private endpoint connection associated with the container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2599,55 +3626,80 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "registryUpdateParameters", + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnection", "in": "body", - "description": "The parameters for updating a container registry.", + "description": "The parameters for creating a private endpoint connection.", "required": true, "schema": { - "$ref": "#/definitions/RegistryUpdateParameters" + "$ref": "#/definitions/PrivateEndpointConnection" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'PrivateEndpointConnection' update operation succeeded", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PrivateEndpointConnection" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'PrivateEndpointConnection' create operation succeeded", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PrivateEndpointConnection" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "RegistryUpdate": { - "$ref": "./examples/RegistryUpdate.json" + "PrivateEndpointConnectionCreateOrUpdate": { + "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { - "get": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/PrivateEndpointConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PrivateEndpointConnections_Delete", "tags": [ - "Registries" + "PrivateEndpointConnections" ], - "description": "Gets the quota usages for the specified container registry.", - "operationId": "Registries_ListUsages", + "description": "Deletes the specified private endpoint connection associated with the container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2659,31 +3711,69 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The request was successful; the registry usages retrieved and returned successfully.", + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/RegistryUsageListResult" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryListUsages": { - "$ref": "./examples/RegistryListUsages.json" + "PrivateEndpointConnectionDelete": { + "$ref": "./examples/PrivateEndpointConnectionDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { "get": { + "operationId": "Registries_ListPrivateLinkResources", "tags": [ - "Registries" + "PrivateLinkResources" ], "description": "Lists the private link resources for a container registry.", - "operationId": "Registries_ListPrivateLinkResources", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2695,15 +3785,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the private link resources were retrieved and returned successfully.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PrivateLinkResourceListResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2718,11 +3821,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { "get": { + "operationId": "Registries_GetPrivateLinkResource", "tags": [ - "Registries" + "PrivateLinkResources" ], "description": "Gets a private link resource by a specified group name for a container registry.", - "operationId": "Registries_GetPrivateLinkResource", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2734,21 +3837,32 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/GroupNameParameter" + "name": "groupName", + "in": "path", + "description": "The name of the private link resource.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The request was successful; the private link resource was retrieved and returned successfully.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PrivateLinkResource" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2761,49 +3875,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { - "post": { - "tags": [ - "Registries" - ], - "description": "Lists the login credentials for the specified container registry.", - "operationId": "Registries_ListCredentials", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the list of credentials retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - } - }, - "x-ms-examples": { - "RegistryListCredentials": { - "$ref": "./examples/RegistryListCredentials.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { "post": { + "operationId": "Registries_RegenerateCredential", "tags": [ "Registries" ], "description": "Regenerates one of the login credentials for the specified container registry.", - "operationId": "Registries_RegenerateCredential", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2815,7 +3893,14 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "regenerateCredentialParameters", @@ -2829,10 +3914,16 @@ ], "responses": { "200": { - "description": "The request was successful; the specified credential regenerated successfully.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/RegistryListCredentialsResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2844,11 +3935,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications": { "get": { + "operationId": "Replications_List", "tags": [ "Replications" ], "description": "Lists all the replications for the specified container registry.", - "operationId": "Replications_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2860,15 +3951,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ReplicationListResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2883,11 +3987,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { "get": { + "operationId": "Replications_Get", "tags": [ "Replications" ], "description": "Gets the properties of the specified replication.", - "operationId": "Replications_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2899,18 +4003,38 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Replication" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2920,11 +4044,11 @@ } }, "put": { + "operationId": "Replications_Create", "tags": [ "Replications" ], "description": "Creates a replication for a container registry with the specified parameters.", - "operationId": "Replications_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2936,10 +4060,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "replication", @@ -2953,21 +4091,33 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Replication' update operation succeeded", "schema": { "$ref": "#/definitions/Replication" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Replication' create operation succeeded", "schema": { "$ref": "#/definitions/Replication" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2978,17 +4128,18 @@ "$ref": "./examples/ReplicationCreateZoneRedundant.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Replication" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Replications_Update", "tags": [ "Replications" ], - "description": "Deletes a replication from a container registry.", - "operationId": "Replications_Delete", + "description": "Updates a replication for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3000,44 +4151,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "replicationUpdateParameters", + "in": "body", + "description": "The parameters for updating a replication.", + "required": true, + "schema": { + "$ref": "#/definitions/ReplicationUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Replication" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "201": { + "description": "Resource 'Replication' create operation succeeded", + "schema": { + "$ref": "#/definitions/Replication" + }, "headers": { - "Location": { - "type": "string" + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The replication does not exist in the subscription." + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "ReplicationDelete": { - "$ref": "./examples/ReplicationDelete.json" + "ReplicationUpdate": { + "$ref": "./examples/ReplicationUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Replication" + }, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "Replications_Delete", "tags": [ "Replications" ], - "description": "Updates a replication for a container registry with the specified parameters.", - "operationId": "Replications_Update", + "description": "Deletes a replication from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3049,58 +4239,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "replicationUpdateParameters", - "in": "body", - "description": "The parameters for updating a replication.", + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", "required": true, - "schema": { - "$ref": "#/definitions/ReplicationUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Replication" - } + "description": "Resource deleted successfully." }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Replication" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "ReplicationUpdate": { - "$ref": "./examples/ReplicationUpdate.json" + "ReplicationDelete": { + "$ref": "./examples/ReplicationDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { "get": { + "operationId": "ScopeMaps_List", "tags": [ "ScopeMaps" ], "description": "Lists all the scope maps for the specified container registry.", - "operationId": "ScopeMaps_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3112,18 +4316,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ScopeMapListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3141,11 +4352,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { "get": { + "operationId": "ScopeMaps_Get", "tags": [ "ScopeMaps" ], "description": "Gets the properties of the specified scope map.", - "operationId": "ScopeMaps_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3157,21 +4368,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ScopeMap" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3184,11 +4409,11 @@ } }, "put": { + "operationId": "ScopeMaps_Create", "tags": [ "ScopeMaps" ], "description": "Creates a scope map for a container registry with the specified parameters.", - "operationId": "ScopeMaps_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3200,10 +4425,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" }, { "name": "scopeMapCreateParameters", @@ -3217,24 +4456,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'ScopeMap' update operation succeeded", "schema": { "$ref": "#/definitions/ScopeMap" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ScopeMap' create operation succeeded", "schema": { "$ref": "#/definitions/ScopeMap" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3245,17 +4490,18 @@ "$ref": "./examples/ScopeMapCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ScopeMap" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "ScopeMaps_Update", "tags": [ "ScopeMaps" ], - "description": "Deletes a scope map from a container registry.", - "operationId": "ScopeMaps_Delete", + "description": "Updates a scope map with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3267,50 +4513,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" }, { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "scopeMapUpdateParameters", + "in": "body", + "description": "The parameters for updating a scope map.", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMapUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScopeMap" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "201": { + "description": "Resource 'ScopeMap' create operation succeeded", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, "headers": { - "Location": { - "type": "string" + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The scopemap does not exist in the subscription." - }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScopeMapDelete": { - "$ref": "./examples/ScopeMapDelete.json" + "ScopeMapUpdate": { + "$ref": "./examples/ScopeMapUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ScopeMap" + }, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "ScopeMaps_Delete", "tags": [ "ScopeMaps" ], - "description": "Updates a scope map with the specified parameters.", - "operationId": "ScopeMaps_Update", + "description": "Deletes a scope map from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3322,64 +4601,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "scopeMapUpdateParameters", - "in": "body", - "description": "The parameters for updating a scope map.", + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", "required": true, - "schema": { - "$ref": "#/definitions/ScopeMapUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ScopeMap" - } + "description": "Resource deleted successfully." }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScopeMapUpdate": { - "$ref": "./examples/ScopeMapUpdate.json" + "ScopeMapDelete": { + "$ref": "./examples/ScopeMapDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens": { "get": { + "operationId": "Tokens_List", "tags": [ "Tokens" ], "description": "Lists all the tokens for the specified container registry.", - "operationId": "Tokens_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3391,18 +4678,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/TokenListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3420,11 +4714,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { "get": { + "operationId": "Tokens_Get", "tags": [ "Tokens" ], "description": "Gets the properties of the specified token.", - "operationId": "Tokens_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3436,21 +4730,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, { - "$ref": "#/parameters/TokenNameParameter" + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Token" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3463,11 +4771,11 @@ } }, "put": { + "operationId": "Tokens_Create", "tags": [ "Tokens" ], "description": "Creates a token for a container registry with the specified parameters.", - "operationId": "Tokens_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3479,10 +4787,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TokenNameParameter" + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "tokenCreateParameters", @@ -3496,24 +4818,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Token' update operation succeeded", "schema": { "$ref": "#/definitions/Token" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Token' create operation succeeded", "schema": { "$ref": "#/definitions/Token" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3524,72 +4852,18 @@ "$ref": "./examples/TokenCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "Tokens" - ], - "description": "Deletes a token from a container registry.", - "operationId": "Tokens_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/TokenNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The token does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenDelete": { - "$ref": "./examples/TokenDelete.json" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Token" }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true }, "patch": { + "operationId": "Tokens_Update", "tags": [ "Tokens" ], "description": "Updates a token with the specified parameters.", - "operationId": "Tokens_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3601,10 +4875,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TokenNameParameter" + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "tokenUpdateParameters", @@ -3618,24 +4906,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Token" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Token' create operation succeeded", "schema": { "$ref": "#/definitions/Token" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -3646,19 +4940,18 @@ "$ref": "./examples/TokenUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { - "post": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Token" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Tokens_Delete", "tags": [ - "Registries" + "Tokens" ], - "description": "Generate keys for a token of a specified container registry.", - "operationId": "Registries_GenerateCredentials", + "description": "Deletes a token from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3670,58 +4963,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "generateCredentialsParameters", - "in": "body", - "description": "The parameters for generating credentials.", + "name": "tokenName", + "in": "path", + "description": "The name of the token.", "required": true, - "schema": { - "$ref": "#/definitions/GenerateCredentialsParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/GenerateCredentialsResult" - } + "description": "Resource deleted successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryGenerateCredentials": { - "$ref": "./examples/RegistryGenerateCredentials.json" + "TokenDelete": { + "$ref": "./examples/TokenDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks": { "get": { + "operationId": "Webhooks_List", "tags": [ "Webhooks" ], "description": "Lists all the webhooks for the specified container registry.", - "operationId": "Webhooks_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3733,15 +5040,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/WebhookListResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3756,11 +5076,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { "get": { + "operationId": "Webhooks_Get", "tags": [ "Webhooks" ], "description": "Gets the properties of the specified webhook.", - "operationId": "Webhooks_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3772,18 +5092,38 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Webhook" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3793,11 +5133,11 @@ } }, "put": { + "operationId": "Webhooks_Create", "tags": [ "Webhooks" ], "description": "Creates a webhook for a container registry with the specified parameters.", - "operationId": "Webhooks_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3809,10 +5149,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "webhookCreateParameters", @@ -3826,21 +5180,33 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Webhook' update operation succeeded", "schema": { "$ref": "#/definitions/Webhook" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Webhook' create operation succeeded", "schema": { "$ref": "#/definitions/Webhook" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3848,17 +5214,18 @@ "$ref": "./examples/WebhookCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Webhook" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Webhooks_Update", "tags": [ "Webhooks" ], - "description": "Deletes a webhook from a container registry.", - "operationId": "Webhooks_Delete", + "description": "Updates a webhook with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3870,44 +5237,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookUpdateParameters", + "in": "body", + "description": "The parameters for updating a webhook.", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Webhook" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "201": { + "description": "Resource 'Webhook' create operation succeeded", + "schema": { + "$ref": "#/definitions/Webhook" + }, "headers": { - "Location": { - "type": "string" + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The webhook does not exist in the subscription." + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "WebhookDelete": { - "$ref": "./examples/WebhookDelete.json" + "WebhookUpdate": { + "$ref": "./examples/WebhookUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Webhook" + }, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "Webhooks_Delete", "tags": [ "Webhooks" ], - "description": "Updates a webhook with the specified parameters.", - "operationId": "Webhooks_Update", + "description": "Deletes a webhook from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3919,58 +5325,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/WebhookNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "webhookUpdateParameters", - "in": "body", - "description": "The parameters for updating a webhook.", + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", "required": true, - "schema": { - "$ref": "#/definitions/WebhookUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Webhook" - } + "description": "Resource deleted successfully." }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Webhook" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "WebhookUpdate": { - "$ref": "./examples/WebhookUpdate.json" + "WebhookDelete": { + "$ref": "./examples/WebhookDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { "post": { + "operationId": "Webhooks_GetCallbackConfig", "tags": [ "Webhooks" ], - "description": "Triggers a ping event to be sent to the webhook.", - "operationId": "Webhooks_Ping", + "description": "Gets the configuration of service URI and custom headers for the webhook.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3982,34 +5402,54 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EventInfo" + "$ref": "#/definitions/CallbackConfig" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WebhookPing": { - "$ref": "./examples/WebhookPing.json" + "WebhookGetCallbackConfig": { + "$ref": "./examples/WebhookGetCallbackConfig.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { "post": { + "operationId": "Webhooks_ListEvents", "tags": [ "Webhooks" ], "description": "Lists recent events for the specified webhook.", - "operationId": "Webhooks_ListEvents", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4021,18 +5461,38 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/EventListResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4045,13 +5505,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { "post": { + "operationId": "Webhooks_Ping", "tags": [ "Webhooks" ], - "description": "Gets the configuration of service URI and custom headers for the webhook.", - "operationId": "Webhooks_GetCallbackConfig", + "description": "Triggers a ping event to be sent to the webhook.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4063,111 +5523,172 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CallbackConfig" + "$ref": "#/definitions/EventInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WebhookGetCallbackConfig": { - "$ref": "./examples/WebhookGetCallbackConfig.json" + "WebhookPing": { + "$ref": "./examples/WebhookPing.json" } } } } }, "definitions": { + "ActionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer.", + "enum": [ + "None", + "Recreate" + ], + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Recreate", + "value": "Recreate" + } + ] + } + }, "ActivationProperties": { - "description": "The activation properties of the connected registry.", "type": "object", + "description": "The activation properties of the connected registry.", "properties": { "status": { + "$ref": "#/definitions/ActivationStatus", "description": "The activation status of the connected registry.", - "enum": [ - "Active", - "Inactive" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ActivationStatus", - "modelAsString": true - } + "readOnly": true } } }, - "AzureADAuthenticationAsArmPolicy": { - "description": "The policy for using Azure Resource Manager audience token for a container registry.", + "ActivationStatus": { + "type": "string", + "description": "The activation status of the connected registry.", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "ActivationStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active" + }, + { + "name": "Inactive", + "value": "Inactive" + } + ] + } + }, + "Actor": { "type": "object", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", "properties": { - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], + "name": { "type": "string", - "x-ms-enum": { - "name": "AzureADAuthenticationAsArmPolicyStatus", - "modelAsString": true - } + "description": "The subject or username associated with the request context that generated the event." } } }, + "Archive": { + "type": "object", + "description": "An object that represents a archive for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveProperties", + "description": "The properties of the archive.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, "ArchiveListResult": { - "description": "The result of a request to list archives for a container registry.", "type": "object", + "description": "The result of a request to list archives for a container registry.", "properties": { "value": { - "description": "The list of archives. Since this list may be incomplete, the nextLink field should be used to request the next list of distributions.", "type": "array", + "description": "The list of archives. Since this list may be incomplete, the nextLink field should be used to request the next list of archives.", "items": { "$ref": "#/definitions/Archive" } }, "nextLink": { - "description": "The URI that can be used to request the next list of archives.", - "type": "string" + "type": "string", + "description": "The URI that can be used to request the next list of archives." } } }, - "Archive": { - "description": "An object that represents a archive for a container registry.", + "ArchivePackageSourceProperties": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "The properties of the archive package source.", "properties": { - "properties": { - "$ref": "#/definitions/ArchiveProperties", - "description": "The properties of the archive.", - "x-ms-client-flatten": true + "type": { + "$ref": "#/definitions/PackageSourceType", + "description": "The type of package source for a archive." + }, + "url": { + "type": "string", + "description": "The external repository url." } } }, "ArchiveProperties": { - "description": "The properties of a archive.", "type": "object", + "description": "The properties of a archive.", "properties": { "packageSource": { "$ref": "#/definitions/ArchivePackageSourceProperties", "description": "The package source of the archive." }, "publishedVersion": { - "description": "The published version of the archive.", - "type": "string" + "type": "string", + "description": "The published version of the archive." }, "repositoryEndpointPrefix": { "type": "string" @@ -4177,48 +5698,15 @@ "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the archive at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "ArchivePackageSourceProperties": { - "description": "The properties of the archive package source.", - "type": "object", - "properties": { - "type": { - "description": "The type of package source for a archive.", - "enum": [ - "remote" - ], - "type": "string", - "x-ms-enum": { - "name": "PackageSourceType", - "modelAsString": true - } - }, - "url": { - "description": "The external repository url.", - "type": "string" + "readOnly": true } } }, "ArchiveUpdateParameters": { - "description": "The parameters for updating a archive.", "type": "object", + "description": "The parameters for updating a archive.", "properties": { "properties": { "$ref": "#/definitions/ArchiveUpdateProperties", @@ -4228,152 +5716,163 @@ } }, "ArchiveUpdateProperties": { - "description": "The properties of a archive.", "type": "object", + "description": "The properties of a archive.", "properties": { "publishedVersion": { - "description": "The published version of the archive.", - "type": "string" + "type": "string", + "description": "The published version of the archive." } } }, + "ArchiveVersion": { + "type": "object", + "description": "An object that represents an export pipeline for a container registry.", + "properties": { + "properties": { + "$ref": "#/definitions/ArchiveVersionProperties", + "description": "The properties of the archive.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, "ArchiveVersionListResult": { - "description": "The result of a request to list export pipelines for a container registry.", "type": "object", + "description": "The result of a request to list archive versions for a container registry.", "properties": { "value": { - "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", "type": "array", + "description": "The list of archive versions. Since this list may be incomplete, the nextLink field should be used to request the next list of archive versions.", "items": { "$ref": "#/definitions/ArchiveVersion" } }, "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" + "type": "string", + "description": "The URI that can be used to request the next list of archive versions." } } }, - "ArchiveVersion": { - "description": "An object that represents an export pipeline for a container registry.", + "ArchiveVersionProperties": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "The properties of an archive version.", "properties": { - "properties": { - "$ref": "#/definitions/ArchiveVersionProperties", - "description": "The properties of the archive.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the archive at the time the operation was called.", + "readOnly": true + }, + "archiveVersionErrorMessage": { + "type": "string", + "description": "The detailed error message for the archive version in the case of failure." } } }, - "ArchiveVersionProperties": { - "description": "The properties of an export pipeline.", + "AuthCredential": { "type": "object", + "description": "Authentication credential stored for an upstream.", "properties": { - "provisioningState": { - "description": "The provisioning state of the archive at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], + "name": { + "$ref": "#/definitions/CredentialName", + "description": "The name of the credential." + }, + "usernameSecretIdentifier": { "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "description": "KeyVault Secret URI for accessing the username." }, - "archiveVersionErrorMessage": { - "description": "The detailed error message for the archive version in the case of failure.", - "type": "string" + "passwordSecretIdentifier": { + "type": "string", + "description": "KeyVault Secret URI for accessing the password." + }, + "credentialHealth": { + "$ref": "#/definitions/CredentialHealth", + "description": "This provides data pertaining to the health of the auth credential.", + "readOnly": true } } }, - "CacheRulesListResult": { - "description": "The result of a request to list cache rules for a container registry.", + "AzureADAuthenticationAsArmPolicy": { "type": "object", + "description": "The policy for using Azure Resource Manager audience token for a container registry.", "properties": { - "value": { - "description": "The list of cache rules.", - "type": "array", - "items": { - "$ref": "#/definitions/CacheRule" + "status": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "AzureADAuthenticationAsArmPolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } - }, - "nextLink": { - "description": "If provided, client must use NextLink URI to request next list of cache rules.", - "type": "string" } } }, "CacheRule": { - "description": "An object that represents a cache rule for a container registry.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "An object that represents a cache rule for a container registry.", "properties": { "properties": { "$ref": "#/definitions/CacheRuleProperties", "description": "The properties of the cache rule.", "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, "CacheRuleProperties": { - "description": "The properties of a cache rule.", "type": "object", + "description": "The properties of a cache rule.", "properties": { "credentialSetResourceId": { - "description": "The ARM resource ID of the credential store which is associated with the cache rule.", - "type": "string" + "type": "string", + "description": "The ARM resource ID of the credential store which is associated with the cache rule." }, "sourceRepository": { - "description": "Source repository pulled from upstream.", - "type": "string" + "type": "string", + "description": "Source repository pulled from upstream." }, "targetRepository": { - "description": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}", - "type": "string" + "type": "string", + "description": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}" }, "creationDate": { + "type": "string", "format": "date-time", "description": "The creation date of the cache rule.", - "type": "string", "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } } }, "CacheRuleUpdateParameters": { - "description": "The parameters for updating a cache rule.", "type": "object", + "description": "The parameters for updating a cache rule.", "properties": { "properties": { "$ref": "#/definitions/CacheRuleUpdateProperties", @@ -4383,111 +5882,161 @@ } }, "CacheRuleUpdateProperties": { - "description": "The parameters for updating cache rule properties.", "type": "object", + "description": "The parameters for updating cache rule properties.", "properties": { "credentialSetResourceId": { - "description": "The ARM resource ID of the credential store which is associated with the Cache rule.", - "type": "string" - } - } - }, - "ConnectedRegistry": { - "description": "An object that represents a connected registry for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryProperties", - "description": "The properties of the connected registry.", - "x-ms-client-flatten": true + "type": "string", + "description": "The ARM resource ID of the credential store which is associated with the Cache rule." } } }, - "ConnectedRegistryListResult": { - "description": "The result of a request to list connected registries for a container registry.", + "CacheRulesListResult": { "type": "object", + "description": "The result of a request to list cache rules for a container registry.", "properties": { "value": { - "description": "The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries.", "type": "array", + "description": "The list of cache rules. Since this list may be incomplete, the nextLink field should be used to request the next list of cache rules.", "items": { - "$ref": "#/definitions/ConnectedRegistry" + "$ref": "#/definitions/CacheRule" } }, "nextLink": { - "description": "The URI that can be used to request the next list of connected registries.", - "type": "string" + "type": "string", + "description": "The URI that can be used to request the next list of cache rules." } } }, - "ConnectedRegistryProperties": { - "description": "The properties of a connected registry.", + "CallbackConfig": { + "type": "object", + "description": "The configuration of service URI and custom headers for the webhook.", + "properties": { + "serviceUri": { + "type": "string", + "description": "The service URI for the webhook to post notifications." + }, + "customHeaders": { + "type": "object", + "description": "Custom headers that will be added to the webhook notifications.", + "additionalProperties": { + "type": "string" + } + } + }, "required": [ - "mode", - "parent" + "serviceUri" + ] + }, + "CertificateType": { + "type": "string", + "description": "The type of certificate location.", + "enum": [ + "LocalDirectory" ], + "x-ms-enum": { + "name": "CertificateType", + "modelAsString": true, + "values": [ + { + "name": "LocalDirectory", + "value": "LocalDirectory" + } + ] + } + }, + "ConnectedRegistry": { "type": "object", + "description": "An object that represents a connected registry for a container registry.", "properties": { - "provisioningState": { - "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true + "properties": { + "$ref": "#/definitions/ConnectedRegistryProperties", + "description": "The properties of the connected registry.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ConnectedRegistryListResult": { + "type": "object", + "description": "The result of a request to list connected registries for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries.", + "items": { + "$ref": "#/definitions/ConnectedRegistry" } }, - "mode": { - "description": "The mode of the connected registry resource that indicates the permissions of the registry.", - "enum": [ - "ReadWrite", - "ReadOnly", - "Registry", - "Mirror" - ], + "nextLink": { "type": "string", - "x-ms-enum": { - "name": "ConnectedRegistryMode", - "modelAsString": true + "description": "The URI that can be used to request the next list of connected registries." + } + } + }, + "ConnectedRegistryMode": { + "type": "string", + "description": "The mode of the connected registry resource that indicates the permissions of the registry.", + "enum": [ + "ReadWrite", + "ReadOnly", + "Registry", + "Mirror" + ], + "x-ms-enum": { + "name": "ConnectedRegistryMode", + "modelAsString": true, + "values": [ + { + "name": "ReadWrite", + "value": "ReadWrite" + }, + { + "name": "ReadOnly", + "value": "ReadOnly" + }, + { + "name": "Registry", + "value": "Registry" + }, + { + "name": "Mirror", + "value": "Mirror" } + ] + } + }, + "ConnectedRegistryProperties": { + "type": "object", + "description": "The properties of a connected registry.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "mode": { + "$ref": "#/definitions/ConnectedRegistryMode", + "description": "The mode of the connected registry resource that indicates the permissions of the registry." }, "version": { - "description": "The current version of ACR runtime on the connected registry.", "type": "string", + "description": "The current version of ACR runtime on the connected registry.", "readOnly": true }, "connectionState": { + "$ref": "#/definitions/ConnectionState", "description": "The current connection state of the connected registry.", - "enum": [ - "Online", - "Offline", - "Syncing", - "Unhealthy" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ConnectionState", - "modelAsString": true - } + "readOnly": true }, "lastActivityTime": { + "type": "string", "format": "date-time", "description": "The last activity time of the connected registry.", - "type": "string", "readOnly": true }, "activation": { @@ -4500,8 +6049,8 @@ "description": "The parent of the connected registry." }, "clientTokenIds": { - "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "type": "array", + "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "items": { "type": "string" } @@ -4515,8 +6064,8 @@ "description": "The logging properties of the connected registry." }, "statusDetails": { - "description": "The list of current statuses of the connected registry.", "type": "array", + "description": "The list of current statuses of the connected registry.", "items": { "$ref": "#/definitions/StatusDetailProperties" }, @@ -4526,20 +6075,25 @@ ] }, "notificationsList": { - "description": "The list of notifications subscription information for the connected registry.", "type": "array", + "description": "The list of notifications subscription information for the connected registry.", "items": { "type": "string" } }, "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" + "$ref": "#/definitions/GarbageCollectionProperties", + "description": "The garbage collection properties of the connected registry." } - } + }, + "required": [ + "mode", + "parent" + ] }, "ConnectedRegistryUpdateParameters": { - "description": "The parameters for updating a connected registry.", "type": "object", + "description": "The parameters for updating a connected registry.", "properties": { "properties": { "$ref": "#/definitions/ConnectedRegistryUpdateProperties", @@ -4549,8 +6103,8 @@ } }, "ConnectedRegistryUpdateProperties": { - "description": "The parameters for updating token properties.", "type": "object", + "description": "The parameters for updating token properties.", "properties": { "syncProperties": { "$ref": "#/definitions/SyncUpdateProperties", @@ -4561,192 +6115,205 @@ "description": "The logging properties of the connected registry." }, "clientTokenIds": { - "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "type": "array", + "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "items": { "type": "string" } }, "notificationsList": { - "description": "The list of notifications subscription information for the connected registry.", "type": "array", + "description": "The list of notifications subscription information for the connected registry.", "items": { "type": "string" } }, "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" + "$ref": "#/definitions/GarbageCollectionProperties", + "description": "The garbage collection properties of the connected registry." } } }, - "GarbageCollectionProperties": { - "description": "The garbage collection properties of the connected registry.", - "type": "object", - "properties": { - "enabled": { - "description": "Indicates whether garbage collection is enabled for the connected registry.", - "type": "boolean" - }, - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will run garbage collection.", - "type": "string" - } + "ConnectionState": { + "type": "string", + "description": "The current connection state of the connected registry.", + "enum": [ + "Online", + "Offline", + "Syncing", + "Unhealthy" + ], + "x-ms-enum": { + "name": "ConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Online", + "value": "Online" + }, + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "Syncing", + "value": "Syncing" + }, + { + "name": "Unhealthy", + "value": "Unhealthy" + } + ] } }, - "LoggingProperties": { - "description": "The logging properties of the connected registry.", - "type": "object", - "properties": { - "logLevel": { - "description": "The verbosity of logs persisted on the connected registry.", - "default": "Information", - "enum": [ - "Debug", - "Information", - "Warning", - "Error", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": true - } - }, - "auditLogStatus": { - "description": "Indicates whether audit logs are enabled on the connected registry.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "AuditLogStatus", - "modelAsString": true + "ConnectionStatus": { + "type": "string", + "description": "The private link service connection status.", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved" + }, + { + "name": "Pending", + "value": "Pending" + }, + { + "name": "Rejected", + "value": "Rejected" + }, + { + "name": "Disconnected", + "value": "Disconnected" } - } + ] } }, - "LoginServerProperties": { - "description": "The login server properties of the connected registry.", + "ContainerRegistryResourceType": { + "type": "string", + "description": "The resource type for Container Registry.", + "enum": [ + "Microsoft.ContainerRegistry/registries" + ], + "x-ms-enum": { + "name": "ContainerRegistryResourceType", + "modelAsString": false + } + }, + "CredentialHealth": { "type": "object", + "description": "The health of the auth credential.", "properties": { - "host": { - "description": "The host of the connected registry. Can be FQDN or IP.", + "status": { + "$ref": "#/definitions/CredentialHealthStatus", + "description": "The health status of credential." + }, + "errorCode": { "type": "string", - "readOnly": true + "description": "Error code representing the health check error." }, - "tls": { - "$ref": "#/definitions/TlsProperties", - "description": "The TLS properties of the connected registry login server.", - "readOnly": true + "errorMessage": { + "type": "string", + "description": "Descriptive message representing the health check error." } } }, - "ParentProperties": { - "description": "The properties of the connected registry parent.", - "required": [ - "syncProperties" + "CredentialHealthStatus": { + "type": "string", + "description": "The health status of credential.", + "enum": [ + "Healthy", + "Unhealthy" + ], + "x-ms-enum": { + "name": "CredentialHealthStatus", + "modelAsString": true, + "values": [ + { + "name": "Healthy", + "value": "Healthy" + }, + { + "name": "Unhealthy", + "value": "Unhealthy" + } + ] + } + }, + "CredentialName": { + "type": "string", + "description": "The name of the credential.", + "enum": [ + "Credential1" ], + "x-ms-enum": { + "name": "CredentialName", + "modelAsString": true, + "values": [ + { + "name": "Credential1", + "value": "Credential1" + } + ] + } + }, + "CredentialSet": { "type": "object", + "description": "An object that represents a credential set resource for a container registry.", "properties": { - "id": { - "description": "The resource ID of the parent to which the connected registry will be associated.", - "type": "string", - "format": "arm-id" + "properties": { + "$ref": "#/definitions/CredentialSetProperties", + "description": "The properties of the credential set.", + "x-ms-client-flatten": true }, - "syncProperties": { - "$ref": "#/definitions/SyncProperties", - "description": "The sync properties of the connected registry with its parent." + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, "CredentialSetListResult": { - "description": "The result of a request to list credential sets for a container registry.", "type": "object", + "description": "The result of a request to list credential sets for a container registry.", "properties": { "value": { - "description": "The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets.", "type": "array", + "description": "The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets.", "items": { "$ref": "#/definitions/CredentialSet" } }, "nextLink": { - "description": "The URI that can be used to request the next list of credential sets.", - "type": "string" + "type": "string", + "description": "The URI that can be used to request the next list of credential sets." } } }, - "CredentialSet": { - "description": "An object that represents a credential set resource for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." - }, - "properties": { - "$ref": "#/definitions/CredentialSetProperties", - "description": "The properties of the credential set.", - "x-ms-client-flatten": true - } - } - }, - "IdentityProperties": { - "description": "Managed identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } - } - } - }, - "CredentialSetProperties": { - "description": "The properties of a credential set resource.", + "CredentialSetProperties": { "type": "object", + "description": "The properties of a credential set resource.", "properties": { "loginServer": { - "description": "The credentials are stored for this upstream or login server.", - "type": "string" + "type": "string", + "description": "The credentials are stored for this upstream or login server." }, "authCredentials": { - "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", "type": "array", + "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", "items": { "$ref": "#/definitions/AuthCredential" }, @@ -4755,532 +6322,594 @@ ] }, "creationDate": { + "type": "string", "format": "date-time", "description": "The creation date of credential store resource.", - "type": "string", "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } } }, - "UserIdentityProperties": { + "CredentialSetUpdateParameters": { "type": "object", + "description": "The parameters for updating a credential set", "properties": { - "principalId": { - "description": "The principal id of user assigned identity.", - "type": "string", - "readOnly": true + "properties": { + "$ref": "#/definitions/CredentialSetUpdateProperties", + "description": "The properties of the credential set update parameters", + "x-ms-client-flatten": true }, - "clientId": { - "description": "The client id of user assigned identity.", - "type": "string", - "readOnly": true + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." } } }, - "Resource": { - "description": "An Azure resource.", - "required": [ - "location" - ], + "CredentialSetUpdateProperties": { + "type": "object", + "description": "The parameters for updating credential set properties.", "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", - "type": "string", - "readOnly": true - }, - "location": { - "description": "The location of the resource. This cannot be changed after the resource is created.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" + "authCredentials": { + "type": "array", + "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" ] - }, - "tags": { - "description": "The tags of the resource.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true } - }, - "x-ms-azure-resource": true + } }, - "AuthCredential": { - "description": "Authentication credential stored for an upstream.", + "DebianArchivePackageSourceProperties": { "type": "object", + "description": "The properties of the archive package source.", "properties": { - "name": { - "description": "The name of the credential.", - "enum": [ - "Credential1" - ], + "distributionName": { "type": "string", - "x-ms-enum": { - "name": "CredentialName", - "modelAsString": true - } - }, - "usernameSecretIdentifier": { - "description": "KeyVault Secret URI for accessing the username.", - "type": "string" - }, - "passwordSecretIdentifier": { - "description": "KeyVault Secret URI for accessing the password.", - "type": "string" - }, - "credentialHealth": { - "$ref": "#/definitions/CredentialHealth", - "description": "This provides data pertaining to the health of the auth credential.", - "readOnly": true + "description": "Upstream Debian distribution Name." } - } + }, + "allOf": [ + { + "$ref": "#/definitions/ArchivePackageSourceProperties" + } + ] }, - "ProxyResource": { - "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.", + "DebianArchiveProperties": { + "type": "object", + "description": "The properties of the Debian package Archive.", "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", + "distributionName": { "type": "string", - "readOnly": true - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true + "description": "Debian distribution Name." } }, - "x-ms-azure-resource": true + "allOf": [ + { + "$ref": "#/definitions/ArchiveProperties" + } + ] }, - "CredentialHealth": { - "description": "The health of the auth credential.", + "EncryptionProperty": { "type": "object", "properties": { "status": { - "description": "The health status of credential.", - "enum": [ - "Healthy", - "Unhealthy" - ], - "type": "string", - "x-ms-enum": { - "name": "CredentialHealthStatus", - "modelAsString": true - } + "$ref": "#/definitions/EncryptionStatus", + "description": "Indicates whether or not the encryption is enabled for container registry." }, - "errorCode": { - "description": "Error code representing the health check error.", - "type": "string" - }, - "errorMessage": { - "description": "Descriptive message representing the health check error.", - "type": "string" + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Key vault properties." } } }, - "SystemData": { - "description": "Metadata pertaining to creation and last modification of the resource.", + "EncryptionStatus": { + "type": "string", + "description": "Indicates whether or not the encryption is enabled for container registry.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, + "Event": { "type": "object", + "description": "The event for a webhook.", "properties": { - "createdBy": { - "description": "The identity that created the resource.", - "type": "string" + "eventRequestMessage": { + "$ref": "#/definitions/EventRequestMessage", + "description": "The event request message sent to the service URI." }, - "createdByType": { - "description": "The type of identity that created the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], + "eventResponseMessage": { + "$ref": "#/definitions/EventResponseMessage", + "description": "The event response message received from the service URI." + } + }, + "allOf": [ + { + "$ref": "#/definitions/EventInfo" + } + ] + }, + "EventContent": { + "type": "object", + "description": "The content of the event request message.", + "properties": { + "id": { "type": "string", - "x-ms-enum": { - "name": "createdByType", - "modelAsString": true - } + "description": "The event ID." }, - "createdAt": { + "timestamp": { + "type": "string", "format": "date-time", - "description": "The timestamp of resource creation (UTC).", - "type": "string" - }, - "lastModifiedBy": { - "description": "The identity that last modified the resource.", - "type": "string" + "description": "The time at which the event occurred." }, - "lastModifiedByType": { - "description": "The type of identity that last modified the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], + "action": { "type": "string", - "x-ms-enum": { - "name": "lastModifiedByType", - "modelAsString": true - } + "description": "The action that encompasses the provided event." }, - "lastModifiedAt": { - "format": "date-time", - "description": "The timestamp of resource modification (UTC).", - "type": "string" + "target": { + "$ref": "#/definitions/Target", + "description": "The target of the event." + }, + "request": { + "$ref": "#/definitions/Request", + "description": "The request that generated the event." + }, + "actor": { + "$ref": "#/definitions/Actor", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." + }, + "source": { + "$ref": "#/definitions/Source", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." } - }, - "readOnly": true + } }, - "DebianArchiveProperties": { - "description": "The properties of the Debian package Archive.", + "EventInfo": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ArchiveProperties" - } - ], + "description": "The basic information of an event.", "properties": { - "distributionName": { - "description": "Debian distribution Name.", - "type": "string" + "id": { + "type": "string", + "description": "The event ID." } } }, - "DebianArchivePackageSourceProperties": { - "description": "The properties of the archive package source.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ArchivePackageSourceProperties" - } - ], - "properties": { - "distributionName": { - "description": "Upstream Debian distribution Name.", - "type": "string" - } - } - }, - "CredentialSetUpdateParameters": { - "description": "The parameters for updating a credential set", + "EventListResult": { "type": "object", + "description": "The result of a request to list events for a webhook.", "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetUpdateProperties", - "description": "The properties of the credential set update parameters", - "x-ms-client-flatten": true + "value": { + "type": "array", + "description": "The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.", + "items": { + "$ref": "#/definitions/Event" + } }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of events." } } }, - "CredentialSetUpdateProperties": { - "description": "The parameters for updating credential set properties.", + "EventRequestMessage": { "type": "object", + "description": "The event request message sent to the service URI.", "properties": { - "authCredentials": { - "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", - "type": "array", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] + "content": { + "$ref": "#/definitions/EventContent", + "description": "The content of the event request message." + }, + "headers": { + "type": "object", + "description": "The headers of the event request message.", + "additionalProperties": { + "type": "string" + } + }, + "method": { + "type": "string", + "description": "The HTTP method used to send the event request message." + }, + "requestUri": { + "type": "string", + "description": "The URI used to send the event request message." + }, + "version": { + "type": "string", + "description": "The HTTP message version." } } }, - "ExportPipelineListResult": { - "description": "The result of a request to list export pipelines for a container registry.", + "EventResponseMessage": { "type": "object", + "description": "The event response message received from the service URI.", "properties": { - "value": { - "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", - "type": "array", - "items": { - "$ref": "#/definitions/ExportPipeline" + "content": { + "type": "string", + "description": "The content of the event response message." + }, + "headers": { + "type": "object", + "description": "The headers of the event response message.", + "additionalProperties": { + "type": "string" } }, - "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" + "reasonPhrase": { + "type": "string", + "description": "The reason phrase of the event response message." + }, + "statusCode": { + "type": "string", + "description": "The status code of the event response message." + }, + "version": { + "type": "string", + "description": "The HTTP message version." } } }, "ExportPipeline": { - "description": "An object that represents an export pipeline for a container registry.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "An object that represents an export pipeline for a container registry.", "properties": { + "properties": { + "$ref": "#/definitions/ExportPipelineProperties", + "description": "The properties of the export pipeline.", + "x-ms-client-flatten": true + }, "location": { - "description": "The location of the export pipeline.", - "type": "string" + "type": "string", + "description": "The location of the export pipeline." }, "identity": { "$ref": "#/definitions/IdentityProperties", "description": "The identity of the export pipeline." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ExportPipelineListResult": { + "type": "object", + "description": "The result of a request to list export pipelines for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.", + "items": { + "$ref": "#/definitions/ExportPipeline" + } }, - "properties": { - "$ref": "#/definitions/ExportPipelineProperties", - "description": "The properties of the export pipeline.", - "x-ms-client-flatten": true + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of export pipelines." } } }, "ExportPipelineProperties": { - "description": "The properties of an export pipeline.", - "required": [ - "target" - ], "type": "object", + "description": "The properties of an export pipeline.", "properties": { "target": { "$ref": "#/definitions/ExportPipelineTargetProperties", "description": "The target properties of the export pipeline." }, "options": { - "description": "The list of all options configured for the pipeline.", "type": "array", + "description": "The list of all options configured for the pipeline.", "items": { - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "type": "string", - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true - } + "$ref": "#/definitions/PipelineOptions" } }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the pipeline at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } - } + }, + "required": [ + "target" + ] }, "ExportPipelineTargetProperties": { - "description": "The properties of the export pipeline target.", "type": "object", + "description": "The properties of the export pipeline target.", "properties": { "type": { - "description": "The type of target for the export pipeline.", - "type": "string" + "type": "string", + "description": "The type of target for the export pipeline." }, "uri": { - "description": "The target uri of the export pipeline.\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"", - "type": "string" + "type": "string", + "description": "The target uri of the export pipeline.\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" }, "keyVaultUri": { - "description": "They key vault secret uri to obtain the target storage SAS token.", - "type": "string" + "type": "string", + "description": "They key vault secret uri to obtain the target storage SAS token." }, "storageAccessMode": { + "type": "string", "description": "The storage access mode used for the customer storage account.", "default": "SasToken", "enum": [ "ManagedIdentity", "SasToken" ], - "type": "string", "x-ms-enum": { "name": "StorageAccessMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "description": "Managed Identity access mode" + }, + { + "name": "SasToken", + "value": "SasToken", + "description": "SAS Token access mode" + } + ] } } } }, - "ImportImageParameters": { - "required": [ - "source" - ], + "ExportPolicy": { "type": "object", + "description": "The export policy for a container registry.", "properties": { - "source": { - "$ref": "#/definitions/ImportSource", - "description": "The source of the image." - }, - "targetTags": { - "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", - "type": "array", - "items": { - "type": "string" - } - }, - "untaggedTargetRepositories": { - "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", - "type": "array", - "items": { - "type": "string" - } - }, - "mode": { - "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.", - "default": "NoForce", + "status": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "enabled", "enum": [ - "NoForce", - "Force" + "enabled", + "disabled" ], - "type": "string", "x-ms-enum": { - "name": "ImportMode", - "modelAsString": true + "name": "ExportPolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } } } }, - "ImportSource": { - "required": [ - "sourceImage" - ], + "GarbageCollectionProperties": { "type": "object", + "description": "The garbage collection properties of the connected registry.", "properties": { - "resourceId": { - "description": "The resource identifier of the source Azure Container Registry.", - "type": "string" - }, - "registryUri": { - "description": "The address of the source registry (e.g. 'mcr.microsoft.com').", - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/ImportSourceCredentials", - "description": "Credentials used when importing from a registry uri." + "enabled": { + "type": "boolean", + "description": "Indicates whether garbage collection is enabled for the connected registry." }, - "sourceImage": { - "description": "Repository name of the source image.\r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", - "type": "string" + "schedule": { + "type": "string", + "description": "The cron expression indicating the schedule that the connected registry will run garbage collection." } } }, - "ImportSourceCredentials": { - "required": [ - "password" - ], + "GenerateCredentialsParameters": { "type": "object", + "description": "The parameters used to generate credentials for a specified token or user of a container registry.", "properties": { - "username": { - "description": "The username to authenticate with the source registry.", - "type": "string" + "tokenId": { + "type": "string", + "description": "The resource ID of the token for which credentials have to be generated." }, - "password": { - "description": "The password used to authenticate with the source registry.", - "type": "string" + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry date of the generated credentials after which the credentials become invalid." + }, + "name": { + "$ref": "#/definitions/TokenPasswordName", + "description": "Specifies name of the password which should be regenerated if any -- password1 or password2." } } }, - "ImportPipelineListResult": { - "description": "The result of a request to list import pipelines for a container registry.", + "GenerateCredentialsResult": { "type": "object", + "description": "The response from the GenerateCredentials operation.", "properties": { - "value": { - "description": "The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines.", + "username": { + "type": "string", + "description": "The username for a container registry." + }, + "passwords": { "type": "array", + "description": "The list of passwords for a container registry.", "items": { - "$ref": "#/definitions/ImportPipeline" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" + "$ref": "#/definitions/TokenPassword" + }, + "x-ms-identifiers": [] } } }, - "ImportPipeline": { - "description": "An object that represents an import pipeline for a container registry.", + "IPRule": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" + "description": "IP rule with specific IP or IP range in CIDR format.", + "properties": { + "action": { + "type": "string", + "description": "The action of IP ACL rule.", + "default": "Allow", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow" + } + ] + } + }, + "value": { + "type": "string", + "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", + "x-ms-client-name": "IPAddressOrRange" } - ], + }, + "required": [ + "value" + ] + }, + "IdentityProperties": { + "type": "object", + "description": "Managed identity for the resource.", "properties": { - "location": { - "description": "The location of the import pipeline.", - "type": "string" + "principalId": { + "type": "string", + "description": "The principal ID of resource identity.", + "readOnly": true }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the import pipeline." + "tenantId": { + "type": "string", + "description": "The tenant ID of resource.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ResourceIdentityType", + "description": "The identity type." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } + } + } + }, + "ImportImageParameters": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/ImportSource", + "description": "The source of the image." + }, + "targetTags": { + "type": "array", + "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", + "items": { + "type": "string" + } + }, + "untaggedTargetRepositories": { + "type": "array", + "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", + "items": { + "type": "string" + } }, + "mode": { + "type": "string", + "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.", + "default": "NoForce", + "enum": [ + "NoForce", + "Force" + ], + "x-ms-enum": { + "name": "ImportMode", + "modelAsString": true, + "values": [ + { + "name": "NoForce", + "value": "NoForce" + }, + { + "name": "Force", + "value": "Force" + } + ] + } + } + }, + "required": [ + "source" + ] + }, + "ImportPipeline": { + "type": "object", + "description": "An object that represents an import pipeline for a container registry.", + "properties": { "properties": { "$ref": "#/definitions/ImportPipelineProperties", "description": "The properties of the import pipeline.", "x-ms-client-flatten": true + }, + "location": { + "type": "string", + "description": "The location of the import pipeline." + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the import pipeline." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ImportPipelineListResult": { + "type": "object", + "description": "The result of a request to list import pipelines for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines.", + "items": { + "$ref": "#/definitions/ImportPipeline" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of import pipelines." } } }, "ImportPipelineProperties": { - "description": "The properties of an import pipeline.", - "required": [ - "source" - ], "type": "object", + "description": "The properties of an import pipeline.", "properties": { "source": { "$ref": "#/definitions/ImportPipelineSourceProperties", @@ -5291,390 +6920,540 @@ "description": "The properties that describe the trigger of the import pipeline." }, "options": { - "description": "The list of all options configured for the pipeline.", "type": "array", + "description": "The list of all options configured for the pipeline.", "items": { - "enum": [ - "OverwriteTags", - "OverwriteBlobs", - "DeleteSourceBlobOnSuccess", - "ContinueOnErrors" - ], - "type": "string", - "x-ms-enum": { - "name": "PipelineOptions", - "modelAsString": true - } + "$ref": "#/definitions/PipelineOptions" } }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the pipeline at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } - } + }, + "required": [ + "source" + ] }, "ImportPipelineSourceProperties": { - "description": "The properties of the import pipeline source.", "type": "object", + "description": "The properties of the import pipeline source.", "properties": { "type": { + "type": "string", "description": "The type of source for the import pipeline.", "default": "AzureStorageBlobContainer", "enum": [ "AzureStorageBlobContainer" ], - "type": "string", "x-ms-enum": { "name": "PipelineSourceType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "AzureStorageBlobContainer", + "value": "AzureStorageBlobContainer" + } + ] } }, "uri": { - "description": "The source uri of the import pipeline.\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"", - "type": "string" + "type": "string", + "description": "The target uri of the export pipeline.\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" }, "keyVaultUri": { - "description": "They key vault secret uri to obtain the source storage SAS token.", - "type": "string" + "type": "string", + "description": "They key vault secret uri to obtain the source storage SAS token." }, "storageAccessMode": { + "type": "string", "description": "The storage access mode used for the customer storage account.", "default": "SasToken", "enum": [ "ManagedIdentity", "SasToken" ], - "type": "string", "x-ms-enum": { "name": "StorageAccessMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "description": "Managed Identity access mode" + }, + { + "name": "SasToken", + "value": "SasToken", + "description": "SAS Token access mode" + } + ] } } } }, - "PipelineTriggerProperties": { - "description": "The trigger properties of the import pipeline", - "type": "object", - "properties": { - "sourceTrigger": { - "$ref": "#/definitions/PipelineSourceTriggerProperties", - "description": "The source trigger properties of the pipeline." - } - } - }, - "PipelineSourceTriggerProperties": { - "required": [ - "status" - ], - "description": "The source trigger properties of the import pipeline", + "ImportSource": { "type": "object", "properties": { - "status": { - "description": "The current status of the source trigger.", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], + "resourceId": { "type": "string", - "x-ms-enum": { - "name": "TriggerStatus", - "modelAsString": true - } + "description": "The resource identifier of the source Azure Container Registry." + }, + "registryUri": { + "type": "string", + "description": "The address of the source registry (e.g. 'mcr.microsoft.com')." + }, + "credentials": { + "$ref": "#/definitions/ImportSourceCredentials", + "description": "Credentials used when importing from a registry uri." + }, + "sourceImage": { + "type": "string", + "description": "Repository name of the source image.\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123')." } - } + }, + "required": [ + "sourceImage" + ] }, - "OperationListResult": { - "description": "The result of a request to list container registry operations.", + "ImportSourceCredentials": { "type": "object", "properties": { - "value": { - "description": "The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] + "username": { + "type": "string", + "description": "The username to authenticate with the source registry." }, - "nextLink": { - "description": "The URI that can be used to request the next list of container registry operations.", - "type": "string" + "password": { + "type": "string", + "description": "The password used to authenticate with the source registry." } - } + }, + "required": [ + "password" + ] }, - "OperationDefinition": { - "description": "The definition of a container registry operation.", + "KeyVaultProperties": { "type": "object", "properties": { - "origin": { - "description": "The origin information of the container registry operation.", - "type": "string" + "keyIdentifier": { + "type": "string", + "description": "Key vault uri to access the encryption key." }, - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" + "versionedKeyIdentifier": { + "type": "string", + "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", + "readOnly": true }, - "display": { - "$ref": "#/definitions/OperationDisplayDefinition", - "description": "The display information for the container registry operation." + "identity": { + "type": "string", + "description": "The client id of the identity which will be used to access key vault." }, - "properties": { - "$ref": "#/definitions/OperationPropertiesDefinition", - "description": "The properties information for the container registry operation.", - "x-ms-client-flatten": true + "keyRotationEnabled": { + "type": "boolean", + "description": "Auto key rotation status for a CMK enabled registry.", + "readOnly": true }, - "isDataAction": { - "description": "This property indicates if the operation is an action or a data action\r\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations", - "type": "boolean" + "lastKeyRotationTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp of the last successful key rotation.", + "readOnly": true } } }, - "OperationDisplayDefinition": { - "description": "The display information for a container registry operation.", + "LoggingProperties": { "type": "object", + "description": "The logging properties of the connected registry.", "properties": { - "provider": { - "description": "The resource provider name: Microsoft.ContainerRegistry.", - "type": "string" - }, - "resource": { - "description": "The resource on which the operation is performed.", - "type": "string" - }, - "operation": { - "description": "The operation that users can perform.", - "type": "string" + "logLevel": { + "type": "string", + "description": "The verbosity of logs persisted on the connected registry.", + "default": "Information", + "enum": [ + "Debug", + "Information", + "Warning", + "Error", + "None" + ], + "x-ms-enum": { + "name": "LogLevel", + "modelAsString": true, + "values": [ + { + "name": "Debug", + "value": "Debug" + }, + { + "name": "Information", + "value": "Information" + }, + { + "name": "Warning", + "value": "Warning" + }, + { + "name": "Error", + "value": "Error" + }, + { + "name": "None", + "value": "None" + } + ] + } }, - "description": { - "description": "The description for the operation.", - "type": "string" + "auditLogStatus": { + "type": "string", + "description": "Indicates whether audit logs are enabled on the connected registry.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AuditLogStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } } } }, - "OperationPropertiesDefinition": { - "description": "The definition of Azure Monitoring properties.", + "LoginServerProperties": { "type": "object", + "description": "The login server properties of the connected registry.", "properties": { - "serviceSpecification": { - "$ref": "#/definitions/OperationServiceSpecificationDefinition", - "description": "The definition of Azure Monitoring service." + "host": { + "type": "string", + "description": "The host of the connected registry. Can be FQDN or IP.", + "readOnly": true + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "description": "The TLS properties of the connected registry login server.", + "readOnly": true } } }, - "OperationServiceSpecificationDefinition": { - "description": "The definition of Azure Monitoring list.", + "NetworkRuleSet": { "type": "object", + "description": "The network rule set for a container registry.", "properties": { - "metricSpecifications": { - "description": "A list of Azure Monitoring metrics definition.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationMetricSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] + "defaultAction": { + "type": "string", + "description": "The default action of allow or deny when no other rules match.", + "default": "Allow", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow" + }, + { + "name": "Deny", + "value": "Deny" + } + ] + } }, - "logSpecifications": { - "description": "A list of Azure Monitoring log definitions.", + "ipRules": { "type": "array", + "description": "The IP ACL rules.", "items": { - "$ref": "#/definitions/OperationLogSpecificationDefinition" + "$ref": "#/definitions/IPRule" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": [] } - } + }, + "required": [ + "defaultAction" + ] }, - "OperationMetricSpecificationDefinition": { - "description": "The definition of Azure Monitoring metric.", + "OperationDefinition": { "type": "object", + "description": "The definition of a container registry operation.", "properties": { + "origin": { + "type": "string", + "description": "The origin information of the container registry operation." + }, "name": { - "description": "Metric name.", - "type": "string" + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}." }, - "displayName": { - "description": "Metric display name.", - "type": "string" + "display": { + "$ref": "#/definitions/OperationDisplayDefinition", + "description": "The display information for the container registry operation." }, - "displayDescription": { - "description": "Metric description.", - "type": "string" + "properties": { + "$ref": "#/definitions/OperationPropertiesDefinition", + "description": "The properties information for the container registry operation.", + "x-ms-client-flatten": true }, - "unit": { - "description": "Metric unit.", - "type": "string" + "isDataAction": { + "type": "boolean", + "description": "This property indicates if the operation is an action or a data action\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations" + } + } + }, + "OperationDisplayDefinition": { + "type": "object", + "description": "The display information for a container registry operation.", + "properties": { + "provider": { + "type": "string", + "description": "The resource provider name: Microsoft.ContainerRegistry." }, - "aggregationType": { - "description": "Metric aggregation type.", - "type": "string" + "resource": { + "type": "string", + "description": "The resource on which the operation is performed." }, - "internalMetricName": { - "description": "Internal metric name.", - "type": "string" + "operation": { + "type": "string", + "description": "The operation that users can perform." + }, + "description": { + "type": "string", + "description": "The description for the operation." + } + } + }, + "OperationListResult": { + "type": "object", + "description": "The result of a request to list container registry operations.", + "properties": { + "value": { + "type": "array", + "description": "The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.", + "items": { + "$ref": "#/definitions/OperationDefinition" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of container registry operations." } } }, "OperationLogSpecificationDefinition": { - "description": "The definition of Azure Monitoring log.", "type": "object", + "description": "The definition of Azure Monitoring log.", "properties": { "name": { - "description": "Log name.", - "type": "string" + "type": "string", + "description": "Log name." }, "displayName": { - "description": "Log display name.", - "type": "string" + "type": "string", + "description": "Log display name." }, "blobDuration": { - "description": "Log blob duration.", - "type": "string" + "type": "string", + "description": "Log blob duration." } } }, - "RegistryNameCheckRequest": { - "description": "A request to check whether a container registry name is available.", - "required": [ - "name", - "type" - ], + "OperationMetricSpecificationDefinition": { "type": "object", + "description": "The definition of Azure Monitoring metric.", "properties": { "name": { - "description": "The name of the container registry.", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "type": "string" + "type": "string", + "description": "Metric name." }, - "type": { - "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.", - "enum": [ - "Microsoft.ContainerRegistry/registries" - ], + "displayName": { "type": "string", - "x-ms-enum": { - "name": "ContainerRegistryResourceType", - "modelAsString": false - } + "description": "Metric display name." }, - "resourceGroupName": { - "description": "The resource group name of the container registry.", - "maxLength": 90, - "minLength": 1, - "type": "string" + "displayDescription": { + "type": "string", + "description": "Metric description." }, - "autoGeneratedDomainNameLabelScope": { - "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", - "default": "Unsecure", - "enum": [ - "Unsecure", - "TenantReuse", - "SubscriptionReuse", - "ResourceGroupReuse", - "NoReuse" - ], + "unit": { "type": "string", - "x-ms-enum": { - "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true - } + "description": "Metric unit." + }, + "aggregationType": { + "type": "string", + "description": "Metric aggregation type." + }, + "internalMetricName": { + "type": "string", + "description": "Internal metric name." } } }, - "RegistryNameStatus": { - "description": "The result of a request to check the availability of a container registry name.", + "OperationPropertiesDefinition": { "type": "object", + "description": "The definition of Azure Monitoring properties.", "properties": { - "availableLoginServerName": { - "description": "The complete login server name with domain name label (DNL) hash, if available", - "type": "string" - }, - "nameAvailable": { - "description": "The value that indicates whether the name is available.", - "type": "boolean" - }, - "reason": { - "description": "If any, the reason that the name is not available.", - "type": "string" - }, - "message": { - "description": "If any, the error message that provides more detail for the reason that the name is not available.", - "type": "string" + "serviceSpecification": { + "$ref": "#/definitions/OperationServiceSpecificationDefinition", + "description": "The definition of Azure Monitoring service." } } }, - "PipelineRunListResult": { - "description": "The result of a request to list pipeline runs for a container registry.", + "OperationServiceSpecificationDefinition": { "type": "object", + "description": "The definition of Azure Monitoring list.", "properties": { - "value": { - "description": "The list of pipeline runs. Since this list may be incomplete, the nextLink field should be used to request the next list of pipeline runs.", + "metricSpecifications": { "type": "array", + "description": "A list of Azure Monitoring metrics definition.", "items": { - "$ref": "#/definitions/PipelineRun" - } + "$ref": "#/definitions/OperationMetricSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] }, - "nextLink": { - "description": "The URI that can be used to request the next list of pipeline runs.", - "type": "string" + "logSpecifications": { + "type": "array", + "description": "A list of Azure Monitoring log definitions.", + "items": { + "$ref": "#/definitions/OperationLogSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] } } }, - "PipelineRun": { - "description": "An object that represents a pipeline run for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } + "PackageSourceType": { + "type": "string", + "description": "The type of package source for a archive.", + "enum": [ + "remote" + ], + "x-ms-enum": { + "name": "PackageSourceType", + "modelAsString": true, + "values": [ + { + "name": "remote", + "value": "remote" + } + ] + } + }, + "ParentProperties": { + "type": "object", + "description": "The properties of the connected registry parent.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of the parent to which the connected registry will be associated." + }, + "syncProperties": { + "$ref": "#/definitions/SyncProperties", + "description": "The sync properties of the connected registry with its parent." + } + }, + "required": [ + "syncProperties" + ] + }, + "PasswordName": { + "type": "string", + "description": "The password name.", + "enum": [ + "password", + "password2" ], + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + }, + "PipelineOptions": { + "type": "string", + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ], + "x-ms-enum": { + "name": "PipelineOptions", + "modelAsString": true, + "values": [ + { + "name": "OverwriteTags", + "value": "OverwriteTags" + }, + { + "name": "OverwriteBlobs", + "value": "OverwriteBlobs" + }, + { + "name": "DeleteSourceBlobOnSuccess", + "value": "DeleteSourceBlobOnSuccess" + }, + { + "name": "ContinueOnErrors", + "value": "ContinueOnErrors" + } + ] + } + }, + "PipelineRun": { + "type": "object", + "description": "An object that represents a pipeline run for a container registry.", "properties": { "properties": { "$ref": "#/definitions/PipelineRunProperties", "description": "The properties of a pipeline run.", "x-ms-client-flatten": true } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PipelineRunListResult": { + "type": "object", + "description": "The result of a request to list pipeline runs for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of pipeline runs. Since this list may be incomplete, the nextLink field should be used to request the next list of pipeline runs.", + "items": { + "$ref": "#/definitions/PipelineRun" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of pipeline runs." + } } }, "PipelineRunProperties": { - "description": "The properties of a pipeline run.", "type": "object", + "description": "The properties of a pipeline run.", "properties": { "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of a pipeline run.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true }, "request": { "$ref": "#/definitions/PipelineRunRequest", @@ -5686,22 +7465,22 @@ "readOnly": true }, "forceUpdateTag": { - "description": "How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed.", - "type": "string" + "type": "string", + "description": "How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed." } } }, "PipelineRunRequest": { - "description": "The request properties provided for a pipeline run.", "type": "object", + "description": "The request properties provided for a pipeline run.", "properties": { "pipelineResourceId": { - "description": "The resource ID of the pipeline to run.", - "type": "string" + "type": "string", + "description": "The resource ID of the pipeline to run." }, "artifacts": { - "description": "List of source artifacts to be transferred by the pipeline. \r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", "type": "array", + "description": "List of source artifacts to be transferred by the pipeline. \nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", "items": { "type": "string" } @@ -5715,22 +7494,22 @@ "description": "The target properties of the pipeline run." }, "catalogDigest": { - "description": "The digest of the tar used to transfer the artifacts.", - "type": "string" + "type": "string", + "description": "The digest of the tar used to transfer the artifacts." } } }, "PipelineRunResponse": { - "description": "The response properties returned for a pipeline run.", "type": "object", + "description": "The response properties returned for a pipeline run.", "properties": { "status": { - "description": "The current status of the pipeline run.", - "type": "string" + "type": "string", + "description": "The current status of the pipeline run." }, "importedArtifacts": { - "description": "The artifacts imported in the pipeline run.", "type": "array", + "description": "The artifacts imported in the pipeline run.", "items": { "type": "string" } @@ -5740,14 +7519,14 @@ "description": "The current progress of the copy operation." }, "startTime": { + "type": "string", "format": "date-time", - "description": "The time the pipeline run started.", - "type": "string" + "description": "The time the pipeline run started." }, "finishTime": { + "type": "string", "format": "date-time", - "description": "The time the pipeline run finished.", - "type": "string" + "description": "The time the pipeline run finished." }, "source": { "$ref": "#/definitions/ImportPipelineSourceProperties", @@ -5758,76 +7537,121 @@ "description": "The target of the pipeline run." }, "catalogDigest": { - "description": "The digest of the tar used to transfer the artifacts.", - "type": "string" + "type": "string", + "description": "The digest of the tar used to transfer the artifacts." }, "trigger": { "$ref": "#/definitions/PipelineTriggerDescriptor", "description": "The trigger that caused the pipeline run." }, "pipelineRunErrorMessage": { - "description": "The detailed error message for the pipeline run in the case of failure.", - "type": "string" + "type": "string", + "description": "The detailed error message for the pipeline run in the case of failure." } } }, "PipelineRunSourceProperties": { - "description": "The pipeline run source properties", "type": "object", + "description": "The pipeline run source properties", "properties": { "type": { + "type": "string", "description": "The type of the source.", "default": "AzureStorageBlob", "enum": [ "AzureStorageBlob" ], - "type": "string", "x-ms-enum": { "name": "PipelineRunSourceType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "AzureStorageBlob", + "value": "AzureStorageBlob" + } + ] } }, "name": { - "description": "The name of the source.", - "type": "string" + "type": "string", + "description": "The name of the source." } } }, "PipelineRunTargetProperties": { - "description": "The pipeline run target properties", "type": "object", + "description": "The pipeline run target properties", "properties": { "type": { + "type": "string", "description": "The type of the target.", "default": "AzureStorageBlob", "enum": [ "AzureStorageBlob" ], - "type": "string", "x-ms-enum": { "name": "PipelineRunTargetType", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "AzureStorageBlob", + "value": "AzureStorageBlob" + } + ] } }, "name": { - "description": "The name of the target.", - "type": "string" + "type": "string", + "description": "The name of the target." } } }, - "ProgressProperties": { - "description": "The progress properties.", + "PipelineSourceTriggerDescriptor": { "type": "object", + "description": "The pipeline source trigger descriptor.", "properties": { - "percentage": { - "description": "The percentage complete of the copy operation.", - "type": "string" + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the source update happened." } } }, + "PipelineSourceTriggerProperties": { + "type": "object", + "description": "The source trigger properties of the import pipeline", + "properties": { + "status": { + "type": "string", + "description": "The current status of the source trigger.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "TriggerStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + } + }, + "required": [ + "status" + ] + }, "PipelineTriggerDescriptor": { - "description": "The pipeline trigger descriptor", "type": "object", + "description": "The pipeline trigger descriptor", "properties": { "sourceTrigger": { "$ref": "#/definitions/PipelineSourceTriggerDescriptor", @@ -5835,53 +7659,92 @@ } } }, - "PipelineSourceTriggerDescriptor": { - "description": "The pipeline source trigger descriptor.", + "PipelineTriggerProperties": { "type": "object", + "description": "The trigger properties of the import pipeline", "properties": { - "timestamp": { - "format": "date-time", - "description": "The timestamp when the source update happened.", - "type": "string" + "sourceTrigger": { + "$ref": "#/definitions/PipelineSourceTriggerProperties", + "description": "The source trigger properties of the pipeline." } } }, - "PrivateEndpointConnectionListResult": { - "description": "The result of a request to list private endpoint connections for a container registry.", + "Policies": { "type": "object", + "description": "The policies for a container registry.", "properties": { - "value": { - "description": "The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } + "quarantinePolicy": { + "$ref": "#/definitions/QuarantinePolicy", + "description": "The quarantine policy for a container registry." }, - "nextLink": { - "description": "The URI that can be used to request the next list of private endpoint connections.", - "type": "string" + "trustPolicy": { + "$ref": "#/definitions/TrustPolicy", + "description": "The content trust policy for a container registry." + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "The retention policy for a container registry." + }, + "exportPolicy": { + "$ref": "#/definitions/ExportPolicy", + "description": "The export policy for a container registry." + }, + "azureADAuthenticationAsArmPolicy": { + "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", + "description": "The policy for using Azure Resource Manager audience token for a container registry." + }, + "softDeletePolicy": { + "$ref": "#/definitions/SoftDeletePolicy", + "description": "The soft delete policy for a container registry." } } }, - "PrivateEndpointConnection": { - "description": "An object that represents a private endpoint connection for a container registry.", + "PrivateEndpoint": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" + "description": "The Private Endpoint resource.", + "properties": { + "id": { + "type": "string", + "description": "This is private endpoint resource created with Microsoft.Network resource provider." } - ], + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "An object that represents a private endpoint connection for a container registry.", "properties": { "properties": { "$ref": "#/definitions/PrivateEndpointConnectionProperties", "description": "The properties of a private endpoint connection.", "x-ms-client-flatten": true } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "The result of a request to list private endpoint connections for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections.", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of private endpoint connections." + } } }, "PrivateEndpointConnectionProperties": { - "description": "The properties of a private endpoint connection.", "type": "object", + "description": "The properties of a private endpoint connection.", "properties": { "privateEndpoint": { "$ref": "#/definitions/PrivateEndpoint", @@ -5892,99 +7755,212 @@ "description": "A collection of information about the state of the connection between service consumer and provider." }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of private endpoint connection resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } } }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", + "PrivateLinkResource": { "type": "object", + "description": "A resource that supports private link capabilities.", "properties": { - "id": { - "description": "This is private endpoint resource created with Microsoft.Network resource provider.", - "type": "string" + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "A resource that supports private link capabilities.", + "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, - "PrivateLinkServiceConnectionState": { - "description": "The state of a private link service connection.", + "PrivateLinkResourceListResult": { "type": "object", + "description": "The result of a request to list private link resources for a container registry.", "properties": { - "status": { - "description": "The private link service connection status.", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStatus", - "modelAsString": true - } - }, - "description": { - "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection.", - "type": "string" + "value": { + "type": "array", + "description": "The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources.", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } }, - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "enum": [ - "None", - "Recreate" - ], + "nextLink": { "type": "string", - "x-ms-enum": { - "name": "ActionsRequired", - "modelAsString": true - } + "description": "The URI that can be used to request the next list of private link resources." } } }, - "RegistryListResult": { - "description": "The result of a request to list container registries.", + "PrivateLinkResourceProperties": { "type": "object", + "description": "The properties of a private link resource.", "properties": { - "value": { - "description": "The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.", + "groupId": { + "type": "string", + "description": "The private link resource group id." + }, + "requiredMembers": { "type": "array", + "description": "The private link resource required member names.", "items": { - "$ref": "#/definitions/Registry" + "type": "string" } }, - "nextLink": { - "description": "The URI that can be used to request the next list of container registries.", - "type": "string" + "requiredZoneNames": { + "type": "array", + "description": "The private link resource Private link DNS zone name.", + "items": { + "type": "string" + } } } }, - "Registry": { - "description": "An object that represents a container registry.", - "required": [ - "sku" - ], + "PrivateLinkServiceConnectionState": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" + "description": "The state of a private link service connection.", + "properties": { + "status": { + "$ref": "#/definitions/ConnectionStatus", + "description": "The private link service connection status." + }, + "description": { + "type": "string", + "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection." + }, + "actionsRequired": { + "$ref": "#/definitions/ActionsRequired", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + } + }, + "ProgressProperties": { + "type": "object", + "description": "The progress properties.", + "properties": { + "percentage": { + "type": "string", + "description": "The percentage complete of the copy operation." } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning state of the archive at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + } + ] + } + }, + "PublicNetworkAccess": { + "type": "string", + "description": "Whether or not public network access is allowed for the container registry.", + "enum": [ + "Enabled", + "Disabled" ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "QuarantinePolicy": { + "type": "object", + "description": "The quarantine policy for a container registry.", + "properties": { + "status": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + } + } + }, + "RegenerateCredentialParameters": { + "type": "object", + "description": "The parameters used to regenerate the login credential.", + "properties": { + "name": { + "$ref": "#/definitions/PasswordName", + "description": "Specifies name of the password which should be regenerated -- password or password2." + } + }, + "required": [ + "name" + ] + }, + "Registry": { + "type": "object", + "description": "An object that represents a container registry.", "properties": { + "properties": { + "$ref": "#/definitions/RegistryProperties", + "description": "The properties of the container registry.", + "x-ms-client-flatten": true + }, "sku": { "$ref": "#/definitions/Sku", "description": "The SKU of the container registry." @@ -5992,83 +7968,172 @@ "identity": { "$ref": "#/definitions/IdentityProperties", "description": "The identity of the container registry." + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "RegistryListCredentialsResult": { + "type": "object", + "description": "The response from the ListCredentials operation.", + "properties": { + "username": { + "type": "string", + "description": "The username for a container registry." }, - "properties": { - "$ref": "#/definitions/RegistryProperties", - "description": "The properties of the container registry.", - "x-ms-client-flatten": true + "passwords": { + "type": "array", + "description": "The list of passwords for a container registry.", + "items": { + "$ref": "#/definitions/RegistryPassword" + }, + "x-ms-identifiers": [] } } }, - "Sku": { - "description": "The SKU of a container registry.", - "required": [ - "name" - ], + "RegistryListResult": { + "type": "object", + "description": "The result of a request to list container registries.", + "properties": { + "value": { + "type": "array", + "description": "The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.", + "items": { + "$ref": "#/definitions/Registry" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of container registries." + } + } + }, + "RegistryNameCheckRequest": { "type": "object", + "description": "A request to check whether a container registry name is available.", "properties": { "name": { - "description": "The SKU name of the container registry. Required for registry creation.", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], "type": "string", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } + "description": "The name of the container registry.", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, - "tier": { - "description": "The SKU tier based on the SKU name.", + "type": { + "$ref": "#/definitions/ContainerRegistryResourceType", + "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'." + }, + "resourceGroupName": { + "type": "string", + "description": "The resource group name of the container registry.", + "minLength": 1, + "maxLength": 90 + }, + "autoGeneratedDomainNameLabelScope": { + "type": "string", + "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", + "default": "Unsecure", "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" ], - "type": "string", - "readOnly": true, "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true, + "values": [ + { + "name": "Unsecure", + "value": "Unsecure" + }, + { + "name": "TenantReuse", + "value": "TenantReuse" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse" + }, + { + "name": "NoReuse", + "value": "NoReuse" + } + ] } } + }, + "required": [ + "name", + "type" + ] + }, + "RegistryNameStatus": { + "type": "object", + "description": "The result of a request to check the availability of a container registry name.", + "properties": { + "availableLoginServerName": { + "type": "string", + "description": "The complete login server name with domain name label (DNL) hash, if available" + }, + "nameAvailable": { + "type": "boolean", + "description": "The value that indicates whether the name is available." + }, + "reason": { + "type": "string", + "description": "If any, the reason that the name is not available." + }, + "message": { + "type": "string", + "description": "If any, the error message that provides more detail for the reason that the name is not available." + } + } + }, + "RegistryPassword": { + "type": "object", + "description": "The login password for the container registry.", + "properties": { + "name": { + "$ref": "#/definitions/PasswordName", + "description": "The password name." + }, + "value": { + "type": "string", + "description": "The password value." + } } }, "RegistryProperties": { - "description": "The properties of a container registry.", "type": "object", + "description": "The properties of a container registry.", "properties": { "loginServer": { - "description": "The URL that can be used to log into the container registry.", "type": "string", + "description": "The URL that can be used to log into the container registry.", "readOnly": true }, "creationDate": { + "type": "string", "format": "date-time", "description": "The creation date of the container registry in ISO8601 format.", - "type": "string", "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the container registry at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true }, "status": { "$ref": "#/definitions/Status", @@ -6076,9 +8141,9 @@ "readOnly": true }, "adminUserEnabled": { + "type": "boolean", "description": "The value that indicates whether the admin user is enabled.", - "default": false, - "type": "boolean" + "default": false }, "networkRuleSet": { "$ref": "#/definitions/NetworkRuleSet", @@ -6093,88 +8158,129 @@ "description": "The encryption settings of container registry." }, "dataEndpointEnabled": { - "description": "Enable a single data endpoint per region for serving data.", - "type": "boolean" + "type": "boolean", + "description": "Enable a single data endpoint per region for serving data." }, "dataEndpointHostNames": { - "description": "List of host names that will serve data when dataEndpointEnabled is true.", "type": "array", + "description": "List of host names that will serve data when dataEndpointEnabled is true.", "items": { "type": "string" }, "readOnly": true }, "privateEndpointConnections": { - "description": "List of private endpoint connections for a container registry.", "type": "array", + "description": "List of private endpoint connections for a container registry.", "items": { "$ref": "#/definitions/PrivateEndpointConnection" }, "readOnly": true }, "publicNetworkAccess": { + "type": "string", "description": "Whether or not public network access is allowed for the container registry.", "default": "Enabled", "enum": [ "Enabled", "Disabled" ], - "type": "string", "x-ms-enum": { "name": "PublicNetworkAccess", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, "networkRuleBypassOptions": { + "type": "string", "description": "Whether to allow trusted Azure services to access a network restricted registry.", "default": "AzureServices", "enum": [ "AzureServices", "None" ], - "type": "string", "x-ms-enum": { "name": "NetworkRuleBypassOptions", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "AzureServices", + "value": "AzureServices" + }, + { + "name": "None", + "value": "None" + } + ] } }, "networkRuleBypassAllowedForTasks": { + "type": "boolean", "description": "Whether or not Tasks allowed to bypass the network rules for this container registry.", - "default": false, - "type": "boolean" + "default": false }, "zoneRedundancy": { + "type": "string", "description": "Whether or not zone redundancy is enabled for this container registry", "default": "Disabled", "enum": [ "Enabled", "Disabled" ], - "type": "string", "x-ms-enum": { "name": "ZoneRedundancy", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, "anonymousPullEnabled": { + "type": "boolean", "description": "Enables registry-wide pull from unauthenticated clients.", - "default": false, - "type": "boolean" + "default": false }, "metadataSearch": { + "type": "string", "description": "Determines whether registry artifacts are indexed for metadata search.", "default": "Disabled", "enum": [ "Enabled", "Disabled" ], - "type": "string", "x-ms-enum": { "name": "MetadataSearch", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, "autoGeneratedDomainNameLabelScope": { + "type": "string", "description": "Determines the domain name label reuse scope.", "default": "Unsecure", "enum": [ @@ -6184,1426 +8290,1397 @@ "ResourceGroupReuse", "NoReuse" ], - "type": "string", "x-ms-enum": { "name": "AutoGeneratedDomainNameLabelScope", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Unsecure", + "value": "Unsecure" + }, + { + "name": "TenantReuse", + "value": "TenantReuse" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse" + }, + { + "name": "NoReuse", + "value": "NoReuse" + } + ] } }, "roleAssignmentMode": { + "type": "string", "description": "Determines registry role assignment mode.", "default": "LegacyRegistryPermissions", "enum": [ "AbacRepositoryPermissions", "LegacyRegistryPermissions" ], - "type": "string", "x-ms-enum": { "name": "RoleAssignmentMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "AbacRepositoryPermissions", + "value": "AbacRepositoryPermissions" + }, + { + "name": "LegacyRegistryPermissions", + "value": "LegacyRegistryPermissions" + } + ] } } } }, - "Status": { - "description": "The status of an Azure resource at the time the operation was called.", + "RegistryPropertiesUpdateParameters": { "type": "object", + "description": "The parameters for updating the properties of a container registry.", "properties": { - "displayStatus": { - "description": "The short label for the status.", - "type": "string", - "readOnly": true + "adminUserEnabled": { + "type": "boolean", + "description": "The value that indicates whether the admin user is enabled." }, - "message": { - "description": "The detailed message for the status, including alerts and error messages.", - "type": "string", - "readOnly": true + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "The network rule set for a container registry." }, - "timestamp": { - "format": "date-time", - "description": "The timestamp when the status was changed to the current value.", - "type": "string", - "readOnly": true - } - } - }, - "StatusDetailProperties": { - "description": "The status detail properties of the connected registry.", - "type": "object", - "properties": { - "type": { - "description": "The component of the connected registry corresponding to the status.", - "type": "string", - "readOnly": true + "policies": { + "$ref": "#/definitions/Policies", + "description": "The policies for a container registry." }, - "code": { - "description": "The HTTP status code.", - "type": "string", - "readOnly": true + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of container registry." }, - "description": { - "description": "The description of the status.", - "type": "string", - "readOnly": true + "dataEndpointEnabled": { + "type": "boolean", + "description": "Enable a single data endpoint per region for serving data." }, - "timestamp": { - "format": "date-time", - "description": "The timestamp of the status.", + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Whether or not public network access is allowed for the container registry." + }, + "networkRuleBypassOptions": { "type": "string", - "readOnly": true + "description": "Whether to allow trusted Azure services to access a network restricted registry.", + "default": "AzureServices", + "enum": [ + "AzureServices", + "None" + ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true, + "values": [ + { + "name": "AzureServices", + "value": "AzureServices" + }, + { + "name": "None", + "value": "None" + } + ] + } }, - "correlationId": { - "description": "The correlation ID of the status.", + "networkRuleBypassAllowedForTasks": { + "type": "boolean", + "description": "Whether to allow ACR Tasks service to access a network restricted registry." + }, + "anonymousPullEnabled": { + "type": "boolean", + "description": "Enables registry-wide pull from unauthenticated clients." + }, + "metadataSearch": { "type": "string", - "readOnly": true + "description": "Determines whether registry artifacts are indexed for metadata search.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MetadataSearch", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "roleAssignmentMode": { + "$ref": "#/definitions/RoleAssignmentMode", + "description": "Determines registry role assignment mode." } } }, - "StorageAccountProperties": { - "description": "The properties of a storage account for a container registry. Only applicable to Classic SKU.", - "required": [ - "id" - ], + "RegistryUpdateParameters": { "type": "object", + "description": "The parameters for updating a container registry.", "properties": { - "id": { - "description": "The resource ID of the storage account.", - "type": "string" + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the container registry." + }, + "tags": { + "type": "object", + "description": "The tags for the container registry.", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the container registry." + }, + "properties": { + "$ref": "#/definitions/RegistryPropertiesUpdateParameters", + "description": "The properties that the container registry will be updated with.", + "x-ms-client-flatten": true } } }, - "SyncProperties": { - "description": "The sync properties of the connected registry with its parent.", - "required": [ - "tokenId", - "messageTtl" - ], + "RegistryUsage": { "type": "object", + "description": "The quota usage for a container registry.", "properties": { - "tokenId": { - "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.", - "type": "string" - }, - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", - "type": "string" - }, - "syncWindow": { - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" + "name": { + "type": "string", + "description": "The name of the usage." }, - "messageTtl": { - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" + "limit": { + "type": "integer", + "format": "int64", + "description": "The limit of the usage." }, - "lastSyncTime": { - "format": "date-time", - "description": "The last time a sync occurred between the connected registry and its parent.", - "type": "string", - "readOnly": true + "currentValue": { + "type": "integer", + "format": "int64", + "description": "The current value of the usage." }, - "gatewayEndpoint": { - "description": "The gateway endpoint used by the connected registry to communicate with its parent.", - "type": "string", - "readOnly": true + "unit": { + "$ref": "#/definitions/RegistryUsageUnit", + "description": "The unit of measurement." } } }, - "SyncUpdateProperties": { - "description": "The parameters for updating the sync properties of the connected registry with its parent.", + "RegistryUsageListResult": { "type": "object", + "description": "The result of a request to get container registry quota usages.", "properties": { - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", - "type": "string" - }, - "syncWindow": { - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" - }, - "messageTtl": { - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" + "value": { + "type": "array", + "description": "The list of container registry quota usages.", + "items": { + "$ref": "#/definitions/RegistryUsage" + }, + "x-ms-identifiers": [ + "name" + ] } } }, - "NetworkRuleSet": { - "description": "The network rule set for a container registry.", - "required": [ - "defaultAction" + "RegistryUsageUnit": { + "type": "string", + "description": "The unit of measurement.", + "enum": [ + "Count", + "Bytes" ], + "x-ms-enum": { + "name": "RegistryUsageUnit", + "modelAsString": true, + "values": [ + { + "name": "Count", + "value": "Count" + }, + { + "name": "Bytes", + "value": "Bytes" + } + ] + } + }, + "Replication": { "type": "object", + "description": "An object that represents a replication for a container registry.", "properties": { - "defaultAction": { - "description": "The default action of allow or deny when no other rules match.", - "default": "Allow", - "enum": [ - "Allow", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": true - } - }, - "ipRules": { - "description": "The IP ACL rules.", + "properties": { + "$ref": "#/definitions/ReplicationProperties", + "description": "The properties of the replication.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ReplicationListResult": { + "type": "object", + "description": "The result of a request to list replications for a container registry.", + "properties": { + "value": { "type": "array", + "description": "The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications.", "items": { - "$ref": "#/definitions/IPRule" - }, - "x-ms-identifiers": [] + "$ref": "#/definitions/Replication" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of replications." } } }, - "Policies": { - "description": "The policies for a container registry.", + "ReplicationProperties": { "type": "object", + "description": "The properties of a replication.", "properties": { - "quarantinePolicy": { - "$ref": "#/definitions/QuarantinePolicy", - "description": "The quarantine policy for a container registry." + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the replication at the time the operation was called.", + "readOnly": true }, - "trustPolicy": { - "$ref": "#/definitions/TrustPolicy", - "description": "The content trust policy for a container registry." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "The retention policy for a container registry." - }, - "exportPolicy": { - "$ref": "#/definitions/ExportPolicy", - "description": "The export policy for a container registry." + "status": { + "$ref": "#/definitions/Status", + "description": "The status of the replication at the time the operation was called.", + "readOnly": true }, - "azureADAuthenticationAsArmPolicy": { - "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", - "description": "The policy for using Azure Resource Manager audience token for a container registry." + "regionEndpointEnabled": { + "type": "boolean", + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", + "default": true }, - "softDeletePolicy": { - "$ref": "#/definitions/SoftDeletePolicy", - "description": "The soft delete policy for a container registry." - } - } - }, - "EncryptionProperty": { - "type": "object", - "properties": { - "status": { - "description": "Indicates whether or not the encryption is enabled for container registry.", + "zoneRedundancy": { + "type": "string", + "description": "Whether or not zone redundancy is enabled for this container registry replication", + "default": "Disabled", "enum": [ - "enabled", - "disabled" + "Enabled", + "Disabled" ], - "type": "string", "x-ms-enum": { - "name": "EncryptionStatus", - "modelAsString": true + "name": "ZoneRedundancy", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } - }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", - "description": "Key vault properties." - } - } - }, - "PackageType": { - "description": "The properties of a package type.", - "type": "object", - "properties": { - "name": { - "description": "The name of the package type.", - "type": "string" - }, - "endpoint": { - "description": "The endpoint of the package type.", - "type": "string", - "readOnly": true } } }, - "IPRule": { - "description": "IP rule with specific IP or IP range in CIDR format.", - "required": [ - "value" - ], + "ReplicationUpdateParameters": { "type": "object", + "description": "The parameters for updating a replication.", "properties": { - "action": { - "description": "The action of IP ACL rule.", - "default": "Allow", - "enum": [ - "Allow" - ], - "type": "string", - "x-ms-enum": { - "name": "Action", - "modelAsString": true + "tags": { + "type": "object", + "description": "The tags for the replication.", + "additionalProperties": { + "type": "string" } }, - "value": { - "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", - "type": "string", - "x-ms-client-name": "IPAddressOrRange" + "properties": { + "$ref": "#/definitions/ReplicationUpdateParametersProperties", + "description": "The parameters for updating a replication's properties", + "x-ms-client-flatten": true } } }, - "QuarantinePolicy": { - "description": "The quarantine policy for a container registry.", + "ReplicationUpdateParametersProperties": { "type": "object", "properties": { - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } + "regionEndpointEnabled": { + "type": "boolean", + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications." } } }, - "TrustPolicy": { - "description": "The content trust policy for a container registry.", + "Request": { "type": "object", + "description": "The request that generated the event.", "properties": { - "type": { - "description": "The type of trust policy.", - "default": "Notary", - "enum": [ - "Notary" - ], + "id": { "type": "string", - "x-ms-enum": { - "name": "TrustPolicyType", - "modelAsString": true - } + "description": "The ID of the request that initiated the event." }, - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], + "addr": { "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } + "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request." + }, + "host": { + "type": "string", + "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests." + }, + "method": { + "type": "string", + "description": "The request method that generated the event." + }, + "useragent": { + "type": "string", + "description": "The user agent header of the request." } } }, + "ResourceIdentityType": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, "RetentionPolicy": { - "description": "The retention policy for a container registry.", "type": "object", + "description": "The retention policy for a container registry.", "properties": { "days": { + "type": "integer", "format": "int32", "description": "The number of days to retain an untagged manifest after which it gets purged.", - "default": 7, - "type": "integer" + "default": 7 }, "lastUpdatedTime": { + "type": "string", "format": "date-time", "description": "The timestamp when the policy was last updated.", - "type": "string", "readOnly": true }, "status": { + "type": "string", "description": "The value that indicates whether the policy is enabled or not.", "default": "disabled", "enum": [ "enabled", "disabled" ], - "type": "string", "x-ms-enum": { "name": "PolicyStatus", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } } } }, - "ExportPolicy": { - "description": "The export policy for a container registry.", + "RoleAssignmentMode": { + "type": "string", + "description": "Determines registry role assignment mode.", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true, + "values": [ + { + "name": "AbacRepositoryPermissions", + "value": "AbacRepositoryPermissions" + }, + { + "name": "LegacyRegistryPermissions", + "value": "LegacyRegistryPermissions" + } + ] + } + }, + "ScopeMap": { "type": "object", + "description": "An object that represents a scope map for a container registry.", "properties": { - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "ExportPolicyStatus", - "modelAsString": true - } + "properties": { + "$ref": "#/definitions/ScopeMapProperties", + "description": "The properties of the scope map.", + "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, - "SoftDeletePolicy": { - "description": "The soft delete policy for a container registry", + "ScopeMapListResult": { "type": "object", + "description": "The result of a request to list scope maps for a container registry.", "properties": { - "retentionDays": { - "format": "int32", - "description": "The number of days after which a soft-deleted item is permanently deleted.", - "default": 7, - "type": "integer" - }, - "lastUpdatedTime": { - "format": "date-time", - "description": "The timestamp when the policy was last updated.", - "type": "string", - "readOnly": true + "value": { + "type": "array", + "description": "The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.", + "items": { + "$ref": "#/definitions/ScopeMap" + } }, - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], + "nextLink": { "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } + "description": "The URI that can be used to request the next list of scope maps." } } }, - "KeyVaultProperties": { + "ScopeMapProperties": { "type": "object", + "description": "The properties of a scope map.", "properties": { - "keyIdentifier": { - "description": "Key vault uri to access the encryption key.", - "type": "string" + "description": { + "type": "string", + "description": "The user friendly description of the scope map." }, - "versionedKeyIdentifier": { - "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", + "type": { "type": "string", + "description": "The type of the scope map. E.g. BuildIn scope map.", "readOnly": true }, - "identity": { - "description": "The client id of the identity which will be used to access key vault.", - "type": "string" - }, - "keyRotationEnabled": { - "description": "Auto key rotation status for a CMK enabled registry.", - "type": "boolean", + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of scope map.", "readOnly": true }, - "lastKeyRotationTimestamp": { - "format": "date-time", - "description": "Timestamp of the last successful key rotation.", - "type": "string", + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true + }, + "actions": { + "type": "array", + "description": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write", + "items": { + "type": "string" + } } - } + }, + "required": [ + "actions" + ] }, - "RegistryUpdateParameters": { - "description": "The parameters for updating a container registry.", + "ScopeMapPropertiesUpdateParameters": { "type": "object", + "description": "The update parameters for scope map properties.", "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the container registry." + "description": { + "type": "string", + "description": "The user friendly description of the scope map." }, - "tags": { - "description": "The tags for the container registry.", - "type": "object", - "additionalProperties": { + "actions": { + "type": "array", + "description": "The list of scope permissions for registry artifacts.\nE.g. repositories/repository-name/pull,\nrepositories/repository-name/delete", + "items": { "type": "string" } - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU of the container registry." - }, + } + } + }, + "ScopeMapUpdateParameters": { + "type": "object", + "description": "The properties for updating the scope map.", + "properties": { "properties": { - "$ref": "#/definitions/RegistryPropertiesUpdateParameters", - "description": "The properties that the container registry will be updated with.", + "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", + "description": "The update parameters for scope map properties.", "x-ms-client-flatten": true } } }, - "RegistryPropertiesUpdateParameters": { - "description": "The parameters for updating the properties of a container registry.", + "Sku": { "type": "object", + "description": "The SKU of a container registry.", "properties": { - "adminUserEnabled": { - "description": "The value that indicates whether the admin user is enabled.", - "type": "boolean" - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet", - "description": "The network rule set for a container registry." - }, - "policies": { - "$ref": "#/definitions/Policies", - "description": "The policies for a container registry." - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty", - "description": "The encryption settings of container registry." - }, - "dataEndpointEnabled": { - "description": "Enable a single data endpoint per region for serving data.", - "type": "boolean" - }, - "publicNetworkAccess": { - "description": "Whether or not public network access is allowed for the container registry.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } - }, - "networkRuleBypassOptions": { - "description": "Whether to allow trusted Azure services to access a network restricted registry.", - "default": "AzureServices", - "enum": [ - "AzureServices", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } - }, - "networkRuleBypassAllowedForTasks": { - "description": "Whether to allow ACR Tasks service to access a network restricted registry.", - "type": "boolean" - }, - "anonymousPullEnabled": { - "description": "Enables registry-wide pull from unauthenticated clients.", - "type": "boolean" - }, - "metadataSearch": { - "description": "Determines whether registry artifacts are indexed for metadata search.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "MetadataSearch", - "modelAsString": true - } + "name": { + "$ref": "#/definitions/SkuName", + "description": "The SKU name of the container registry. Required for registry creation." }, - "roleAssignmentMode": { - "description": "Determines registry role assignment mode.", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } + "tier": { + "$ref": "#/definitions/SkuTier", + "description": "The SKU tier based on the SKU name.", + "readOnly": true } + }, + "required": [ + "name" + ] + }, + "SkuName": { + "type": "string", + "description": "The SKU name of the container registry. Required for registry creation.", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "name": "Classic", + "value": "Classic" + }, + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Premium", + "value": "Premium" + } + ] } }, - "RegistryUsageListResult": { - "description": "The result of a request to get container registry quota usages.", - "type": "object", - "properties": { - "value": { - "description": "The list of container registry quota usages.", - "type": "array", - "items": { - "$ref": "#/definitions/RegistryUsage" + "SkuTier": { + "type": "string", + "description": "The SKU tier based on the SKU name.", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true, + "values": [ + { + "name": "Classic", + "value": "Classic" }, - "x-ms-identifiers": [ - "name" - ] - } + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Premium", + "value": "Premium" + } + ] } }, - "RegistryUsage": { - "description": "The quota usage for a container registry.", + "SoftDeletePolicy": { "type": "object", + "description": "The soft delete policy for a container registry", "properties": { - "name": { - "description": "The name of the usage.", - "type": "string" - }, - "limit": { - "format": "int64", - "description": "The limit of the usage.", - "type": "integer" + "retentionDays": { + "type": "integer", + "format": "int32", + "description": "The number of days after which a soft-deleted item is permanently deleted.", + "default": 7 }, - "currentValue": { - "format": "int64", - "description": "The current value of the usage.", - "type": "integer" + "lastUpdatedTime": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the policy was last updated.", + "readOnly": true }, - "unit": { - "description": "The unit of measurement.", + "status": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", "enum": [ - "Count", - "Bytes" + "enabled", + "disabled" ], - "type": "string", "x-ms-enum": { - "name": "RegistryUsageUnit", - "modelAsString": true + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } } } }, - "PrivateLinkResourceListResult": { - "description": "The result of a request to list private link resources for a container registry.", + "Source": { "type": "object", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", "properties": { - "value": { - "description": "The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } + "addr": { + "type": "string", + "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port." }, - "nextLink": { - "description": "The URI that can be used to request the next list of private link resources.", - "type": "string" + "instanceID": { + "type": "string", + "description": "The running instance of an application. Changes after each restart." } } }, - "PrivateLinkResource": { - "description": "A resource that supports private link capabilities.", + "Status": { "type": "object", + "description": "The status of an Azure resource at the time the operation was called.", "properties": { - "type": { - "description": "The resource type is private link resource.", + "displayStatus": { "type": "string", + "description": "The short label for the status.", "readOnly": true }, - "id": { - "description": "The resource ID.", - "type": "string" - }, - "name": { - "description": "The name of the resource.", - "type": "string" + "message": { + "type": "string", + "description": "The detailed message for the status, including alerts and error messages.", + "readOnly": true }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "A resource that supports private link capabilities.", - "x-ms-client-flatten": true + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the status was changed to the current value.", + "readOnly": true } } }, - "PrivateLinkResourceProperties": { - "description": "The properties of a private link resource.", + "StatusDetailProperties": { "type": "object", + "description": "The status detail properties of the connected registry.", "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string" + "type": { + "type": "string", + "description": "The component of the connected registry corresponding to the status.", + "readOnly": true }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - } + "code": { + "type": "string", + "description": "The HTTP status code.", + "readOnly": true }, - "requiredZoneNames": { - "description": "The private link resource Private link DNS zone name.", - "type": "array", - "items": { - "type": "string" - } + "description": { + "type": "string", + "description": "The description of the status.", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp of the status.", + "readOnly": true + }, + "correlationId": { + "type": "string", + "description": "The correlation ID of the status.", + "readOnly": true } } }, - "RegistryListCredentialsResult": { - "description": "The response from the ListCredentials operation.", + "SyncProperties": { "type": "object", + "description": "The sync properties of the connected registry with its parent.", "properties": { - "username": { - "description": "The username for a container registry.", - "type": "string" + "tokenId": { + "type": "string", + "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync." }, - "passwords": { - "description": "The list of passwords for a container registry.", - "type": "array", - "items": { - "$ref": "#/definitions/RegistryPassword" - }, - "x-ms-identifiers": [] + "schedule": { + "type": "string", + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." + }, + "syncWindow": { + "type": "string", + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "messageTtl": { + "type": "string", + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "lastSyncTime": { + "type": "string", + "format": "date-time", + "description": "The last time a sync occurred between the connected registry and its parent.", + "readOnly": true + }, + "gatewayEndpoint": { + "type": "string", + "description": "The gateway endpoint used by the connected registry to communicate with its parent.", + "readOnly": true } - } + }, + "required": [ + "tokenId", + "messageTtl" + ] }, - "RegistryPassword": { - "description": "The login password for the container registry.", + "SyncUpdateProperties": { "type": "object", + "description": "The parameters for updating the sync properties of the connected registry with its parent.", "properties": { - "name": { - "description": "The password name.", - "enum": [ - "password", - "password2" - ], + "schedule": { "type": "string", - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." }, - "value": { - "description": "The password value.", - "type": "string" + "syncWindow": { + "type": "string", + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "messageTtl": { + "type": "string", + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." } } }, - "RegenerateCredentialParameters": { - "description": "The parameters used to regenerate the login credential.", - "required": [ - "name" - ], + "Target": { "type": "object", + "description": "The target of the event.", "properties": { + "mediaType": { + "type": "string", + "description": "The MIME type of the referenced object." + }, + "size": { + "type": "integer", + "format": "int64", + "description": "The number of bytes of the content. Same as Length field." + }, + "digest": { + "type": "string", + "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification." + }, + "length": { + "type": "integer", + "format": "int64", + "description": "The number of bytes of the content. Same as Size field." + }, + "repository": { + "type": "string", + "description": "The repository name." + }, + "url": { + "type": "string", + "description": "The direct URL to the content." + }, + "tag": { + "type": "string", + "description": "The tag name." + }, "name": { - "description": "Specifies name of the password which should be regenerated -- password or password2.", - "enum": [ - "password", - "password2" - ], "type": "string", - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } + "description": "The name of the artifact." + }, + "version": { + "type": "string", + "description": "The version of the artifact." } } }, - "ReplicationListResult": { - "description": "The result of a request to list replications for a container registry.", + "TlsCertificateProperties": { "type": "object", + "description": "The TLS certificate properties of the connected registry login server.", "properties": { - "value": { - "description": "The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications.", - "type": "array", - "items": { - "$ref": "#/definitions/Replication" - } + "type": { + "$ref": "#/definitions/CertificateType", + "description": "The type of certificate location.", + "readOnly": true }, - "nextLink": { - "description": "The URI that can be used to request the next list of replications.", - "type": "string" + "location": { + "type": "string", + "description": "Indicates the location of the certificates.", + "readOnly": true } } }, - "Replication": { - "description": "An object that represents a replication for a container registry.", + "TlsProperties": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" + "description": "The TLS properties of the connected registry login server.", + "properties": { + "status": { + "$ref": "#/definitions/TlsStatus", + "description": "Indicates whether HTTPS is enabled for the login server.", + "readOnly": true + }, + "certificate": { + "$ref": "#/definitions/TlsCertificateProperties", + "description": "The certificate used to configure HTTPS for the login server.", + "readOnly": true } + } + }, + "TlsStatus": { + "type": "string", + "description": "Indicates whether HTTPS is enabled for the login server.", + "enum": [ + "Enabled", + "Disabled" ], + "x-ms-enum": { + "name": "TlsStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "Token": { + "type": "object", + "description": "An object that represents a token for a container registry.", "properties": { "properties": { - "$ref": "#/definitions/ReplicationProperties", - "description": "The properties of the replication.", + "$ref": "#/definitions/TokenProperties", + "description": "The properties of the token.", "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, - "ReplicationProperties": { - "description": "The properties of a replication.", + "TokenCertificate": { "type": "object", + "description": "The properties of a certificate used for authenticating a token.", "properties": { - "provisioningState": { - "description": "The provisioning state of the replication at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "name": { + "$ref": "#/definitions/TokenCertificateName" }, - "status": { - "$ref": "#/definitions/Status", - "description": "The status of the replication at the time the operation was called.", - "readOnly": true + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry datetime of the certificate." }, - "regionEndpointEnabled": { - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", - "default": true, - "type": "boolean" + "thumbprint": { + "type": "string", + "description": "The thumbprint of the certificate." }, - "zoneRedundancy": { - "description": "Whether or not zone redundancy is enabled for this container registry replication", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], + "encodedPemCertificate": { "type": "string", - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } + "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token." } } }, - "ReplicationUpdateParameters": { - "description": "The parameters for updating a replication.", - "type": "object", - "properties": { - "tags": { - "description": "The tags for the replication.", - "type": "object", - "additionalProperties": { - "type": "string" + "TokenCertificateName": { + "type": "string", + "enum": [ + "certificate1", + "certificate2" + ], + "x-ms-enum": { + "name": "TokenCertificateName", + "modelAsString": true, + "values": [ + { + "name": "certificate1", + "value": "certificate1" + }, + { + "name": "certificate2", + "value": "certificate2" } - }, - "properties": { - "$ref": "#/definitions/ReplicationUpdateParametersProperties", - "description": "The parameters for updating a replication's properties", - "x-ms-client-flatten": true - } + ] } }, - "ReplicationUpdateParametersProperties": { + "TokenCredentialsProperties": { "type": "object", + "description": "The properties of the credentials that can be used for authenticating the token.", "properties": { - "regionEndpointEnabled": { - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", - "type": "boolean" + "certificates": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCertificate" + }, + "x-ms-identifiers": [ + "thumbprint" + ] + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + }, + "x-ms-identifiers": [] } } }, - "ScopeMapListResult": { - "description": "The result of a request to list scope maps for a container registry.", + "TokenListResult": { "type": "object", + "description": "The result of a request to list tokens for a container registry.", "properties": { "value": { - "description": "The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.", "type": "array", + "description": "The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens.", "items": { - "$ref": "#/definitions/ScopeMap" + "$ref": "#/definitions/Token" } }, "nextLink": { - "description": "The URI that can be used to request the next list of scope maps.", - "type": "string" + "type": "string", + "description": "The URI that can be used to request the next list of tokens." } } }, - "ScopeMap": { - "description": "An object that represents a scope map for a container registry.", + "TokenPassword": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "The password that will be used for authenticating the token of a container registry.", "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapProperties", - "description": "The properties of the scope map.", - "x-ms-client-flatten": true + "creationTime": { + "type": "string", + "format": "date-time", + "description": "The creation datetime of the password." + }, + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry datetime of the password." + }, + "name": { + "$ref": "#/definitions/TokenPasswordName", + "description": "The password name \"password1\" or \"password2\"" + }, + "value": { + "type": "string", + "description": "The password value.", + "readOnly": true } } }, - "ScopeMapProperties": { - "description": "The properties of a scope map.", - "required": [ - "actions" + "TokenPasswordName": { + "type": "string", + "description": "The password name \"password1\" or \"password2\"", + "enum": [ + "password1", + "password2" ], + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true, + "values": [ + { + "name": "password1", + "value": "password1" + }, + { + "name": "password2", + "value": "password2" + } + ] + } + }, + "TokenProperties": { "type": "object", + "description": "The properties of a token.", "properties": { - "description": { - "description": "The user friendly description of the scope map.", - "type": "string" - }, - "type": { - "description": "The type of the scope map. E.g. BuildIn scope map.", - "type": "string", - "readOnly": true - }, "creationDate": { + "type": "string", "format": "date-time", "description": "The creation date of scope map.", - "type": "string", "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], + "readOnly": true + }, + "scopeMapId": { "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "description": "The resource ID of the scope map to which the token will be associated with." }, - "actions": { - "description": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write", - "type": "array", - "items": { - "type": "string" - } + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." + }, + "status": { + "$ref": "#/definitions/TokenStatus", + "description": "The status of the token example enabled or disabled." } } }, - "ScopeMapUpdateParameters": { - "description": "The properties for updating the scope map.", + "TokenStatus": { + "type": "string", + "description": "The status of the token example enabled or disabled.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, + "TokenUpdateParameters": { "type": "object", + "description": "The parameters for updating a token.", "properties": { "properties": { - "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", - "description": "The update parameters for scope map properties.", + "$ref": "#/definitions/TokenUpdateProperties", + "description": "The properties of the token update parameters.", "x-ms-client-flatten": true } } }, - "ScopeMapPropertiesUpdateParameters": { - "description": "The update parameters for scope map properties.", + "TokenUpdateProperties": { "type": "object", + "description": "The parameters for updating token properties.", "properties": { - "description": { - "description": "The user friendly description of the scope map.", - "type": "string" + "scopeMapId": { + "type": "string", + "description": "The resource ID of the scope map to which the token will be associated with." }, - "actions": { - "description": "The list of scope permissions for registry artifacts.\r\nE.g. repositories/repository-name/pull, \r\nrepositories/repository-name/delete", - "type": "array", - "items": { - "type": "string" - } + "status": { + "$ref": "#/definitions/TokenStatus", + "description": "The status of the token example enabled or disabled." + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." } } }, - "TlsCertificateProperties": { - "description": "The TLS certificate properties of the connected registry login server.", + "TrustPolicy": { "type": "object", + "description": "The content trust policy for a container registry.", "properties": { "type": { - "description": "The type of certificate location.", + "type": "string", + "description": "The type of trust policy.", + "default": "Notary", "enum": [ - "LocalDirectory" + "Notary" ], - "type": "string", - "readOnly": true, "x-ms-enum": { - "name": "CertificateType", - "modelAsString": true + "name": "TrustPolicyType", + "modelAsString": true, + "values": [ + { + "name": "Notary", + "value": "Notary" + } + ] } }, - "location": { - "description": "Indicates the location of the certificates.", - "type": "string", - "readOnly": true - } - } - }, - "TlsProperties": { - "description": "The TLS properties of the connected registry login server.", - "type": "object", - "properties": { "status": { - "description": "Indicates whether HTTPS is enabled for the login server.", + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", "enum": [ - "Enabled", - "Disabled" + "enabled", + "disabled" ], - "type": "string", - "readOnly": true, "x-ms-enum": { - "name": "TlsStatus", - "modelAsString": true + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } - }, - "certificate": { - "$ref": "#/definitions/TlsCertificateProperties", - "description": "The certificate used to configure HTTPS for the login server.", - "readOnly": true } } }, - "TokenListResult": { - "description": "The result of a request to list tokens for a container registry.", + "UserIdentityProperties": { "type": "object", "properties": { - "value": { - "description": "The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens.", - "type": "array", - "items": { - "$ref": "#/definitions/Token" - } + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity.", + "readOnly": true }, - "nextLink": { - "description": "The URI that can be used to request the next list of tokens.", - "type": "string" + "clientId": { + "type": "string", + "description": "The client id of user assigned identity.", + "readOnly": true } } }, - "Token": { - "description": "An object that represents a token for a container registry.", + "Webhook": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "An object that represents a webhook for a container registry.", "properties": { "properties": { - "$ref": "#/definitions/TokenProperties", - "description": "The properties of the token.", + "$ref": "#/definitions/WebhookProperties", + "description": "The properties of the webhook.", "x-ms-client-flatten": true } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "WebhookAction": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true, + "values": [ + { + "name": "push", + "value": "push" + }, + { + "name": "delete", + "value": "delete" + }, + { + "name": "quarantine", + "value": "quarantine" + }, + { + "name": "chart_push", + "value": "chart_push" + }, + { + "name": "chart_delete", + "value": "chart_delete" + } + ] } }, - "TokenProperties": { - "description": "The properties of a token.", + "WebhookCreateParameters": { "type": "object", + "description": "The parameters for creating a webhook.", "properties": { - "creationDate": { - "format": "date-time", - "description": "The creation date of scope map.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true + "tags": { + "type": "object", + "description": "The tags for the webhook.", + "additionalProperties": { + "type": "string" } }, - "scopeMapId": { - "description": "The resource ID of the scope map to which the token will be associated with.", - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." - }, - "status": { - "description": "The status of the token example enabled or disabled.", - "enum": [ - "enabled", - "disabled" - ], + "location": { "type": "string", - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } + "description": "The location of the webhook. This cannot be changed after the resource is created." + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesCreateParameters", + "description": "The properties that the webhook will be created with.", + "x-ms-client-flatten": true } - } + }, + "required": [ + "location" + ] }, - "TokenCredentialsProperties": { - "description": "The properties of the credentials that can be used for authenticating the token.", + "WebhookListResult": { "type": "object", + "description": "The result of a request to list webhooks for a container registry.", "properties": { - "certificates": { + "value": { "type": "array", + "description": "The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.", "items": { - "$ref": "#/definitions/TokenCertificate" - }, - "x-ms-identifiers": [ - "thumbprint" - ] + "$ref": "#/definitions/Webhook" + } }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - }, - "x-ms-identifiers": [] + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of webhooks." } } }, - "ActiveDirectoryObject": { - "description": "The Active Directory Object that will be used for authenticating the token of a container registry.", + "WebhookProperties": { "type": "object", + "description": "The properties of a webhook.", "properties": { - "objectId": { - "description": "The user/group/application object ID for Active Directory Object that will be used for authenticating the token of a container registry.", - "type": "string" + "status": { + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." }, - "tenantId": { - "description": "The tenant ID of user/group/application object Active Directory Object that will be used for authenticating the token of a container registry.", - "type": "string" - } - } - }, - "TokenCertificate": { - "description": "The properties of a certificate used for authenticating a token.", - "type": "object", - "properties": { - "name": { - "enum": [ - "certificate1", - "certificate2" - ], + "scope": { "type": "string", - "x-ms-enum": { - "name": "TokenCertificateName", - "modelAsString": true - } + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." }, - "expiry": { - "format": "date-time", - "description": "The expiry datetime of the certificate.", - "type": "string" - }, - "thumbprint": { - "description": "The thumbprint of the certificate.", - "type": "string" - }, - "encodedPemCertificate": { - "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token.", - "type": "string" - } - } - }, - "TokenPassword": { - "description": "The password that will be used for authenticating the token of a container registry.", - "type": "object", - "properties": { - "creationTime": { - "format": "date-time", - "description": "The creation datetime of the password.", - "type": "string" - }, - "expiry": { - "format": "date-time", - "description": "The expiry datetime of the password.", - "type": "string" - }, - "name": { - "description": "The password name \"password1\" or \"password2\"", - "enum": [ - "password1", - "password2" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true + "actions": { + "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", + "items": { + "$ref": "#/definitions/WebhookAction" } }, - "value": { - "description": "The password value.", - "type": "string", + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the webhook at the time the operation was called.", "readOnly": true } - } - }, - "TokenUpdateParameters": { - "description": "The parameters for updating a token.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/TokenUpdateProperties", - "description": "The properties of the token update parameters.", - "x-ms-client-flatten": true - } - } - }, - "TokenUpdateProperties": { - "description": "The parameters for updating token properties.", - "type": "object", - "properties": { - "scopeMapId": { - "description": "The resource ID of the scope map to which the token will be associated with.", - "type": "string" - }, - "status": { - "description": "The status of the token example enabled or disabled.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." - } - } + }, + "required": [ + "actions" + ] }, - "GenerateCredentialsParameters": { - "description": "The parameters used to generate credentials for a specified token or user of a container registry.", + "WebhookPropertiesCreateParameters": { "type": "object", + "description": "The parameters for creating the properties of a webhook.", "properties": { - "tokenId": { - "description": "The resource ID of the token for which credentials have to be generated.", - "type": "string" - }, - "expiry": { - "format": "date-time", - "description": "The expiry date of the generated credentials after which the credentials become invalid.", - "type": "string" - }, - "name": { - "description": "Specifies name of the password which should be regenerated if any -- password1 or password2.", - "enum": [ - "password1", - "password2" - ], + "serviceUri": { "type": "string", - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } - } - } - }, - "GenerateCredentialsResult": { - "description": "The response from the GenerateCredentials operation.", - "type": "object", - "properties": { - "username": { - "description": "The username for a container registry.", - "type": "string" + "format": "password", + "description": "The service URI for the webhook to post notifications.", + "x-ms-secret": true }, - "passwords": { - "description": "The list of passwords for a container registry.", - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - }, - "x-ms-identifiers": [] - } - } - }, - "WebhookListResult": { - "description": "The result of a request to list webhooks for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.", - "type": "array", - "items": { - "$ref": "#/definitions/Webhook" + "customHeaders": { + "type": "object", + "description": "Custom headers that will be added to the webhook notifications.", + "additionalProperties": { + "type": "string" } }, - "nextLink": { - "description": "The URI that can be used to request the next list of webhooks.", - "type": "string" - } - } - }, - "Webhook": { - "description": "An object that represents a webhook for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/WebhookProperties", - "description": "The properties of the webhook.", - "x-ms-client-flatten": true - } - } - }, - "WebhookProperties": { - "description": "The properties of a webhook.", - "required": [ - "actions" - ], - "type": "object", - "properties": { "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." }, "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" + "type": "string", + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." }, "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - }, - "provisioningState": { - "description": "The provisioning state of the webhook at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "WebhookCreateParameters": { - "description": "The parameters for creating a webhook.", - "required": [ - "location" - ], - "type": "object", - "properties": { - "tags": { - "description": "The tags for the webhook.", - "type": "object", - "additionalProperties": { - "type": "string" + "$ref": "#/definitions/WebhookAction" } - }, - "location": { - "description": "The location of the webhook. This cannot be changed after the resource is created.", - "type": "string" - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesCreateParameters", - "description": "The properties that the webhook will be created with.", - "x-ms-client-flatten": true } - } - }, - "WebhookPropertiesCreateParameters": { - "description": "The parameters for creating the properties of a webhook.", + }, "required": [ "serviceUri", "actions" - ], + ] + }, + "WebhookPropertiesUpdateParameters": { "type": "object", + "description": "The parameters for updating the properties of a webhook.", "properties": { "serviceUri": { - "description": "The service URI for the webhook to post notifications.", "type": "string", + "format": "password", + "description": "The service URI for the webhook to post notifications.", "x-ms-secret": true }, "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", "type": "object", + "description": "Custom headers that will be added to the webhook notifications.", "additionalProperties": { "type": "string" - }, - "x-ms-secret": true + } }, "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." }, "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" + "type": "string", + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." }, "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } + "$ref": "#/definitions/WebhookAction" } } } }, + "WebhookStatus": { + "type": "string", + "description": "The status of the webhook at the time the operation was called.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, "WebhookUpdateParameters": { - "description": "The parameters for updating a webhook.", "type": "object", + "description": "The parameters for updating a webhook.", "properties": { "tags": { - "description": "The tags for the webhook.", "type": "object", + "description": "The tags for the webhook.", "additionalProperties": { "type": "string" } @@ -7614,510 +9691,7 @@ "x-ms-client-flatten": true } } - }, - "WebhookPropertiesUpdateParameters": { - "description": "The parameters for updating the properties of a webhook.", - "type": "object", - "properties": { - "serviceUri": { - "description": "The service URI for the webhook to post notifications.", - "type": "string", - "x-ms-secret": true - }, - "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-secret": true - }, - "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" - }, - "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", - "type": "array", - "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - } - }, - "EventInfo": { - "description": "The basic information of an event.", - "type": "object", - "properties": { - "id": { - "description": "The event ID.", - "type": "string" - } - } - }, - "EventListResult": { - "description": "The result of a request to list events for a webhook.", - "type": "object", - "properties": { - "value": { - "description": "The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.", - "type": "array", - "items": { - "$ref": "#/definitions/Event" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of events.", - "type": "string" - } - } - }, - "Event": { - "description": "The event for a webhook.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EventInfo" - } - ], - "properties": { - "eventRequestMessage": { - "$ref": "#/definitions/EventRequestMessage", - "description": "The event request message sent to the service URI." - }, - "eventResponseMessage": { - "$ref": "#/definitions/EventResponseMessage", - "description": "The event response message received from the service URI." - } - } - }, - "EventRequestMessage": { - "description": "The event request message sent to the service URI.", - "type": "object", - "properties": { - "content": { - "$ref": "#/definitions/EventContent", - "description": "The content of the event request message." - }, - "headers": { - "description": "The headers of the event request message.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "method": { - "description": "The HTTP method used to send the event request message.", - "type": "string" - }, - "requestUri": { - "description": "The URI used to send the event request message.", - "type": "string" - }, - "version": { - "description": "The HTTP message version.", - "type": "string" - } - } - }, - "EventResponseMessage": { - "description": "The event response message received from the service URI.", - "type": "object", - "properties": { - "content": { - "description": "The content of the event response message.", - "type": "string" - }, - "headers": { - "description": "The headers of the event response message.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "reasonPhrase": { - "description": "The reason phrase of the event response message.", - "type": "string" - }, - "statusCode": { - "description": "The status code of the event response message.", - "type": "string" - }, - "version": { - "description": "The HTTP message version.", - "type": "string" - } - } - }, - "EventContent": { - "description": "The content of the event request message.", - "type": "object", - "properties": { - "id": { - "description": "The event ID.", - "type": "string" - }, - "timestamp": { - "format": "date-time", - "description": "The time at which the event occurred.", - "type": "string" - }, - "action": { - "description": "The action that encompasses the provided event.", - "type": "string" - }, - "target": { - "$ref": "#/definitions/Target", - "description": "The target of the event." - }, - "request": { - "$ref": "#/definitions/Request", - "description": "The request that generated the event." - }, - "actor": { - "$ref": "#/definitions/Actor", - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." - }, - "source": { - "$ref": "#/definitions/Source", - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." - } - } - }, - "Target": { - "description": "The target of the event.", - "type": "object", - "properties": { - "mediaType": { - "description": "The MIME type of the referenced object.", - "type": "string" - }, - "size": { - "format": "int64", - "description": "The number of bytes of the content. Same as Length field.", - "type": "integer" - }, - "digest": { - "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification.", - "type": "string" - }, - "length": { - "format": "int64", - "description": "The number of bytes of the content. Same as Size field.", - "type": "integer" - }, - "repository": { - "description": "The repository name.", - "type": "string" - }, - "url": { - "description": "The direct URL to the content.", - "type": "string" - }, - "tag": { - "description": "The tag name.", - "type": "string" - }, - "name": { - "description": "The name of the artifact.", - "type": "string" - }, - "version": { - "description": "The version of the artifact.", - "type": "string" - } - } - }, - "Request": { - "description": "The request that generated the event.", - "type": "object", - "properties": { - "id": { - "description": "The ID of the request that initiated the event.", - "type": "string" - }, - "addr": { - "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.", - "type": "string" - }, - "host": { - "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.", - "type": "string" - }, - "method": { - "description": "The request method that generated the event.", - "type": "string" - }, - "useragent": { - "description": "The user agent header of the request.", - "type": "string" - } - } - }, - "Actor": { - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", - "type": "object", - "properties": { - "name": { - "description": "The subject or username associated with the request context that generated the event.", - "type": "string" - } - } - }, - "Source": { - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", - "type": "object", - "properties": { - "addr": { - "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.", - "type": "string" - }, - "instanceID": { - "description": "The running instance of an application. Changes after each restart.", - "type": "string" - } - } - }, - "CallbackConfig": { - "description": "The configuration of service URI and custom headers for the webhook.", - "required": [ - "serviceUri" - ], - "type": "object", - "properties": { - "serviceUri": { - "description": "The service URI for the webhook to post notifications.", - "type": "string" - }, - "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } } }, - "parameters": { - "RegistryNameParameter": { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "WebhookNameParameter": { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ReplicationNameParameter": { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ScopeMapNameParameter": { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-_]*$", - "x-ms-parameter-location": "method" - }, - "TokenNameParameter": { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "PrivateEndpointConnectionNameParameter": { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "GroupNameParameter": { - "name": "groupName", - "in": "path", - "description": "The name of the private link resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "ExportPipelineNameParameter": { - "name": "exportPipelineName", - "in": "path", - "description": "The name of the export pipeline.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ImportPipelineNameParameter": { - "name": "importPipelineName", - "in": "path", - "description": "The name of the import pipeline.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "PipelineRunNameParameter": { - "name": "pipelineRunName", - "in": "path", - "description": "The name of the pipeline run.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ConnectedRegistryNameParameter": { - "in": "path", - "name": "connectedRegistryName", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ConnectedRegistryFilterParameter": { - "in": "query", - "name": "$filter", - "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, - "PackageTypeParameter": { - "name": "packageType", - "in": "path", - "description": "The type of the package resource.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 3, - "pattern": "^[a-zA-Z]*$", - "x-ms-parameter-location": "method" - }, - "ArchiveNameParameter": { - "name": "archiveName", - "in": "path", - "description": "The name of the archive resource.", - "required": true, - "type": "string", - "maxLength": 200, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "ArchiveVersionNameParameter": { - "name": "archiveVersionName", - "in": "path", - "description": "The name of the archive version resource.", - "required": true, - "type": "string", - "maxLength": 200, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "CredentialSetNameParameter": { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "CacheRuleNameParameter": { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] + "parameters": {} } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveCreate.json index d8ab1f20f570..959b621b8d2a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveCreate.json @@ -1,4 +1,6 @@ { + "title": "ArchiveCreate", + "operationId": "Archives_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveDelete.json index 22da0293ec77..268607217a0a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveDelete.json @@ -1,4 +1,6 @@ { + "title": "ArchiveDelete", + "operationId": "Archives_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveGet.json index ae8089123423..4ad492e1d4cd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveGet.json @@ -1,4 +1,6 @@ { + "title": "ArchiveGet", + "operationId": "Archives_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveList.json index aeb9430b6b6b..ba601e7d9371 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveList.json @@ -1,4 +1,6 @@ { + "title": "ArchiveList", + "operationId": "Archives_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveUpdate.json index 43bf9816520d..669a9b0a37b4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveUpdate.json @@ -1,4 +1,6 @@ { + "title": "ArchiveUpdate", + "operationId": "Archives_Update", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionCreate.json index 47690af457af..ce0c59192f1f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionCreate.json @@ -1,4 +1,6 @@ { + "title": "ArchiveVersionCreate", + "operationId": "ArchiveVersions_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionDelete.json index 015b101b68e5..2dcd2f40b747 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionDelete.json @@ -1,4 +1,6 @@ { + "title": "ArchiveVersionDelete", + "operationId": "ArchiveVersions_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionGet.json index 0a89691c2778..bc0543fc3926 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionGet.json @@ -1,4 +1,6 @@ { + "title": "ArchiveVersionGet", + "operationId": "ArchiveVersions_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionList.json index 7a2737df9fb9..c998a235e5f8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionList.json @@ -1,4 +1,6 @@ { + "title": "ArchiveVersionList", + "operationId": "ArchiveVersions_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleCreate.json index 63f7207fb6e2..1821597db5a7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleCreate.json @@ -1,4 +1,6 @@ { + "title": "CacheRuleCreate", + "operationId": "CacheRules_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleDelete.json index 2602b7e5d855..194f00380be0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleDelete.json @@ -1,4 +1,6 @@ { + "title": "CacheRuleDelete", + "operationId": "CacheRules_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleGet.json index b546c40eec87..6dbba0e9633d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleGet.json @@ -1,4 +1,6 @@ { + "title": "CacheRuleGet", + "operationId": "CacheRules_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleList.json index bca52f69b80e..d05b3b25c5ee 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleList.json @@ -1,4 +1,6 @@ { + "title": "CacheRuleList", + "operationId": "CacheRules_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleUpdate.json index 94bf854f969d..70c3d2acc8d3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CacheRuleUpdate.json @@ -1,4 +1,6 @@ { + "title": "CacheRuleUpdate", + "operationId": "CacheRules_Update", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryCreate.json index 38547ff2ebf0..26bdf307fca3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryCreate.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryCreate", + "operationId": "ConnectedRegistries_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDeactivate.json index 8cf58faacc82..12876d937829 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDeactivate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDeactivate.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryDeactivate", + "operationId": "ConnectedRegistries_Deactivate", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDelete.json index 19342a60b08f..7fa2c0acf12c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDelete.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryDelete", + "operationId": "ConnectedRegistries_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryGet.json index 2df26b1976b2..4378b9914dcf 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryGet.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryGet", + "operationId": "ConnectedRegistries_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -45,3 +47,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryList.json index 8860c33a3776..78c3c18ea09f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryList.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryList", + "operationId": "ConnectedRegistries_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -48,3 +50,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryUpdate.json index c114a0c91431..762a2fcb6b44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryUpdate.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryUpdate", + "operationId": "ConnectedRegistries_Update", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -105,3 +107,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetCreate.json index 6604bf411de6..a2dcbe77cd2e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetCreate.json @@ -1,4 +1,6 @@ { + "title": "CredentialSetCreate", + "operationId": "CredentialSets_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -81,3 +83,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetDelete.json index 251c088f4b6c..fffbec0cf4a8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetDelete.json @@ -1,4 +1,6 @@ { + "title": "CredentialSetDelete", + "operationId": "CredentialSets_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -15,3 +17,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetGet.json index be3d07cf72da..29fca8714394 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetGet.json @@ -1,4 +1,6 @@ { + "title": "CredentialSetGet", + "operationId": "CredentialSets_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -36,3 +38,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetList.json index 41af7e0b9ca2..d5914c4bcab3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetList.json @@ -1,4 +1,6 @@ { + "title": "CredentialSetList", + "operationId": "CredentialSets_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -39,3 +41,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetUpdate.json index 423fcca9fc08..c30ac574cf44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetUpdate.json @@ -1,4 +1,6 @@ { + "title": "CredentialSetUpdate", + "operationId": "CredentialSets_Update", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -77,3 +79,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineCreate.json index 663295bdb7c0..e46f8221b678 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineCreate.json @@ -1,4 +1,6 @@ { + "title": "ExportPipelineCreate", + "operationId": "ExportPipelines_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -79,3 +81,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineDelete.json index 2a6dd08c92ea..2d1b2f8a85f8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineDelete.json @@ -1,4 +1,6 @@ { + "title": "ExportPipelineDelete", + "operationId": "ExportPipelines_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineGet.json index e81df3ee7d40..68e2cf551730 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineGet.json @@ -1,4 +1,6 @@ { + "title": "ExportPipelineGet", + "operationId": "ExportPipelines_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -34,3 +36,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineList.json index 53e8bfdc7f00..820085f35472 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineList.json @@ -1,4 +1,6 @@ { + "title": "ExportPipelineList", + "operationId": "ExportPipelines_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -37,3 +39,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByManifestDigest.json index 50b11172796e..6828b0189b00 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByManifestDigest.json @@ -1,4 +1,6 @@ { + "title": "ImportImageByManifestDigest", + "operationId": "Registries_ImportImage", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -27,3 +29,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByTag.json index 2ab050c2a9fa..8f175dc89f1f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByTag.json @@ -1,4 +1,6 @@ { + "title": "ImportImageByTag", + "operationId": "Registries_ImportImage", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -27,3 +29,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageFromPublicRegistry.json index d6875d13a749..3998b948f1f0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageFromPublicRegistry.json @@ -1,4 +1,6 @@ { + "title": "ImportImageFromPublicRegistry", + "operationId": "Registries_ImportImage", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -27,3 +29,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineCreate.json index 0e99e3e65376..80f5342bd9b4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineCreate.json @@ -1,4 +1,6 @@ { + "title": "ImportPipelineCreate", + "operationId": "ImportPipelines_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -106,3 +108,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineDelete.json index 0b8b2c3e2f2c..6dba33f4674a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineDelete.json @@ -1,4 +1,6 @@ { + "title": "ImportPipelineDelete", + "operationId": "ImportPipelines_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineGet.json index 91ae13d3edd1..0d215cd0a3b7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineGet.json @@ -1,4 +1,6 @@ { + "title": "ImportPipelineGet", + "operationId": "ImportPipelines_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -45,3 +47,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineList.json index 7a8b15f5bccd..f5b3c8ee7054 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineList.json @@ -1,4 +1,6 @@ { + "title": "ImportPipelineList", + "operationId": "ImportPipelines_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -48,3 +50,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/OperationList.json index 44dba9c59256..d1164110e8b3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/OperationList.json @@ -1,4 +1,6 @@ { + "title": "OperationList", + "operationId": "Operations_List", "parameters": { "api-version": "2025-06-01-preview" }, @@ -20,3 +22,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Export.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Export.json index d8efc32821d0..5fa1b7ae6979 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Export.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Export.json @@ -1,4 +1,6 @@ { + "title": "PipelineRunCreate_Export", + "operationId": "PipelineRuns_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -89,3 +91,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Import.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Import.json index 1e00c9edfd2f..28380e661d65 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Import.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Import.json @@ -1,4 +1,6 @@ { + "title": "PipelineRunCreate_Import", + "operationId": "PipelineRuns_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -88,3 +90,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunDelete.json index 22bebe092677..404083d26a60 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunDelete.json @@ -1,4 +1,6 @@ { + "title": "PipelineRunDelete", + "operationId": "PipelineRuns_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunGet.json index c9bee0c2d7c5..809e6e87bbf9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunGet.json @@ -1,4 +1,6 @@ { + "title": "PipelineRunGet", + "operationId": "PipelineRuns_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -40,3 +42,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunList.json index 5dd966ec7161..f27d851e0d92 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunList.json @@ -1,4 +1,6 @@ { + "title": "PipelineRunList", + "operationId": "PipelineRuns_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -72,3 +74,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json index 6269ebd36866..0c42d65a0274 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json @@ -1,4 +1,6 @@ { + "title": "PrivateEndpointConnectionCreateOrUpdate", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -56,3 +58,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionDelete.json index f59c9ecade40..3fb381837d37 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionDelete.json @@ -1,4 +1,6 @@ { + "title": "PrivateEndpointConnectionDelete", + "operationId": "PrivateEndpointConnections_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionGet.json index 3a4787d40f19..e820d457388a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionGet.json @@ -1,4 +1,6 @@ { + "title": "PrivateEndpointConnectionGet", + "operationId": "PrivateEndpointConnections_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -27,3 +29,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionList.json index c0905602dbea..7ee9ad7cc55a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionList.json @@ -1,4 +1,6 @@ { + "title": "PrivateEndpointConnectionList", + "operationId": "PrivateEndpointConnections_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -30,3 +32,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameAvailable.json index dd92e0d4dee9..7523577e0438 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameAvailable.json @@ -1,4 +1,6 @@ { + "title": "RegistryCheckNameAvailable", + "operationId": "Registries_CheckNameAvailability", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -18,3 +20,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameNotAvailable.json index 0fbaf411cda8..7fb1e3442124 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameNotAvailable.json @@ -1,4 +1,6 @@ { + "title": "RegistryCheckNameNotAvailable", + "operationId": "Registries_CheckNameAvailability", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -19,3 +21,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreate.json index 3df845536a14..c9ecb83e2a03 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreate.json @@ -1,4 +1,6 @@ { + "title": "RegistryCreate", + "operationId": "Registries_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -134,3 +136,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateAbac.json index af25f11b82b8..ff582f27909c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateAbac.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateAbac.json @@ -1,4 +1,6 @@ { + "title": "RegistryCreateAbac", + "operationId": "Registries_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -134,3 +136,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateDomainNameLabelScope.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateDomainNameLabelScope.json index 9548f8542a21..723b44c98fd9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateDomainNameLabelScope.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateDomainNameLabelScope.json @@ -1,4 +1,6 @@ { + "title": "RegistryCreateDomainNameLabelScope", + "operationId": "Registries_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -134,3 +136,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateZoneRedundant.json index ac3fa20c92f5..016dedf380a4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateZoneRedundant.json @@ -1,4 +1,6 @@ { + "title": "RegistryCreateZoneRedundant", + "operationId": "Registries_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -137,3 +139,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryDelete.json index 8db290be6673..1e1df4ad05d8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryDelete.json @@ -1,4 +1,6 @@ { + "title": "RegistryDelete", + "operationId": "Registries_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -15,3 +17,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGenerateCredentials.json index 81a52ad1352a..7c5cc9afb59a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGenerateCredentials.json @@ -1,4 +1,6 @@ { + "title": "RegistryGenerateCredentials", + "operationId": "Registries_GenerateCredentials", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -34,3 +36,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGet.json index 4f8091c42b6c..87f5225e23b5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGet.json @@ -1,4 +1,6 @@ { + "title": "RegistryGet", + "operationId": "Registries_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -65,3 +67,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGetPrivateLinkResource.json index 31a6f0388f0d..60339abc4730 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGetPrivateLinkResource.json @@ -1,4 +1,6 @@ { + "title": "RegistryGetPrivateLinkResource", + "operationId": "Registries_GetPrivateLinkResource", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -26,3 +28,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryList.json index 8039335c373d..f103409b464d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryList.json @@ -1,4 +1,6 @@ { + "title": "RegistryList", + "operationId": "Registries_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -67,3 +69,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListByResourceGroup.json index 31adfbe6ec2e..b62b3d7cbd33 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListByResourceGroup.json @@ -1,4 +1,6 @@ { + "title": "RegistryListByResourceGroup", + "operationId": "Registries_ListByResourceGroup", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -68,3 +70,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListCredentials.json index 4a6d18a8f5eb..b758435e1da1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListCredentials.json @@ -1,4 +1,6 @@ { + "title": "RegistryListCredentials", + "operationId": "Registries_ListCredentials", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -23,3 +25,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListPrivateLinkResources.json index 8eb602167e20..88e9cc326fc6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListPrivateLinkResources.json @@ -1,4 +1,6 @@ { + "title": "RegistryListPrivateLinkResources", + "operationId": "Registries_ListPrivateLinkResources", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -29,3 +31,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListUsages.json index 0c55f8816451..7748d65c9c73 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListUsages.json @@ -1,4 +1,6 @@ { + "title": "RegistryListUsages", + "operationId": "Registries_ListUsages", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -26,3 +28,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryRegenerateCredential.json index f90db53813d0..ec55e850dfe4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryRegenerateCredential.json @@ -1,4 +1,6 @@ { + "title": "RegistryRegenerateCredential", + "operationId": "Registries_RegenerateCredential", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -26,3 +28,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryUpdate.json index 31a82f830709..34a95c10c173 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryUpdate.json @@ -1,4 +1,6 @@ { + "title": "RegistryUpdate", + "operationId": "Registries_Update", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -137,3 +139,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreate.json index 18e88cde195c..ac8f43c0aad3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreate.json @@ -1,4 +1,6 @@ { + "title": "ReplicationCreate", + "operationId": "Replications_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -60,3 +62,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreateZoneRedundant.json index a4ef6cbf1d04..24ff0939346e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreateZoneRedundant.json @@ -1,4 +1,6 @@ { + "title": "ReplicationCreateZoneRedundant", + "operationId": "Replications_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -64,3 +66,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationDelete.json index d8f8083db77f..f3302a54280a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationDelete.json @@ -1,4 +1,6 @@ { + "title": "ReplicationDelete", + "operationId": "Replications_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationGet.json index ccd8f735ccd5..30994fe5fe21 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationGet.json @@ -1,4 +1,6 @@ { + "title": "ReplicationGet", + "operationId": "Replications_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -30,3 +32,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationList.json index ab6742ea1e3f..b819a97db691 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationList.json @@ -1,4 +1,6 @@ { + "title": "ReplicationList", + "operationId": "Replications_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -33,3 +35,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationUpdate.json index 5d3474677aae..b9c2d6dc0b71 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationUpdate.json @@ -1,4 +1,6 @@ { + "title": "ReplicationUpdate", + "operationId": "Replications_Update", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -59,3 +61,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapCreate.json index 374cdab6a25c..b8fdc5cdc049 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapCreate.json @@ -1,4 +1,6 @@ { + "title": "ScopeMapCreate", + "operationId": "ScopeMaps_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -53,3 +55,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapDelete.json index d2fe7dd2bd81..6c72f2af9cca 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapDelete.json @@ -1,4 +1,6 @@ { + "title": "ScopeMapDelete", + "operationId": "ScopeMaps_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapGet.json index 3db990898a6e..2fe7b432fe4d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapGet.json @@ -1,4 +1,6 @@ { + "title": "ScopeMapGet", + "operationId": "ScopeMaps_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -25,3 +27,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapList.json index d9ac7b98b254..215615f8b5a7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapList.json @@ -1,4 +1,6 @@ { + "title": "ScopeMapList", + "operationId": "ScopeMaps_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -28,3 +30,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapUpdate.json index 35f168b301ea..be56ae693557 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapUpdate.json @@ -1,4 +1,6 @@ { + "title": "ScopeMapUpdate", + "operationId": "ScopeMaps_Update", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -53,3 +55,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenCreate.json index 60e325b661f8..37c1c5d2e914 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenCreate.json @@ -1,4 +1,6 @@ { + "title": "TokenCreate", + "operationId": "Tokens_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -70,3 +72,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenDelete.json index c32fb0c0a418..523e95cf8413 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenDelete.json @@ -1,4 +1,6 @@ { + "title": "TokenDelete", + "operationId": "Tokens_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenGet.json index 82eba9750fb4..36cceab5fa6b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenGet.json @@ -1,4 +1,6 @@ { + "title": "TokenGet", + "operationId": "Tokens_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -22,3 +24,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenList.json index 42e6aa34c866..b3fd1b85ec5e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenList.json @@ -1,4 +1,6 @@ { + "title": "TokenList", + "operationId": "Tokens_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -25,3 +27,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenUpdate.json index 13d63ad5f64a..413a0af7a822 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenUpdate.json @@ -1,4 +1,6 @@ { + "title": "TokenUpdate", + "operationId": "Tokens_Update", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -67,3 +69,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookCreate.json index c9f85236f1c4..b8f02a857606 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookCreate.json @@ -1,4 +1,6 @@ { + "title": "WebhookCreate", + "operationId": "Webhooks_Create", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -67,3 +69,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookDelete.json index 29a5d335358d..5e05231f1928 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookDelete.json @@ -1,4 +1,6 @@ { + "title": "WebhookDelete", + "operationId": "Webhooks_Delete", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGet.json index ac33c1226e55..94bf018d8670 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGet.json @@ -1,4 +1,6 @@ { + "title": "WebhookGet", + "operationId": "Webhooks_Get", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -28,3 +30,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGetCallbackConfig.json index cefe724c974d..98fb2df2e2f9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGetCallbackConfig.json @@ -1,4 +1,6 @@ { + "title": "WebhookGetCallbackConfig", + "operationId": "Webhooks_GetCallbackConfig", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -17,3 +19,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookList.json index 6d89340756ce..93b9e45a75dd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookList.json @@ -1,4 +1,6 @@ { + "title": "WebhookList", + "operationId": "Webhooks_List", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -31,3 +33,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookListEvents.json index 3fdf6580ce57..b25c10ab9bd7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookListEvents.json @@ -1,4 +1,6 @@ { + "title": "WebhookListEvents", + "operationId": "Webhooks_ListEvents", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -61,3 +63,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookPing.json index 148f8617fe32..ab88bf3f2f77 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookPing.json @@ -1,4 +1,6 @@ { + "title": "WebhookPing", + "operationId": "Webhooks_Ping", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -14,3 +16,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookUpdate.json index 0417e53041e8..b4f54613b261 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookUpdate.json @@ -1,4 +1,6 @@ { + "title": "WebhookUpdate", + "operationId": "Webhooks_Update", "parameters": { "api-version": "2025-06-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -66,3 +68,4 @@ } } } + From cffcea99c5375754c4eb71062c915888a2617a03 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Wed, 15 Oct 2025 16:18:47 +0800 Subject: [PATCH 26/41] update --- .../Registry/PrivateLinkResource.tsp | 22 ++----- .../2025-06-01-preview/containerregistry.json | 58 ++++--------------- 2 files changed, 17 insertions(+), 63 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp index f2db1a65fe39..0b276e060448 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp @@ -11,33 +11,23 @@ using TypeSpec.Http; using TypeSpec.OpenAPI; namespace Microsoft.ContainerRegistry; -/** - * A resource that supports private link capabilities. - */ -@parentResource(Registry) -model PrivateLinkResource - is Azure.ResourceManager.ProxyResource { - ...ResourceNameParameter< - Resource = PrivateLinkResource, - KeyName = "groupName", - SegmentName = "privateLinkResources", - NamePattern = "" - >; -} + +model MyPrivateLinkResource is PrivateLink; +alias PrivateLinkOperations = PrivateLinks; @armResourceOperations interface PrivateLinkResources { /** * Gets a private link resource by a specified group name for a container registry. */ - getPrivateLinkResource is ArmResourceRead; + getPrivateLinkResource is PrivateLinkOperations.Read; /** * Lists the private link resources for a container registry. */ @list - listPrivateLinkResources is ArmResourceListByParent< - PrivateLinkResource, + listPrivateLinkResources is PrivateLinkOperations.ListByParent< + Registry, Response = ArmResponse >; } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json index 2edad66516a0..a9c00ad9d9ef 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json @@ -3819,7 +3819,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{privateLinkResourceName}": { "get": { "operationId": "Registries_GetPrivateLinkResource", "tags": [ @@ -3847,9 +3847,9 @@ "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "groupName", + "name": "privateLinkResourceName", "in": "path", - "description": "The name of the private link resource.", + "description": "The name of the private link associated with the Azure resource.", "required": true, "type": "string" } @@ -3858,7 +3858,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateLinkResource" + "$ref": "../../../../../../common-types/resource-management/v6/privatelinks.json#/definitions/PrivateLinkResource" } }, "default": { @@ -7761,22 +7761,6 @@ } } }, - "PrivateLinkResource": { - "type": "object", - "description": "A resource that supports private link capabilities.", - "properties": { - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "A resource that supports private link capabilities.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, "PrivateLinkResourceListResult": { "type": "object", "description": "The result of a request to list private link resources for a container registry.", @@ -7785,7 +7769,7 @@ "type": "array", "description": "The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources.", "items": { - "$ref": "#/definitions/PrivateLinkResource" + "$ref": "../../../../../../common-types/resource-management/v6/privatelinks.json#/definitions/PrivateLinkResource" } }, "nextLink": { @@ -7794,30 +7778,6 @@ } } }, - "PrivateLinkResourceProperties": { - "type": "object", - "description": "The properties of a private link resource.", - "properties": { - "groupId": { - "type": "string", - "description": "The private link resource group id." - }, - "requiredMembers": { - "type": "array", - "description": "The private link resource required member names.", - "items": { - "type": "string" - } - }, - "requiredZoneNames": { - "type": "array", - "description": "The private link resource Private link DNS zone name.", - "items": { - "type": "string" - } - } - } - }, "PrivateLinkServiceConnectionState": { "type": "object", "description": "The state of a private link service connection.", @@ -9592,10 +9552,12 @@ }, "customHeaders": { "type": "object", + "format": "password", "description": "Custom headers that will be added to the webhook notifications.", "additionalProperties": { "type": "string" - } + }, + "x-ms-secret": true }, "status": { "$ref": "#/definitions/WebhookStatus", @@ -9630,10 +9592,12 @@ }, "customHeaders": { "type": "object", + "format": "password", "description": "Custom headers that will be added to the webhook notifications.", "additionalProperties": { "type": "string" - } + }, + "x-ms-secret": true }, "status": { "$ref": "#/definitions/WebhookStatus", From 47b5907192b012e190cf7810fa164afb54d3b4b4 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Wed, 15 Oct 2025 17:42:29 +0800 Subject: [PATCH 27/41] support 2025-11-01 --- .../Registry/Archive.tsp | 4 + .../Registry/ArchiveVersion.tsp | 4 + .../Registry/ExportPipeline.tsp | 4 + .../Registry/ImportPipeline.tsp | 3 + .../Registry/PipelineRun.tsp | 4 + .../examples/2025-11-01/CacheRuleCreate.json | 52 + .../examples/2025-11-01/CacheRuleDelete.json | 20 + .../examples/2025-11-01/CacheRuleGet.json | 28 + .../examples/2025-11-01/CacheRuleList.json | 31 + .../examples/2025-11-01/CacheRuleUpdate.json | 50 + .../2025-11-01/ConnectedRegistryCreate.json | 113 + .../ConnectedRegistryDeactivate.json | 20 + .../2025-11-01/ConnectedRegistryDelete.json | 21 + .../2025-11-01/ConnectedRegistryGet.json | 50 + .../2025-11-01/ConnectedRegistryList.json | 53 + .../2025-11-01/ConnectedRegistryUpdate.json | 110 + .../2025-11-01/CredentialSetCreate.json | 86 + .../2025-11-01/CredentialSetDelete.json | 20 + .../examples/2025-11-01/CredentialSetGet.json | 41 + .../2025-11-01/CredentialSetList.json | 44 + .../2025-11-01/CredentialSetUpdate.json | 82 + .../ImportImageByManifestDigest.json | 32 + .../examples/2025-11-01/ImportImageByTag.json | 32 + .../ImportImageFromPublicRegistry.json | 32 + .../examples/2025-11-01/OperationList.json | 25 + ...ivateEndpointConnectionCreateOrUpdate.json | 61 + .../PrivateEndpointConnectionDelete.json | 21 + .../PrivateEndpointConnectionGet.json | 32 + .../PrivateEndpointConnectionList.json | 35 + .../RegistryCheckNameAvailable.json | 20 + .../RegistryCheckNameNotAvailable.json | 22 + .../examples/2025-11-01/RegistryCreate.json | 141 + .../2025-11-01/RegistryCreateAbac.json | 135 + .../RegistryCreateZoneRedundant.json | 144 + .../examples/2025-11-01/RegistryDelete.json | 20 + .../RegistryGenerateCredentials.json | 39 + .../examples/2025-11-01/RegistryGet.json | 71 + .../RegistryGetPrivateLinkResource.json | 31 + .../examples/2025-11-01/RegistryList.json | 73 + .../RegistryListByResourceGroup.json | 74 + .../2025-11-01/RegistryListCredentials.json | 28 + .../RegistryListPrivateLinkResources.json | 34 + .../2025-11-01/RegistryListUsages.json | 31 + .../RegistryRegenerateCredential.json | 31 + .../examples/2025-11-01/RegistryUpdate.json | 144 + .../2025-11-01/ReplicationCreate.json | 65 + .../ReplicationCreateZoneRedundant.json | 69 + .../2025-11-01/ReplicationDelete.json | 21 + .../examples/2025-11-01/ReplicationGet.json | 35 + .../examples/2025-11-01/ReplicationList.json | 38 + .../2025-11-01/ReplicationUpdate.json | 64 + .../examples/2025-11-01/ScopeMapCreate.json | 58 + .../examples/2025-11-01/ScopeMapDelete.json | 21 + .../examples/2025-11-01/ScopeMapGet.json | 30 + .../examples/2025-11-01/ScopeMapList.json | 33 + .../examples/2025-11-01/ScopeMapUpdate.json | 58 + .../examples/2025-11-01/TokenCreate.json | 75 + .../examples/2025-11-01/TokenDelete.json | 21 + .../examples/2025-11-01/TokenGet.json | 27 + .../examples/2025-11-01/TokenList.json | 30 + .../examples/2025-11-01/TokenUpdate.json | 72 + .../examples/2025-11-01/WebhookCreate.json | 72 + .../examples/2025-11-01/WebhookDelete.json | 21 + .../examples/2025-11-01/WebhookGet.json | 33 + .../2025-11-01/WebhookGetCallbackConfig.json | 22 + .../examples/2025-11-01/WebhookList.json | 36 + .../2025-11-01/WebhookListEvents.json | 66 + .../examples/2025-11-01/WebhookPing.json | 19 + .../examples/2025-11-01/WebhookUpdate.json | 71 + .../Registry/main.tsp | 5 + .../output/stable/oldNormalizedSwagger.json | 5283 ++++++++++++ .../stable/2025-11-01/containerregistry.json | 7570 ++++++++++------- .../2025-11-01/examples/CacheRuleCreate.json | 3 + .../2025-11-01/examples/CacheRuleDelete.json | 3 + .../2025-11-01/examples/CacheRuleGet.json | 3 + .../2025-11-01/examples/CacheRuleList.json | 3 + .../2025-11-01/examples/CacheRuleUpdate.json | 3 + .../examples/ConnectedRegistryCreate.json | 3 + .../examples/ConnectedRegistryDeactivate.json | 3 + .../examples/ConnectedRegistryDelete.json | 3 + .../examples/ConnectedRegistryGet.json | 3 + .../examples/ConnectedRegistryList.json | 3 + .../examples/ConnectedRegistryUpdate.json | 3 + .../examples/CredentialSetCreate.json | 3 + .../examples/CredentialSetDelete.json | 3 + .../2025-11-01/examples/CredentialSetGet.json | 3 + .../examples/CredentialSetList.json | 3 + .../examples/CredentialSetUpdate.json | 3 + .../examples/ImportImageByManifestDigest.json | 3 + .../2025-11-01/examples/ImportImageByTag.json | 3 + .../ImportImageFromPublicRegistry.json | 3 + .../2025-11-01/examples/OperationList.json | 3 + ...ivateEndpointConnectionCreateOrUpdate.json | 3 + .../PrivateEndpointConnectionDelete.json | 3 + .../PrivateEndpointConnectionGet.json | 3 + .../PrivateEndpointConnectionList.json | 3 + .../examples/RegistryCheckNameAvailable.json | 3 + .../RegistryCheckNameNotAvailable.json | 3 + .../2025-11-01/examples/RegistryCreate.json | 3 + .../examples/RegistryCreateAbac.json | 3 + .../examples/RegistryCreateZoneRedundant.json | 3 + .../2025-11-01/examples/RegistryDelete.json | 3 + .../examples/RegistryGenerateCredentials.json | 3 + .../2025-11-01/examples/RegistryGet.json | 3 + .../RegistryGetPrivateLinkResource.json | 3 + .../2025-11-01/examples/RegistryList.json | 3 + .../examples/RegistryListByResourceGroup.json | 3 + .../examples/RegistryListCredentials.json | 3 + .../RegistryListPrivateLinkResources.json | 3 + .../examples/RegistryListUsages.json | 3 + .../RegistryRegenerateCredential.json | 3 + .../2025-11-01/examples/RegistryUpdate.json | 3 + .../examples/ReplicationCreate.json | 3 + .../ReplicationCreateZoneRedundant.json | 3 + .../examples/ReplicationDelete.json | 3 + .../2025-11-01/examples/ReplicationGet.json | 3 + .../2025-11-01/examples/ReplicationList.json | 3 + .../examples/ReplicationUpdate.json | 3 + .../2025-11-01/examples/ScopeMapCreate.json | 3 + .../2025-11-01/examples/ScopeMapDelete.json | 3 + .../2025-11-01/examples/ScopeMapGet.json | 3 + .../2025-11-01/examples/ScopeMapList.json | 3 + .../2025-11-01/examples/ScopeMapUpdate.json | 3 + .../2025-11-01/examples/TokenCreate.json | 3 + .../2025-11-01/examples/TokenDelete.json | 3 + .../stable/2025-11-01/examples/TokenGet.json | 3 + .../stable/2025-11-01/examples/TokenList.json | 3 + .../2025-11-01/examples/TokenUpdate.json | 3 + .../2025-11-01/examples/WebhookCreate.json | 3 + .../2025-11-01/examples/WebhookDelete.json | 3 + .../2025-11-01/examples/WebhookGet.json | 3 + .../examples/WebhookGetCallbackConfig.json | 3 + .../2025-11-01/examples/WebhookList.json | 3 + .../examples/WebhookListEvents.json | 3 + .../2025-11-01/examples/WebhookPing.json | 3 + .../2025-11-01/examples/WebhookUpdate.json | 3 + 136 files changed, 13060 insertions(+), 3195 deletions(-) create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDeactivate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByManifestDigest.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByTag.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageFromPublicRegistry.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/OperationList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionCreateOrUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameAvailable.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameNotAvailable.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateAbac.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateZoneRedundant.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGenerateCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGetPrivateLinkResource.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListByResourceGroup.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListCredentials.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListPrivateLinkResources.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListUsages.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryRegenerateCredential.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreateZoneRedundant.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookCreate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookDelete.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGet.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGetCallbackConfig.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookList.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookListEvents.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookPing.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookUpdate.json create mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/stable/oldNormalizedSwagger.json diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp index 85df1ee33b40..63df705e46ef 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Archive.tsp @@ -2,12 +2,14 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; +import "@typespec/versioning"; import "./models.tsp"; import "./Registry.tsp"; using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; +using TypeSpec.Versioning; using TypeSpec.OpenAPI; namespace Microsoft.ContainerRegistry; @@ -94,6 +96,7 @@ interface AchieveOps /** * An object that represents a archive for a container registry. */ +@removed(Versions.v2025_11_01) @parentResource(Registry) model Archive is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -104,6 +107,7 @@ model Archive is Azure.ResourceManager.ProxyResource { >; } +@removed(Versions.v2025_11_01) @armResourceOperations interface Archives { /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp index 1f55a0b7bb04..657db28f5011 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ArchiveVersion.tsp @@ -2,12 +2,14 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; +import "@typespec/versioning"; import "./models.tsp"; import "./Archive.tsp"; using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; +using TypeSpec.Versioning; using TypeSpec.OpenAPI; namespace Microsoft.ContainerRegistry; @@ -115,6 +117,7 @@ interface ArchiveVersionListOps /** * An object that represents an export pipeline for a container registry. */ +@removed(Versions.v2025_11_01) @parentResource(Archive) model ArchiveVersion is Azure.ResourceManager.ProxyResource { @@ -126,6 +129,7 @@ model ArchiveVersion >; } +@removed(Versions.v2025_11_01) @armResourceOperations interface ArchiveVersions { /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp index fc3636d7e7f6..53fc8c40e97b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp @@ -2,6 +2,7 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; +import "@typespec/versioning"; import "./models.tsp"; import "./Registry.tsp"; @@ -9,11 +10,13 @@ using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using TypeSpec.Versioning; namespace Microsoft.ContainerRegistry; /** * An object that represents an export pipeline for a container registry. */ +@removed(Versions.v2025_11_01) @parentResource(Registry) model ExportPipeline is Azure.ResourceManager.ProxyResource { @@ -37,6 +40,7 @@ model ExportPipeline identity?: IdentityProperties; } +@removed(Versions.v2025_11_01) @armResourceOperations interface ExportPipelines { /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp index f3c2cde04fb4..8086aafee239 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp @@ -2,6 +2,7 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; +import "@typespec/versioning"; import "./models.tsp"; import "./Registry.tsp"; @@ -9,6 +10,7 @@ using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using TypeSpec.Versioning; namespace Microsoft.ContainerRegistry; /** @@ -37,6 +39,7 @@ model ImportPipeline identity?: IdentityProperties; } +@removed(Versions.v2025_11_01) @armResourceOperations interface ImportPipelines { /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp index 20ae2f1f52f0..5d2d42b3fbf5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp @@ -2,6 +2,7 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; +import "@typespec/versioning"; import "./models.tsp"; import "./Registry.tsp"; @@ -9,11 +10,13 @@ using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using TypeSpec.Versioning; namespace Microsoft.ContainerRegistry; /** * An object that represents a pipeline run for a container registry. */ +@removed(Versions.v2025_11_01) @parentResource(Registry) model PipelineRun is Azure.ResourceManager.ProxyResource { @@ -25,6 +28,7 @@ model PipelineRun >; } +@removed(Versions.v2025_11_01) @armResourceOperations interface PipelineRuns { /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleCreate.json new file mode 100644 index 000000000000..9bd06eb0f2f5 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleCreate.json @@ -0,0 +1,52 @@ +{ + "title": "CacheRuleCreate", + "operationId": "CacheRules_Create", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "cacheRuleName": "myCacheRule", + "cacheRuleCreateParameters": { + "properties": { + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world", + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet" + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", + "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", + "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Creating" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleDelete.json new file mode 100644 index 000000000000..dfef16aa5ad9 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleDelete.json @@ -0,0 +1,20 @@ +{ + "title": "CacheRuleDelete", + "operationId": "CacheRules_Delete", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "cacheRuleName": "myCacheRule" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + }, + "204": {} + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleGet.json new file mode 100644 index 000000000000..1e5c58c7e14c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleGet.json @@ -0,0 +1,28 @@ +{ + "title": "CacheRuleGet", + "operationId": "CacheRules_Get", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "cacheRuleName": "myCacheRule" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", + "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleList.json new file mode 100644 index 000000000000..efeeb8ccb796 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleList.json @@ -0,0 +1,31 @@ +{ + "title": "CacheRuleList", + "operationId": "CacheRules_List", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", + "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleUpdate.json new file mode 100644 index 000000000000..f6b9de971cc4 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleUpdate.json @@ -0,0 +1,50 @@ +{ + "title": "CacheRuleUpdate", + "operationId": "CacheRules_Update", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "cacheRuleName": "myCacheRule", + "cacheRuleUpdateParameters": { + "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2" + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", + "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule/operationStatuses/cacherules-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "type": "Microsoft.ContainerRegistry/registries/cacheRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule", + "name": "myCacheRule", + "properties": { + "credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet2", + "sourceRepository": "docker.io/library/hello-world", + "targetRepository": "cached-docker-hub/hello-world", + "creationDate": "2022-11-07T18:20:33.8374968+00:00", + "provisioningState": "Updating" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryCreate.json new file mode 100644 index 000000000000..fb2da91b9464 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryCreate.json @@ -0,0 +1,113 @@ +{ + "title": "ConnectedRegistryCreate", + "operationId": "ConnectedRegistries_Create", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry", + "connectedRegistryCreateParameters": { + "properties": { + "mode": "ReadWrite", + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "properties": { + "mode": "ReadWrite", + "activation": { + "status": "Inactive" + }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "logging": { + "logLevel": "Information", + "auditLogStatus": "Disabled" + }, + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + } + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "properties": { + "mode": "ReadWrite", + "activation": { + "status": "Inactive" + }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "logging": { + "logLevel": "Information", + "auditLogStatus": "Disabled" + }, + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + } + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDeactivate.json new file mode 100644 index 000000000000..0868ce53113a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDeactivate.json @@ -0,0 +1,20 @@ +{ + "title": "ConnectedRegistryDeactivate", + "operationId": "ConnectedRegistries_Deactivate", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDelete.json new file mode 100644 index 000000000000..fd35cf45d5b3 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDelete.json @@ -0,0 +1,21 @@ +{ + "title": "ConnectedRegistryDelete", + "operationId": "ConnectedRegistries_Delete", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + }, + "204": {} + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryGet.json new file mode 100644 index 000000000000..95542d59c5ee --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryGet.json @@ -0,0 +1,50 @@ +{ + "title": "ConnectedRegistryGet", + "operationId": "ConnectedRegistries_Get", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "connectedRegistryName": "myConnectedRegistry" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "properties": { + "mode": "ReadWrite", + "activation": { + "status": "Inactive" + }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "logging": { + "logLevel": "Information", + "auditLogStatus": "Disabled" + }, + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + } + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryList.json new file mode 100644 index 000000000000..510848c275d9 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryList.json @@ -0,0 +1,53 @@ +{ + "title": "ConnectedRegistryList", + "operationId": "ConnectedRegistries_List", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "properties": { + "mode": "ReadWrite", + "activation": { + "status": "Inactive" + }, + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 9 * * *", + "messageTtl": "P2D", + "syncWindow": "PT3H" + } + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token" + ], + "logging": { + "logLevel": "Information", + "auditLogStatus": "Disabled" + }, + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + } + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryUpdate.json new file mode 100644 index 000000000000..f70e03ca7718 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryUpdate.json @@ -0,0 +1,110 @@ +{ + "title": "ConnectedRegistryUpdate", + "operationId": "ConnectedRegistries_Update", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "connectedRegistryName": "myScopeMap", + "connectedRegistryUpdateParameters": { + "properties": { + "syncProperties": { + "schedule": "0 0 */10 * *", + "messageTtl": "P30D", + "syncWindow": "P2D" + }, + "logging": { + "logLevel": "Debug", + "auditLogStatus": "Enabled" + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" + ], + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "properties": { + "mode": "ReadWrite", + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 0 */10 * *", + "messageTtl": "P30D", + "syncWindow": "P2D" + } + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" + ], + "logging": { + "logLevel": "Debug", + "auditLogStatus": "Enabled" + }, + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + } + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry/operationStatuses/connectedregistries-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/connectedRegistries/myConnectedRegistry", + "name": "myConnectedRegistry", + "type": "Microsoft.ContainerRegistry/registries/connectedRegistries", + "properties": { + "mode": "ReadWrite", + "parent": { + "syncProperties": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken", + "schedule": "0 0 */10 * *", + "messageTtl": "P30D", + "syncWindow": "P2D" + } + }, + "clientTokenIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token" + ], + "logging": { + "logLevel": "Debug", + "auditLogStatus": "Enabled" + }, + "notificationsList": [ + "hello-world:*:*", + "sample/repo/*:1.0:*" + ], + "garbageCollection": { + "enabled": true, + "schedule": "0 5 * * *" + } + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetCreate.json new file mode 100644 index 000000000000..5433be19f14d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetCreate.json @@ -0,0 +1,86 @@ +{ + "title": "CredentialSetCreate", + "operationId": "CredentialSets_Create", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "credentialSetName": "myCredentialSet", + "credentialSetCreateParameters": { + "properties": { + "loginServer": "docker.io", + "authCredentials": [ + { + "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password" + } + ] + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", + "properties": { + "loginServer": "docker.io", + "authCredentials": [ + { + "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "credentialHealth": { + "status": "Healthy" + } + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", + "properties": { + "loginServer": "docker.io", + "authCredentials": [ + { + "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "credentialHealth": { + "status": "Healthy" + } + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "provisioningState": "Creating" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetDelete.json new file mode 100644 index 000000000000..ee4e00bfa1d8 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetDelete.json @@ -0,0 +1,20 @@ +{ + "title": "CredentialSetDelete", + "operationId": "CredentialSets_Delete", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "credentialSetName": "myCredentialSet" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + }, + "204": {} + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetGet.json new file mode 100644 index 000000000000..3135ac2c0fb1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetGet.json @@ -0,0 +1,41 @@ +{ + "title": "CredentialSetGet", + "operationId": "CredentialSets_Get", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "credentialSetName": "myCredentialSet" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", + "properties": { + "loginServer": "docker.io", + "authCredentials": [ + { + "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "credentialHealth": { + "status": "Healthy" + } + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "provisioningState": "Succeeded" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetList.json new file mode 100644 index 000000000000..3d912e20d9f2 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetList.json @@ -0,0 +1,44 @@ +{ + "title": "CredentialSetList", + "operationId": "CredentialSets_List", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", + "properties": { + "loginServer": "docker.io", + "authCredentials": [ + { + "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password", + "credentialHealth": { + "status": "Healthy" + } + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetUpdate.json new file mode 100644 index 000000000000..1f1e6c8ea908 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetUpdate.json @@ -0,0 +1,82 @@ +{ + "title": "CredentialSetUpdate", + "operationId": "CredentialSets_Update", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "credentialSetName": "myCredentialSet", + "credentialSetUpdateParameters": { + "properties": { + "authCredentials": [ + { + "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", + "properties": { + "loginServer": "docker.io", + "authCredentials": [ + { + "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", + "credentialHealth": { + "status": "Healthy" + } + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet/operationStatuses/credentialsets-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "type": "Microsoft.ContainerRegistry/registries/credentialSets", + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "SystemAssigned" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet", + "name": "myCredentialSet", + "properties": { + "loginServer": "docker.io", + "authCredentials": [ + { + "name": "Credential1", + "usernameSecretIdentifier": "https://myvault.vault.azure.net/secrets/username2", + "passwordSecretIdentifier": "https://myvault.vault.azure.net/secrets/password2", + "credentialHealth": { + "status": "Healthy" + } + } + ], + "creationDate": "2022-11-07T18:20:08.012276+00:00", + "provisioningState": "Updating" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByManifestDigest.json new file mode 100644 index 000000000000..f58317d569e2 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByManifestDigest.json @@ -0,0 +1,32 @@ +{ + "title": "ImportImageByManifestDigest", + "operationId": "Registries_ImportImage", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "parameters": { + "source": { + "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", + "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ], + "mode": "Force" + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByTag.json new file mode 100644 index 000000000000..df7fde2d095f --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByTag.json @@ -0,0 +1,32 @@ +{ + "title": "ImportImageByTag", + "operationId": "Registries_ImportImage", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "parameters": { + "source": { + "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry", + "sourceImage": "sourceRepository:sourceTag" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ], + "mode": "Force" + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageFromPublicRegistry.json new file mode 100644 index 000000000000..0af69700098c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageFromPublicRegistry.json @@ -0,0 +1,32 @@ +{ + "title": "ImportImageFromPublicRegistry", + "operationId": "Registries_ImportImage", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "parameters": { + "source": { + "registryUri": "registry.hub.docker.com", + "sourceImage": "library/hello-world" + }, + "targetTags": [ + "targetRepository:targetTag" + ], + "untaggedTargetRepositories": [ + "targetRepository1" + ], + "mode": "Force" + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/locations/location/operationResults/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/OperationList.json new file mode 100644 index 000000000000..8fd4020cbe7b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/OperationList.json @@ -0,0 +1,25 @@ +{ + "title": "OperationList", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-11-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ContainerRegistry/locations/deleteVirtualNetworkOrSubnets/action", + "display": { + "provider": "Microsoft ContainerRegistry", + "resource": "", + "operation": "Delete virtual network or subnets notifications", + "description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted" + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionCreateOrUpdate.json new file mode 100644 index 000000000000..4728806c5f98 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionCreateOrUpdate.json @@ -0,0 +1,61 @@ +{ + "title": "PrivateEndpointConnectionCreateOrUpdate", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "privateEndpointConnectionName": "myConnection", + "privateEndpointConnection": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionDelete.json new file mode 100644 index 000000000000..3a1db930b832 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionDelete.json @@ -0,0 +1,21 @@ +{ + "title": "PrivateEndpointConnectionDelete", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection/operationStatuses/privateendpointconnections-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + }, + "204": {} + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionGet.json new file mode 100644 index 000000000000..bc9afa5a82a8 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionGet.json @@ -0,0 +1,32 @@ +{ + "title": "PrivateEndpointConnectionGet", + "operationId": "PrivateEndpointConnections_Get", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionList.json new file mode 100644 index 000000000000..f4ea100fb362 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionList.json @@ -0,0 +1,35 @@ +{ + "title": "PrivateEndpointConnectionList", + "operationId": "PrivateEndpointConnections_List", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.ContainerRegistry/registries/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameAvailable.json new file mode 100644 index 000000000000..9845b130700d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameAvailable.json @@ -0,0 +1,20 @@ +{ + "title": "RegistryCheckNameAvailable", + "operationId": "Registries_CheckNameAvailability", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryNameCheckRequest": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameNotAvailable.json new file mode 100644 index 000000000000..de31133b2e6f --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameNotAvailable.json @@ -0,0 +1,22 @@ +{ + "title": "RegistryCheckNameNotAvailable", + "operationId": "Registries_CheckNameAvailability", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "registryNameCheckRequest": { + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "The registry myRegistry is already in use." + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreate.json new file mode 100644 index 000000000000..9581aa058b87 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreate.json @@ -0,0 +1,141 @@ +{ + "title": "RegistryCreate", + "operationId": "Registries_Create", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "registry": { + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard" + }, + "properties": { + "adminUserEnabled": true + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myRegistry.azurecr.io", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": true, + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "quarantinePolicy": { + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "exportPolicy": { + "status": "enabled" + }, + "azureADAuthenticationAsArmPolicy": { + "status": "enabled" + } + }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "privateEndpointConnections": [], + "publicNetworkAccess": "Enabled", + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "roleAssignmentMode": "LegacyRegistryPermissions" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myRegistry.azurecr.io", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Creating", + "adminUserEnabled": true, + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "quarantinePolicy": { + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "exportPolicy": { + "status": "enabled" + }, + "azureADAuthenticationAsArmPolicy": { + "status": "enabled" + } + }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "privateEndpointConnections": [], + "publicNetworkAccess": "Enabled", + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "roleAssignmentMode": "LegacyRegistryPermissions" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateAbac.json new file mode 100644 index 000000000000..7bb91499cba8 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateAbac.json @@ -0,0 +1,135 @@ +{ + "title": "RegistryCreateAbac", + "operationId": "Registries_Create", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "registry": { + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard" + }, + "properties": { + "roleAssignmentMode": "AbacRepositoryPermissions" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myRegistry.azurecr.io", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": true, + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "quarantinePolicy": { + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "exportPolicy": { + "status": "enabled" + } + }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "privateEndpointConnections": [], + "publicNetworkAccess": "Enabled", + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "roleAssignmentMode": "AbacRepositoryPermissions" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myRegistry.azurecr.io", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Creating", + "adminUserEnabled": true, + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "quarantinePolicy": { + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "exportPolicy": { + "status": "enabled" + } + }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "privateEndpointConnections": [], + "publicNetworkAccess": "Enabled", + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "roleAssignmentMode": "AbacRepositoryPermissions" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateZoneRedundant.json new file mode 100644 index 000000000000..699fdbbdf1d4 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateZoneRedundant.json @@ -0,0 +1,144 @@ +{ + "title": "RegistryCreateZoneRedundant", + "operationId": "Registries_Create", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "registry": { + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard" + }, + "properties": { + "zoneRedundancy": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myRegistry.azurecr.io", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": false, + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "quarantinePolicy": { + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "exportPolicy": { + "status": "enabled" + }, + "azureADAuthenticationAsArmPolicy": { + "status": "enabled" + } + }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "privateEndpointConnections": [], + "publicNetworkAccess": "Enabled", + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Enabled", + "anonymousPullEnabled": false, + "roleAssignmentMode": "LegacyRegistryPermissions" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myRegistry.azurecr.io", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Creating", + "adminUserEnabled": false, + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "quarantinePolicy": { + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "exportPolicy": { + "status": "enabled" + }, + "azureADAuthenticationAsArmPolicy": { + "status": "enabled" + } + }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "privateEndpointConnections": [], + "publicNetworkAccess": "Enabled", + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Enabled", + "anonymousPullEnabled": false, + "roleAssignmentMode": "LegacyRegistryPermissions" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryDelete.json new file mode 100644 index 000000000000..e9bf1cdb6f06 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryDelete.json @@ -0,0 +1,20 @@ +{ + "title": "RegistryDelete", + "operationId": "Registries_Delete", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + }, + "204": {} + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGenerateCredentials.json new file mode 100644 index 000000000000..4012d2e0b844 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGenerateCredentials.json @@ -0,0 +1,39 @@ +{ + "title": "RegistryGenerateCredentials", + "operationId": "Registries_GenerateCredentials", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "generateCredentialsParameters": { + "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "expiry": "2020-12-31T15:59:59.0707808Z" + } + }, + "responses": { + "200": { + "body": { + "username": "myToken", + "passwords": [ + { + "expiry": "2020-12-31T15:59:59.0707808Z", + "name": "password1", + "value": "00000000000000000000000000000000" + }, + { + "expiry": "2020-12-31T15:59:59.0707808Z", + "name": "password2", + "value": "00000000000000000000000000000000" + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGet.json new file mode 100644 index 000000000000..83007ec7c0dd --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGet.json @@ -0,0 +1,71 @@ +{ + "title": "RegistryGet", + "operationId": "Registries_Get", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myRegistry.azurecr.io", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": false, + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "quarantinePolicy": { + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "exportPolicy": { + "status": "enabled" + }, + "azureADAuthenticationAsArmPolicy": { + "status": "enabled" + } + }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "privateEndpointConnections": [], + "publicNetworkAccess": "Enabled", + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "roleAssignmentMode": "LegacyRegistryPermissions" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGetPrivateLinkResource.json new file mode 100644 index 000000000000..cd8700d9a9a7 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGetPrivateLinkResource.json @@ -0,0 +1,31 @@ +{ + "title": "RegistryGetPrivateLinkResource", + "operationId": "Registries_GetPrivateLinkResource", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "groupName": "registry" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", + "name": "registry", + "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", + "properties": { + "groupId": "registry", + "requiredMembers": [ + "registry", + "registry_data_myregion" + ], + "requiredZoneNames": [ + "privatelink.azurecr.io" + ] + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryList.json new file mode 100644 index 000000000000..c8deb0a44c58 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryList.json @@ -0,0 +1,73 @@ +{ + "title": "RegistryList", + "operationId": "Registries_List", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myRegistry.azurecr.io", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": false, + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "quarantinePolicy": { + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "exportPolicy": { + "status": "enabled" + }, + "azureADAuthenticationAsArmPolicy": { + "status": "enabled" + } + }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "privateEndpointConnections": [], + "publicNetworkAccess": "Enabled", + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "roleAssignmentMode": "LegacyRegistryPermissions" + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListByResourceGroup.json new file mode 100644 index 000000000000..fd084c86da5d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListByResourceGroup.json @@ -0,0 +1,74 @@ +{ + "title": "RegistryListByResourceGroup", + "operationId": "Registries_ListByResourceGroup", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myRegistry.azurecr.io", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": false, + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "quarantinePolicy": { + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "exportPolicy": { + "status": "enabled" + }, + "azureADAuthenticationAsArmPolicy": { + "status": "enabled" + } + }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "privateEndpointConnections": [], + "publicNetworkAccess": "Enabled", + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "roleAssignmentMode": "LegacyRegistryPermissions" + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListCredentials.json new file mode 100644 index 000000000000..708a8fb5b6f2 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListCredentials.json @@ -0,0 +1,28 @@ +{ + "title": "RegistryListCredentials", + "operationId": "Registries_ListCredentials", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "username": "myRegistry", + "passwords": [ + { + "name": "password", + "value": "00000000000000000000000000000000" + }, + { + "name": "password2", + "value": "00000000000000000000000000000000" + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListPrivateLinkResources.json new file mode 100644 index 000000000000..a6161fe1038e --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListPrivateLinkResources.json @@ -0,0 +1,34 @@ +{ + "title": "RegistryListPrivateLinkResources", + "operationId": "Registries_ListPrivateLinkResources", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/privateLinkResources/registry", + "name": "registry", + "type": "Microsoft.ContainerRegistry/registries/privateLinkResources", + "properties": { + "groupId": "registry", + "requiredMembers": [ + "registry", + "registry_data_myregion" + ], + "requiredZoneNames": [ + "privatelink.azurecr.io" + ] + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListUsages.json new file mode 100644 index 000000000000..bc53d07fbd85 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListUsages.json @@ -0,0 +1,31 @@ +{ + "title": "RegistryListUsages", + "operationId": "Registries_ListUsages", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Size", + "limit": 107374182400, + "currentValue": 12345678, + "unit": "Bytes" + }, + { + "name": "Webhooks", + "limit": 10, + "currentValue": 2, + "unit": "Count" + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryRegenerateCredential.json new file mode 100644 index 000000000000..bc3728bdddf7 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryRegenerateCredential.json @@ -0,0 +1,31 @@ +{ + "title": "RegistryRegenerateCredential", + "operationId": "Registries_RegenerateCredential", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "regenerateCredentialParameters": { + "name": "password" + } + }, + "responses": { + "200": { + "body": { + "username": "myRegistry", + "passwords": [ + { + "name": "password", + "value": "00000000000000000000000000000000" + }, + { + "name": "password2", + "value": "00000000000000000000000000000000" + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryUpdate.json new file mode 100644 index 000000000000..2c0ce4532764 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryUpdate.json @@ -0,0 +1,144 @@ +{ + "title": "RegistryUpdate", + "operationId": "Registries_Update", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "registryUpdateParameters": { + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard" + }, + "properties": { + "adminUserEnabled": true, + "roleAssignmentMode": "AbacRepositoryPermissions" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myRegistry.azurecr.io", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Succeeded", + "adminUserEnabled": true, + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "quarantinePolicy": { + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "exportPolicy": { + "status": "enabled" + }, + "azureADAuthenticationAsArmPolicy": { + "status": "enabled" + } + }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "privateEndpointConnections": [], + "publicNetworkAccess": "Enabled", + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "roleAssignmentMode": "AbacRepositoryPermissions" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/operationStatuses/registries-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry", + "name": "myRegistry", + "type": "Microsoft.ContainerRegistry/registries", + "location": "westus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "properties": { + "loginServer": "myRegistry.azurecr.io", + "creationDate": "2021-06-15T21:38:26.1537861Z", + "provisioningState": "Updating", + "adminUserEnabled": true, + "networkRuleSet": { + "defaultAction": "Allow", + "ipRules": [] + }, + "policies": { + "quarantinePolicy": { + "status": "disabled" + }, + "trustPolicy": { + "type": "Notary", + "status": "disabled" + }, + "retentionPolicy": { + "days": 7, + "lastUpdatedTime": "2021-06-15T21:40:12.8506835+00:00", + "status": "disabled" + }, + "exportPolicy": { + "status": "enabled" + }, + "azureADAuthenticationAsArmPolicy": { + "status": "enabled" + } + }, + "encryption": { + "status": "disabled" + }, + "status": null, + "dataEndpointEnabled": false, + "dataEndpointHostNames": [], + "privateEndpointConnections": [], + "publicNetworkAccess": "Enabled", + "networkRuleBypassOptions": "AzureServices", + "networkRuleBypassAllowedForTasks": false, + "zoneRedundancy": "Disabled", + "anonymousPullEnabled": false, + "roleAssignmentMode": "AbacRepositoryPermissions" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreate.json new file mode 100644 index 000000000000..0b05b1719363 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreate.json @@ -0,0 +1,65 @@ +{ + "title": "ReplicationCreate", + "operationId": "Replications_Create", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "replicationName": "myReplication", + "replication": { + "location": "eastus", + "tags": { + "key": "value" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "regionEndpointEnabled": true, + "zoneRedundancy": "Disabled" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Creating", + "status": { + "displayStatus": "Provisioning", + "message": "The replication is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "regionEndpointEnabled": true, + "zoneRedundancy": "Disabled" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreateZoneRedundant.json new file mode 100644 index 000000000000..1b0083c84e3c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreateZoneRedundant.json @@ -0,0 +1,69 @@ +{ + "title": "ReplicationCreateZoneRedundant", + "operationId": "Replications_Create", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "replicationName": "myReplication", + "replication": { + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "regionEndpointEnabled": true, + "zoneRedundancy": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "regionEndpointEnabled": true, + "zoneRedundancy": "Enabled" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Creating", + "status": { + "displayStatus": "Provisioning", + "message": "The replication is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "regionEndpointEnabled": true, + "zoneRedundancy": "Enabled" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationDelete.json new file mode 100644 index 000000000000..7aca8690411c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationDelete.json @@ -0,0 +1,21 @@ +{ + "title": "ReplicationDelete", + "operationId": "Replications_Delete", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "replicationName": "myReplication" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + }, + "204": {} + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationGet.json new file mode 100644 index 000000000000..872c8b88a173 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationGet.json @@ -0,0 +1,35 @@ +{ + "title": "ReplicationGet", + "operationId": "Replications_Get", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "replicationName": "myReplication" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "regionEndpointEnabled": true, + "zoneRedundancy": "Disabled" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationList.json new file mode 100644 index 000000000000..156a94fd686a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationList.json @@ -0,0 +1,38 @@ +{ + "title": "ReplicationList", + "operationId": "Replications_List", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "regionEndpointEnabled": true, + "zoneRedundancy": "Disabled" + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationUpdate.json new file mode 100644 index 000000000000..72915dbd5bce --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationUpdate.json @@ -0,0 +1,64 @@ +{ + "title": "ReplicationUpdate", + "operationId": "Replications_Update", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "replicationName": "myReplication", + "replicationUpdateParameters": { + "tags": { + "key": "value" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "status": { + "displayStatus": "Ready", + "message": "The replication is ready.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "regionEndpointEnabled": true, + "zoneRedundancy": "Disabled" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication/operationStatuses/replications-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication", + "name": "myReplication", + "type": "Microsoft.ContainerRegistry/registries/replications", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Updating", + "status": { + "displayStatus": "Provisioning", + "message": "The replication is provisioning.", + "timestamp": "2017-03-01T23:15:37.0707808Z" + }, + "regionEndpointEnabled": true, + "zoneRedundancy": "Disabled" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapCreate.json new file mode 100644 index 000000000000..5412c4e443c1 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapCreate.json @@ -0,0 +1,58 @@ +{ + "title": "ScopeMapCreate", + "operationId": "ScopeMaps_Create", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "scopeMapName": "myScopeMap", + "scopeMapCreateParameters": { + "properties": { + "description": "Developer Scopes", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "provisioningState": "Succeeded" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapDelete.json new file mode 100644 index 000000000000..c72e64b59761 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapDelete.json @@ -0,0 +1,21 @@ +{ + "title": "ScopeMapDelete", + "operationId": "ScopeMaps_Delete", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "scopeMapName": "myScopeMap" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + }, + "204": {} + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapGet.json new file mode 100644 index 000000000000..d13458767270 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapGet.json @@ -0,0 +1,30 @@ +{ + "title": "ScopeMapGet", + "operationId": "ScopeMaps_Get", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "scopeMapName": "myScopeMap" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "provisioningState": "Succeeded" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapList.json new file mode 100644 index 000000000000..f7c6ed566d98 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapList.json @@ -0,0 +1,33 @@ +{ + "title": "ScopeMapList", + "operationId": "ScopeMaps_List", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/delete" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapUpdate.json new file mode 100644 index 000000000000..332d7798239d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapUpdate.json @@ -0,0 +1,58 @@ +{ + "title": "ScopeMapUpdate", + "operationId": "ScopeMaps_Update", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "scopeMapName": "myScopeMap", + "scopeMapUpdateParameters": { + "properties": { + "description": "Developer Scopes", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap/operationStatuses/scopemaps-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "name": "myScopeMap", + "type": "Microsoft.ContainerRegistry/registries/scopeMaps", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "type": "IsUserDefined", + "actions": [ + "repositories/myrepository/contentWrite", + "repositories/myrepository/contentRead" + ], + "provisioningState": "Succeeded" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenCreate.json new file mode 100644 index 000000000000..abc8b588f72b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenCreate.json @@ -0,0 +1,75 @@ +{ + "title": "TokenCreate", + "operationId": "Tokens_Create", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "tokenName": "myToken", + "tokenCreateParameters": { + "properties": { + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "status": "disabled", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "disabled", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", + "expiry": "2020-12-04T15:32:48.0707808Z" + } + ] + } + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "disabled", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7", + "expiry": "2020-12-04T15:32:48.0707808Z" + } + ] + } + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenDelete.json new file mode 100644 index 000000000000..1c3ca24d94f4 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenDelete.json @@ -0,0 +1,21 @@ +{ + "title": "TokenDelete", + "operationId": "Tokens_Delete", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "tokenName": "myToken" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + }, + "204": {} + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenGet.json new file mode 100644 index 000000000000..f61d477baf41 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenGet.json @@ -0,0 +1,27 @@ +{ + "title": "TokenGet", + "operationId": "Tokens_Get", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "tokenName": "myToken" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "enabled" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenList.json new file mode 100644 index 000000000000..a245aaa4a43d --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenList.json @@ -0,0 +1,30 @@ +{ + "title": "TokenList", + "operationId": "Tokens_List", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap", + "provisioningState": "Succeeded", + "status": "enabled" + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenUpdate.json new file mode 100644 index 000000000000..07edcb3f029a --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenUpdate.json @@ -0,0 +1,72 @@ +{ + "title": "TokenUpdate", + "operationId": "Tokens_Update", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "tokenName": "myToken", + "tokenUpdateParameters": { + "properties": { + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "provisioningState": "Succeeded", + "status": "enabled", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + } + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken/operationStatuses/tokens-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken", + "name": "myToken", + "type": "Microsoft.ContainerRegistry/registries/tokens", + "properties": { + "creationDate": "2017-03-01T23:14:37.0707808Z", + "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap", + "provisioningState": "Succeeded", + "status": "enabled", + "credentials": { + "certificates": [ + { + "name": "certificate1", + "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==" + } + ] + } + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookCreate.json new file mode 100644 index 000000000000..068285565e01 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookCreate.json @@ -0,0 +1,72 @@ +{ + "title": "WebhookCreate", + "operationId": "Webhooks_Create", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook", + "webhookCreateParameters": { + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "serviceUri": "http://myservice.com", + "customHeaders": { + "Authorization": "******" + }, + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Creating" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookDelete.json new file mode 100644 index 000000000000..b33173d10e1c --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookDelete.json @@ -0,0 +1,21 @@ +{ + "title": "WebhookDelete", + "operationId": "Webhooks_Delete", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + } + }, + "204": {} + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGet.json new file mode 100644 index 000000000000..8dbbf8c4221b --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGet.json @@ -0,0 +1,33 @@ +{ + "title": "WebhookGet", + "operationId": "Webhooks_Get", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Succeeded" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGetCallbackConfig.json new file mode 100644 index 000000000000..5d1679b7a101 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGetCallbackConfig.json @@ -0,0 +1,22 @@ +{ + "title": "WebhookGetCallbackConfig", + "operationId": "Webhooks_GetCallbackConfig", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "serviceUri": "http://myservice.com", + "customHeaders": { + "Authorization": "******" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookList.json new file mode 100644 index 000000000000..a396c4596120 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookList.json @@ -0,0 +1,36 @@ +{ + "title": "WebhookList", + "operationId": "Webhooks_List", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookListEvents.json new file mode 100644 index 000000000000..154263aac432 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookListEvents.json @@ -0,0 +1,66 @@ +{ + "title": "WebhookListEvents", + "operationId": "Webhooks_ListEvents", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "00000000-0000-0000-0000-000000000000", + "eventRequestMessage": { + "content": { + "id": "00000000-0000-0000-0000-000000000000", + "timestamp": "2017-03-01T23:14:37.0707808Z", + "action": "push", + "target": { + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "size": 708, + "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", + "length": 708, + "repository": "hello-world", + "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf", + "tag": "latest" + }, + "request": { + "id": "00000000-0000-0000-0000-000000000000", + "addr": "192.168.64.11:42961", + "host": "192.168.100.227:5000", + "method": "GET", + "useragent": "curl/7.38.0" + }, + "actor": {}, + "source": { + "addr": "xtal.local:5000", + "instanceID": "00000000-0000-0000-0000-000000000000" + } + }, + "headers": { + "Content-Type": "application/json", + "Content-Length": "719", + "Authorization": "******" + }, + "method": "POST", + "requestUri": "http://myservice.com", + "version": "1.1" + }, + "eventResponseMessage": { + "headers": { + "Content-Length": "0" + }, + "statusCode": "200", + "version": "1.1" + } + } + ] + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookPing.json new file mode 100644 index 000000000000..e16b27c15f48 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookPing.json @@ -0,0 +1,19 @@ +{ + "title": "WebhookPing", + "operationId": "Webhooks_Ping", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook" + }, + "responses": { + "200": { + "body": { + "id": "00000000-0000-0000-0000-000000000000" + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookUpdate.json new file mode 100644 index 000000000000..d27b1eccbac3 --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "WebhookUpdate", + "operationId": "Webhooks_Update", + "parameters": { + "api-version": "2025-11-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "registryName": "myRegistry", + "webhookName": "myWebhook", + "webhookUpdateParameters": { + "tags": { + "key": "value" + }, + "properties": { + "serviceUri": "http://myservice.com", + "customHeaders": { + "Authorization": "******" + }, + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook/operationStatuses/webhooks-00000000-0000-0000-0000-000000000000?api-version=2025-11-01" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook", + "name": "myWebhook", + "type": "Microsoft.ContainerRegistry/registries/webhooks", + "location": "westus", + "tags": { + "key": "value" + }, + "properties": { + "status": "enabled", + "scope": "myRepository", + "actions": [ + "push" + ], + "provisioningState": "Updating" + } + } + } + } +} + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp index 5864d03e0154..f6a9e9a640e4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/main.tsp @@ -53,6 +53,11 @@ enum Versions { * The 2025-05-01-preview API version. */ v2025_06_01_preview: "2025-06-01-preview", + + /** + * The 2025-11-01 API version. + */ + v2025_11_01: "2025-11-01", } interface Operations { diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/stable/oldNormalizedSwagger.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/stable/oldNormalizedSwagger.json new file mode 100644 index 000000000000..991328cf51ab --- /dev/null +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/stable/oldNormalizedSwagger.json @@ -0,0 +1,5283 @@ +{ + "swagger": "2.0", + "info": { + "title": "ContainerRegistryManagementClient", + "version": "2025-11-01" + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/providers/microsoft.ContainerRegistry/operations": { + "get": { + "operationId": "Operations_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + } + }, + "x-ms-examples": { + "OperationList": { + "$ref": "./examples/OperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/checkNameAvailability": { + "post": { + "operationId": "Registries_CheckNameAvailability", + "parameters": [ + { + "name": "registryNameCheckRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryNameCheckRequest" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryNameStatus" + } + } + }, + "x-ms-examples": { + "RegistryCheckNameAvailable": { + "$ref": "./examples/RegistryCheckNameAvailable.json" + }, + "RegistryCheckNameNotAvailable": { + "$ref": "./examples/RegistryCheckNameNotAvailable.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_List", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListResult" + } + } + }, + "x-ms-examples": { + "RegistryList": { + "$ref": "./examples/RegistryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_ListByResourceGroup", + "parameters": [], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListResult" + } + } + }, + "x-ms-examples": { + "RegistryListByResourceGroup": { + "$ref": "./examples/RegistryListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}": { + "get": { + "operationId": "Registries_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + } + } + }, + "x-ms-examples": { + "RegistryGet": { + "$ref": "./examples/RegistryGet.json" + } + } + }, + "put": { + "operationId": "Registries_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "registry", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Registry" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "RegistryCreate": { + "$ref": "./examples/RegistryCreate.json" + }, + "RegistryCreateZoneRedundant": { + "$ref": "./examples/RegistryCreateZoneRedundant.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Registries_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "registryUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "RegistryUpdate": { + "$ref": "./examples/RegistryUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Registries_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + } + }, + "x-ms-examples": { + "RegistryDelete": { + "$ref": "./examples/RegistryDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { + "get": { + "operationId": "CacheRules_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRulesListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleList": { + "$ref": "./examples/CacheRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { + "get": { + "operationId": "CacheRules_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleGet": { + "$ref": "./examples/CacheRuleGet.json" + } + } + }, + "put": { + "operationId": "CacheRules_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "cacheRuleCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRule" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleCreate": { + "$ref": "./examples/CacheRuleCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CacheRules_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "cacheRuleUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CacheRuleUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CacheRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleUpdate": { + "$ref": "./examples/CacheRuleUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CacheRules_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleDelete": { + "$ref": "./examples/CacheRuleDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { + "get": { + "operationId": "ConnectedRegistries_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "$filter", + "in": "query", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistryListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryList": { + "$ref": "./examples/ConnectedRegistryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { + "get": { + "operationId": "ConnectedRegistries_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryGet": { + "$ref": "./examples/ConnectedRegistryGet.json" + } + } + }, + "put": { + "operationId": "ConnectedRegistries_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryCreate": { + "$ref": "./examples/ConnectedRegistryCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ConnectedRegistries_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectedRegistryUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryUpdate": { + "$ref": "./examples/ConnectedRegistryUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ConnectedRegistries_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryDelete": { + "$ref": "./examples/ConnectedRegistryDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { + "post": { + "operationId": "ConnectedRegistries_Deactivate", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "connectedRegistryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConnectedRegistryDeactivate": { + "$ref": "./examples/ConnectedRegistryDeactivate.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { + "get": { + "operationId": "CredentialSets_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSetListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetList": { + "$ref": "./examples/CredentialSetList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { + "get": { + "operationId": "CredentialSets_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetGet": { + "$ref": "./examples/CredentialSetGet.json" + } + } + }, + "put": { + "operationId": "CredentialSets_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "credentialSetCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSet" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetCreate": { + "$ref": "./examples/CredentialSetCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CredentialSets_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "credentialSetUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSetUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetUpdate": { + "$ref": "./examples/CredentialSetUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CredentialSets_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CredentialSetDelete": { + "$ref": "./examples/CredentialSetDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { + "post": { + "operationId": "Registries_GenerateCredentials", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "generateCredentialsParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GenerateCredentialsParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/GenerateCredentialsResult" + } + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGenerateCredentials": { + "$ref": "./examples/RegistryGenerateCredentials.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage": { + "post": { + "operationId": "Registries_ImportImage", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ImportImageParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "ImportImageByManifestDigest": { + "$ref": "./examples/ImportImageByManifestDigest.json" + }, + "ImportImageByTag": { + "$ref": "./examples/ImportImageByTag.json" + }, + "ImportImageFromPublicRegistry": { + "$ref": "./examples/ImportImageFromPublicRegistry.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { + "post": { + "operationId": "Registries_ListCredentials", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" + } + } + }, + "x-ms-examples": { + "RegistryListCredentials": { + "$ref": "./examples/RegistryListCredentials.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listUsages": { + "get": { + "operationId": "Registries_ListUsages", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryUsageListResult" + } + } + }, + "x-ms-examples": { + "RegistryListUsages": { + "$ref": "./examples/RegistryListUsages.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { + "get": { + "operationId": "PrivateEndpointConnections_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionList": { + "$ref": "./examples/PrivateEndpointConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionGet": { + "$ref": "./examples/PrivateEndpointConnectionGet.json" + } + } + }, + "put": { + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnection", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionCreateOrUpdate": { + "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + } + }, + "x-ms-examples": { + "PrivateEndpointConnectionDelete": { + "$ref": "./examples/PrivateEndpointConnectionDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { + "get": { + "operationId": "Registries_ListPrivateLinkResources", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + } + }, + "x-ms-examples": { + "RegistryListPrivateLinkResources": { + "$ref": "./examples/RegistryListPrivateLinkResources.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { + "get": { + "operationId": "Registries_GetPrivateLinkResource", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "groupName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryGetPrivateLinkResource": { + "$ref": "./examples/RegistryGetPrivateLinkResource.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { + "post": { + "operationId": "Registries_RegenerateCredential", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "regenerateCredentialParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateCredentialParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/RegistryListCredentialsResult" + } + } + }, + "x-ms-examples": { + "RegistryRegenerateCredential": { + "$ref": "./examples/RegistryRegenerateCredential.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications": { + "get": { + "operationId": "Replications_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ReplicationListResult" + } + } + }, + "x-ms-examples": { + "ReplicationList": { + "$ref": "./examples/ReplicationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { + "get": { + "operationId": "Replications_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + } + } + }, + "x-ms-examples": { + "ReplicationGet": { + "$ref": "./examples/ReplicationGet.json" + } + } + }, + "put": { + "operationId": "Replications_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replication", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Replication" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "ReplicationCreate": { + "$ref": "./examples/ReplicationCreate.json" + }, + "ReplicationCreateZoneRedundant": { + "$ref": "./examples/ReplicationCreateZoneRedundant.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Replications_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ReplicationUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Replication" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "ReplicationUpdate": { + "$ref": "./examples/ReplicationUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Replications_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + } + }, + "x-ms-examples": { + "ReplicationDelete": { + "$ref": "./examples/ReplicationDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { + "get": { + "operationId": "ScopeMaps_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMapListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapList": { + "$ref": "./examples/ScopeMapList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { + "get": { + "operationId": "ScopeMaps_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapGet": { + "$ref": "./examples/ScopeMapGet.json" + } + } + }, + "put": { + "operationId": "ScopeMaps_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + }, + { + "name": "scopeMapCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMap" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapCreate": { + "$ref": "./examples/ScopeMapCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ScopeMaps_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + }, + { + "name": "scopeMapUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMapUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapUpdate": { + "$ref": "./examples/ScopeMapUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ScopeMaps_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ScopeMapDelete": { + "$ref": "./examples/ScopeMapDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens": { + "get": { + "operationId": "Tokens_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/TokenListResult" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenList": { + "$ref": "./examples/TokenList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { + "get": { + "operationId": "Tokens_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenGet": { + "$ref": "./examples/TokenGet.json" + } + } + }, + "put": { + "operationId": "Tokens_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "tokenCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Token" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenCreate": { + "$ref": "./examples/TokenCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Tokens_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "tokenUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TokenUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Token" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenUpdate": { + "$ref": "./examples/TokenUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Tokens_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "tokenName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + }, + "default": { + "description": "ignore", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TokenDelete": { + "$ref": "./examples/TokenDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks": { + "get": { + "operationId": "Webhooks_List", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/WebhookListResult" + } + } + }, + "x-ms-examples": { + "WebhookList": { + "$ref": "./examples/WebhookList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { + "get": { + "operationId": "Webhooks_Get", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + } + } + }, + "x-ms-examples": { + "WebhookGet": { + "$ref": "./examples/WebhookGet.json" + } + } + }, + "put": { + "operationId": "Webhooks_Create", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookCreateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookCreateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "WebhookCreate": { + "$ref": "./examples/WebhookCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Webhooks_Update", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookUpdateParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + } + }, + "201": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/Webhook" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + } + }, + "x-ms-examples": { + "WebhookUpdate": { + "$ref": "./examples/WebhookUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Webhooks_Delete", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore" + }, + "202": { + "description": "ignore", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "ignore" + } + }, + "x-ms-examples": { + "WebhookDelete": { + "$ref": "./examples/WebhookDelete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { + "post": { + "operationId": "Webhooks_GetCallbackConfig", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/CallbackConfig" + } + } + }, + "x-ms-examples": { + "WebhookGetCallbackConfig": { + "$ref": "./examples/WebhookGetCallbackConfig.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { + "post": { + "operationId": "Webhooks_ListEvents", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/EventListResult" + } + } + }, + "x-ms-examples": { + "WebhookListEvents": { + "$ref": "./examples/WebhookListEvents.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { + "post": { + "operationId": "Webhooks_Ping", + "parameters": [ + { + "name": "registryName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ignore", + "schema": { + "$ref": "#/definitions/EventInfo" + } + } + }, + "x-ms-examples": { + "WebhookPing": { + "$ref": "./examples/WebhookPing.json" + } + } + } + } + }, + "definitions": { + "ActivationProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "ActivationStatus", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "ActiveDirectoryObject": { + "type": "object", + "properties": { + "objectId": { + "type": "string" + }, + "tenantId": { + "type": "string" + } + } + }, + "Actor": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, + "AuthCredential": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "Credential1" + ], + "x-ms-enum": { + "name": "CredentialName", + "modelAsString": true + } + }, + "usernameSecretIdentifier": { + "type": "string" + }, + "passwordSecretIdentifier": { + "type": "string" + }, + "credentialHealth": { + "$ref": "#/definitions/CredentialHealth", + "readOnly": true + } + } + }, + "AzureADAuthenticationAsArmPolicy": { + "type": "object", + "properties": { + "status": { + "type": "string", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "AzureADAuthenticationAsArmPolicyStatus", + "modelAsString": true + } + } + } + }, + "CacheRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CacheRuleProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "CacheRuleProperties": { + "type": "object", + "properties": { + "credentialSetResourceId": { + "type": "string" + }, + "sourceRepository": { + "type": "string" + }, + "targetRepository": { + "type": "string" + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "CacheRuleUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CacheRuleUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "CacheRuleUpdateProperties": { + "type": "object", + "properties": { + "credentialSetResourceId": { + "type": "string" + } + } + }, + "CacheRulesListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/CacheRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "CallbackConfig": { + "type": "object", + "properties": { + "serviceUri": { + "type": "string" + }, + "customHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "serviceUri" + ] + }, + "ConnectedRegistry": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectedRegistryProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ConnectedRegistryListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ConnectedRegistryProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "mode": { + "type": "string", + "enum": [ + "ReadWrite", + "ReadOnly", + "Registry", + "Mirror" + ], + "x-ms-enum": { + "name": "ConnectedRegistryMode", + "modelAsString": true + } + }, + "version": { + "type": "string", + "readOnly": true + }, + "connectionState": { + "type": "string", + "enum": [ + "Online", + "Offline", + "Syncing", + "Unhealthy" + ], + "x-ms-enum": { + "name": "ConnectionState", + "modelAsString": true + }, + "readOnly": true + }, + "lastActivityTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "activation": { + "$ref": "#/definitions/ActivationProperties", + "readOnly": true + }, + "parent": { + "$ref": "#/definitions/ParentProperties" + }, + "clientTokenIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "loginServer": { + "$ref": "#/definitions/LoginServerProperties" + }, + "logging": { + "$ref": "#/definitions/LoggingProperties" + }, + "statusDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/StatusDetailProperties" + }, + "readOnly": true, + "x-ms-identifiers": [ + "correlationId" + ] + }, + "notificationsList": { + "type": "array", + "items": { + "type": "string" + } + }, + "garbageCollection": { + "$ref": "#/definitions/GarbageCollectionProperties" + } + }, + "required": [ + "mode", + "parent" + ] + }, + "ConnectedRegistryUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectedRegistryUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "ConnectedRegistryUpdateProperties": { + "type": "object", + "properties": { + "syncProperties": { + "$ref": "#/definitions/SyncUpdateProperties" + }, + "logging": { + "$ref": "#/definitions/LoggingProperties" + }, + "clientTokenIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "notificationsList": { + "type": "array", + "items": { + "type": "string" + } + }, + "garbageCollection": { + "$ref": "#/definitions/GarbageCollectionProperties" + } + } + }, + "CredentialHealth": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Healthy", + "Unhealthy" + ], + "x-ms-enum": { + "name": "CredentialHealthStatus", + "modelAsString": true + } + }, + "errorCode": { + "type": "string" + }, + "errorMessage": { + "type": "string" + } + } + }, + "CredentialSet": { + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties" + }, + "properties": { + "$ref": "#/definitions/CredentialSetProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "CredentialSetListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/CredentialSet" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "CredentialSetProperties": { + "type": "object", + "properties": { + "loginServer": { + "type": "string" + }, + "authCredentials": { + "type": "array", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "CredentialSetUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CredentialSetUpdateProperties", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/IdentityProperties" + } + } + }, + "CredentialSetUpdateProperties": { + "type": "object", + "properties": { + "authCredentials": { + "type": "array", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "EncryptionProperty": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true + } + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties" + } + } + }, + "Event": { + "type": "object", + "properties": { + "eventRequestMessage": { + "$ref": "#/definitions/EventRequestMessage" + }, + "eventResponseMessage": { + "$ref": "#/definitions/EventResponseMessage" + } + }, + "allOf": [ + { + "$ref": "#/definitions/EventInfo" + } + ] + }, + "EventContent": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "action": { + "type": "string" + }, + "target": { + "$ref": "#/definitions/Target" + }, + "request": { + "$ref": "#/definitions/Request" + }, + "actor": { + "$ref": "#/definitions/Actor" + }, + "source": { + "$ref": "#/definitions/Source" + } + } + }, + "EventInfo": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + }, + "EventListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Event" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "EventRequestMessage": { + "type": "object", + "properties": { + "content": { + "$ref": "#/definitions/EventContent" + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "method": { + "type": "string" + }, + "requestUri": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "EventResponseMessage": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "reasonPhrase": { + "type": "string" + }, + "statusCode": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "ExportPolicy": { + "type": "object", + "properties": { + "status": { + "type": "string", + "default": "enabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "ExportPolicyStatus", + "modelAsString": true + } + } + } + }, + "GarbageCollectionProperties": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "schedule": { + "type": "string" + } + } + }, + "GenerateCredentialsParameters": { + "type": "object", + "properties": { + "tokenId": { + "type": "string" + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "enum": [ + "password1", + "password2" + ], + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true + } + } + } + }, + "GenerateCredentialsResult": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + } + } + } + }, + "IPRule": { + "type": "object", + "properties": { + "action": { + "type": "string", + "default": "Allow", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true + } + }, + "value": { + "type": "string", + "x-ms-client-name": "IPAddressOrRange" + } + }, + "required": [ + "value" + ] + }, + "IdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "readOnly": true + }, + "tenantId": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } + } + } + }, + "ImportImageParameters": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/ImportSource" + }, + "targetTags": { + "type": "array", + "items": { + "type": "string" + } + }, + "untaggedTargetRepositories": { + "type": "array", + "items": { + "type": "string" + } + }, + "mode": { + "type": "string", + "default": "NoForce", + "enum": [ + "NoForce", + "Force" + ], + "x-ms-enum": { + "name": "ImportMode", + "modelAsString": true + } + } + }, + "required": [ + "source" + ] + }, + "ImportSource": { + "type": "object", + "properties": { + "resourceId": { + "type": "string" + }, + "registryUri": { + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/ImportSourceCredentials" + }, + "sourceImage": { + "type": "string" + } + }, + "required": [ + "sourceImage" + ] + }, + "ImportSourceCredentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + }, + "required": [ + "password" + ] + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "keyIdentifier": { + "type": "string" + }, + "versionedKeyIdentifier": { + "type": "string", + "readOnly": true + }, + "identity": { + "type": "string" + }, + "keyRotationEnabled": { + "type": "boolean", + "readOnly": true + }, + "lastKeyRotationTimestamp": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "LoggingProperties": { + "type": "object", + "properties": { + "logLevel": { + "type": "string", + "default": "Information", + "enum": [ + "Debug", + "Information", + "Warning", + "Error", + "None" + ], + "x-ms-enum": { + "name": "LogLevel", + "modelAsString": true + } + }, + "auditLogStatus": { + "type": "string", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AuditLogStatus", + "modelAsString": true + } + } + } + }, + "LoginServerProperties": { + "type": "object", + "properties": { + "host": { + "type": "string", + "readOnly": true + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "readOnly": true + } + } + }, + "NetworkRuleSet": { + "type": "object", + "properties": { + "defaultAction": { + "type": "string", + "default": "Allow", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": true + } + }, + "ipRules": { + "type": "array", + "items": { + "$ref": "#/definitions/IPRule" + } + } + }, + "required": [ + "defaultAction" + ] + }, + "OperationDefinition": { + "type": "object", + "properties": { + "origin": { + "type": "string" + }, + "name": { + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationDisplayDefinition" + }, + "properties": { + "$ref": "#/definitions/OperationPropertiesDefinition", + "x-ms-client-flatten": true + }, + "isDataAction": { + "type": "boolean" + } + } + }, + "OperationDisplayDefinition": { + "type": "object", + "properties": { + "provider": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "OperationListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/OperationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "OperationLogSpecificationDefinition": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "blobDuration": { + "type": "string" + } + } + }, + "OperationMetricSpecificationDefinition": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "displayDescription": { + "type": "string" + }, + "unit": { + "type": "string" + }, + "aggregationType": { + "type": "string" + }, + "internalMetricName": { + "type": "string" + } + } + }, + "OperationPropertiesDefinition": { + "type": "object", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/OperationServiceSpecificationDefinition" + } + } + }, + "OperationServiceSpecificationDefinition": { + "type": "object", + "properties": { + "metricSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationMetricSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "logSpecifications": { + "type": "array", + "items": { + "$ref": "#/definitions/OperationLogSpecificationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "PackageType": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "endpoint": { + "type": "string", + "readOnly": true + } + } + }, + "ParentProperties": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "syncProperties": { + "$ref": "#/definitions/SyncProperties" + } + }, + "required": [ + "syncProperties" + ] + }, + "Policies": { + "type": "object", + "properties": { + "quarantinePolicy": { + "$ref": "#/definitions/QuarantinePolicy" + }, + "trustPolicy": { + "$ref": "#/definitions/TrustPolicy" + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy" + }, + "exportPolicy": { + "$ref": "#/definitions/ExportPolicy" + }, + "azureADAuthenticationAsArmPolicy": { + "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy" + } + } + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "PrivateLinkResource": { + "type": "object", + "properties": { + "type": { + "type": "string", + "readOnly": true + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "x-ms-client-flatten": true + } + } + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "PrivateLinkResourceProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "requiredMembers": { + "type": "array", + "items": { + "type": "string" + } + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true + } + }, + "description": { + "type": "string" + }, + "actionsRequired": { + "type": "string", + "enum": [ + "None", + "Recreate" + ], + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true + } + } + } + }, + "ProxyResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "type": "object", + "readOnly": true + } + } + }, + "QuarantinePolicy": { + "type": "object", + "properties": { + "status": { + "type": "string", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "RegenerateCredentialParameters": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "password", + "password2" + ], + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + } + }, + "required": [ + "name" + ] + }, + "Registry": { + "type": "object", + "properties": { + "sku": { + "$ref": "#/definitions/Sku" + }, + "identity": { + "$ref": "#/definitions/IdentityProperties" + }, + "properties": { + "$ref": "#/definitions/RegistryProperties", + "x-ms-client-flatten": true + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "RegistryListCredentialsResult": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/RegistryPassword" + } + } + } + }, + "RegistryListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Registry" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "RegistryNameCheckRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries" + ], + "x-ms-enum": { + "name": "ContainerRegistryResourceType", + "modelAsString": false + } + } + }, + "required": [ + "name", + "type" + ] + }, + "RegistryNameStatus": { + "type": "object", + "properties": { + "nameAvailable": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "RegistryPassword": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "password", + "password2" + ], + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false + } + }, + "value": { + "type": "string" + } + } + }, + "RegistryProperties": { + "type": "object", + "properties": { + "loginServer": { + "type": "string", + "readOnly": true + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "status": { + "$ref": "#/definitions/Status", + "readOnly": true + }, + "adminUserEnabled": { + "type": "boolean", + "default": false + }, + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet" + }, + "policies": { + "$ref": "#/definitions/Policies" + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty" + }, + "dataEndpointEnabled": { + "type": "boolean" + }, + "dataEndpointHostNames": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "publicNetworkAccess": { + "type": "string", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "networkRuleBypassOptions": { + "type": "string", + "default": "AzureServices", + "enum": [ + "AzureServices", + "None" + ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true + } + }, + "networkRuleBypassAllowedForTasks": { + "type": "boolean", + "default": false + }, + "zoneRedundancy": { + "type": "string", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true + } + }, + "anonymousPullEnabled": { + "type": "boolean", + "default": false + }, + "roleAssignmentMode": { + "type": "string", + "default": "LegacyRegistryPermissions", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true + } + } + } + }, + "RegistryPropertiesUpdateParameters": { + "type": "object", + "properties": { + "adminUserEnabled": { + "type": "boolean" + }, + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet" + }, + "policies": { + "$ref": "#/definitions/Policies" + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty" + }, + "dataEndpointEnabled": { + "type": "boolean" + }, + "publicNetworkAccess": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "networkRuleBypassOptions": { + "type": "string", + "default": "AzureServices", + "enum": [ + "AzureServices", + "None" + ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true + } + }, + "networkRuleBypassAllowedForTasks": { + "type": "boolean" + }, + "anonymousPullEnabled": { + "type": "boolean" + }, + "roleAssignmentMode": { + "type": "string", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true + } + } + } + }, + "RegistryUpdateParameters": { + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/IdentityProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku" + }, + "properties": { + "$ref": "#/definitions/RegistryPropertiesUpdateParameters", + "x-ms-client-flatten": true + } + } + }, + "RegistryUsage": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "limit": { + "type": "integer", + "format": "int64" + }, + "currentValue": { + "type": "integer", + "format": "int64" + }, + "unit": { + "type": "string", + "enum": [ + "Count", + "Bytes" + ], + "x-ms-enum": { + "name": "RegistryUsageUnit", + "modelAsString": true + } + } + } + }, + "RegistryUsageListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RegistryUsage" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "Replication": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ReplicationProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "ReplicationListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Replication" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ReplicationProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "status": { + "$ref": "#/definitions/Status", + "readOnly": true + }, + "regionEndpointEnabled": { + "type": "boolean", + "default": true + }, + "zoneRedundancy": { + "type": "string", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ZoneRedundancy", + "modelAsString": true + } + } + } + }, + "ReplicationUpdateParameters": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ReplicationUpdateParametersProperties", + "x-ms-client-flatten": true + } + } + }, + "ReplicationUpdateParametersProperties": { + "type": "object", + "properties": { + "regionEndpointEnabled": { + "type": "boolean" + } + } + }, + "Request": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "addr": { + "type": "string" + }, + "host": { + "type": "string" + }, + "method": { + "type": "string" + }, + "useragent": { + "type": "string" + } + } + }, + "Resource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "type": "object", + "readOnly": true + } + }, + "required": [ + "location" + ] + }, + "RetentionPolicy": { + "type": "object", + "properties": { + "days": { + "type": "integer", + "format": "int32", + "default": 7 + }, + "lastUpdatedTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "status": { + "type": "string", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "ScopeMap": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "ScopeMapListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/ScopeMap" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "ScopeMapProperties": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string", + "readOnly": true + }, + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "actions": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "actions" + ] + }, + "ScopeMapPropertiesUpdateParameters": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ScopeMapUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", + "x-ms-client-flatten": true + } + } + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, + "tier": { + "type": "string", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "name" + ] + }, + "Source": { + "type": "object", + "properties": { + "addr": { + "type": "string" + }, + "instanceID": { + "type": "string" + } + } + }, + "Status": { + "type": "object", + "properties": { + "displayStatus": { + "type": "string", + "readOnly": true + }, + "message": { + "type": "string", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "StatusDetailProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "readOnly": true + }, + "code": { + "type": "string", + "readOnly": true + }, + "description": { + "type": "string", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "correlationId": { + "type": "string", + "readOnly": true + } + } + }, + "StorageAccountProperties": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ] + }, + "SyncProperties": { + "type": "object", + "properties": { + "tokenId": { + "type": "string" + }, + "schedule": { + "type": "string" + }, + "syncWindow": { + "type": "string", + "format": "duration" + }, + "messageTtl": { + "type": "string", + "format": "duration" + }, + "lastSyncTime": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "gatewayEndpoint": { + "type": "string", + "readOnly": true + } + }, + "required": [ + "messageTtl", + "tokenId" + ] + }, + "SyncUpdateProperties": { + "type": "object", + "properties": { + "schedule": { + "type": "string" + }, + "syncWindow": { + "type": "string", + "format": "duration" + }, + "messageTtl": { + "type": "string", + "format": "duration" + } + } + }, + "SystemData": { + "type": "object", + "properties": { + "createdBy": { + "type": "string" + }, + "createdByType": { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "CreatedByType", + "modelAsString": true + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "lastModifiedBy": { + "type": "string" + }, + "lastModifiedByType": { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "LastModifiedByType", + "modelAsString": true + } + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time" + } + }, + "readOnly": true + }, + "Target": { + "type": "object", + "properties": { + "mediaType": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "digest": { + "type": "string" + }, + "length": { + "type": "integer", + "format": "int64" + }, + "repository": { + "type": "string" + }, + "url": { + "type": "string" + }, + "tag": { + "type": "string" + }, + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "TlsCertificateProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "LocalDirectory" + ], + "x-ms-enum": { + "name": "CertificateType", + "modelAsString": true + }, + "readOnly": true + }, + "location": { + "type": "string", + "readOnly": true + } + } + }, + "TlsProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "TlsStatus", + "modelAsString": true + }, + "readOnly": true + }, + "certificate": { + "$ref": "#/definitions/TlsCertificateProperties", + "readOnly": true + } + } + }, + "Token": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TokenProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "TokenCertificate": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "certificate1", + "certificate2" + ], + "x-ms-enum": { + "name": "TokenCertificateName", + "modelAsString": true + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "thumbprint": { + "type": "string" + }, + "encodedPemCertificate": { + "type": "string" + } + } + }, + "TokenCredentialsProperties": { + "type": "object", + "properties": { + "certificates": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCertificate" + }, + "x-ms-identifiers": [ + "thumbprint" + ] + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + } + } + } + }, + "TokenListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Token" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "TokenPassword": { + "type": "object", + "properties": { + "creationTime": { + "type": "string", + "format": "date-time" + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "enum": [ + "password1", + "password2" + ], + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true + } + }, + "value": { + "type": "string", + "readOnly": true + } + } + }, + "TokenProperties": { + "type": "object", + "properties": { + "creationDate": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "scopeMapId": { + "type": "string" + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true + } + } + } + }, + "TokenUpdateParameters": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TokenUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "TokenUpdateProperties": { + "type": "object", + "properties": { + "scopeMapId": { + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true + } + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties" + } + } + }, + "TrustPolicy": { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "Notary", + "enum": [ + "Notary" + ], + "x-ms-enum": { + "name": "TrustPolicyType", + "modelAsString": true + } + }, + "status": { + "type": "string", + "default": "disabled", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true + } + } + } + }, + "UserIdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "readOnly": true + }, + "clientId": { + "type": "string", + "readOnly": true + } + } + }, + "Webhook": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/WebhookProperties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "WebhookCreateParameters": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "location": { + "type": "string" + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesCreateParameters", + "x-ms-client-flatten": true + } + }, + "required": [ + "location" + ] + }, + "WebhookListResult": { + "type": "object", + "description": "[Placeholder] Discription for page model", + "properties": { + "value": { + "type": "array", + "description": "[Placeholder] Discription for value property", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "[Placeholder] Discription for nextLink property" + } + } + }, + "WebhookProperties": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + }, + "provisioningState": { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "actions" + ] + }, + "WebhookPropertiesCreateParameters": { + "type": "object", + "properties": { + "serviceUri": { + "type": "string", + "x-ms-secret": true + }, + "customHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + } + }, + "required": [ + "actions", + "serviceUri" + ] + }, + "WebhookPropertiesUpdateParameters": { + "type": "object", + "properties": { + "serviceUri": { + "type": "string", + "x-ms-secret": true + }, + "customHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true + } + }, + "scope": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true + } + } + } + } + }, + "WebhookUpdateParameters": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesUpdateParameters", + "x-ms-client-flatten": true + } + } + } + }, + "parameters": {} +} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json index 95bb18791236..276d45f37329 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json @@ -1,58 +1,108 @@ { "swagger": "2.0", "info": { + "title": "ContainerRegistryManagementClient", "version": "2025-11-01", - "title": "ContainerRegistryManagementClient" + "description": "The Microsoft Azure Container Registry management API provides create, read, update, and delete functionality for Azure Container Registry resources including registries, replications, webhooks, tasks, runs, and other registry components.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Registries" + }, + { + "name": "CacheRules" + }, + { + "name": "ConnectedRegistries" + }, + { + "name": "CredentialSets" + }, + { + "name": "PrivateLinkResources" + }, + { + "name": "PrivateEndpointConnections" + }, + { + "name": "Replications" + }, + { + "name": "ScopeMaps" + }, + { + "name": "Tokens" + }, + { + "name": "Webhooks" + } + ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { + "/providers/Microsoft.ContainerRegistry/operations": { "get": { + "operationId": "Operations_List", "tags": [ - "CacheRules" + "Operations" ], - "description": "Lists all cache rule resources for the specified container registry.", - "operationId": "CacheRules_List", + "description": "List the operations for the provider", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CacheRulesListResult" + "$ref": "#/definitions/OperationListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CacheRuleList": { - "$ref": "./examples/CacheRuleList.json" + "OperationList": { + "$ref": "./examples/OperationList.json" } }, "x-ms-pageable": { @@ -60,13 +110,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { - "get": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { + "post": { + "operationId": "Registries_CheckNameAvailability", "tags": [ - "CacheRules" + "Registries" ], - "description": "Gets the properties of the specified cache rule resource.", - "operationId": "CacheRules_Get", + "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -75,41 +125,85 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "name": "registryNameCheckRequest", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryNameCheckRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/RegistryNameStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryCheckNameAvailable": { + "$ref": "./examples/RegistryCheckNameAvailable.json" }, + "RegistryCheckNameNotAvailable": { + "$ref": "./examples/RegistryCheckNameNotAvailable.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_List", + "tags": [ + "Registries" + ], + "description": "Lists all the container registries under the specified subscription.", + "parameters": [ { - "$ref": "#/parameters/RegistryNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/CacheRuleNameParameter" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CacheRule" + "$ref": "#/definitions/RegistryListResult" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CacheRuleGet": { - "$ref": "./examples/CacheRuleGet.json" + "RegistryList": { + "$ref": "./examples/RegistryList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { + "get": { + "operationId": "Registries_ListByResourceGroup", "tags": [ - "CacheRules" + "Registries" ], - "description": "Creates a cache rule for a container registry with the specified parameters.", - "operationId": "CacheRules_Create", + "description": "Lists all the container registries under the specified resource group.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -119,64 +213,39 @@ }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CacheRuleNameParameter" - }, - { - "name": "cacheRuleCreateParameters", - "in": "body", - "description": "The parameters for creating a cache rule.", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRule" - } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } + "$ref": "#/definitions/RegistryListResult" } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CacheRuleCreate": { - "$ref": "./examples/CacheRuleCreate.json" + "RegistryListByResourceGroup": { + "$ref": "./examples/RegistryListByResourceGroup.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { + "get": { + "operationId": "Registries_Get", "tags": [ - "CacheRules" + "Registries" ], - "description": "Deletes a cache rule resource from a container registry.", - "operationId": "CacheRules_Delete", + "description": "Gets the properties of the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -188,47 +257,42 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CacheRuleNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Registry" } }, - "204": { - "description": "The cache rule does not exist in the subscription." - }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CacheRuleDelete": { - "$ref": "./examples/CacheRuleDelete.json" + "RegistryGet": { + "$ref": "./examples/RegistryGet.json" } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" } }, - "patch": { + "put": { + "operationId": "Registries_Create", "tags": [ - "CacheRules" + "Registries" ], - "description": "Updates a cache rule for a container registry with the specified parameters.", - "operationId": "CacheRules_Update", + "description": "Creates a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -240,64 +304,79 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CacheRuleNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "cacheRuleUpdateParameters", + "name": "registry", "in": "body", - "description": "The parameters for updating a cache rule.", + "description": "The parameters for creating a container registry.", "required": true, "schema": { - "$ref": "#/definitions/CacheRuleUpdateParameters" + "$ref": "#/definitions/Registry" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Registry' update operation succeeded", "schema": { - "$ref": "#/definitions/CacheRule" + "$ref": "#/definitions/Registry" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Registry' create operation succeeded", "schema": { - "$ref": "#/definitions/CacheRule" + "$ref": "#/definitions/Registry" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CacheRuleUpdate": { - "$ref": "./examples/CacheRuleUpdate.json" + "RegistryCreate": { + "$ref": "./examples/RegistryCreate.json" + }, + "RegistryCreateAbac": { + "$ref": "./examples/RegistryCreateAbac.json" + }, + "RegistryCreateZoneRedundant": { + "$ref": "./examples/RegistryCreateZoneRedundant.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { - "get": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Registry" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Registries_Update", "tags": [ - "ConnectedRegistries" + "Registries" ], - "description": "Gets the properties of the connected registry.", - "operationId": "ConnectedRegistries_Get", + "description": "Updates a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -309,38 +388,249 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "registryUpdateParameters", + "in": "body", + "description": "The parameters for updating a container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/RegistryUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ConnectedRegistry" + "$ref": "#/definitions/Registry" + } + }, + "201": { + "description": "Resource 'Registry' create operation succeeded", + "schema": { + "$ref": "#/definitions/Registry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ConnectedRegistryGet": { - "$ref": "./examples/ConnectedRegistryGet.json" + "RegistryUpdate": { + "$ref": "./examples/RegistryUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Registry" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Registries_Delete", + "tags": [ + "Registries" + ], + "description": "Deletes a container registry.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryDelete": { + "$ref": "./examples/RegistryDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { + "get": { + "operationId": "CacheRules_List", + "tags": [ + "CacheRules" + ], + "description": "Lists all cache rule resources for the specified container registry.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CacheRulesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleList": { + "$ref": "./examples/CacheRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { + "get": { + "operationId": "CacheRules_Get", + "tags": [ + "CacheRules" + ], + "description": "Gets the properties of the specified cache rule resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CacheRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CacheRuleGet": { + "$ref": "./examples/CacheRuleGet.json" } } }, "put": { + "operationId": "CacheRules_Create", "tags": [ - "ConnectedRegistries" + "CacheRules" ], - "description": "Creates a connected registry for a container registry with the specified parameters.", - "operationId": "ConnectedRegistries_Create", + "description": "Creates a cache rule for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -352,62 +642,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { + "name": "cacheRuleCreateParameters", "in": "body", - "name": "connectedRegistryCreateParameters", - "description": "The parameters for creating a connectedRegistry.", + "description": "The parameters for creating a cache rule.", "required": true, "schema": { - "$ref": "#/definitions/ConnectedRegistry" + "$ref": "#/definitions/CacheRule" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'CacheRule' update operation succeeded", "schema": { - "$ref": "#/definitions/ConnectedRegistry" + "$ref": "#/definitions/CacheRule" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'CacheRule' create operation succeeded", "schema": { - "$ref": "#/definitions/ConnectedRegistry" + "$ref": "#/definitions/CacheRule" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { - "ConnectedRegistryCreate": { - "$ref": "./examples/ConnectedRegistryCreate.json" + "CacheRuleCreate": { + "$ref": "./examples/CacheRuleCreate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CacheRule" + }, + "x-ms-long-running-operation": true }, "patch": { + "operationId": "CacheRules_Update", "tags": [ - "ConnectedRegistries" + "CacheRules" ], - "description": "Updates a connected registry with the specified parameters.", - "operationId": "ConnectedRegistries_Update", + "description": "Updates a cache rule for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -419,62 +730,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { + "name": "cacheRuleUpdateParameters", "in": "body", - "name": "connectedRegistryUpdateParameters", - "description": "The parameters for updating a connectedRegistry.", + "description": "The parameters for updating a cache rule.", "required": true, "schema": { - "$ref": "#/definitions/ConnectedRegistryUpdateParameters" + "$ref": "#/definitions/CacheRuleUpdateParameters" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ConnectedRegistry" + "$ref": "#/definitions/CacheRule" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'CacheRule' create operation succeeded", "schema": { - "$ref": "#/definitions/ConnectedRegistry" + "$ref": "#/definitions/CacheRule" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { - "ConnectedRegistryUpdate": { - "$ref": "./examples/ConnectedRegistryUpdate.json" + "CacheRuleUpdate": { + "$ref": "./examples/CacheRuleUpdate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CacheRule" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "CacheRules_Delete", "tags": [ - "ConnectedRegistries" + "CacheRules" ], - "description": "Deletes a connected registry from a container registry.", - "operationId": "ConnectedRegistries_Delete", + "description": "Deletes a cache rule resource from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -486,52 +818,69 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "cacheRuleName", + "in": "path", + "description": "The name of the cache rule.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The webhook does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "CacheRuleDelete": { + "$ref": "./examples/CacheRuleDelete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, - "x-ms-examples": { - "ConnectedRegistryDelete": { - "$ref": "./examples/ConnectedRegistryDelete.json" - } - } + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { "get": { + "operationId": "ConnectedRegistries_List", "tags": [ "ConnectedRegistries" ], "description": "Lists all connected registries for the specified container registry.", - "operationId": "ConnectedRegistries_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -543,43 +892,54 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryFilterParameter" + "name": "$filter", + "in": "query", + "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ConnectedRegistryListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "ConnectedRegistryList": { "$ref": "./examples/ConnectedRegistryList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { + "get": { + "operationId": "ConnectedRegistries_Get", "tags": [ "ConnectedRegistries" ], - "description": "Deactivates the connected registry instance.", - "operationId": "ConnectedRegistries_Deactivate", + "description": "Gets the properties of the connected registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -591,49 +951,52 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ConnectedRegistryNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "x-ms-examples": { - "ConnectedRegistryDeactivate": { - "$ref": "./examples/ConnectedRegistryDeactivate.json" + "ConnectedRegistryGet": { + "$ref": "./examples/ConnectedRegistryGet.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { - "get": { + }, + "put": { + "operationId": "ConnectedRegistries_Create", "tags": [ - "CredentialSets" + "ConnectedRegistries" ], - "description": "Lists all credential set resources for the specified container registry.", - "operationId": "CredentialSets_List", + "description": "Creates a connected registry for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -645,83 +1008,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CredentialSetListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetList": { - "$ref": "./examples/CredentialSetList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { - "get": { - "tags": [ - "CredentialSets" - ], - "description": "Gets the properties of the specified credential set resource.", - "operationId": "CredentialSets_Get", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "connectedRegistryCreateParameters", + "in": "body", + "description": "The parameters for creating a connectedRegistry.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'ConnectedRegistry' update operation succeeded", "schema": { - "$ref": "#/definitions/CredentialSet" + "$ref": "#/definitions/ConnectedRegistry" + } + }, + "201": { + "description": "Resource 'ConnectedRegistry' create operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectedRegistry" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CredentialSetGet": { - "$ref": "./examples/CredentialSetGet.json" + "ConnectedRegistryCreate": { + "$ref": "./examples/ConnectedRegistryCreate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectedRegistry" + }, + "x-ms-long-running-operation": true }, - "put": { + "patch": { + "operationId": "ConnectedRegistries_Update", "tags": [ - "CredentialSets" + "ConnectedRegistries" ], - "description": "Creates a credential set for a container registry with the specified parameters.", - "operationId": "CredentialSets_Create", + "description": "Updates a connected registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -733,62 +1096,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "credentialSetCreateParameters", + "name": "connectedRegistryUpdateParameters", "in": "body", - "description": "The parameters for creating a credential set.", + "description": "The parameters for updating a connectedRegistry.", "required": true, "schema": { - "$ref": "#/definitions/CredentialSet" + "$ref": "#/definitions/ConnectedRegistryUpdateParameters" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CredentialSet" + "$ref": "#/definitions/ConnectedRegistry" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ConnectedRegistry' create operation succeeded", "schema": { - "$ref": "#/definitions/CredentialSet" + "$ref": "#/definitions/ConnectedRegistry" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CredentialSetCreate": { - "$ref": "./examples/CredentialSetCreate.json" + "ConnectedRegistryUpdate": { + "$ref": "./examples/ConnectedRegistryUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectedRegistry" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "ConnectedRegistries_Delete", "tags": [ - "CredentialSets" + "ConnectedRegistries" ], - "description": "Deletes a credential set from a container registry.", - "operationId": "CredentialSets_Delete", + "description": "Deletes a connected registry from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -800,47 +1184,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { + "200": { + "description": "Resource deleted successfully." + }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { - "description": "The credential store resource does not exist in the subscription." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CredentialSetDelete": { - "$ref": "./examples/CredentialSetDelete.json" + "ConnectedRegistryDelete": { + "$ref": "./examples/ConnectedRegistryDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } - }, - "patch": { + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { + "post": { + "operationId": "ConnectedRegistries_Deactivate", "tags": [ - "CredentialSets" + "ConnectedRegistries" ], - "description": "Updates a credential set for a container registry with the specified parameters.", - "operationId": "CredentialSets_Update", + "description": "Deactivates the connected registry instance.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -852,64 +1261,69 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/CredentialSetNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "credentialSetUpdateParameters", - "in": "body", - "description": "The parameters for updating a credential set.", + "name": "connectedRegistryName", + "in": "path", + "description": "The name of the connected registry.", "required": true, - "schema": { - "$ref": "#/definitions/CredentialSetUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/CredentialSet" - } + "description": "Azure operation completed successfully." }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, + "202": { + "description": "Resource operation accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CredentialSetUpdate": { - "$ref": "./examples/CredentialSetUpdate.json" + "ConnectedRegistryDeactivate": { + "$ref": "./examples/ConnectedRegistryDeactivate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { + "get": { + "operationId": "CredentialSets_List", "tags": [ - "Registries" + "CredentialSets" ], - "description": "Copies an image to this container registry from the specified container registry.", - "operationId": "Registries_ImportImage", + "description": "Lists all credential set resources for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -921,85 +1335,104 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "name": "parameters", - "in": "body", - "description": "The parameters specifying the image to copy and the source container registry.", + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", "required": true, - "schema": { - "$ref": "#/definitions/ImportImageParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the operation has completed successfully." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CredentialSetListResult" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ImportImageByTag": { - "$ref": "./examples/ImportImageByTag.json" - }, - "ImportImageByManifestDigest": { - "$ref": "./examples/ImportImageByManifestDigest.json" - }, - "ImportImageFromPublicRegistry": { - "$ref": "./examples/ImportImageFromPublicRegistry.json" + "CredentialSetList": { + "$ref": "./examples/CredentialSetList.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/providers/Microsoft.ContainerRegistry/operations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { "get": { + "operationId": "CredentialSets_Get", "tags": [ - "Operation" + "CredentialSets" ], - "description": "Lists all of the available Azure Container Registry REST API operations.", - "operationId": "Operations_List", + "description": "Gets the properties of the specified credential set resource.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/OperationListResult" + "$ref": "#/definitions/CredentialSet" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" + "CredentialSetGet": { + "$ref": "./examples/CredentialSetGet.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability": { - "post": { + }, + "put": { + "operationId": "CredentialSets_Create", "tags": [ - "Operation" + "CredentialSets" ], - "description": "Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.", - "operationId": "Registries_CheckNameAvailability", + "description": "Creates a credential set for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1008,40 +1441,86 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "registryNameCheckRequest", + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "credentialSetCreateParameters", "in": "body", - "description": "The object containing information for the availability request.", + "description": "The parameters for creating a credential set.", "required": true, "schema": { - "$ref": "#/definitions/RegistryNameCheckRequest" + "$ref": "#/definitions/CredentialSet" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'CredentialSet' update operation succeeded", "schema": { - "$ref": "#/definitions/RegistryNameStatus" + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "Resource 'CredentialSet' create operation succeeded", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryCheckNameAvailable": { - "$ref": "./examples/RegistryCheckNameAvailable.json" - }, - "RegistryCheckNameNotAvailable": { - "$ref": "./examples/RegistryCheckNameNotAvailable.json" + "CredentialSetCreate": { + "$ref": "./examples/CredentialSetCreate.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { - "get": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CredentialSet" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CredentialSets_Update", "tags": [ - "PrivateEndpointConnections" + "CredentialSets" ], - "description": "List all private endpoint connections in a container registry.", - "operationId": "PrivateEndpointConnections_List", + "description": "Updates a credential set for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1053,34 +1532,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "credentialSetUpdateParameters", + "in": "body", + "description": "The parameters for updating a credential set.", + "required": true, + "schema": { + "$ref": "#/definitions/CredentialSetUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResult" + "$ref": "#/definitions/CredentialSet" + } + }, + "201": { + "description": "Resource 'CredentialSet' create operation succeeded", + "schema": { + "$ref": "#/definitions/CredentialSet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PrivateEndpointConnectionList": { - "$ref": "./examples/PrivateEndpointConnectionList.json" + "CredentialSetUpdate": { + "$ref": "./examples/CredentialSetUpdate.json" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/CredentialSet" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CredentialSets_Delete", "tags": [ - "PrivateEndpointConnections" + "CredentialSets" ], - "description": "Get the specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_Get", + "description": "Deletes a credential set from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1092,32 +1620,69 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + "name": "credentialSetName", + "in": "path", + "description": "The name of the credential set.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "PrivateEndpointConnectionGet": { - "$ref": "./examples/PrivateEndpointConnectionGet.json" + "CredentialSetDelete": { + "$ref": "./examples/CredentialSetDelete.json" } - } - }, - "put": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { + "post": { + "operationId": "Registries_GenerateCredentials", "tags": [ - "PrivateEndpointConnections" + "Registries" ], - "description": "Update the state of specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Generate keys for a token of a specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1129,56 +1694,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "privateEndpointConnection", + "name": "generateCredentialsParameters", "in": "body", - "description": "The parameters for creating a private endpoint connection.", + "description": "The parameters for generating credentials.", "required": true, "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/GenerateCredentialsParameters" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/GenerateCredentialsResult" } }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, + "202": { + "description": "Resource operation accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "PrivateEndpointConnectionCreateOrUpdate": { - "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" + "RegistryGenerateCredentials": { + "$ref": "./examples/RegistryGenerateCredentials.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { + "final-state-via": "location", + "final-state-schema": "#/definitions/GenerateCredentialsResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage": { + "post": { + "operationId": "Registries_ImportImage", "tags": [ - "PrivateEndpointConnections" + "Registries" ], - "description": "Deletes the specified private endpoint connection associated with the container registry.", - "operationId": "PrivateEndpointConnections_Delete", + "description": "Copies an image to this container registry from the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1190,79 +1771,123 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + "name": "parameters", + "in": "body", + "description": "The parameters specifying the image to copy and the source container registry.", + "required": true, + "schema": { + "$ref": "#/definitions/ImportImageParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource operation accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The private endpoint connection does not exist in the subscription." + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "PrivateEndpointConnectionDelete": { - "$ref": "./examples/PrivateEndpointConnectionDelete.json" + "ImportImageByManifestDigest": { + "$ref": "./examples/ImportImageByManifestDigest.json" + }, + "ImportImageByTag": { + "$ref": "./examples/ImportImageByTag.json" + }, + "ImportImageFromPublicRegistry": { + "$ref": "./examples/ImportImageFromPublicRegistry.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { + "post": { + "operationId": "Registries_ListCredentials", "tags": [ "Registries" ], - "description": "Lists all the container registries under the specified subscription.", - "operationId": "Registries_List", + "description": "Lists the login credentials for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/RegistryListResult" + "$ref": "#/definitions/RegistryListCredentialsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryList": { - "$ref": "./examples/RegistryList.json" + "RegistryListCredentials": { + "$ref": "./examples/RegistryListCredentials.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { "get": { + "operationId": "Registries_ListUsages", "tags": [ "Registries" ], - "description": "Lists all the container registries under the specified resource group.", - "operationId": "Registries_ListByResourceGroup", + "description": "Gets the quota usages for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1272,33 +1897,46 @@ }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/RegistryListResult" + "$ref": "#/definitions/RegistryUsageListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryListByResourceGroup": { - "$ref": "./examples/RegistryListByResourceGroup.json" + "RegistryListUsages": { + "$ref": "./examples/RegistryListUsages.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { "get": { + "operationId": "PrivateEndpointConnections_List", "tags": [ - "Registries" + "PrivateEndpointConnections" ], - "description": "Gets the properties of the specified container registry.", - "operationId": "Registries_Get", + "description": "List all private endpoint connections in a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1310,29 +1948,47 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryGet": { - "$ref": "./examples/RegistryGet.json" + "PrivateEndpointConnectionList": { + "$ref": "./examples/PrivateEndpointConnectionList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "PrivateEndpointConnections_Get", "tags": [ - "Registries" + "PrivateEndpointConnections" ], - "description": "Creates a container registry with the specified parameters.", - "operationId": "Registries_Create", + "description": "Get the specified private endpoint connection associated with the container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1344,56 +2000,49 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "registry", - "in": "body", - "description": "The parameters for creating a container registry.", + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", "required": true, - "schema": { - "$ref": "#/definitions/Registry" - } + "type": "string" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PrivateEndpointConnection" } }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "default": { + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryCreate": { - "$ref": "./examples/RegistryCreate.json" - }, - "RegistryCreateZoneRedundant": { - "$ref": "./examples/RegistryCreateZoneRedundant.json" + "PrivateEndpointConnectionGet": { + "$ref": "./examples/PrivateEndpointConnectionGet.json" } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" } }, - "delete": { + "put": { + "operationId": "PrivateEndpointConnections_CreateOrUpdate", "tags": [ - "Registries" + "PrivateEndpointConnections" ], - "description": "Deletes a container registry.", - "operationId": "Registries_Delete", + "description": "Update the state of specified private endpoint connection associated with the container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1405,101 +2054,80 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The container registry does not exist in the subscription." - } - }, - "x-ms-examples": { - "RegistryDelete": { - "$ref": "./examples/RegistryDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "patch": { - "tags": [ - "Registries" - ], - "description": "Updates a container registry with the specified parameters.", - "operationId": "Registries_Update", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" }, { - "name": "registryUpdateParameters", + "name": "privateEndpointConnection", "in": "body", - "description": "The parameters for updating a container registry.", + "description": "The parameters for creating a private endpoint connection.", "required": true, "schema": { - "$ref": "#/definitions/RegistryUpdateParameters" + "$ref": "#/definitions/PrivateEndpointConnection" } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'PrivateEndpointConnection' update operation succeeded", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PrivateEndpointConnection" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'PrivateEndpointConnection' create operation succeeded", "schema": { - "$ref": "#/definitions/Registry" + "$ref": "#/definitions/PrivateEndpointConnection" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "RegistryUpdate": { - "$ref": "./examples/RegistryUpdate.json" + "PrivateEndpointConnectionCreateOrUpdate": { + "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages": { - "get": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/PrivateEndpointConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PrivateEndpointConnections_Delete", "tags": [ - "Registries" + "PrivateEndpointConnections" ], - "description": "Gets the quota usages for the specified container registry.", - "operationId": "Registries_ListUsages", + "description": "Deletes the specified private endpoint connection associated with the container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1511,31 +2139,69 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The request was successful; the registry usages retrieved and returned successfully.", + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/RegistryUsageListResult" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryListUsages": { - "$ref": "./examples/RegistryListUsages.json" + "PrivateEndpointConnectionDelete": { + "$ref": "./examples/PrivateEndpointConnectionDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { "get": { + "operationId": "Registries_ListPrivateLinkResources", "tags": [ - "Registries" + "PrivateLinkResources" ], "description": "Lists the private link resources for a container registry.", - "operationId": "Registries_ListPrivateLinkResources", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1547,15 +2213,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the private link resources were retrieved and returned successfully.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PrivateLinkResourceListResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1568,13 +2247,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{privateLinkResourceName}": { "get": { + "operationId": "Registries_GetPrivateLinkResource", "tags": [ - "Registries" + "PrivateLinkResources" ], "description": "Gets a private link resource by a specified group name for a container registry.", - "operationId": "Registries_GetPrivateLinkResource", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1586,21 +2265,32 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/GroupNameParameter" + "name": "privateLinkResourceName", + "in": "path", + "description": "The name of the private link associated with the Azure resource.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The request was successful; the private link resource was retrieved and returned successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateLinkResource" + "$ref": "../../../../../../common-types/resource-management/v6/privatelinks.json#/definitions/PrivateLinkResource" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1613,13 +2303,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { "post": { + "operationId": "Registries_RegenerateCredential", "tags": [ "Registries" ], - "description": "Lists the login credentials for the specified container registry.", - "operationId": "Registries_ListCredentials", + "description": "Regenerates one of the login credentials for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1631,31 +2321,53 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "regenerateCredentialParameters", + "in": "body", + "description": "Specifies name of the password which should be regenerated -- password or password2.", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateCredentialParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the list of credentials retrieved and returned successfully.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/RegistryListCredentialsResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "RegistryListCredentials": { - "$ref": "./examples/RegistryListCredentials.json" + "RegistryRegenerateCredential": { + "$ref": "./examples/RegistryRegenerateCredential.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications": { + "get": { + "operationId": "Replications_List", "tags": [ - "Registries" + "Replications" ], - "description": "Regenerates one of the login credentials for the specified container registry.", - "operationId": "Registries_RegenerateCredential", + "description": "Lists all the replications for the specified container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1667,59 +2379,27 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "name": "regenerateCredentialParameters", - "in": "body", - "description": "Specifies name of the password which should be regenerated -- password or password2.", + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", "required": true, - "schema": { - "$ref": "#/definitions/RegenerateCredentialParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the specified credential regenerated successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" + "$ref": "#/definitions/ReplicationListResult" } - } - }, - "x-ms-examples": { - "RegistryRegenerateCredential": { - "$ref": "./examples/RegistryRegenerateCredential.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications": { - "get": { - "tags": [ - "Replications" - ], - "description": "Lists all the replications for the specified container registry.", - "operationId": "Replications_List", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "default": { + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ReplicationListResult" + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1735,11 +2415,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { "get": { + "operationId": "Replications_Get", "tags": [ "Replications" ], "description": "Gets the properties of the specified replication.", - "operationId": "Replications_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1751,18 +2431,38 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Replication" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1772,11 +2472,11 @@ } }, "put": { + "operationId": "Replications_Create", "tags": [ "Replications" ], "description": "Creates a replication for a container registry with the specified parameters.", - "operationId": "Replications_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1788,10 +2488,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "replication", @@ -1805,21 +2519,33 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Replication' update operation succeeded", "schema": { "$ref": "#/definitions/Replication" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Replication' create operation succeeded", "schema": { "$ref": "#/definitions/Replication" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1830,17 +2556,18 @@ "$ref": "./examples/ReplicationCreateZoneRedundant.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Replication" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Replications_Update", "tags": [ "Replications" ], - "description": "Deletes a replication from a container registry.", - "operationId": "Replications_Delete", + "description": "Updates a replication for a container registry with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1852,44 +2579,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "replicationUpdateParameters", + "in": "body", + "description": "The parameters for updating a replication.", + "required": true, + "schema": { + "$ref": "#/definitions/ReplicationUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Replication" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "201": { + "description": "Resource 'Replication' create operation succeeded", + "schema": { + "$ref": "#/definitions/Replication" + }, "headers": { - "Location": { - "type": "string" + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The replication does not exist in the subscription." + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "ReplicationDelete": { - "$ref": "./examples/ReplicationDelete.json" + "ReplicationUpdate": { + "$ref": "./examples/ReplicationUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Replication" + }, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "Replications_Delete", "tags": [ "Replications" ], - "description": "Updates a replication for a container registry with the specified parameters.", - "operationId": "Replications_Update", + "description": "Deletes a replication from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1901,58 +2667,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ReplicationNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "replicationUpdateParameters", - "in": "body", - "description": "The parameters for updating a replication.", + "name": "replicationName", + "in": "path", + "description": "The name of the replication.", "required": true, - "schema": { - "$ref": "#/definitions/ReplicationUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Replication" - } + "description": "Resource deleted successfully." }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Replication" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "ReplicationUpdate": { - "$ref": "./examples/ReplicationUpdate.json" + "ReplicationDelete": { + "$ref": "./examples/ReplicationDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { "get": { + "operationId": "ScopeMaps_List", "tags": [ "ScopeMaps" ], "description": "Lists all the scope maps for the specified container registry.", - "operationId": "ScopeMaps_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1964,18 +2744,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ScopeMapListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -1993,11 +2780,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { "get": { + "operationId": "ScopeMaps_Get", "tags": [ "ScopeMaps" ], "description": "Gets the properties of the specified scope map.", - "operationId": "ScopeMaps_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2009,21 +2796,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ScopeMap" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2036,11 +2837,11 @@ } }, "put": { + "operationId": "ScopeMaps_Create", "tags": [ "ScopeMaps" ], "description": "Creates a scope map for a container registry with the specified parameters.", - "operationId": "ScopeMaps_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2052,10 +2853,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" }, { "name": "scopeMapCreateParameters", @@ -2069,24 +2884,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'ScopeMap' update operation succeeded", "schema": { "$ref": "#/definitions/ScopeMap" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'ScopeMap' create operation succeeded", "schema": { "$ref": "#/definitions/ScopeMap" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2097,17 +2918,18 @@ "$ref": "./examples/ScopeMapCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ScopeMap" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "ScopeMaps_Update", "tags": [ "ScopeMaps" ], - "description": "Deletes a scope map from a container registry.", - "operationId": "ScopeMaps_Delete", + "description": "Updates a scope map with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2119,50 +2941,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" }, { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "scopeMapUpdateParameters", + "in": "body", + "description": "The parameters for updating a scope map.", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeMapUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScopeMap" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "201": { + "description": "Resource 'ScopeMap' create operation succeeded", + "schema": { + "$ref": "#/definitions/ScopeMap" + }, "headers": { - "Location": { - "type": "string" + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The scopemap does not exist in the subscription." - }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScopeMapDelete": { - "$ref": "./examples/ScopeMapDelete.json" + "ScopeMapUpdate": { + "$ref": "./examples/ScopeMapUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ScopeMap" + }, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "ScopeMaps_Delete", "tags": [ "ScopeMaps" ], - "description": "Updates a scope map with the specified parameters.", - "operationId": "ScopeMaps_Update", + "description": "Deletes a scope map from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2174,64 +3029,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/ScopeMapNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "scopeMapUpdateParameters", - "in": "body", - "description": "The parameters for updating a scope map.", + "name": "scopeMapName", + "in": "path", + "description": "The name of the scope map.", "required": true, - "schema": { - "$ref": "#/definitions/ScopeMapUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-_]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/ScopeMap" - } + "description": "Resource deleted successfully." }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ScopeMapUpdate": { - "$ref": "./examples/ScopeMapUpdate.json" + "ScopeMapDelete": { + "$ref": "./examples/ScopeMapDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens": { "get": { + "operationId": "Tokens_List", "tags": [ "Tokens" ], "description": "Lists all the tokens for the specified container registry.", - "operationId": "Tokens_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2243,18 +3106,25 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/TokenListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2272,11 +3142,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { "get": { + "operationId": "Tokens_Get", "tags": [ "Tokens" ], "description": "Gets the properties of the specified token.", - "operationId": "Tokens_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2288,21 +3158,35 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TokenNameParameter" + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Token" } }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2315,11 +3199,11 @@ } }, "put": { + "operationId": "Tokens_Create", "tags": [ "Tokens" ], "description": "Creates a token for a container registry with the specified parameters.", - "operationId": "Tokens_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2331,10 +3215,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TokenNameParameter" + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "tokenCreateParameters", @@ -2348,24 +3246,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Token' update operation succeeded", "schema": { "$ref": "#/definitions/Token" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Token' create operation succeeded", "schema": { "$ref": "#/definitions/Token" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2376,72 +3280,18 @@ "$ref": "./examples/TokenCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "Tokens" - ], - "description": "Deletes a token from a container registry.", - "operationId": "Tokens_Delete", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/TokenNameParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly." - }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "The token does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenDelete": { - "$ref": "./examples/TokenDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Token" + }, + "x-ms-long-running-operation": true }, "patch": { + "operationId": "Tokens_Update", "tags": [ "Tokens" ], "description": "Updates a token with the specified parameters.", - "operationId": "Tokens_Update", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2453,10 +3303,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/TokenNameParameter" + "name": "tokenName", + "in": "path", + "description": "The name of the token.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" }, { "name": "tokenUpdateParameters", @@ -2470,24 +3334,30 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Token" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Token' create operation succeeded", "schema": { "$ref": "#/definitions/Token" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Error response describing why the operation failed. If any of the input parameters are invalid, 400 (Bad Request) is returned. If the request cannot be processed due to a conflict in the request, 409 (Conflict) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } @@ -2498,19 +3368,18 @@ "$ref": "./examples/TokenUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { - "post": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Token" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Tokens_Delete", "tags": [ - "Registries" + "Tokens" ], - "description": "Generate keys for a token of a specified container registry.", - "operationId": "Registries_GenerateCredentials", + "description": "Deletes a token from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2522,58 +3391,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "generateCredentialsParameters", - "in": "body", - "description": "The parameters for generating credentials.", + "name": "tokenName", + "in": "path", + "description": "The name of the token.", "required": true, - "schema": { - "$ref": "#/definitions/GenerateCredentialsParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9-]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/GenerateCredentialsResult" - } + "description": "Resource deleted successfully." }, "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource deletion accepted.", "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed. If the resource does not exist, 404 (Not found) is returned.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "RegistryGenerateCredentials": { - "$ref": "./examples/RegistryGenerateCredentials.json" + "TokenDelete": { + "$ref": "./examples/TokenDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks": { "get": { + "operationId": "Webhooks_List", "tags": [ "Webhooks" ], "description": "Lists all the webhooks for the specified container registry.", - "operationId": "Webhooks_List", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2585,15 +3468,28 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/WebhookListResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2608,11 +3504,11 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { "get": { + "operationId": "Webhooks_Get", "tags": [ "Webhooks" ], "description": "Gets the properties of the specified webhook.", - "operationId": "Webhooks_Get", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2624,18 +3520,38 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Webhook" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2645,11 +3561,11 @@ } }, "put": { + "operationId": "Webhooks_Create", "tags": [ "Webhooks" ], "description": "Creates a webhook for a container registry with the specified parameters.", - "operationId": "Webhooks_Create", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2661,10 +3577,24 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { "name": "webhookCreateParameters", @@ -2678,21 +3608,33 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Resource 'Webhook' update operation succeeded", "schema": { "$ref": "#/definitions/Webhook" } }, "201": { - "description": "The request was successful; the operation will complete asynchronously.", + "description": "Resource 'Webhook' create operation succeeded", "schema": { "$ref": "#/definitions/Webhook" }, "headers": { "Azure-AsyncOperation": { - "type": "string" + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2700,17 +3642,18 @@ "$ref": "./examples/WebhookCreate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Webhook" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Webhooks_Update", "tags": [ "Webhooks" ], - "description": "Deletes a webhook from a container registry.", - "operationId": "Webhooks_Delete", + "description": "Updates a webhook with the specified parameters.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2722,44 +3665,83 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" + }, + { + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookUpdateParameters", + "in": "body", + "description": "The parameters for updating a webhook.", + "required": true, + "schema": { + "$ref": "#/definitions/WebhookUpdateParameters" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Webhook" + } }, - "202": { - "description": "The request was successful; the operation will complete asynchronously.", + "201": { + "description": "Resource 'Webhook' create operation succeeded", + "schema": { + "$ref": "#/definitions/Webhook" + }, "headers": { - "Location": { - "type": "string" + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "The webhook does not exist in the subscription." + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "WebhookDelete": { - "$ref": "./examples/WebhookDelete.json" + "WebhookUpdate": { + "$ref": "./examples/WebhookUpdate.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Webhook" + }, + "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "Webhooks_Delete", "tags": [ "Webhooks" ], - "description": "Updates a webhook with the specified parameters.", - "operationId": "Webhooks_Update", + "description": "Deletes a webhook from a container registry.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2771,58 +3753,72 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" - }, - { - "$ref": "#/parameters/WebhookNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "webhookUpdateParameters", - "in": "body", - "description": "The parameters for updating a webhook.", + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", "required": true, - "schema": { - "$ref": "#/definitions/WebhookUpdateParameters" - } + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Webhook" - } + "description": "Resource deleted successfully." }, - "201": { - "description": "The request was successful; the operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/Webhook" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { - "type": "string" + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "WebhookUpdate": { - "$ref": "./examples/WebhookUpdate.json" + "WebhookDelete": { + "$ref": "./examples/WebhookDelete.json" } }, - "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { "post": { + "operationId": "Webhooks_GetCallbackConfig", "tags": [ "Webhooks" ], - "description": "Triggers a ping event to be sent to the webhook.", - "operationId": "Webhooks_Ping", + "description": "Gets the configuration of service URI and custom headers for the webhook.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2834,34 +3830,54 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EventInfo" + "$ref": "#/definitions/CallbackConfig" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WebhookPing": { - "$ref": "./examples/WebhookPing.json" + "WebhookGetCallbackConfig": { + "$ref": "./examples/WebhookGetCallbackConfig.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { "post": { + "operationId": "Webhooks_ListEvents", "tags": [ "Webhooks" ], "description": "Lists recent events for the specified webhook.", - "operationId": "Webhooks_ListEvents", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2873,18 +3889,38 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/EventListResult" } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2897,13 +3933,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { "post": { + "operationId": "Webhooks_Ping", "tags": [ "Webhooks" ], - "description": "Gets the configuration of service URI and custom headers for the webhook.", - "operationId": "Webhooks_GetCallbackConfig", + "description": "Triggers a ping event to be sent to the webhook.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2915,144 +3951,214 @@ "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/RegistryNameParameter" + "name": "registryName", + "in": "path", + "description": "The name of the container registry.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, { - "$ref": "#/parameters/WebhookNameParameter" + "name": "webhookName", + "in": "path", + "description": "The name of the webhook.", + "required": true, + "type": "string", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CallbackConfig" + "$ref": "#/definitions/EventInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "WebhookGetCallbackConfig": { - "$ref": "./examples/WebhookGetCallbackConfig.json" + "WebhookPing": { + "$ref": "./examples/WebhookPing.json" } } } } }, "definitions": { - "ActivationProperties": { - "description": "The activation properties of the connected registry.", - "type": "object", + "ActionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer.", + "enum": [ + "None", + "Recreate" + ], + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Recreate", + "value": "Recreate" + } + ] + } + }, + "ActivationProperties": { + "type": "object", + "description": "The activation properties of the connected registry.", "properties": { "status": { + "$ref": "#/definitions/ActivationStatus", "description": "The activation status of the connected registry.", - "enum": [ - "Active", - "Inactive" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ActivationStatus", - "modelAsString": true + "readOnly": true + } + } + }, + "ActivationStatus": { + "type": "string", + "description": "The activation status of the connected registry.", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "ActivationStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active" + }, + { + "name": "Inactive", + "value": "Inactive" } + ] + } + }, + "Actor": { + "type": "object", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", + "properties": { + "name": { + "type": "string", + "description": "The subject or username associated with the request context that generated the event." + } + } + }, + "AuthCredential": { + "type": "object", + "description": "Authentication credential stored for an upstream.", + "properties": { + "name": { + "$ref": "#/definitions/CredentialName", + "description": "The name of the credential." + }, + "usernameSecretIdentifier": { + "type": "string", + "description": "KeyVault Secret URI for accessing the username." + }, + "passwordSecretIdentifier": { + "type": "string", + "description": "KeyVault Secret URI for accessing the password." + }, + "credentialHealth": { + "$ref": "#/definitions/CredentialHealth", + "description": "This provides data pertaining to the health of the auth credential.", + "readOnly": true } } }, "AzureADAuthenticationAsArmPolicy": { - "description": "The policy for using ARM audience token for a container registry.", "type": "object", + "description": "The policy for using Azure Resource Manager audience token for a container registry.", "properties": { "status": { + "type": "string", "description": "The value that indicates whether the policy is enabled or not.", "default": "enabled", "enum": [ "enabled", "disabled" ], - "type": "string", "x-ms-enum": { "name": "AzureADAuthenticationAsArmPolicyStatus", - "modelAsString": true - } - } - } - }, - "CacheRulesListResult": { - "description": "The result of a request to list cache rules for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of cache rules.", - "type": "array", - "items": { - "$ref": "#/definitions/CacheRule" + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } - }, - "nextLink": { - "description": "If provided, client must use NextLink URI to request next list of cache rules.", - "type": "string" } } }, "CacheRule": { - "description": "An object that represents a cache rule for a container registry.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "An object that represents a cache rule for a container registry.", "properties": { "properties": { "$ref": "#/definitions/CacheRuleProperties", "description": "The properties of the cache rule.", "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, "CacheRuleProperties": { - "description": "The properties of a cache rule.", "type": "object", + "description": "The properties of a cache rule.", "properties": { "credentialSetResourceId": { - "description": "The ARM resource ID of the credential store which is associated with the cache rule.", - "type": "string" + "type": "string", + "description": "The ARM resource ID of the credential store which is associated with the cache rule." }, "sourceRepository": { - "description": "Source repository pulled from upstream.", - "type": "string" + "type": "string", + "description": "Source repository pulled from upstream." }, "targetRepository": { - "description": "Target repository specified in docker pull command.\r\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}", - "type": "string" + "type": "string", + "description": "Target repository specified in docker pull command.\nEg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}" }, "creationDate": { + "type": "string", "format": "date-time", "description": "The creation date of the cache rule.", - "type": "string", "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } } }, "CacheRuleUpdateParameters": { - "description": "The parameters for updating a cache rule.", "type": "object", + "description": "The parameters for updating a cache rule.", "properties": { "properties": { "$ref": "#/definitions/CacheRuleUpdateProperties", @@ -3062,111 +4168,161 @@ } }, "CacheRuleUpdateProperties": { - "description": "The parameters for updating cache rule properties.", "type": "object", + "description": "The parameters for updating cache rule properties.", "properties": { "credentialSetResourceId": { - "description": "The ARM resource ID of the credential store which is associated with the Cache rule.", - "type": "string" + "type": "string", + "description": "The ARM resource ID of the credential store which is associated with the Cache rule." } } }, - "ConnectedRegistry": { - "description": "An object that represents a connected registry for a container registry.", + "CacheRulesListResult": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" + "description": "The result of a request to list cache rules for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of cache rules. Since this list may be incomplete, the nextLink field should be used to request the next list of cache rules.", + "items": { + "$ref": "#/definitions/CacheRule" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of cache rules." + } + } + }, + "CallbackConfig": { + "type": "object", + "description": "The configuration of service URI and custom headers for the webhook.", + "properties": { + "serviceUri": { + "type": "string", + "description": "The service URI for the webhook to post notifications." + }, + "customHeaders": { + "type": "object", + "description": "Custom headers that will be added to the webhook notifications.", + "additionalProperties": { + "type": "string" + } } + }, + "required": [ + "serviceUri" + ] + }, + "CertificateType": { + "type": "string", + "description": "The type of certificate location.", + "enum": [ + "LocalDirectory" ], + "x-ms-enum": { + "name": "CertificateType", + "modelAsString": true, + "values": [ + { + "name": "LocalDirectory", + "value": "LocalDirectory" + } + ] + } + }, + "ConnectedRegistry": { + "type": "object", + "description": "An object that represents a connected registry for a container registry.", "properties": { "properties": { "$ref": "#/definitions/ConnectedRegistryProperties", "description": "The properties of the connected registry.", "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, "ConnectedRegistryListResult": { - "description": "The result of a request to list connected registries for a container registry.", "type": "object", + "description": "The result of a request to list connected registries for a container registry.", "properties": { "value": { - "description": "The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries.", "type": "array", + "description": "The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries.", "items": { "$ref": "#/definitions/ConnectedRegistry" } }, "nextLink": { - "description": "The URI that can be used to request the next list of connected registries.", - "type": "string" + "type": "string", + "description": "The URI that can be used to request the next list of connected registries." } } }, - "ConnectedRegistryProperties": { - "description": "The properties of a connected registry.", - "required": [ - "mode", - "parent" + "ConnectedRegistryMode": { + "type": "string", + "description": "The mode of the connected registry resource that indicates the permissions of the registry.", + "enum": [ + "ReadWrite", + "ReadOnly", + "Registry", + "Mirror" ], + "x-ms-enum": { + "name": "ConnectedRegistryMode", + "modelAsString": true, + "values": [ + { + "name": "ReadWrite", + "value": "ReadWrite" + }, + { + "name": "ReadOnly", + "value": "ReadOnly" + }, + { + "name": "Registry", + "value": "Registry" + }, + { + "name": "Mirror", + "value": "Mirror" + } + ] + } + }, + "ConnectedRegistryProperties": { "type": "object", + "description": "The properties of a connected registry.", "properties": { "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true }, "mode": { - "description": "The mode of the connected registry resource that indicates the permissions of the registry.", - "enum": [ - "ReadWrite", - "ReadOnly", - "Registry", - "Mirror" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectedRegistryMode", - "modelAsString": true - } + "$ref": "#/definitions/ConnectedRegistryMode", + "description": "The mode of the connected registry resource that indicates the permissions of the registry." }, "version": { - "description": "The current version of ACR runtime on the connected registry.", "type": "string", + "description": "The current version of ACR runtime on the connected registry.", "readOnly": true }, "connectionState": { + "$ref": "#/definitions/ConnectionState", "description": "The current connection state of the connected registry.", - "enum": [ - "Online", - "Offline", - "Syncing", - "Unhealthy" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ConnectionState", - "modelAsString": true - } + "readOnly": true }, "lastActivityTime": { + "type": "string", "format": "date-time", "description": "The last activity time of the connected registry.", - "type": "string", "readOnly": true }, "activation": { @@ -3179,8 +4335,8 @@ "description": "The parent of the connected registry." }, "clientTokenIds": { - "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "type": "array", + "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "items": { "type": "string" } @@ -3194,8 +4350,8 @@ "description": "The logging properties of the connected registry." }, "statusDetails": { - "description": "The list of current statuses of the connected registry.", "type": "array", + "description": "The list of current statuses of the connected registry.", "items": { "$ref": "#/definitions/StatusDetailProperties" }, @@ -3205,20 +4361,25 @@ ] }, "notificationsList": { - "description": "The list of notifications subscription information for the connected registry.", "type": "array", + "description": "The list of notifications subscription information for the connected registry.", "items": { "type": "string" } }, "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" + "$ref": "#/definitions/GarbageCollectionProperties", + "description": "The garbage collection properties of the connected registry." } - } + }, + "required": [ + "mode", + "parent" + ] }, "ConnectedRegistryUpdateParameters": { - "description": "The parameters for updating a connected registry.", "type": "object", + "description": "The parameters for updating a connected registry.", "properties": { "properties": { "$ref": "#/definitions/ConnectedRegistryUpdateProperties", @@ -3228,8 +4389,8 @@ } }, "ConnectedRegistryUpdateProperties": { - "description": "The parameters for updating token properties.", "type": "object", + "description": "The parameters for updating token properties.", "properties": { "syncProperties": { "$ref": "#/definitions/SyncUpdateProperties", @@ -3240,191 +4401,205 @@ "description": "The logging properties of the connected registry." }, "clientTokenIds": { - "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "type": "array", + "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry.", "items": { "type": "string" } }, "notificationsList": { - "description": "The list of notifications subscription information for the connected registry.", "type": "array", + "description": "The list of notifications subscription information for the connected registry.", "items": { "type": "string" } }, "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" + "$ref": "#/definitions/GarbageCollectionProperties", + "description": "The garbage collection properties of the connected registry." } } }, - "GarbageCollectionProperties": { - "description": "The garbage collection properties of the connected registry.", + "ConnectionState": { + "type": "string", + "description": "The current connection state of the connected registry.", + "enum": [ + "Online", + "Offline", + "Syncing", + "Unhealthy" + ], + "x-ms-enum": { + "name": "ConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Online", + "value": "Online" + }, + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "Syncing", + "value": "Syncing" + }, + { + "name": "Unhealthy", + "value": "Unhealthy" + } + ] + } + }, + "ConnectionStatus": { + "type": "string", + "description": "The private link service connection status.", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved" + }, + { + "name": "Pending", + "value": "Pending" + }, + { + "name": "Rejected", + "value": "Rejected" + }, + { + "name": "Disconnected", + "value": "Disconnected" + } + ] + } + }, + "ContainerRegistryResourceType": { + "type": "string", + "description": "The resource type for Container Registry.", + "enum": [ + "Microsoft.ContainerRegistry/registries" + ], + "x-ms-enum": { + "name": "ContainerRegistryResourceType", + "modelAsString": false + } + }, + "CredentialHealth": { "type": "object", + "description": "The health of the auth credential.", "properties": { - "enabled": { - "description": "Indicates whether garbage collection is enabled for the connected registry.", - "type": "boolean" + "status": { + "$ref": "#/definitions/CredentialHealthStatus", + "description": "The health status of credential." }, - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will run garbage collection.", - "type": "string" + "errorCode": { + "type": "string", + "description": "Error code representing the health check error." + }, + "errorMessage": { + "type": "string", + "description": "Descriptive message representing the health check error." } } }, - "LoggingProperties": { - "description": "The logging properties of the connected registry.", - "type": "object", - "properties": { - "logLevel": { - "description": "The verbosity of logs persisted on the connected registry.", - "default": "Information", - "enum": [ - "Debug", - "Information", - "Warning", - "Error", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": true - } - }, - "auditLogStatus": { - "description": "Indicates whether audit logs are enabled on the connected registry.", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "AuditLogStatus", - "modelAsString": true + "CredentialHealthStatus": { + "type": "string", + "description": "The health status of credential.", + "enum": [ + "Healthy", + "Unhealthy" + ], + "x-ms-enum": { + "name": "CredentialHealthStatus", + "modelAsString": true, + "values": [ + { + "name": "Healthy", + "value": "Healthy" + }, + { + "name": "Unhealthy", + "value": "Unhealthy" } - } + ] } }, - "LoginServerProperties": { - "description": "The login server properties of the connected registry.", - "type": "object", - "properties": { - "host": { - "description": "The host of the connected registry. Can be FQDN or IP.", - "type": "string", - "readOnly": true - }, - "tls": { - "$ref": "#/definitions/TlsProperties", - "description": "The TLS properties of the connected registry login server.", - "readOnly": true - } + "CredentialName": { + "type": "string", + "description": "The name of the credential.", + "enum": [ + "Credential1" + ], + "x-ms-enum": { + "name": "CredentialName", + "modelAsString": true, + "values": [ + { + "name": "Credential1", + "value": "Credential1" + } + ] } }, - "ParentProperties": { - "description": "The properties of the connected registry parent.", - "required": [ - "syncProperties" - ], + "CredentialSet": { "type": "object", + "description": "An object that represents a credential set resource for a container registry.", "properties": { - "id": { - "description": "The resource ID of the parent to which the connected registry will be associated.", - "type": "string" + "properties": { + "$ref": "#/definitions/CredentialSetProperties", + "description": "The properties of the credential set.", + "x-ms-client-flatten": true }, - "syncProperties": { - "$ref": "#/definitions/SyncProperties", - "description": "The sync properties of the connected registry with its parent." + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, "CredentialSetListResult": { - "description": "The result of a request to list credential sets for a container registry.", "type": "object", + "description": "The result of a request to list credential sets for a container registry.", "properties": { "value": { - "description": "The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets.", "type": "array", + "description": "The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets.", "items": { "$ref": "#/definitions/CredentialSet" } }, "nextLink": { - "description": "The URI that can be used to request the next list of credential sets.", - "type": "string" - } - } - }, - "CredentialSet": { - "description": "An object that represents a credential set resource for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." - }, - "properties": { - "$ref": "#/definitions/CredentialSetProperties", - "description": "The properties of the credential set.", - "x-ms-client-flatten": true - } - } - }, - "IdentityProperties": { - "description": "Managed identity for the resource.", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of resource identity.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], "type": "string", - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } + "description": "The URI that can be used to request the next list of credential sets." } } }, "CredentialSetProperties": { - "description": "The properties of a credential set resource.", "type": "object", + "description": "The properties of a credential set resource.", "properties": { "loginServer": { - "description": "The credentials are stored for this upstream or login server.", - "type": "string" + "type": "string", + "description": "The credentials are stored for this upstream or login server." }, "authCredentials": { - "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", "type": "array", + "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", "items": { "$ref": "#/definitions/AuthCredential" }, @@ -3433,261 +4608,363 @@ ] }, "creationDate": { + "type": "string", "format": "date-time", "description": "The creation date of credential store resource.", - "type": "string", "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } } }, - "UserIdentityProperties": { + "CredentialSetUpdateParameters": { "type": "object", + "description": "The parameters for updating a credential set", "properties": { - "principalId": { - "description": "The principal id of user assigned identity.", - "type": "string", - "readOnly": true + "properties": { + "$ref": "#/definitions/CredentialSetUpdateProperties", + "description": "The properties of the credential set update parameters", + "x-ms-client-flatten": true }, - "clientId": { - "description": "The client id of user assigned identity.", - "type": "string", - "readOnly": true + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identities associated with the resource. This is used to access the KeyVault secrets." } } }, - "Resource": { - "description": "An Azure resource.", - "required": [ - "location" - ], + "CredentialSetUpdateProperties": { + "type": "object", + "description": "The parameters for updating credential set properties.", "properties": { - "id": { - "description": "The resource ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the resource.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the resource.", - "type": "string", - "readOnly": true - }, - "location": { - "description": "The location of the resource. This cannot be changed after the resource is created.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" + "authCredentials": { + "type": "array", + "description": "List of authentication credentials stored for an upstream.\nUsually consists of a primary and an optional secondary credential.", + "items": { + "$ref": "#/definitions/AuthCredential" + }, + "x-ms-identifiers": [ + "name" ] - }, - "tags": { - "description": "The tags of the resource.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true } - }, - "x-ms-azure-resource": true + } }, - "AuthCredential": { - "description": "Authentication credential stored for an upstream.", + "EncryptionProperty": { "type": "object", "properties": { - "name": { - "description": "The name of the credential.", - "enum": [ - "Credential1" - ], - "type": "string", - "x-ms-enum": { - "name": "CredentialName", - "modelAsString": true - } - }, - "usernameSecretIdentifier": { - "description": "KeyVault Secret URI for accessing the username.", - "type": "string" - }, - "passwordSecretIdentifier": { - "description": "KeyVault Secret URI for accessing the password.", - "type": "string" + "status": { + "$ref": "#/definitions/EncryptionStatus", + "description": "Indicates whether or not the encryption is enabled for container registry." }, - "credentialHealth": { - "$ref": "#/definitions/CredentialHealth", - "description": "This provides data pertaining to the health of the auth credential.", - "readOnly": true + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Key vault properties." } } }, - "ProxyResource": { - "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.", + "EncryptionStatus": { + "type": "string", + "description": "Indicates whether or not the encryption is enabled for container registry.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, + "Event": { + "type": "object", + "description": "The event for a webhook.", + "properties": { + "eventRequestMessage": { + "$ref": "#/definitions/EventRequestMessage", + "description": "The event request message sent to the service URI." + }, + "eventResponseMessage": { + "$ref": "#/definitions/EventResponseMessage", + "description": "The event response message received from the service URI." + } + }, + "allOf": [ + { + "$ref": "#/definitions/EventInfo" + } + ] + }, + "EventContent": { + "type": "object", + "description": "The content of the event request message.", "properties": { "id": { - "description": "The resource ID.", "type": "string", - "readOnly": true + "description": "The event ID." }, - "name": { - "description": "The name of the resource.", + "timestamp": { "type": "string", - "readOnly": true + "format": "date-time", + "description": "The time at which the event occurred." }, - "type": { - "description": "The type of the resource.", + "action": { "type": "string", - "readOnly": true + "description": "The action that encompasses the provided event." }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true + "target": { + "$ref": "#/definitions/Target", + "description": "The target of the event." + }, + "request": { + "$ref": "#/definitions/Request", + "description": "The request that generated the event." + }, + "actor": { + "$ref": "#/definitions/Actor", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." + }, + "source": { + "$ref": "#/definitions/Source", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." } - }, - "x-ms-azure-resource": true + } }, - "CredentialHealth": { - "description": "The health of the auth credential.", + "EventInfo": { "type": "object", + "description": "The basic information of an event.", "properties": { - "status": { - "description": "The health status of credential.", - "enum": [ - "Healthy", - "Unhealthy" - ], + "id": { "type": "string", - "x-ms-enum": { - "name": "CredentialHealthStatus", - "modelAsString": true + "description": "The event ID." + } + } + }, + "EventListResult": { + "type": "object", + "description": "The result of a request to list events for a webhook.", + "properties": { + "value": { + "type": "array", + "description": "The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.", + "items": { + "$ref": "#/definitions/Event" } }, - "errorCode": { - "description": "Error code representing the health check error.", - "type": "string" - }, - "errorMessage": { - "description": "Descriptive message representing the health check error.", - "type": "string" + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of events." } } }, - "SystemData": { - "description": "Metadata pertaining to creation and last modification of the resource.", + "EventRequestMessage": { "type": "object", + "description": "The event request message sent to the service URI.", "properties": { - "createdBy": { - "description": "The identity that created the resource.", - "type": "string" + "content": { + "$ref": "#/definitions/EventContent", + "description": "The content of the event request message." }, - "createdByType": { - "description": "The type of identity that created the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], + "headers": { + "type": "object", + "description": "The headers of the event request message.", + "additionalProperties": { + "type": "string" + } + }, + "method": { "type": "string", - "x-ms-enum": { - "name": "createdByType", - "modelAsString": true + "description": "The HTTP method used to send the event request message." + }, + "requestUri": { + "type": "string", + "description": "The URI used to send the event request message." + }, + "version": { + "type": "string", + "description": "The HTTP message version." + } + } + }, + "EventResponseMessage": { + "type": "object", + "description": "The event response message received from the service URI.", + "properties": { + "content": { + "type": "string", + "description": "The content of the event response message." + }, + "headers": { + "type": "object", + "description": "The headers of the event response message.", + "additionalProperties": { + "type": "string" } }, - "createdAt": { - "format": "date-time", - "description": "The timestamp of resource creation (UTC).", - "type": "string" + "reasonPhrase": { + "type": "string", + "description": "The reason phrase of the event response message." }, - "lastModifiedBy": { - "description": "The identity that last modified the resource.", - "type": "string" + "statusCode": { + "type": "string", + "description": "The status code of the event response message." }, - "lastModifiedByType": { - "description": "The type of identity that last modified the resource.", + "version": { + "type": "string", + "description": "The HTTP message version." + } + } + }, + "ExportPolicy": { + "type": "object", + "description": "The export policy for a container registry.", + "properties": { + "status": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "enabled", "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" + "enabled", + "disabled" ], - "type": "string", "x-ms-enum": { - "name": "lastModifiedByType", - "modelAsString": true + "name": "ExportPolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } + } + } + }, + "GarbageCollectionProperties": { + "type": "object", + "description": "The garbage collection properties of the connected registry.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether garbage collection is enabled for the connected registry." }, - "lastModifiedAt": { - "format": "date-time", - "description": "The timestamp of resource modification (UTC).", - "type": "string" + "schedule": { + "type": "string", + "description": "The cron expression indicating the schedule that the connected registry will run garbage collection." } - }, - "readOnly": true + } }, - "CredentialSetUpdateParameters": { - "description": "The parameters for updating a credential set", + "GenerateCredentialsParameters": { "type": "object", + "description": "The parameters used to generate credentials for a specified token or user of a container registry.", "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetUpdateProperties", - "description": "The properties of the credential set update parameters", - "x-ms-client-flatten": true + "tokenId": { + "type": "string", + "description": "The resource ID of the token for which credentials have to be generated." }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "Identities associated with the resource. This is used to access the KeyVault secrets." + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry date of the generated credentials after which the credentials become invalid." + }, + "name": { + "$ref": "#/definitions/TokenPasswordName", + "description": "Specifies name of the password which should be regenerated if any -- password1 or password2." } } }, - "CredentialSetUpdateProperties": { - "description": "The parameters for updating credential set properties.", + "GenerateCredentialsResult": { "type": "object", + "description": "The response from the GenerateCredentials operation.", "properties": { - "authCredentials": { - "description": "List of authentication credentials stored for an upstream.\r\nUsually consists of a primary and an optional secondary credential.", + "username": { + "type": "string", + "description": "The username for a container registry." + }, + "passwords": { "type": "array", + "description": "The list of passwords for a container registry.", "items": { - "$ref": "#/definitions/AuthCredential" + "$ref": "#/definitions/TokenPassword" }, - "x-ms-identifiers": [ - "name" - ] + "x-ms-identifiers": [] } } }, - "ImportImageParameters": { + "IPRule": { + "type": "object", + "description": "IP rule with specific IP or IP range in CIDR format.", + "properties": { + "action": { + "type": "string", + "description": "The action of IP ACL rule.", + "default": "Allow", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow" + } + ] + } + }, + "value": { + "type": "string", + "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", + "x-ms-client-name": "IPAddressOrRange" + } + }, "required": [ - "source" - ], + "value" + ] + }, + "IdentityProperties": { + "type": "object", + "description": "Managed identity for the resource.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID of resource identity.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant ID of resource.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ResourceIdentityType", + "description": "The identity type." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The list of user identities associated with the resource. The user identity\ndictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\nproviders/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } + } + } + }, + "ImportImageParameters": { "type": "object", "properties": { "source": { @@ -3695,105 +4972,250 @@ "description": "The source of the image." }, "targetTags": { - "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", "type": "array", + "description": "List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).", "items": { "type": "string" } }, "untaggedTargetRepositories": { - "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", "type": "array", + "description": "List of strings of repository names to do a manifest only copy. No tag will be created.", "items": { "type": "string" } }, "mode": { + "type": "string", "description": "When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.", "default": "NoForce", "enum": [ "NoForce", "Force" ], - "type": "string", "x-ms-enum": { "name": "ImportMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "NoForce", + "value": "NoForce" + }, + { + "name": "Force", + "value": "Force" + } + ] } } - } + }, + "required": [ + "source" + ] }, "ImportSource": { - "required": [ - "sourceImage" - ], "type": "object", "properties": { "resourceId": { - "description": "The resource identifier of the source Azure Container Registry.", - "type": "string" + "type": "string", + "description": "The resource identifier of the source Azure Container Registry." }, "registryUri": { - "description": "The address of the source registry (e.g. 'mcr.microsoft.com').", - "type": "string" + "type": "string", + "description": "The address of the source registry (e.g. 'mcr.microsoft.com')." }, "credentials": { "$ref": "#/definitions/ImportSourceCredentials", "description": "Credentials used when importing from a registry uri." }, "sourceImage": { - "description": "Repository name of the source image.\r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123').", - "type": "string" + "type": "string", + "description": "Repository name of the source image.\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\nSpecify an image by tag ('hello-world:latest').\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123')." } - } + }, + "required": [ + "sourceImage" + ] }, "ImportSourceCredentials": { - "required": [ - "password" - ], "type": "object", "properties": { "username": { - "description": "The username to authenticate with the source registry.", - "type": "string" + "type": "string", + "description": "The username to authenticate with the source registry." }, "password": { - "description": "The password used to authenticate with the source registry.", - "type": "string" + "type": "string", + "description": "The password used to authenticate with the source registry." } - } + }, + "required": [ + "password" + ] }, - "OperationListResult": { - "description": "The result of a request to list container registry operations.", + "KeyVaultProperties": { "type": "object", "properties": { - "value": { - "description": "The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.", - "type": "array", - "items": { - "$ref": "#/definitions/OperationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] + "keyIdentifier": { + "type": "string", + "description": "Key vault uri to access the encryption key." }, - "nextLink": { - "description": "The URI that can be used to request the next list of container registry operations.", - "type": "string" - } - } + "versionedKeyIdentifier": { + "type": "string", + "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", + "readOnly": true + }, + "identity": { + "type": "string", + "description": "The client id of the identity which will be used to access key vault." + }, + "keyRotationEnabled": { + "type": "boolean", + "description": "Auto key rotation status for a CMK enabled registry.", + "readOnly": true + }, + "lastKeyRotationTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp of the last successful key rotation.", + "readOnly": true + } + } + }, + "LoggingProperties": { + "type": "object", + "description": "The logging properties of the connected registry.", + "properties": { + "logLevel": { + "type": "string", + "description": "The verbosity of logs persisted on the connected registry.", + "default": "Information", + "enum": [ + "Debug", + "Information", + "Warning", + "Error", + "None" + ], + "x-ms-enum": { + "name": "LogLevel", + "modelAsString": true, + "values": [ + { + "name": "Debug", + "value": "Debug" + }, + { + "name": "Information", + "value": "Information" + }, + { + "name": "Warning", + "value": "Warning" + }, + { + "name": "Error", + "value": "Error" + }, + { + "name": "None", + "value": "None" + } + ] + } + }, + "auditLogStatus": { + "type": "string", + "description": "Indicates whether audit logs are enabled on the connected registry.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AuditLogStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + } + } + }, + "LoginServerProperties": { + "type": "object", + "description": "The login server properties of the connected registry.", + "properties": { + "host": { + "type": "string", + "description": "The host of the connected registry. Can be FQDN or IP.", + "readOnly": true + }, + "tls": { + "$ref": "#/definitions/TlsProperties", + "description": "The TLS properties of the connected registry login server.", + "readOnly": true + } + } + }, + "NetworkRuleSet": { + "type": "object", + "description": "The network rule set for a container registry.", + "properties": { + "defaultAction": { + "type": "string", + "description": "The default action of allow or deny when no other rules match.", + "default": "Allow", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow" + }, + { + "name": "Deny", + "value": "Deny" + } + ] + } + }, + "ipRules": { + "type": "array", + "description": "The IP ACL rules.", + "items": { + "$ref": "#/definitions/IPRule" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "defaultAction" + ] }, "OperationDefinition": { - "description": "The definition of a container registry operation.", "type": "object", + "description": "The definition of a container registry operation.", "properties": { "origin": { - "description": "The origin information of the container registry operation.", - "type": "string" + "type": "string", + "description": "The origin information of the container registry operation." }, "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}." }, "display": { "$ref": "#/definitions/OperationDisplayDefinition", @@ -3805,36 +5227,101 @@ "x-ms-client-flatten": true }, "isDataAction": { - "description": "This property indicates if the operation is an action or a data action\r\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations", - "type": "boolean" + "type": "boolean", + "description": "This property indicates if the operation is an action or a data action\nref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations" } } }, "OperationDisplayDefinition": { - "description": "The display information for a container registry operation.", "type": "object", + "description": "The display information for a container registry operation.", "properties": { "provider": { - "description": "The resource provider name: Microsoft.ContainerRegistry.", - "type": "string" + "type": "string", + "description": "The resource provider name: Microsoft.ContainerRegistry." }, "resource": { - "description": "The resource on which the operation is performed.", - "type": "string" + "type": "string", + "description": "The resource on which the operation is performed." }, "operation": { - "description": "The operation that users can perform.", - "type": "string" + "type": "string", + "description": "The operation that users can perform." }, "description": { - "description": "The description for the operation.", - "type": "string" + "type": "string", + "description": "The description for the operation." + } + } + }, + "OperationListResult": { + "type": "object", + "description": "The result of a request to list container registry operations.", + "properties": { + "value": { + "type": "array", + "description": "The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.", + "items": { + "$ref": "#/definitions/OperationDefinition" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of container registry operations." + } + } + }, + "OperationLogSpecificationDefinition": { + "type": "object", + "description": "The definition of Azure Monitoring log.", + "properties": { + "name": { + "type": "string", + "description": "Log name." + }, + "displayName": { + "type": "string", + "description": "Log display name." + }, + "blobDuration": { + "type": "string", + "description": "Log blob duration." + } + } + }, + "OperationMetricSpecificationDefinition": { + "type": "object", + "description": "The definition of Azure Monitoring metric.", + "properties": { + "name": { + "type": "string", + "description": "Metric name." + }, + "displayName": { + "type": "string", + "description": "Metric display name." + }, + "displayDescription": { + "type": "string", + "description": "Metric description." + }, + "unit": { + "type": "string", + "description": "Metric unit." + }, + "aggregationType": { + "type": "string", + "description": "Metric aggregation type." + }, + "internalMetricName": { + "type": "string", + "description": "Internal metric name." } } }, "OperationPropertiesDefinition": { - "description": "The definition of Azure Monitoring properties.", "type": "object", + "description": "The definition of Azure Monitoring properties.", "properties": { "serviceSpecification": { "$ref": "#/definitions/OperationServiceSpecificationDefinition", @@ -3843,12 +5330,12 @@ } }, "OperationServiceSpecificationDefinition": { - "description": "The definition of Azure Monitoring list.", "type": "object", + "description": "The definition of Azure Monitoring list.", "properties": { "metricSpecifications": { - "description": "A list of Azure Monitoring metrics definition.", "type": "array", + "description": "A list of Azure Monitoring metrics definition.", "items": { "$ref": "#/definitions/OperationMetricSpecificationDefinition" }, @@ -3857,8 +5344,8 @@ ] }, "logSpecifications": { - "description": "A list of Azure Monitoring log definitions.", "type": "array", + "description": "A list of Azure Monitoring log definitions.", "items": { "$ref": "#/definitions/OperationLogSpecificationDefinition" }, @@ -3868,136 +5355,108 @@ } } }, - "OperationMetricSpecificationDefinition": { - "description": "The definition of Azure Monitoring metric.", + "ParentProperties": { "type": "object", + "description": "The properties of the connected registry parent.", "properties": { - "name": { - "description": "Metric name.", - "type": "string" - }, - "displayName": { - "description": "Metric display name.", - "type": "string" - }, - "displayDescription": { - "description": "Metric description.", - "type": "string" - }, - "unit": { - "description": "Metric unit.", - "type": "string" - }, - "aggregationType": { - "description": "Metric aggregation type.", - "type": "string" + "id": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of the parent to which the connected registry will be associated." }, - "internalMetricName": { - "description": "Internal metric name.", - "type": "string" + "syncProperties": { + "$ref": "#/definitions/SyncProperties", + "description": "The sync properties of the connected registry with its parent." } + }, + "required": [ + "syncProperties" + ] + }, + "PasswordName": { + "type": "string", + "description": "The password name.", + "enum": [ + "password", + "password2" + ], + "x-ms-enum": { + "name": "PasswordName", + "modelAsString": false } }, - "OperationLogSpecificationDefinition": { - "description": "The definition of Azure Monitoring log.", + "Policies": { "type": "object", + "description": "The policies for a container registry.", "properties": { - "name": { - "description": "Log name.", - "type": "string" + "quarantinePolicy": { + "$ref": "#/definitions/QuarantinePolicy", + "description": "The quarantine policy for a container registry." }, - "displayName": { - "description": "Log display name.", - "type": "string" + "trustPolicy": { + "$ref": "#/definitions/TrustPolicy", + "description": "The content trust policy for a container registry." }, - "blobDuration": { - "description": "Log blob duration.", - "type": "string" + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "The retention policy for a container registry." + }, + "exportPolicy": { + "$ref": "#/definitions/ExportPolicy", + "description": "The export policy for a container registry." + }, + "azureADAuthenticationAsArmPolicy": { + "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", + "description": "The policy for using Azure Resource Manager audience token for a container registry." } } }, - "RegistryNameCheckRequest": { - "description": "A request to check whether a container registry name is available.", - "required": [ - "name", - "type" - ], + "PrivateEndpoint": { "type": "object", + "description": "The Private Endpoint resource.", "properties": { - "name": { - "description": "The name of the container registry.", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "type": "string" - }, - "type": { - "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.", - "enum": [ - "Microsoft.ContainerRegistry/registries" - ], + "id": { "type": "string", - "x-ms-enum": { - "name": "ContainerRegistryResourceType", - "modelAsString": false - } + "description": "This is private endpoint resource created with Microsoft.Network resource provider." } } }, - "RegistryNameStatus": { - "description": "The result of a request to check the availability of a container registry name.", + "PrivateEndpointConnection": { "type": "object", + "description": "An object that represents a private endpoint connection for a container registry.", "properties": { - "nameAvailable": { - "description": "The value that indicates whether the name is available.", - "type": "boolean" - }, - "reason": { - "description": "If any, the reason that the name is not available.", - "type": "string" - }, - "message": { - "description": "If any, the error message that provides more detail for the reason that the name is not available.", - "type": "string" + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "The properties of a private endpoint connection.", + "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, "PrivateEndpointConnectionListResult": { - "description": "The result of a request to list private endpoint connections for a container registry.", "type": "object", + "description": "The result of a request to list private endpoint connections for a container registry.", "properties": { "value": { - "description": "The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections.", "type": "array", + "description": "The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections.", "items": { "$ref": "#/definitions/PrivateEndpointConnection" } }, "nextLink": { - "description": "The URI that can be used to request the next list of private endpoint connections.", - "type": "string" - } - } - }, - "PrivateEndpointConnection": { - "description": "An object that represents a private endpoint connection for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "description": "The properties of a private endpoint connection.", - "x-ms-client-flatten": true + "type": "string", + "description": "The URI that can be used to request the next list of private endpoint connections." } } }, "PrivateEndpointConnectionProperties": { - "description": "The properties of a private endpoint connection.", "type": "object", + "description": "The properties of a private endpoint connection.", "properties": { "privateEndpoint": { "$ref": "#/definitions/PrivateEndpoint", @@ -4008,99 +5467,162 @@ "description": "A collection of information about the state of the connection between service consumer and provider." }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of private endpoint connection resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true } } }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", + "PrivateLinkResourceListResult": { "type": "object", + "description": "The result of a request to list private link resources for a container registry.", "properties": { - "id": { - "description": "This is private endpoint resource created with Microsoft.Network resource provider.", - "type": "string" + "value": { + "type": "array", + "description": "The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources.", + "items": { + "$ref": "../../../../../../common-types/resource-management/v6/privatelinks.json#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of private link resources." } } }, "PrivateLinkServiceConnectionState": { - "description": "The state of a private link service connection.", "type": "object", + "description": "The state of a private link service connection.", "properties": { "status": { - "description": "The private link service connection status.", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ], - "type": "string", - "x-ms-enum": { - "name": "ConnectionStatus", - "modelAsString": true - } + "$ref": "#/definitions/ConnectionStatus", + "description": "The private link service connection status." }, "description": { - "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection.", - "type": "string" + "type": "string", + "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection." }, "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", + "$ref": "#/definitions/ActionsRequired", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning state of the archive at the time the operation was called.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + } + ] + } + }, + "PublicNetworkAccess": { + "type": "string", + "description": "Whether or not public network access is allowed for the container registry.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "QuarantinePolicy": { + "type": "object", + "description": "The quarantine policy for a container registry.", + "properties": { + "status": { + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", "enum": [ - "None", - "Recreate" + "enabled", + "disabled" ], - "type": "string", "x-ms-enum": { - "name": "ActionsRequired", - "modelAsString": true + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } } } }, - "RegistryListResult": { - "description": "The result of a request to list container registries.", + "RegenerateCredentialParameters": { "type": "object", + "description": "The parameters used to regenerate the login credential.", "properties": { - "value": { - "description": "The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.", - "type": "array", - "items": { - "$ref": "#/definitions/Registry" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of container registries.", - "type": "string" + "name": { + "$ref": "#/definitions/PasswordName", + "description": "Specifies name of the password which should be regenerated -- password or password2." } - } + }, + "required": [ + "name" + ] }, "Registry": { - "description": "An object that represents a container registry.", - "required": [ - "sku" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], + "description": "An object that represents a container registry.", "properties": { + "properties": { + "$ref": "#/definitions/RegistryProperties", + "description": "The properties of the container registry.", + "x-ms-client-flatten": true + }, "sku": { "$ref": "#/definitions/Sku", "description": "The SKU of the container registry." @@ -4108,83 +5630,172 @@ "identity": { "$ref": "#/definitions/IdentityProperties", "description": "The identity of the container registry." + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "RegistryListCredentialsResult": { + "type": "object", + "description": "The response from the ListCredentials operation.", + "properties": { + "username": { + "type": "string", + "description": "The username for a container registry." }, - "properties": { - "$ref": "#/definitions/RegistryProperties", - "description": "The properties of the container registry.", - "x-ms-client-flatten": true + "passwords": { + "type": "array", + "description": "The list of passwords for a container registry.", + "items": { + "$ref": "#/definitions/RegistryPassword" + }, + "x-ms-identifiers": [] } } }, - "Sku": { - "description": "The SKU of a container registry.", - "required": [ - "name" - ], + "RegistryListResult": { + "type": "object", + "description": "The result of a request to list container registries.", + "properties": { + "value": { + "type": "array", + "description": "The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.", + "items": { + "$ref": "#/definitions/Registry" + } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of container registries." + } + } + }, + "RegistryNameCheckRequest": { "type": "object", + "description": "A request to check whether a container registry name is available.", "properties": { "name": { - "description": "The SKU name of the container registry. Required for registry creation.", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], "type": "string", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } + "description": "The name of the container registry.", + "minLength": 5, + "maxLength": 50, + "pattern": "^[a-zA-Z0-9]*$" }, - "tier": { - "description": "The SKU tier based on the SKU name.", + "type": { + "$ref": "#/definitions/ContainerRegistryResourceType", + "description": "The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'." + }, + "resourceGroupName": { + "type": "string", + "description": "The resource group name of the container registry.", + "minLength": 1, + "maxLength": 90 + }, + "autoGeneratedDomainNameLabelScope": { + "type": "string", + "description": "The auto generated domain name label of the container registry. This value defaults to \"Unsecure\".", + "default": "Unsecure", "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" ], - "type": "string", - "readOnly": true, "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true, + "values": [ + { + "name": "Unsecure", + "value": "Unsecure" + }, + { + "name": "TenantReuse", + "value": "TenantReuse" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse" + }, + { + "name": "NoReuse", + "value": "NoReuse" + } + ] } } + }, + "required": [ + "name", + "type" + ] + }, + "RegistryNameStatus": { + "type": "object", + "description": "The result of a request to check the availability of a container registry name.", + "properties": { + "availableLoginServerName": { + "type": "string", + "description": "The complete login server name with domain name label (DNL) hash, if available" + }, + "nameAvailable": { + "type": "boolean", + "description": "The value that indicates whether the name is available." + }, + "reason": { + "type": "string", + "description": "If any, the reason that the name is not available." + }, + "message": { + "type": "string", + "description": "If any, the error message that provides more detail for the reason that the name is not available." + } + } + }, + "RegistryPassword": { + "type": "object", + "description": "The login password for the container registry.", + "properties": { + "name": { + "$ref": "#/definitions/PasswordName", + "description": "The password name." + }, + "value": { + "type": "string", + "description": "The password value." + } } }, "RegistryProperties": { - "description": "The properties of a container registry.", "type": "object", + "description": "The properties of a container registry.", "properties": { "loginServer": { - "description": "The URL that can be used to log into the container registry.", "type": "string", + "description": "The URL that can be used to log into the container registry.", "readOnly": true }, "creationDate": { + "type": "string", "format": "date-time", "description": "The creation date of the container registry in ISO8601 format.", - "type": "string", "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "The provisioning state of the container registry at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "readOnly": true }, "status": { "$ref": "#/definitions/Status", @@ -4192,9 +5803,9 @@ "readOnly": true }, "adminUserEnabled": { + "type": "boolean", "description": "The value that indicates whether the admin user is enabled.", - "default": false, - "type": "boolean" + "default": false }, "networkRuleSet": { "$ref": "#/definitions/NetworkRuleSet", @@ -4209,1888 +5820,1457 @@ "description": "The encryption settings of container registry." }, "dataEndpointEnabled": { - "description": "Enable a single data endpoint per region for serving data.", - "type": "boolean" + "type": "boolean", + "description": "Enable a single data endpoint per region for serving data." }, "dataEndpointHostNames": { - "description": "List of host names that will serve data when dataEndpointEnabled is true.", "type": "array", + "description": "List of host names that will serve data when dataEndpointEnabled is true.", "items": { "type": "string" }, "readOnly": true }, "privateEndpointConnections": { - "description": "List of private endpoint connections for a container registry.", "type": "array", + "description": "List of private endpoint connections for a container registry.", "items": { "$ref": "#/definitions/PrivateEndpointConnection" }, "readOnly": true }, "publicNetworkAccess": { + "type": "string", "description": "Whether or not public network access is allowed for the container registry.", "default": "Enabled", "enum": [ "Enabled", "Disabled" ], - "type": "string", "x-ms-enum": { "name": "PublicNetworkAccess", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, "networkRuleBypassOptions": { + "type": "string", "description": "Whether to allow trusted Azure services to access a network restricted registry.", "default": "AzureServices", "enum": [ "AzureServices", "None" ], - "type": "string", "x-ms-enum": { "name": "NetworkRuleBypassOptions", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "AzureServices", + "value": "AzureServices" + }, + { + "name": "None", + "value": "None" + } + ] } }, "networkRuleBypassAllowedForTasks": { + "type": "boolean", "description": "Whether or not Tasks allowed to bypass the network rules for this container registry.", - "default": false, - "type": "boolean" + "default": false }, "zoneRedundancy": { + "type": "string", "description": "Whether or not zone redundancy is enabled for this container registry", "default": "Disabled", "enum": [ "Enabled", "Disabled" ], - "type": "string", "x-ms-enum": { "name": "ZoneRedundancy", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, "anonymousPullEnabled": { + "type": "boolean", "description": "Enables registry-wide pull from unauthenticated clients.", - "default": false, - "type": "boolean" + "default": false + }, + "autoGeneratedDomainNameLabelScope": { + "type": "string", + "description": "Determines the domain name label reuse scope.", + "default": "Unsecure", + "enum": [ + "Unsecure", + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true, + "values": [ + { + "name": "Unsecure", + "value": "Unsecure" + }, + { + "name": "TenantReuse", + "value": "TenantReuse" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse" + }, + { + "name": "NoReuse", + "value": "NoReuse" + } + ] + } }, "roleAssignmentMode": { + "type": "string", "description": "Determines registry role assignment mode.", "default": "LegacyRegistryPermissions", "enum": [ "AbacRepositoryPermissions", "LegacyRegistryPermissions" ], - "type": "string", "x-ms-enum": { "name": "RoleAssignmentMode", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "AbacRepositoryPermissions", + "value": "AbacRepositoryPermissions" + }, + { + "name": "LegacyRegistryPermissions", + "value": "LegacyRegistryPermissions" + } + ] } } } }, - "Status": { - "description": "The status of an Azure resource at the time the operation was called.", + "RegistryPropertiesUpdateParameters": { "type": "object", + "description": "The parameters for updating the properties of a container registry.", "properties": { - "displayStatus": { - "description": "The short label for the status.", - "type": "string", - "readOnly": true + "adminUserEnabled": { + "type": "boolean", + "description": "The value that indicates whether the admin user is enabled." }, - "message": { - "description": "The detailed message for the status, including alerts and error messages.", - "type": "string", - "readOnly": true + "networkRuleSet": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "The network rule set for a container registry." }, - "timestamp": { - "format": "date-time", - "description": "The timestamp when the status was changed to the current value.", - "type": "string", - "readOnly": true - } - } - }, - "StatusDetailProperties": { - "description": "The status detail properties of the connected registry.", - "type": "object", - "properties": { - "type": { - "description": "The component of the connected registry corresponding to the status.", - "type": "string", - "readOnly": true + "policies": { + "$ref": "#/definitions/Policies", + "description": "The policies for a container registry." }, - "code": { - "description": "The code of the status.", - "type": "string", - "readOnly": true + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of container registry." }, - "description": { - "description": "The description of the status.", - "type": "string", - "readOnly": true + "dataEndpointEnabled": { + "type": "boolean", + "description": "Enable a single data endpoint per region for serving data." }, - "timestamp": { - "format": "date-time", - "description": "The timestamp of the status.", - "type": "string", - "readOnly": true + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Whether or not public network access is allowed for the container registry." }, - "correlationId": { - "description": "The correlation ID of the status.", + "networkRuleBypassOptions": { "type": "string", - "readOnly": true - } - } - }, - "StorageAccountProperties": { - "description": "The properties of a storage account for a container registry. Only applicable to Classic SKU.", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "The resource ID of the storage account.", - "type": "string" + "description": "Whether to allow trusted Azure services to access a network restricted registry.", + "default": "AzureServices", + "enum": [ + "AzureServices", + "None" + ], + "x-ms-enum": { + "name": "NetworkRuleBypassOptions", + "modelAsString": true, + "values": [ + { + "name": "AzureServices", + "value": "AzureServices" + }, + { + "name": "None", + "value": "None" + } + ] + } + }, + "networkRuleBypassAllowedForTasks": { + "type": "boolean", + "description": "Whether to allow ACR Tasks service to access a network restricted registry." + }, + "anonymousPullEnabled": { + "type": "boolean", + "description": "Enables registry-wide pull from unauthenticated clients." + }, + "roleAssignmentMode": { + "$ref": "#/definitions/RoleAssignmentMode", + "description": "Determines registry role assignment mode." } } }, - "SyncProperties": { - "description": "The sync properties of the connected registry with its parent.", - "required": [ - "tokenId", - "messageTtl" - ], + "RegistryUpdateParameters": { "type": "object", + "description": "The parameters for updating a container registry.", "properties": { - "tokenId": { - "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.", - "type": "string" - }, - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", - "type": "string" - }, - "syncWindow": { - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The identity of the container registry." }, - "messageTtl": { - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" + "tags": { + "type": "object", + "description": "The tags for the container registry.", + "additionalProperties": { + "type": "string" + } }, - "lastSyncTime": { - "format": "date-time", - "description": "The last time a sync occurred between the connected registry and its parent.", - "type": "string", - "readOnly": true + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the container registry." }, - "gatewayEndpoint": { - "description": "The gateway endpoint used by the connected registry to communicate with its parent.", - "type": "string", - "readOnly": true + "properties": { + "$ref": "#/definitions/RegistryPropertiesUpdateParameters", + "description": "The properties that the container registry will be updated with.", + "x-ms-client-flatten": true } } }, - "SyncUpdateProperties": { - "description": "The parameters for updating the sync properties of the connected registry with its parent.", + "RegistryUsage": { "type": "object", + "description": "The quota usage for a container registry.", "properties": { - "schedule": { - "description": "The cron expression indicating the schedule that the connected registry will sync with its parent.", - "type": "string" + "name": { + "type": "string", + "description": "The name of the usage." }, - "syncWindow": { - "format": "duration", - "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" + "limit": { + "type": "integer", + "format": "int64", + "description": "The limit of the usage." }, - "messageTtl": { - "format": "duration", - "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.", - "type": "string" + "currentValue": { + "type": "integer", + "format": "int64", + "description": "The current value of the usage." + }, + "unit": { + "$ref": "#/definitions/RegistryUsageUnit", + "description": "The unit of measurement." } } }, - "NetworkRuleSet": { - "description": "The network rule set for a container registry.", - "required": [ - "defaultAction" - ], + "RegistryUsageListResult": { "type": "object", + "description": "The result of a request to get container registry quota usages.", "properties": { - "defaultAction": { - "description": "The default action of allow or deny when no other rules match.", - "default": "Allow", - "enum": [ - "Allow", - "Deny" - ], - "type": "string", - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": true - } - }, - "ipRules": { - "description": "The IP ACL rules.", + "value": { "type": "array", + "description": "The list of container registry quota usages.", "items": { - "$ref": "#/definitions/IPRule" + "$ref": "#/definitions/RegistryUsage" }, - "x-ms-identifiers": [] + "x-ms-identifiers": [ + "name" + ] } } }, - "Policies": { - "description": "The policies for a container registry.", - "type": "object", - "properties": { - "quarantinePolicy": { - "$ref": "#/definitions/QuarantinePolicy", - "description": "The quarantine policy for a container registry." - }, - "trustPolicy": { - "$ref": "#/definitions/TrustPolicy", - "description": "The content trust policy for a container registry." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "The retention policy for a container registry." - }, - "exportPolicy": { - "$ref": "#/definitions/ExportPolicy", - "description": "The export policy for a container registry." - }, - "azureADAuthenticationAsArmPolicy": { - "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy", - "description": "The policy for using ARM audience token for a container registry." - } + "RegistryUsageUnit": { + "type": "string", + "description": "The unit of measurement.", + "enum": [ + "Count", + "Bytes" + ], + "x-ms-enum": { + "name": "RegistryUsageUnit", + "modelAsString": true, + "values": [ + { + "name": "Count", + "value": "Count" + }, + { + "name": "Bytes", + "value": "Bytes" + } + ] } }, - "EncryptionProperty": { + "Replication": { "type": "object", + "description": "An object that represents a replication for a container registry.", "properties": { - "status": { - "description": "Indicates whether or not the encryption is enabled for container registry.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "EncryptionStatus", - "modelAsString": true - } - }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", - "description": "Key vault properties." + "properties": { + "$ref": "#/definitions/ReplicationProperties", + "description": "The properties of the replication.", + "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] }, - "PackageType": { - "description": "The properties of a package type.", + "ReplicationListResult": { "type": "object", + "description": "The result of a request to list replications for a container registry.", "properties": { - "name": { - "description": "The name of the package type.", - "type": "string" + "value": { + "type": "array", + "description": "The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications.", + "items": { + "$ref": "#/definitions/Replication" + } }, - "endpoint": { - "description": "The endpoint of the package type.", + "nextLink": { "type": "string", - "readOnly": true + "description": "The URI that can be used to request the next list of replications." } } }, - "IPRule": { - "description": "IP rule with specific IP or IP range in CIDR format.", - "required": [ - "value" - ], + "ReplicationProperties": { "type": "object", + "description": "The properties of a replication.", "properties": { - "action": { - "description": "The action of IP ACL rule.", - "default": "Allow", + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the replication at the time the operation was called.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/Status", + "description": "The status of the replication at the time the operation was called.", + "readOnly": true + }, + "regionEndpointEnabled": { + "type": "boolean", + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", + "default": true + }, + "zoneRedundancy": { + "type": "string", + "description": "Whether or not zone redundancy is enabled for this container registry replication", + "default": "Disabled", "enum": [ - "Allow" + "Enabled", + "Disabled" ], - "type": "string", "x-ms-enum": { - "name": "Action", - "modelAsString": true + "name": "ZoneRedundancy", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } - }, - "value": { - "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.", - "type": "string", - "x-ms-client-name": "IPAddressOrRange" } } }, - "QuarantinePolicy": { - "description": "The quarantine policy for a container registry.", + "ReplicationUpdateParameters": { "type": "object", + "description": "The parameters for updating a replication.", "properties": { - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true + "tags": { + "type": "object", + "description": "The tags for the replication.", + "additionalProperties": { + "type": "string" } + }, + "properties": { + "$ref": "#/definitions/ReplicationUpdateParametersProperties", + "description": "The parameters for updating a replication's properties", + "x-ms-client-flatten": true } } }, - "TrustPolicy": { - "description": "The content trust policy for a container registry.", + "ReplicationUpdateParametersProperties": { "type": "object", "properties": { - "type": { - "description": "The type of trust policy.", - "default": "Notary", - "enum": [ - "Notary" - ], + "regionEndpointEnabled": { + "type": "boolean", + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications." + } + } + }, + "Request": { + "type": "object", + "description": "The request that generated the event.", + "properties": { + "id": { "type": "string", - "x-ms-enum": { - "name": "TrustPolicyType", - "modelAsString": true - } + "description": "The ID of the request that initiated the event." }, - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], + "addr": { "type": "string", - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } + "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request." + }, + "host": { + "type": "string", + "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests." + }, + "method": { + "type": "string", + "description": "The request method that generated the event." + }, + "useragent": { + "type": "string", + "description": "The user agent header of the request." } } }, + "ResourceIdentityType": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, "RetentionPolicy": { - "description": "The retention policy for a container registry.", "type": "object", + "description": "The retention policy for a container registry.", "properties": { "days": { + "type": "integer", "format": "int32", "description": "The number of days to retain an untagged manifest after which it gets purged.", - "default": 7, - "type": "integer" + "default": 7 }, "lastUpdatedTime": { + "type": "string", "format": "date-time", "description": "The timestamp when the policy was last updated.", - "type": "string", "readOnly": true }, "status": { + "type": "string", "description": "The value that indicates whether the policy is enabled or not.", "default": "disabled", "enum": [ "enabled", "disabled" ], - "type": "string", "x-ms-enum": { "name": "PolicyStatus", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } } } }, - "ExportPolicy": { - "description": "The export policy for a container registry.", + "RoleAssignmentMode": { + "type": "string", + "description": "Determines registry role assignment mode.", + "enum": [ + "AbacRepositoryPermissions", + "LegacyRegistryPermissions" + ], + "x-ms-enum": { + "name": "RoleAssignmentMode", + "modelAsString": true, + "values": [ + { + "name": "AbacRepositoryPermissions", + "value": "AbacRepositoryPermissions" + }, + { + "name": "LegacyRegistryPermissions", + "value": "LegacyRegistryPermissions" + } + ] + } + }, + "ScopeMap": { "type": "object", + "description": "An object that represents a scope map for a container registry.", "properties": { - "status": { - "description": "The value that indicates whether the policy is enabled or not.", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "ExportPolicyStatus", - "modelAsString": true + "properties": { + "$ref": "#/definitions/ScopeMapProperties", + "description": "The properties of the scope map.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ScopeMapListResult": { + "type": "object", + "description": "The result of a request to list scope maps for a container registry.", + "properties": { + "value": { + "type": "array", + "description": "The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.", + "items": { + "$ref": "#/definitions/ScopeMap" } + }, + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of scope maps." } } }, - "KeyVaultProperties": { + "ScopeMapProperties": { "type": "object", + "description": "The properties of a scope map.", "properties": { - "keyIdentifier": { - "description": "Key vault uri to access the encryption key.", - "type": "string" + "description": { + "type": "string", + "description": "The user friendly description of the scope map." }, - "versionedKeyIdentifier": { - "description": "The fully qualified key identifier that includes the version of the key that is actually used for encryption.", + "type": { "type": "string", + "description": "The type of the scope map. E.g. BuildIn scope map.", "readOnly": true }, - "identity": { - "description": "The client id of the identity which will be used to access key vault.", - "type": "string" - }, - "keyRotationEnabled": { - "description": "Auto key rotation status for a CMK enabled registry.", - "type": "boolean", + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of scope map.", "readOnly": true }, - "lastKeyRotationTimestamp": { - "format": "date-time", - "description": "Timestamp of the last successful key rotation.", - "type": "string", + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", "readOnly": true + }, + "actions": { + "type": "array", + "description": "The list of scoped permissions for registry artifacts.\nE.g. repositories/repository-name/content/read,\nrepositories/repository-name/metadata/write", + "items": { + "type": "string" + } } - } + }, + "required": [ + "actions" + ] }, - "RegistryUpdateParameters": { - "description": "The parameters for updating a container registry.", + "ScopeMapPropertiesUpdateParameters": { "type": "object", + "description": "The update parameters for scope map properties.", "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The identity of the container registry." + "description": { + "type": "string", + "description": "The user friendly description of the scope map." }, - "tags": { - "description": "The tags for the container registry.", - "type": "object", - "additionalProperties": { + "actions": { + "type": "array", + "description": "The list of scope permissions for registry artifacts.\nE.g. repositories/repository-name/pull,\nrepositories/repository-name/delete", + "items": { "type": "string" } - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The SKU of the container registry." - }, + } + } + }, + "ScopeMapUpdateParameters": { + "type": "object", + "description": "The properties for updating the scope map.", + "properties": { "properties": { - "$ref": "#/definitions/RegistryPropertiesUpdateParameters", - "description": "The properties that the container registry will be updated with.", + "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", + "description": "The update parameters for scope map properties.", "x-ms-client-flatten": true } } }, - "RegistryPropertiesUpdateParameters": { - "description": "The parameters for updating the properties of a container registry.", + "Sku": { "type": "object", + "description": "The SKU of a container registry.", "properties": { - "adminUserEnabled": { - "description": "The value that indicates whether the admin user is enabled.", - "type": "boolean" - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet", - "description": "The network rule set for a container registry." - }, - "policies": { - "$ref": "#/definitions/Policies", - "description": "The policies for a container registry." - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty", - "description": "The encryption settings of container registry." - }, - "dataEndpointEnabled": { - "description": "Enable a single data endpoint per region for serving data.", - "type": "boolean" - }, - "publicNetworkAccess": { - "description": "Whether or not public network access is allowed for the container registry.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } + "name": { + "$ref": "#/definitions/SkuName", + "description": "The SKU name of the container registry. Required for registry creation." }, - "networkRuleBypassOptions": { - "description": "Whether to allow trusted Azure services to access a network restricted registry.", - "default": "AzureServices", - "enum": [ - "AzureServices", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } - }, - "networkRuleBypassAllowedForTasks": { - "description": "Whether to allow ACR Tasks service to access a network restricted registry.", - "type": "boolean" - }, - "anonymousPullEnabled": { - "description": "Enables registry-wide pull from unauthenticated clients.", - "type": "boolean" - }, - "roleAssignmentMode": { - "description": "Determines registry role assignment mode.", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } + "tier": { + "$ref": "#/definitions/SkuTier", + "description": "The SKU tier based on the SKU name.", + "readOnly": true } + }, + "required": [ + "name" + ] + }, + "SkuName": { + "type": "string", + "description": "The SKU name of the container registry. Required for registry creation.", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "name": "Classic", + "value": "Classic" + }, + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Premium", + "value": "Premium" + } + ] } }, - "RegistryUsageListResult": { - "description": "The result of a request to get container registry quota usages.", - "type": "object", - "properties": { - "value": { - "description": "The list of container registry quota usages.", - "type": "array", - "items": { - "$ref": "#/definitions/RegistryUsage" + "SkuTier": { + "type": "string", + "description": "The SKU tier based on the SKU name.", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true, + "values": [ + { + "name": "Classic", + "value": "Classic" }, - "x-ms-identifiers": [ - "name" - ] - } + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Premium", + "value": "Premium" + } + ] } }, - "RegistryUsage": { - "description": "The quota usage for a container registry.", + "Source": { "type": "object", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", "properties": { - "name": { - "description": "The name of the usage.", - "type": "string" - }, - "limit": { - "format": "int64", - "description": "The limit of the usage.", - "type": "integer" - }, - "currentValue": { - "format": "int64", - "description": "The current value of the usage.", - "type": "integer" + "addr": { + "type": "string", + "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port." }, - "unit": { - "description": "The unit of measurement.", - "enum": [ - "Count", - "Bytes" - ], + "instanceID": { "type": "string", - "x-ms-enum": { - "name": "RegistryUsageUnit", - "modelAsString": true - } + "description": "The running instance of an application. Changes after each restart." } } }, - "PrivateLinkResourceListResult": { - "description": "The result of a request to list private link resources for a container registry.", + "Status": { "type": "object", + "description": "The status of an Azure resource at the time the operation was called.", "properties": { - "value": { - "description": "The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } + "displayStatus": { + "type": "string", + "description": "The short label for the status.", + "readOnly": true }, - "nextLink": { - "description": "The URI that can be used to request the next list of private link resources.", - "type": "string" + "message": { + "type": "string", + "description": "The detailed message for the status, including alerts and error messages.", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the status was changed to the current value.", + "readOnly": true } } }, - "PrivateLinkResource": { - "description": "A resource that supports private link capabilities.", + "StatusDetailProperties": { "type": "object", + "description": "The status detail properties of the connected registry.", "properties": { "type": { - "description": "The resource type is private link resource.", "type": "string", + "description": "The component of the connected registry corresponding to the status.", "readOnly": true }, - "id": { - "description": "The resource ID.", - "type": "string" + "code": { + "type": "string", + "description": "The HTTP status code.", + "readOnly": true }, - "name": { - "description": "The name of the resource.", - "type": "string" + "description": { + "type": "string", + "description": "The description of the status.", + "readOnly": true }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "A resource that supports private link capabilities.", - "x-ms-client-flatten": true + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The timestamp of the status.", + "readOnly": true + }, + "correlationId": { + "type": "string", + "description": "The correlation ID of the status.", + "readOnly": true } } }, - "PrivateLinkResourceProperties": { - "description": "The properties of a private link resource.", + "SyncProperties": { "type": "object", + "description": "The sync properties of the connected registry with its parent.", "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string" + "tokenId": { + "type": "string", + "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync." }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - } + "schedule": { + "type": "string", + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." }, - "requiredZoneNames": { - "description": "The private link resource Private link DNS zone name.", - "type": "array", - "items": { - "type": "string" - } + "syncWindow": { + "type": "string", + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "messageTtl": { + "type": "string", + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "lastSyncTime": { + "type": "string", + "format": "date-time", + "description": "The last time a sync occurred between the connected registry and its parent.", + "readOnly": true + }, + "gatewayEndpoint": { + "type": "string", + "description": "The gateway endpoint used by the connected registry to communicate with its parent.", + "readOnly": true } - } + }, + "required": [ + "tokenId", + "messageTtl" + ] }, - "RegistryListCredentialsResult": { - "description": "The response from the ListCredentials operation.", + "SyncUpdateProperties": { "type": "object", + "description": "The parameters for updating the sync properties of the connected registry with its parent.", "properties": { - "username": { - "description": "The username for a container registry.", - "type": "string" + "schedule": { + "type": "string", + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." }, - "passwords": { - "description": "The list of passwords for a container registry.", - "type": "array", - "items": { - "$ref": "#/definitions/RegistryPassword" - }, - "x-ms-identifiers": [] + "syncWindow": { + "type": "string", + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "messageTtl": { + "type": "string", + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." } } }, - "RegistryPassword": { - "description": "The login password for the container registry.", + "Target": { "type": "object", + "description": "The target of the event.", "properties": { + "mediaType": { + "type": "string", + "description": "The MIME type of the referenced object." + }, + "size": { + "type": "integer", + "format": "int64", + "description": "The number of bytes of the content. Same as Length field." + }, + "digest": { + "type": "string", + "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification." + }, + "length": { + "type": "integer", + "format": "int64", + "description": "The number of bytes of the content. Same as Size field." + }, + "repository": { + "type": "string", + "description": "The repository name." + }, + "url": { + "type": "string", + "description": "The direct URL to the content." + }, + "tag": { + "type": "string", + "description": "The tag name." + }, "name": { - "description": "The password name.", - "enum": [ - "password", - "password2" - ], "type": "string", - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } + "description": "The name of the artifact." }, - "value": { - "description": "The password value.", - "type": "string" + "version": { + "type": "string", + "description": "The version of the artifact." } } }, - "RegenerateCredentialParameters": { - "description": "The parameters used to regenerate the login credential.", - "required": [ - "name" - ], + "TlsCertificateProperties": { "type": "object", + "description": "The TLS certificate properties of the connected registry login server.", "properties": { - "name": { - "description": "Specifies name of the password which should be regenerated -- password or password2.", - "enum": [ - "password", - "password2" - ], + "type": { + "$ref": "#/definitions/CertificateType", + "description": "The type of certificate location.", + "readOnly": true + }, + "location": { "type": "string", - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } + "description": "Indicates the location of the certificates.", + "readOnly": true } } }, - "ReplicationListResult": { - "description": "The result of a request to list replications for a container registry.", + "TlsProperties": { "type": "object", + "description": "The TLS properties of the connected registry login server.", "properties": { - "value": { - "description": "The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications.", - "type": "array", - "items": { - "$ref": "#/definitions/Replication" - } + "status": { + "$ref": "#/definitions/TlsStatus", + "description": "Indicates whether HTTPS is enabled for the login server.", + "readOnly": true }, - "nextLink": { - "description": "The URI that can be used to request the next list of replications.", - "type": "string" - } + "certificate": { + "$ref": "#/definitions/TlsCertificateProperties", + "description": "The certificate used to configure HTTPS for the login server.", + "readOnly": true + } } }, - "Replication": { - "description": "An object that represents a replication for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } + "TlsStatus": { + "type": "string", + "description": "Indicates whether HTTPS is enabled for the login server.", + "enum": [ + "Enabled", + "Disabled" ], + "x-ms-enum": { + "name": "TlsStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "Token": { + "type": "object", + "description": "An object that represents a token for a container registry.", "properties": { "properties": { - "$ref": "#/definitions/ReplicationProperties", - "description": "The properties of the replication.", + "$ref": "#/definitions/TokenProperties", + "description": "The properties of the token.", "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] }, - "ReplicationProperties": { - "description": "The properties of a replication.", + "TokenCertificate": { "type": "object", + "description": "The properties of a certificate used for authenticating a token.", "properties": { - "provisioningState": { - "description": "The provisioning state of the replication at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "name": { + "$ref": "#/definitions/TokenCertificateName" }, - "status": { - "$ref": "#/definitions/Status", - "description": "The status of the replication at the time the operation was called.", - "readOnly": true + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry datetime of the certificate." }, - "regionEndpointEnabled": { - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", - "default": true, - "type": "boolean" + "thumbprint": { + "type": "string", + "description": "The thumbprint of the certificate." }, - "zoneRedundancy": { - "description": "Whether or not zone redundancy is enabled for this container registry replication", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], + "encodedPemCertificate": { "type": "string", - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } + "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token." } } }, - "ReplicationUpdateParameters": { - "description": "The parameters for updating a replication.", - "type": "object", - "properties": { - "tags": { - "description": "The tags for the replication.", - "type": "object", - "additionalProperties": { - "type": "string" + "TokenCertificateName": { + "type": "string", + "enum": [ + "certificate1", + "certificate2" + ], + "x-ms-enum": { + "name": "TokenCertificateName", + "modelAsString": true, + "values": [ + { + "name": "certificate1", + "value": "certificate1" + }, + { + "name": "certificate2", + "value": "certificate2" } - }, - "properties": { - "$ref": "#/definitions/ReplicationUpdateParametersProperties", - "description": "The parameters for updating a replication's properties", - "x-ms-client-flatten": true - } + ] } }, - "ReplicationUpdateParametersProperties": { + "TokenCredentialsProperties": { "type": "object", + "description": "The properties of the credentials that can be used for authenticating the token.", "properties": { - "regionEndpointEnabled": { - "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.", - "type": "boolean" + "certificates": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCertificate" + }, + "x-ms-identifiers": [ + "thumbprint" + ] + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + }, + "x-ms-identifiers": [] } } }, - "ScopeMapListResult": { - "description": "The result of a request to list scope maps for a container registry.", + "TokenListResult": { "type": "object", + "description": "The result of a request to list tokens for a container registry.", "properties": { "value": { - "description": "The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.", "type": "array", + "description": "The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens.", "items": { - "$ref": "#/definitions/ScopeMap" + "$ref": "#/definitions/Token" } }, "nextLink": { - "description": "The URI that can be used to request the next list of scope maps.", - "type": "string" + "type": "string", + "description": "The URI that can be used to request the next list of tokens." } } }, - "ScopeMap": { - "description": "An object that represents a scope map for a container registry.", + "TokenPassword": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "The password that will be used for authenticating the token of a container registry.", "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapProperties", - "description": "The properties of the scope map.", - "x-ms-client-flatten": true + "creationTime": { + "type": "string", + "format": "date-time", + "description": "The creation datetime of the password." + }, + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry datetime of the password." + }, + "name": { + "$ref": "#/definitions/TokenPasswordName", + "description": "The password name \"password1\" or \"password2\"" + }, + "value": { + "type": "string", + "description": "The password value.", + "readOnly": true } } }, - "ScopeMapProperties": { - "description": "The properties of a scope map.", - "required": [ - "actions" + "TokenPasswordName": { + "type": "string", + "description": "The password name \"password1\" or \"password2\"", + "enum": [ + "password1", + "password2" ], + "x-ms-enum": { + "name": "TokenPasswordName", + "modelAsString": true, + "values": [ + { + "name": "password1", + "value": "password1" + }, + { + "name": "password2", + "value": "password2" + } + ] + } + }, + "TokenProperties": { "type": "object", + "description": "The properties of a token.", "properties": { - "description": { - "description": "The user friendly description of the scope map.", - "type": "string" - }, - "type": { - "description": "The type of the scope map. E.g. BuildIn scope map.", - "type": "string", - "readOnly": true - }, "creationDate": { + "type": "string", "format": "date-time", "description": "The creation date of scope map.", - "type": "string", "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], + "readOnly": true + }, + "scopeMapId": { "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "description": "The resource ID of the scope map to which the token will be associated with." }, - "actions": { - "description": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write", - "type": "array", - "items": { - "type": "string" - } + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." + }, + "status": { + "$ref": "#/definitions/TokenStatus", + "description": "The status of the token example enabled or disabled." } } }, - "ScopeMapUpdateParameters": { - "description": "The properties for updating the scope map.", + "TokenStatus": { + "type": "string", + "description": "The status of the token example enabled or disabled.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "TokenStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] + } + }, + "TokenUpdateParameters": { "type": "object", + "description": "The parameters for updating a token.", "properties": { "properties": { - "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", - "description": "The update parameters for scope map properties.", + "$ref": "#/definitions/TokenUpdateProperties", + "description": "The properties of the token update parameters.", "x-ms-client-flatten": true } } }, - "ScopeMapPropertiesUpdateParameters": { - "description": "The update parameters for scope map properties.", + "TokenUpdateProperties": { "type": "object", + "description": "The parameters for updating token properties.", "properties": { - "description": { - "description": "The user friendly description of the scope map.", - "type": "string" + "scopeMapId": { + "type": "string", + "description": "The resource ID of the scope map to which the token will be associated with." }, - "actions": { - "description": "The list of scope permissions for registry artifacts.\r\nE.g. repositories/repository-name/pull, \r\nrepositories/repository-name/delete", - "type": "array", - "items": { - "type": "string" - } + "status": { + "$ref": "#/definitions/TokenStatus", + "description": "The status of the token example enabled or disabled." + }, + "credentials": { + "$ref": "#/definitions/TokenCredentialsProperties", + "description": "The credentials that can be used for authenticating the token." } } }, - "TlsCertificateProperties": { - "description": "The TLS certificate properties of the connected registry login server.", + "TrustPolicy": { "type": "object", + "description": "The content trust policy for a container registry.", "properties": { "type": { - "description": "The type of certificate location.", + "type": "string", + "description": "The type of trust policy.", + "default": "Notary", "enum": [ - "LocalDirectory" + "Notary" ], - "type": "string", - "readOnly": true, "x-ms-enum": { - "name": "CertificateType", - "modelAsString": true + "name": "TrustPolicyType", + "modelAsString": true, + "values": [ + { + "name": "Notary", + "value": "Notary" + } + ] } }, - "location": { - "description": "Indicates the location of the certificates.", - "type": "string", - "readOnly": true - } - } - }, - "TlsProperties": { - "description": "The TLS properties of the connected registry login server.", - "type": "object", - "properties": { "status": { - "description": "Indicates whether HTTPS is enabled for the login server.", + "type": "string", + "description": "The value that indicates whether the policy is enabled or not.", + "default": "disabled", "enum": [ - "Enabled", - "Disabled" + "enabled", + "disabled" ], - "type": "string", - "readOnly": true, "x-ms-enum": { - "name": "TlsStatus", - "modelAsString": true + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } - }, - "certificate": { - "$ref": "#/definitions/TlsCertificateProperties", - "description": "The certificate used to configure HTTPS for the login server.", - "readOnly": true } } }, - "TokenListResult": { - "description": "The result of a request to list tokens for a container registry.", + "UserIdentityProperties": { "type": "object", "properties": { - "value": { - "description": "The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens.", - "type": "array", - "items": { - "$ref": "#/definitions/Token" - } + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity.", + "readOnly": true }, - "nextLink": { - "description": "The URI that can be used to request the next list of tokens.", - "type": "string" + "clientId": { + "type": "string", + "description": "The client id of user assigned identity.", + "readOnly": true } } }, - "Token": { - "description": "An object that represents a token for a container registry.", + "Webhook": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], + "description": "An object that represents a webhook for a container registry.", "properties": { "properties": { - "$ref": "#/definitions/TokenProperties", - "description": "The properties of the token.", + "$ref": "#/definitions/WebhookProperties", + "description": "The properties of the webhook.", "x-ms-client-flatten": true } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "WebhookAction": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ], + "x-ms-enum": { + "name": "WebhookAction", + "modelAsString": true, + "values": [ + { + "name": "push", + "value": "push" + }, + { + "name": "delete", + "value": "delete" + }, + { + "name": "quarantine", + "value": "quarantine" + }, + { + "name": "chart_push", + "value": "chart_push" + }, + { + "name": "chart_delete", + "value": "chart_delete" + } + ] } }, - "TokenProperties": { - "description": "The properties of a token.", + "WebhookCreateParameters": { "type": "object", + "description": "The parameters for creating a webhook.", "properties": { - "creationDate": { - "format": "date-time", - "description": "The creation date of scope map.", - "type": "string", - "readOnly": true - }, - "provisioningState": { - "description": "Provisioning state of the resource.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true + "tags": { + "type": "object", + "description": "The tags for the webhook.", + "additionalProperties": { + "type": "string" } }, - "scopeMapId": { - "description": "The resource ID of the scope map to which the token will be associated with.", - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." - }, - "status": { - "description": "The status of the token example enabled or disabled.", - "enum": [ - "enabled", - "disabled" - ], + "location": { "type": "string", - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } + "description": "The location of the webhook. This cannot be changed after the resource is created." + }, + "properties": { + "$ref": "#/definitions/WebhookPropertiesCreateParameters", + "description": "The properties that the webhook will be created with.", + "x-ms-client-flatten": true } - } + }, + "required": [ + "location" + ] }, - "TokenCredentialsProperties": { - "description": "The properties of the credentials that can be used for authenticating the token.", + "WebhookListResult": { "type": "object", + "description": "The result of a request to list webhooks for a container registry.", "properties": { - "certificates": { + "value": { "type": "array", + "description": "The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.", "items": { - "$ref": "#/definitions/TokenCertificate" - }, - "x-ms-identifiers": [ - "thumbprint" - ] + "$ref": "#/definitions/Webhook" + } }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - }, - "x-ms-identifiers": [] + "nextLink": { + "type": "string", + "description": "The URI that can be used to request the next list of webhooks." } } }, - "ActiveDirectoryObject": { - "description": "The Active Directory Object that will be used for authenticating the token of a container registry.", + "WebhookProperties": { "type": "object", + "description": "The properties of a webhook.", "properties": { - "objectId": { - "description": "The user/group/application object ID for Active Directory Object that will be used for authenticating the token of a container registry.", - "type": "string" + "status": { + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." }, - "tenantId": { - "description": "The tenant ID of user/group/application object Active Directory Object that will be used for authenticating the token of a container registry.", - "type": "string" + "scope": { + "type": "string", + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." + }, + "actions": { + "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", + "items": { + "$ref": "#/definitions/WebhookAction" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the webhook at the time the operation was called.", + "readOnly": true } - } + }, + "required": [ + "actions" + ] }, - "TokenCertificate": { - "description": "The properties of a certificate used for authenticating a token.", + "WebhookPropertiesCreateParameters": { "type": "object", + "description": "The parameters for creating the properties of a webhook.", "properties": { - "name": { - "enum": [ - "certificate1", - "certificate2" - ], + "serviceUri": { "type": "string", - "x-ms-enum": { - "name": "TokenCertificateName", - "modelAsString": true - } + "format": "password", + "description": "The service URI for the webhook to post notifications.", + "x-ms-secret": true }, - "expiry": { - "format": "date-time", - "description": "The expiry datetime of the certificate.", - "type": "string" + "customHeaders": { + "type": "object", + "format": "password", + "description": "Custom headers that will be added to the webhook notifications.", + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true }, - "thumbprint": { - "description": "The thumbprint of the certificate.", - "type": "string" + "status": { + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." }, - "encodedPemCertificate": { - "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token.", - "type": "string" + "scope": { + "type": "string", + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." + }, + "actions": { + "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", + "items": { + "$ref": "#/definitions/WebhookAction" + } } - } + }, + "required": [ + "serviceUri", + "actions" + ] }, - "TokenPassword": { - "description": "The password that will be used for authenticating the token of a container registry.", + "WebhookPropertiesUpdateParameters": { "type": "object", + "description": "The parameters for updating the properties of a webhook.", "properties": { - "creationTime": { - "format": "date-time", - "description": "The creation datetime of the password.", - "type": "string" + "serviceUri": { + "type": "string", + "format": "password", + "description": "The service URI for the webhook to post notifications.", + "x-ms-secret": true }, - "expiry": { - "format": "date-time", - "description": "The expiry datetime of the password.", - "type": "string" + "customHeaders": { + "type": "object", + "format": "password", + "description": "Custom headers that will be added to the webhook notifications.", + "additionalProperties": { + "type": "string" + }, + "x-ms-secret": true }, - "name": { - "description": "The password name \"password1\" or \"password2\"", - "enum": [ - "password1", - "password2" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } + "status": { + "$ref": "#/definitions/WebhookStatus", + "description": "The status of the webhook at the time the operation was called." }, - "value": { - "description": "The password value.", + "scope": { "type": "string", - "readOnly": true + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." + }, + "actions": { + "type": "array", + "description": "The list of actions that trigger the webhook to post notifications.", + "items": { + "$ref": "#/definitions/WebhookAction" + } } } }, - "TokenUpdateParameters": { - "description": "The parameters for updating a token.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/TokenUpdateProperties", - "description": "The properties of the token update parameters.", - "x-ms-client-flatten": true - } + "WebhookStatus": { + "type": "string", + "description": "The status of the webhook at the time the operation was called.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "WebhookStatus", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled" + }, + { + "name": "disabled", + "value": "disabled" + } + ] } }, - "TokenUpdateProperties": { - "description": "The parameters for updating token properties.", + "WebhookUpdateParameters": { "type": "object", + "description": "The parameters for updating a webhook.", "properties": { - "scopeMapId": { - "description": "The resource ID of the scope map to which the token will be associated with.", - "type": "string" - }, - "status": { - "description": "The status of the token example enabled or disabled.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true + "tags": { + "type": "object", + "description": "The tags for the webhook.", + "additionalProperties": { + "type": "string" } }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties", - "description": "The credentials that can be used for authenticating the token." - } - } - }, - "GenerateCredentialsParameters": { - "description": "The parameters used to generate credentials for a specified token or user of a container registry.", - "type": "object", - "properties": { - "tokenId": { - "description": "The resource ID of the token for which credentials have to be generated.", - "type": "string" - }, - "expiry": { - "format": "date-time", - "description": "The expiry date of the generated credentials after which the credentials become invalid.", - "type": "string" - }, - "name": { - "description": "Specifies name of the password which should be regenerated if any -- password1 or password2.", - "enum": [ - "password1", - "password2" - ], - "type": "string", - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } - } - } - }, - "GenerateCredentialsResult": { - "description": "The response from the GenerateCredentials operation.", - "type": "object", - "properties": { - "username": { - "description": "The username for a container registry.", - "type": "string" - }, - "passwords": { - "description": "The list of passwords for a container registry.", - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - }, - "x-ms-identifiers": [] - } - } - }, - "WebhookListResult": { - "description": "The result of a request to list webhooks for a container registry.", - "type": "object", - "properties": { - "value": { - "description": "The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks.", - "type": "array", - "items": { - "$ref": "#/definitions/Webhook" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of webhooks.", - "type": "string" - } - } - }, - "Webhook": { - "description": "An object that represents a webhook for a container registry.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/WebhookProperties", - "description": "The properties of the webhook.", - "x-ms-client-flatten": true - } - } - }, - "WebhookProperties": { - "description": "The properties of a webhook.", - "required": [ - "actions" - ], - "type": "object", - "properties": { - "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" - }, - "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", - "type": "array", - "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - }, - "provisioningState": { - "description": "The provisioning state of the webhook at the time the operation was called.", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - } - }, - "WebhookCreateParameters": { - "description": "The parameters for creating a webhook.", - "required": [ - "location" - ], - "type": "object", - "properties": { - "tags": { - "description": "The tags for the webhook.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "location": { - "description": "The location of the webhook. This cannot be changed after the resource is created.", - "type": "string" - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesCreateParameters", - "description": "The properties that the webhook will be created with.", - "x-ms-client-flatten": true - } - } - }, - "WebhookPropertiesCreateParameters": { - "description": "The parameters for creating the properties of a webhook.", - "required": [ - "serviceUri", - "actions" - ], - "type": "object", - "properties": { - "serviceUri": { - "description": "The service URI for the webhook to post notifications.", - "type": "string", - "x-ms-secret": true - }, - "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-secret": true - }, - "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" - }, - "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", - "type": "array", - "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - } - }, - "WebhookUpdateParameters": { - "description": "The parameters for updating a webhook.", - "type": "object", - "properties": { - "tags": { - "description": "The tags for the webhook.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesUpdateParameters", - "description": "The properties that the webhook will be updated with.", - "x-ms-client-flatten": true - } - } - }, - "WebhookPropertiesUpdateParameters": { - "description": "The parameters for updating the properties of a webhook.", - "type": "object", - "properties": { - "serviceUri": { - "description": "The service URI for the webhook to post notifications.", - "type": "string", - "x-ms-secret": true - }, - "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-secret": true - }, - "status": { - "description": "The status of the webhook at the time the operation was called.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.", - "type": "string" - }, - "actions": { - "description": "The list of actions that trigger the webhook to post notifications.", - "type": "array", - "items": { - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - } - }, - "EventInfo": { - "description": "The basic information of an event.", - "type": "object", - "properties": { - "id": { - "description": "The event ID.", - "type": "string" - } - } - }, - "EventListResult": { - "description": "The result of a request to list events for a webhook.", - "type": "object", - "properties": { - "value": { - "description": "The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.", - "type": "array", - "items": { - "$ref": "#/definitions/Event" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of events.", - "type": "string" - } - } - }, - "Event": { - "description": "The event for a webhook.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EventInfo" - } - ], - "properties": { - "eventRequestMessage": { - "$ref": "#/definitions/EventRequestMessage", - "description": "The event request message sent to the service URI." - }, - "eventResponseMessage": { - "$ref": "#/definitions/EventResponseMessage", - "description": "The event response message received from the service URI." - } - } - }, - "EventRequestMessage": { - "description": "The event request message sent to the service URI.", - "type": "object", - "properties": { - "content": { - "$ref": "#/definitions/EventContent", - "description": "The content of the event request message." - }, - "headers": { - "description": "The headers of the event request message.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "method": { - "description": "The HTTP method used to send the event request message.", - "type": "string" - }, - "requestUri": { - "description": "The URI used to send the event request message.", - "type": "string" - }, - "version": { - "description": "The HTTP message version.", - "type": "string" - } - } - }, - "EventResponseMessage": { - "description": "The event response message received from the service URI.", - "type": "object", - "properties": { - "content": { - "description": "The content of the event response message.", - "type": "string" - }, - "headers": { - "description": "The headers of the event response message.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "reasonPhrase": { - "description": "The reason phrase of the event response message.", - "type": "string" - }, - "statusCode": { - "description": "The status code of the event response message.", - "type": "string" - }, - "version": { - "description": "The HTTP message version.", - "type": "string" - } - } - }, - "EventContent": { - "description": "The content of the event request message.", - "type": "object", - "properties": { - "id": { - "description": "The event ID.", - "type": "string" - }, - "timestamp": { - "format": "date-time", - "description": "The time at which the event occurred.", - "type": "string" - }, - "action": { - "description": "The action that encompasses the provided event.", - "type": "string" - }, - "target": { - "$ref": "#/definitions/Target", - "description": "The target of the event." - }, - "request": { - "$ref": "#/definitions/Request", - "description": "The request that generated the event." - }, - "actor": { - "$ref": "#/definitions/Actor", - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." - }, - "source": { - "$ref": "#/definitions/Source", - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." - } - } - }, - "Target": { - "description": "The target of the event.", - "type": "object", - "properties": { - "mediaType": { - "description": "The MIME type of the referenced object.", - "type": "string" - }, - "size": { - "format": "int64", - "description": "The number of bytes of the content. Same as Length field.", - "type": "integer" - }, - "digest": { - "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification.", - "type": "string" - }, - "length": { - "format": "int64", - "description": "The number of bytes of the content. Same as Size field.", - "type": "integer" - }, - "repository": { - "description": "The repository name.", - "type": "string" - }, - "url": { - "description": "The direct URL to the content.", - "type": "string" - }, - "tag": { - "description": "The tag name.", - "type": "string" - }, - "name": { - "description": "The name of the artifact.", - "type": "string" - }, - "version": { - "description": "The version of the artifact.", - "type": "string" - } - } - }, - "Request": { - "description": "The request that generated the event.", - "type": "object", - "properties": { - "id": { - "description": "The ID of the request that initiated the event.", - "type": "string" - }, - "addr": { - "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.", - "type": "string" - }, - "host": { - "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.", - "type": "string" - }, - "method": { - "description": "The request method that generated the event.", - "type": "string" - }, - "useragent": { - "description": "The user agent header of the request.", - "type": "string" - } - } - }, - "Actor": { - "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", - "type": "object", - "properties": { - "name": { - "description": "The subject or username associated with the request context that generated the event.", - "type": "string" - } - } - }, - "Source": { - "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", - "type": "object", - "properties": { - "addr": { - "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.", - "type": "string" - }, - "instanceID": { - "description": "The running instance of an application. Changes after each restart.", - "type": "string" - } - } - }, - "CallbackConfig": { - "description": "The configuration of service URI and custom headers for the webhook.", - "required": [ - "serviceUri" - ], - "type": "object", - "properties": { - "serviceUri": { - "description": "The service URI for the webhook to post notifications.", - "type": "string" - }, - "customHeaders": { - "description": "Custom headers that will be added to the webhook notifications.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "properties": { + "$ref": "#/definitions/WebhookPropertiesUpdateParameters", + "description": "The properties that the webhook will be updated with.", + "x-ms-client-flatten": true } } } }, - "parameters": { - "RegistryNameParameter": { - "name": "registryName", - "in": "path", - "description": "The name of the container registry.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "WebhookNameParameter": { - "name": "webhookName", - "in": "path", - "description": "The name of the webhook.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ReplicationNameParameter": { - "name": "replicationName", - "in": "path", - "description": "The name of the replication.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ScopeMapNameParameter": { - "name": "scopeMapName", - "in": "path", - "description": "The name of the scope map.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-_]*$", - "x-ms-parameter-location": "method" - }, - "TokenNameParameter": { - "name": "tokenName", - "in": "path", - "description": "The name of the token.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "PrivateEndpointConnectionNameParameter": { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "GroupNameParameter": { - "name": "groupName", - "in": "path", - "description": "The name of the private link resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "ConnectedRegistryNameParameter": { - "in": "path", - "name": "connectedRegistryName", - "description": "The name of the connected registry.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ConnectedRegistryFilterParameter": { - "in": "query", - "name": "$filter", - "description": "An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq.", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, - "CredentialSetNameParameter": { - "name": "credentialSetName", - "in": "path", - "description": "The name of the credential set.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - }, - "CacheRuleNameParameter": { - "name": "cacheRuleName", - "in": "path", - "description": "The name of the cache rule.", - "required": true, - "type": "string", - "maxLength": 50, - "minLength": 5, - "pattern": "^[a-zA-Z0-9-]*$", - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] + "parameters": {} } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleCreate.json index 732ed04609f9..eec9032d1c29 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleCreate.json @@ -1,4 +1,6 @@ { + "title": "CacheRuleCreate", + "operationId": "CacheRules_Create", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -47,3 +49,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleDelete.json index 0a9e0a150c46..4ab1206f586b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleDelete.json @@ -1,4 +1,6 @@ { + "title": "CacheRuleDelete", + "operationId": "CacheRules_Delete", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -15,3 +17,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleGet.json index e73d29354e7b..83c925e309ed 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleGet.json @@ -1,4 +1,6 @@ { + "title": "CacheRuleGet", + "operationId": "CacheRules_Get", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -23,3 +25,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleList.json index 5bf9730bea2e..79bf583283ca 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleList.json @@ -1,4 +1,6 @@ { + "title": "CacheRuleList", + "operationId": "CacheRules_List", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -26,3 +28,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleUpdate.json index b0dc94f35b03..aba86a6e4a73 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleUpdate.json @@ -1,4 +1,6 @@ { + "title": "CacheRuleUpdate", + "operationId": "CacheRules_Update", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -45,3 +47,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryCreate.json index 81ac909f10f0..5a8b73390b78 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryCreate.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryCreate", + "operationId": "ConnectedRegistries_Create", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -108,3 +110,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDeactivate.json index 3d2637aa3b0e..ed55b29a5d44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDeactivate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDeactivate.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryDeactivate", + "operationId": "ConnectedRegistries_Deactivate", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -15,3 +17,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDelete.json index 06ddade1401d..1774091a9d64 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDelete.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryDelete", + "operationId": "ConnectedRegistries_Delete", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryGet.json index 6fc863da4f70..b9d713e0e7d7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryGet.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryGet", + "operationId": "ConnectedRegistries_Get", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -45,3 +47,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryList.json index c9f6ba61f676..a47ff01ae2ae 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryList.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryList", + "operationId": "ConnectedRegistries_List", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -48,3 +50,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryUpdate.json index 8398ec8723fd..ac3ccf4a43fe 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryUpdate.json @@ -1,4 +1,6 @@ { + "title": "ConnectedRegistryUpdate", + "operationId": "ConnectedRegistries_Update", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -105,3 +107,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetCreate.json index eeb9b831a038..afc47c6a7ae6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetCreate.json @@ -1,4 +1,6 @@ { + "title": "CredentialSetCreate", + "operationId": "CredentialSets_Create", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -81,3 +83,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetDelete.json index 5fa68f0526ab..6c9964d4e887 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetDelete.json @@ -1,4 +1,6 @@ { + "title": "CredentialSetDelete", + "operationId": "CredentialSets_Delete", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -15,3 +17,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetGet.json index efeabc090850..2877301fc18d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetGet.json @@ -1,4 +1,6 @@ { + "title": "CredentialSetGet", + "operationId": "CredentialSets_Get", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -36,3 +38,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetList.json index 4525f31d3c3f..f85c2538261c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetList.json @@ -1,4 +1,6 @@ { + "title": "CredentialSetList", + "operationId": "CredentialSets_List", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -39,3 +41,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetUpdate.json index d58dc524e9b1..86f48d3b85ec 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetUpdate.json @@ -1,4 +1,6 @@ { + "title": "CredentialSetUpdate", + "operationId": "CredentialSets_Update", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -77,3 +79,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByManifestDigest.json index ff146e8d9b0d..19e50919191c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByManifestDigest.json @@ -1,4 +1,6 @@ { + "title": "ImportImageByManifestDigest", + "operationId": "Registries_ImportImage", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -27,3 +29,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByTag.json index b59502cff0d5..b3096752d941 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByTag.json @@ -1,4 +1,6 @@ { + "title": "ImportImageByTag", + "operationId": "Registries_ImportImage", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -27,3 +29,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageFromPublicRegistry.json index 198e5cecfcf5..9713b923d7c6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageFromPublicRegistry.json @@ -1,4 +1,6 @@ { + "title": "ImportImageFromPublicRegistry", + "operationId": "Registries_ImportImage", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -27,3 +29,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/OperationList.json index 92b3f844a161..a6b9b527bf73 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/OperationList.json @@ -1,4 +1,6 @@ { + "title": "OperationList", + "operationId": "Operations_List", "parameters": { "api-version": "2025-11-01" }, @@ -20,3 +22,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionCreateOrUpdate.json index 11400c22b007..116330e0e614 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionCreateOrUpdate.json @@ -1,4 +1,6 @@ { + "title": "PrivateEndpointConnectionCreateOrUpdate", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -56,3 +58,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionDelete.json index 5959edc51e06..8dff05128df4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionDelete.json @@ -1,4 +1,6 @@ { + "title": "PrivateEndpointConnectionDelete", + "operationId": "PrivateEndpointConnections_Delete", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionGet.json index 7cbb9a4d8c83..23165c4a1219 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionGet.json @@ -1,4 +1,6 @@ { + "title": "PrivateEndpointConnectionGet", + "operationId": "PrivateEndpointConnections_Get", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -27,3 +29,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionList.json index 4dba0da4651e..4e7942f132a8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionList.json @@ -1,4 +1,6 @@ { + "title": "PrivateEndpointConnectionList", + "operationId": "PrivateEndpointConnections_List", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -30,3 +32,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameAvailable.json index 7ac0958c2506..d612339e916b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameAvailable.json @@ -1,4 +1,6 @@ { + "title": "RegistryCheckNameAvailable", + "operationId": "Registries_CheckNameAvailability", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -15,3 +17,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameNotAvailable.json index 144610555ff3..089e77769c41 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameNotAvailable.json @@ -1,4 +1,6 @@ { + "title": "RegistryCheckNameNotAvailable", + "operationId": "Registries_CheckNameAvailability", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -17,3 +19,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreate.json index 259fb69a3ec7..400133fb849b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreate.json @@ -1,4 +1,6 @@ { + "title": "RegistryCreate", + "operationId": "Registries_Create", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -136,3 +138,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateAbac.json index fdfa29f11859..4866cab75f23 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateAbac.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateAbac.json @@ -1,4 +1,6 @@ { + "title": "RegistryCreateAbac", + "operationId": "Registries_Create", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -130,3 +132,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateZoneRedundant.json index 46d440faa639..093f4a690d4e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateZoneRedundant.json @@ -1,4 +1,6 @@ { + "title": "RegistryCreateZoneRedundant", + "operationId": "Registries_Create", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -139,3 +141,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryDelete.json index 069d357ac896..75f8ebeb17a7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryDelete.json @@ -1,4 +1,6 @@ { + "title": "RegistryDelete", + "operationId": "Registries_Delete", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -15,3 +17,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGenerateCredentials.json index d29394fedb9e..72317cbdc846 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGenerateCredentials.json @@ -1,4 +1,6 @@ { + "title": "RegistryGenerateCredentials", + "operationId": "Registries_GenerateCredentials", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -34,3 +36,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGet.json index cf9e28c99a75..cd1d00dcf99b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGet.json @@ -1,4 +1,6 @@ { + "title": "RegistryGet", + "operationId": "Registries_Get", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -66,3 +68,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGetPrivateLinkResource.json index 93c73544235d..4e75def514a8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGetPrivateLinkResource.json @@ -1,4 +1,6 @@ { + "title": "RegistryGetPrivateLinkResource", + "operationId": "Registries_GetPrivateLinkResource", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -26,3 +28,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryList.json index db7e4f72b969..0705ff77cd48 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryList.json @@ -1,4 +1,6 @@ { + "title": "RegistryList", + "operationId": "Registries_List", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -68,3 +70,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListByResourceGroup.json index 5b8d80e5497b..a767b33ad277 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListByResourceGroup.json @@ -1,4 +1,6 @@ { + "title": "RegistryListByResourceGroup", + "operationId": "Registries_ListByResourceGroup", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -69,3 +71,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListCredentials.json index 191f271dc232..7bf7113a89df 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListCredentials.json @@ -1,4 +1,6 @@ { + "title": "RegistryListCredentials", + "operationId": "Registries_ListCredentials", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -23,3 +25,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListPrivateLinkResources.json index 32858a903977..208f43f4bce5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListPrivateLinkResources.json @@ -1,4 +1,6 @@ { + "title": "RegistryListPrivateLinkResources", + "operationId": "Registries_ListPrivateLinkResources", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -29,3 +31,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListUsages.json index 6e1710141950..2c3ae8463f1a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListUsages.json @@ -1,4 +1,6 @@ { + "title": "RegistryListUsages", + "operationId": "Registries_ListUsages", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -26,3 +28,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryRegenerateCredential.json index 67d02abd2b10..3fc50384156a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryRegenerateCredential.json @@ -1,4 +1,6 @@ { + "title": "RegistryRegenerateCredential", + "operationId": "Registries_RegenerateCredential", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -26,3 +28,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryUpdate.json index 530d25b0a151..6191297ab5c5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryUpdate.json @@ -1,4 +1,6 @@ { + "title": "RegistryUpdate", + "operationId": "Registries_Update", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -139,3 +141,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreate.json index cb31ff4a2af2..ae117a54a6e6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreate.json @@ -1,4 +1,6 @@ { + "title": "ReplicationCreate", + "operationId": "Replications_Create", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -60,3 +62,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreateZoneRedundant.json index bace793c2a47..380c6ed8e1f1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreateZoneRedundant.json @@ -1,4 +1,6 @@ { + "title": "ReplicationCreateZoneRedundant", + "operationId": "Replications_Create", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -64,3 +66,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationDelete.json index 67111ebbb508..57f8b9f1b224 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationDelete.json @@ -1,4 +1,6 @@ { + "title": "ReplicationDelete", + "operationId": "Replications_Delete", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationGet.json index 7a15d79b3b1b..ffc508a10bd6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationGet.json @@ -1,4 +1,6 @@ { + "title": "ReplicationGet", + "operationId": "Replications_Get", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -30,3 +32,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationList.json index 8f51e46ac233..ac8ca518de08 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationList.json @@ -1,4 +1,6 @@ { + "title": "ReplicationList", + "operationId": "Replications_List", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -33,3 +35,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationUpdate.json index 20f0dd6441ba..3bc8d87acaa6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationUpdate.json @@ -1,4 +1,6 @@ { + "title": "ReplicationUpdate", + "operationId": "Replications_Update", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -59,3 +61,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapCreate.json index a57f9a14dea3..db3ea6267fd1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapCreate.json @@ -1,4 +1,6 @@ { + "title": "ScopeMapCreate", + "operationId": "ScopeMaps_Create", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -53,3 +55,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapDelete.json index e10bfac03403..261ebd2cddca 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapDelete.json @@ -1,4 +1,6 @@ { + "title": "ScopeMapDelete", + "operationId": "ScopeMaps_Delete", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapGet.json index a39fc8bf37f0..2641c1f86d08 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapGet.json @@ -1,4 +1,6 @@ { + "title": "ScopeMapGet", + "operationId": "ScopeMaps_Get", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -25,3 +27,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapList.json index c1392019dfd9..a49032acaae0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapList.json @@ -1,4 +1,6 @@ { + "title": "ScopeMapList", + "operationId": "ScopeMaps_List", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -28,3 +30,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapUpdate.json index b045a53a9921..fa25870e059e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapUpdate.json @@ -1,4 +1,6 @@ { + "title": "ScopeMapUpdate", + "operationId": "ScopeMaps_Update", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -53,3 +55,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenCreate.json index c861d4a445d7..9dd53b11cbd3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenCreate.json @@ -1,4 +1,6 @@ { + "title": "TokenCreate", + "operationId": "Tokens_Create", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -70,3 +72,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenDelete.json index 025f6912b112..234c2465912a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenDelete.json @@ -1,4 +1,6 @@ { + "title": "TokenDelete", + "operationId": "Tokens_Delete", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenGet.json index 491a01c74753..2df8103af04c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenGet.json @@ -1,4 +1,6 @@ { + "title": "TokenGet", + "operationId": "Tokens_Get", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -22,3 +24,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenList.json index 5c417000cf0b..fcafd67fce91 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenList.json @@ -1,4 +1,6 @@ { + "title": "TokenList", + "operationId": "Tokens_List", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -25,3 +27,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenUpdate.json index ff31143b0fdb..62fd51c680da 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenUpdate.json @@ -1,4 +1,6 @@ { + "title": "TokenUpdate", + "operationId": "Tokens_Update", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -67,3 +69,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookCreate.json index 4804d42f8a5e..0e0125330ca0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookCreate.json @@ -1,4 +1,6 @@ { + "title": "WebhookCreate", + "operationId": "Webhooks_Create", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -67,3 +69,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookDelete.json index 01e232cc0f92..b2a96652e20d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookDelete.json @@ -1,4 +1,6 @@ { + "title": "WebhookDelete", + "operationId": "Webhooks_Delete", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -16,3 +18,4 @@ "204": {} } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGet.json index 1dcbcb5278f0..6a383ce7db73 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGet.json @@ -1,4 +1,6 @@ { + "title": "WebhookGet", + "operationId": "Webhooks_Get", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -28,3 +30,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGetCallbackConfig.json index d060dde19307..5a263aa534be 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGetCallbackConfig.json @@ -1,4 +1,6 @@ { + "title": "WebhookGetCallbackConfig", + "operationId": "Webhooks_GetCallbackConfig", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -17,3 +19,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookList.json index 49b7e6d18fc7..89954c5715d4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookList.json @@ -1,4 +1,6 @@ { + "title": "WebhookList", + "operationId": "Webhooks_List", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -31,3 +33,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookListEvents.json index 56c08b79505b..e9b7825952a9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookListEvents.json @@ -1,4 +1,6 @@ { + "title": "WebhookListEvents", + "operationId": "Webhooks_ListEvents", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -61,3 +63,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookPing.json index 12cd47edd062..1c19af305e09 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookPing.json @@ -1,4 +1,6 @@ { + "title": "WebhookPing", + "operationId": "Webhooks_Ping", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -14,3 +16,4 @@ } } } + diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookUpdate.json index abc3d8e84af1..350d3c679327 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookUpdate.json @@ -1,4 +1,6 @@ { + "title": "WebhookUpdate", + "operationId": "Webhooks_Update", "parameters": { "api-version": "2025-11-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", @@ -66,3 +68,4 @@ } } } + From cc11b7f5e22790901eaaeb964bbb84f16589a1bb Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Wed, 15 Oct 2025 17:42:45 +0800 Subject: [PATCH 28/41] Update models.tsp --- .../Registry/models.tsp | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp index 275d85b1a916..d66ed7a22c48 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp @@ -2,12 +2,14 @@ import "@typespec/rest"; import "@typespec/http"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/versioning"; using TypeSpec.Rest; using TypeSpec.Http; using Azure.Core; using Azure.ResourceManager; using Azure.ResourceManager.Foundations; +using TypeSpec.Versioning; namespace Microsoft.ContainerRegistry; @@ -179,6 +181,7 @@ union CredentialHealthStatus { } #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@removed(Versions.v2025_11_01) union PipelineOptions { string, #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@ -205,6 +208,7 @@ union ImportMode { /** * The type of source for the import pipeline. */ +@removed(Versions.v2025_11_01) union PipelineSourceType { string, #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@ -225,6 +229,7 @@ union TriggerStatus { /** * The storage access mode used for the customer storage account. */ +@removed(Versions.v2025_11_01) union StorageAccessMode { string, @@ -255,6 +260,7 @@ union AutoGeneratedDomainNameLabelScope { /** * The type of the source. */ +@removed(Versions.v2025_11_01) union PipelineRunSourceType { string, #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@ -264,6 +270,7 @@ union PipelineRunSourceType { /** * The type of the target. */ +@removed(Versions.v2025_11_01) union PipelineRunTargetType { string, #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@ -435,6 +442,7 @@ union ZoneRedundancy { /** * Determines whether registry artifacts are indexed for metadata search. */ +@removed(Versions.v2025_11_01) union MetadataSearch { string, #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@ -545,6 +553,7 @@ enum PasswordName { /** * The properties of a archive. */ +@removed(Versions.v2025_11_01) model ArchiveProperties { /** * The package source of the archive. @@ -573,6 +582,7 @@ model ArchiveProperties { /** * The properties of the archive package source. */ +@removed(Versions.v2025_11_01) model ArchivePackageSourceProperties { /** * The type of package source for a archive. @@ -654,6 +664,7 @@ model SystemData { /** * The parameters for updating a archive. */ +@removed(Versions.v2025_11_01) model ArchiveUpdateParameters { /** * The properties of the connected registry update parameters. @@ -676,6 +687,7 @@ model ArchiveUpdateProperties { /** * The properties of an archive version. */ +@removed(Versions.v2025_11_01) model ArchiveVersionProperties { /** * The provisioning state of the archive at the time the operation was called. @@ -765,6 +777,7 @@ model CacheRulesListResult { /** * The result of a request to list archives for a container registry. */ +@removed(Versions.v2025_11_01) model ArchiveListResult { /** * The list of archives. Since this list may be incomplete, the nextLink field should be used to request the next list of archives. @@ -1254,6 +1267,7 @@ model CredentialSetUpdateProperties { /** * The properties of an export pipeline. */ +@removed(Versions.v2025_11_01) model ExportPipelineProperties { /** * The target properties of the export pipeline. @@ -1275,6 +1289,7 @@ model ExportPipelineProperties { /** * The properties of the export pipeline target. */ +@removed(Versions.v2025_11_01) model ExportPipelineTargetProperties { /** * The type of target for the export pipeline. @@ -1363,6 +1378,7 @@ model ImportSourceCredentials { /** * The properties of an import pipeline. */ +@removed(Versions.v2025_11_01) model ImportPipelineProperties { /** * The source properties of the import pipeline. @@ -1389,6 +1405,7 @@ model ImportPipelineProperties { /** * The properties of the import pipeline source. */ +@removed(Versions.v2025_11_01) model ImportPipelineSourceProperties { /** * The type of source for the import pipeline. @@ -1653,6 +1670,7 @@ model RegistryNameStatus { /** * The properties of a pipeline run. */ +@removed(Versions.v2025_11_01) model PipelineRunProperties { /** * The provisioning state of a pipeline run. @@ -1680,6 +1698,7 @@ model PipelineRunProperties { /** * The request properties provided for a pipeline run. */ +@removed(Versions.v2025_11_01) model PipelineRunRequest { /** * The resource ID of the pipeline to run. @@ -1713,6 +1732,7 @@ model PipelineRunRequest { /** * The pipeline run source properties */ +@removed(Versions.v2025_11_01) model PipelineRunSourceProperties { /** * The type of the source. @@ -1728,6 +1748,7 @@ model PipelineRunSourceProperties { /** * The pipeline run target properties */ +@removed(Versions.v2025_11_01) model PipelineRunTargetProperties { /** * The type of the target. @@ -1743,6 +1764,7 @@ model PipelineRunTargetProperties { /** * The response properties returned for a pipeline run. */ +@removed(Versions.v2025_11_01) model PipelineRunResponse { /** * The current status of the pipeline run. @@ -1989,6 +2011,7 @@ model RegistryProperties { /** * Determines whether registry artifacts are indexed for metadata search. */ + @removed(Versions.v2025_11_01) metadataSearch?: MetadataSearch = MetadataSearch.Disabled; /** @@ -2090,6 +2113,7 @@ model Policies { /** * The soft delete policy for a container registry. */ + @removed(Versions.v2025_11_01) softDeletePolicy?: SoftDeletePolicy; } @@ -2164,6 +2188,7 @@ model AzureADAuthenticationAsArmPolicy { /** * The soft delete policy for a container registry */ +@removed(Versions.v2025_11_01) model SoftDeletePolicy { /** * The number of days after which a soft-deleted item is permanently deleted. @@ -2349,6 +2374,7 @@ model RegistryPropertiesUpdateParameters { /** * Determines whether registry artifacts are indexed for metadata search. */ + @removed(Versions.v2025_11_01) metadataSearch?: MetadataSearch = MetadataSearch.Disabled; /** @@ -2805,6 +2831,7 @@ model WebhookPropertiesCreateParameters { * Custom headers that will be added to the webhook notifications. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @secret customHeaders?: Record; /** @@ -2855,6 +2882,7 @@ model WebhookPropertiesUpdateParameters { * Custom headers that will be added to the webhook notifications. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @secret customHeaders?: Record; /** @@ -3208,6 +3236,7 @@ model ActiveDirectoryObject { /** * The result of a request to list archive versions for a container registry. */ +@removed(Versions.v2025_11_01) model ArchiveVersionListResult { /** * The list of archive versions. Since this list may be incomplete, the nextLink field should be used to request the next list of archive versions. @@ -3259,6 +3288,7 @@ model CredentialSetListResult { /** * The result of a request to list export pipelines for a container registry. */ +@removed(Versions.v2025_11_01) model ExportPipelineListResult { /** * The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines. @@ -3293,6 +3323,7 @@ model ImportPipelineListResult { /** * The result of a request to list pipeline runs for a container registry. */ +@removed(Versions.v2025_11_01) model PipelineRunListResult { /** * The list of pipeline runs. Since this list may be incomplete, the nextLink field should be used to request the next list of pipeline runs. From d6ffcede70c961716588ba7b8537287009d943dc Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 16 Oct 2025 10:47:39 +0800 Subject: [PATCH 29/41] fix ci --- .../output/stable/oldNormalizedSwagger.json | 5283 ----------------- .../Registry/tspconfig.yaml | 12 +- .../RegistryTasks/tspconfig.yaml | 12 +- 3 files changed, 18 insertions(+), 5289 deletions(-) delete mode 100644 specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/stable/oldNormalizedSwagger.json diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/stable/oldNormalizedSwagger.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/stable/oldNormalizedSwagger.json deleted file mode 100644 index 991328cf51ab..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/output/stable/oldNormalizedSwagger.json +++ /dev/null @@ -1,5283 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ContainerRegistryManagementClient", - "version": "2025-11-01" - }, - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "paths": { - "/providers/microsoft.ContainerRegistry/operations": { - "get": { - "operationId": "Operations_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - } - }, - "x-ms-examples": { - "OperationList": { - "$ref": "./examples/OperationList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/checkNameAvailability": { - "post": { - "operationId": "Registries_CheckNameAvailability", - "parameters": [ - { - "name": "registryNameCheckRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryNameCheckRequest" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryNameStatus" - } - } - }, - "x-ms-examples": { - "RegistryCheckNameAvailable": { - "$ref": "./examples/RegistryCheckNameAvailable.json" - }, - "RegistryCheckNameNotAvailable": { - "$ref": "./examples/RegistryCheckNameNotAvailable.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.ContainerRegistry/registries": { - "get": { - "operationId": "Registries_List", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListResult" - } - } - }, - "x-ms-examples": { - "RegistryList": { - "$ref": "./examples/RegistryList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries": { - "get": { - "operationId": "Registries_ListByResourceGroup", - "parameters": [], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListResult" - } - } - }, - "x-ms-examples": { - "RegistryListByResourceGroup": { - "$ref": "./examples/RegistryListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}": { - "get": { - "operationId": "Registries_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - } - } - }, - "x-ms-examples": { - "RegistryGet": { - "$ref": "./examples/RegistryGet.json" - } - } - }, - "put": { - "operationId": "Registries_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "registry", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Registry" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "RegistryCreate": { - "$ref": "./examples/RegistryCreate.json" - }, - "RegistryCreateZoneRedundant": { - "$ref": "./examples/RegistryCreateZoneRedundant.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Registries_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "registryUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RegistryUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Registry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "RegistryUpdate": { - "$ref": "./examples/RegistryUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Registries_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - } - }, - "x-ms-examples": { - "RegistryDelete": { - "$ref": "./examples/RegistryDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules": { - "get": { - "operationId": "CacheRules_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRulesListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleList": { - "$ref": "./examples/CacheRuleList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}": { - "get": { - "operationId": "CacheRules_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleGet": { - "$ref": "./examples/CacheRuleGet.json" - } - } - }, - "put": { - "operationId": "CacheRules_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "cacheRuleCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRule" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleCreate": { - "$ref": "./examples/CacheRuleCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CacheRules_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "cacheRuleUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CacheRuleUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CacheRule" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleUpdate": { - "$ref": "./examples/CacheRuleUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CacheRules_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "cacheRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CacheRuleDelete": { - "$ref": "./examples/CacheRuleDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries": { - "get": { - "operationId": "ConnectedRegistries_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "$filter", - "in": "query", - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistryListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryList": { - "$ref": "./examples/ConnectedRegistryList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}": { - "get": { - "operationId": "ConnectedRegistries_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryGet": { - "$ref": "./examples/ConnectedRegistryGet.json" - } - } - }, - "put": { - "operationId": "ConnectedRegistries_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryCreate": { - "$ref": "./examples/ConnectedRegistryCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ConnectedRegistries_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectedRegistryUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ConnectedRegistry" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryUpdate": { - "$ref": "./examples/ConnectedRegistryUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ConnectedRegistries_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryDelete": { - "$ref": "./examples/ConnectedRegistryDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate": { - "post": { - "operationId": "ConnectedRegistries_Deactivate", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "connectedRegistryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ConnectedRegistryDeactivate": { - "$ref": "./examples/ConnectedRegistryDeactivate.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets": { - "get": { - "operationId": "CredentialSets_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSetListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetList": { - "$ref": "./examples/CredentialSetList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}": { - "get": { - "operationId": "CredentialSets_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetGet": { - "$ref": "./examples/CredentialSetGet.json" - } - } - }, - "put": { - "operationId": "CredentialSets_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "credentialSetCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CredentialSet" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetCreate": { - "$ref": "./examples/CredentialSetCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CredentialSets_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "credentialSetUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CredentialSetUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CredentialSet" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetUpdate": { - "$ref": "./examples/CredentialSetUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CredentialSets_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "credentialSetName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CredentialSetDelete": { - "$ref": "./examples/CredentialSetDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/generateCredentials": { - "post": { - "operationId": "Registries_GenerateCredentials", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "generateCredentialsParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GenerateCredentialsParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/GenerateCredentialsResult" - } - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGenerateCredentials": { - "$ref": "./examples/RegistryGenerateCredentials.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/importImage": { - "post": { - "operationId": "Registries_ImportImage", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ImportImageParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ImportImageByManifestDigest": { - "$ref": "./examples/ImportImageByManifestDigest.json" - }, - "ImportImageByTag": { - "$ref": "./examples/ImportImageByTag.json" - }, - "ImportImageFromPublicRegistry": { - "$ref": "./examples/ImportImageFromPublicRegistry.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listCredentials": { - "post": { - "operationId": "Registries_ListCredentials", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - } - }, - "x-ms-examples": { - "RegistryListCredentials": { - "$ref": "./examples/RegistryListCredentials.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/listUsages": { - "get": { - "operationId": "Registries_ListUsages", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryUsageListResult" - } - } - }, - "x-ms-examples": { - "RegistryListUsages": { - "$ref": "./examples/RegistryListUsages.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections": { - "get": { - "operationId": "PrivateEndpointConnections_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResult" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionList": { - "$ref": "./examples/PrivateEndpointConnectionList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "operationId": "PrivateEndpointConnections_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionGet": { - "$ref": "./examples/PrivateEndpointConnectionGet.json" - } - } - }, - "put": { - "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnection", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionCreateOrUpdate": { - "$ref": "./examples/PrivateEndpointConnectionCreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "PrivateEndpointConnections_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - } - }, - "x-ms-examples": { - "PrivateEndpointConnectionDelete": { - "$ref": "./examples/PrivateEndpointConnectionDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": { - "get": { - "operationId": "Registries_ListPrivateLinkResources", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" - } - } - }, - "x-ms-examples": { - "RegistryListPrivateLinkResources": { - "$ref": "./examples/RegistryListPrivateLinkResources.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { - "get": { - "operationId": "Registries_GetPrivateLinkResource", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "groupName", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "RegistryGetPrivateLinkResource": { - "$ref": "./examples/RegistryGetPrivateLinkResource.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential": { - "post": { - "operationId": "Registries_RegenerateCredential", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "regenerateCredentialParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RegenerateCredentialParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/RegistryListCredentialsResult" - } - } - }, - "x-ms-examples": { - "RegistryRegenerateCredential": { - "$ref": "./examples/RegistryRegenerateCredential.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications": { - "get": { - "operationId": "Replications_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ReplicationListResult" - } - } - }, - "x-ms-examples": { - "ReplicationList": { - "$ref": "./examples/ReplicationList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}": { - "get": { - "operationId": "Replications_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - } - } - }, - "x-ms-examples": { - "ReplicationGet": { - "$ref": "./examples/ReplicationGet.json" - } - } - }, - "put": { - "operationId": "Replications_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replication", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Replication" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ReplicationCreate": { - "$ref": "./examples/ReplicationCreate.json" - }, - "ReplicationCreateZoneRedundant": { - "$ref": "./examples/ReplicationCreateZoneRedundant.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Replications_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ReplicationUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Replication" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "ReplicationUpdate": { - "$ref": "./examples/ReplicationUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Replications_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "replicationName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - } - }, - "x-ms-examples": { - "ReplicationDelete": { - "$ref": "./examples/ReplicationDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps": { - "get": { - "operationId": "ScopeMaps_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMapListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapList": { - "$ref": "./examples/ScopeMapList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}": { - "get": { - "operationId": "ScopeMaps_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapGet": { - "$ref": "./examples/ScopeMapGet.json" - } - } - }, - "put": { - "operationId": "ScopeMaps_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - }, - { - "name": "scopeMapCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeMap" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapCreate": { - "$ref": "./examples/ScopeMapCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ScopeMaps_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - }, - { - "name": "scopeMapUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ScopeMapUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/ScopeMap" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapUpdate": { - "$ref": "./examples/ScopeMapUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ScopeMaps_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "scopeMapName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-_]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ScopeMapDelete": { - "$ref": "./examples/ScopeMapDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens": { - "get": { - "operationId": "Tokens_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/TokenListResult" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenList": { - "$ref": "./examples/TokenList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}": { - "get": { - "operationId": "Tokens_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenGet": { - "$ref": "./examples/TokenGet.json" - } - } - }, - "put": { - "operationId": "Tokens_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "tokenCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Token" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenCreate": { - "$ref": "./examples/TokenCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Tokens_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - }, - { - "name": "tokenUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TokenUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Token" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenUpdate": { - "$ref": "./examples/TokenUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Tokens_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "tokenName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9-]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - }, - "default": { - "description": "ignore", - "schema": { - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TokenDelete": { - "$ref": "./examples/TokenDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks": { - "get": { - "operationId": "Webhooks_List", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/WebhookListResult" - } - } - }, - "x-ms-examples": { - "WebhookList": { - "$ref": "./examples/WebhookList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}": { - "get": { - "operationId": "Webhooks_Get", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - } - } - }, - "x-ms-examples": { - "WebhookGet": { - "$ref": "./examples/WebhookGet.json" - } - } - }, - "put": { - "operationId": "Webhooks_Create", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookCreateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/WebhookCreateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "WebhookCreate": { - "$ref": "./examples/WebhookCreate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Webhooks_Update", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookUpdateParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/WebhookUpdateParameters" - } - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - } - }, - "201": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/Webhook" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string" - } - } - } - }, - "x-ms-examples": { - "WebhookUpdate": { - "$ref": "./examples/WebhookUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Webhooks_Delete", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore" - }, - "202": { - "description": "ignore", - "headers": { - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "ignore" - } - }, - "x-ms-examples": { - "WebhookDelete": { - "$ref": "./examples/WebhookDelete.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig": { - "post": { - "operationId": "Webhooks_GetCallbackConfig", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/CallbackConfig" - } - } - }, - "x-ms-examples": { - "WebhookGetCallbackConfig": { - "$ref": "./examples/WebhookGetCallbackConfig.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents": { - "post": { - "operationId": "Webhooks_ListEvents", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/EventListResult" - } - } - }, - "x-ms-examples": { - "WebhookListEvents": { - "$ref": "./examples/WebhookListEvents.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping": { - "post": { - "operationId": "Webhooks_Ping", - "parameters": [ - { - "name": "registryName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - { - "name": "webhookName", - "in": "path", - "required": true, - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - } - ], - "responses": { - "200": { - "description": "ignore", - "schema": { - "$ref": "#/definitions/EventInfo" - } - } - }, - "x-ms-examples": { - "WebhookPing": { - "$ref": "./examples/WebhookPing.json" - } - } - } - } - }, - "definitions": { - "ActivationProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Active", - "Inactive" - ], - "x-ms-enum": { - "name": "ActivationStatus", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "ActiveDirectoryObject": { - "type": "object", - "properties": { - "objectId": { - "type": "string" - }, - "tenantId": { - "type": "string" - } - } - }, - "Actor": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - } - }, - "AuthCredential": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "Credential1" - ], - "x-ms-enum": { - "name": "CredentialName", - "modelAsString": true - } - }, - "usernameSecretIdentifier": { - "type": "string" - }, - "passwordSecretIdentifier": { - "type": "string" - }, - "credentialHealth": { - "$ref": "#/definitions/CredentialHealth", - "readOnly": true - } - } - }, - "AzureADAuthenticationAsArmPolicy": { - "type": "object", - "properties": { - "status": { - "type": "string", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "AzureADAuthenticationAsArmPolicyStatus", - "modelAsString": true - } - } - } - }, - "CacheRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CacheRuleProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "CacheRuleProperties": { - "type": "object", - "properties": { - "credentialSetResourceId": { - "type": "string" - }, - "sourceRepository": { - "type": "string" - }, - "targetRepository": { - "type": "string" - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "CacheRuleUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CacheRuleUpdateProperties", - "x-ms-client-flatten": true - } - } - }, - "CacheRuleUpdateProperties": { - "type": "object", - "properties": { - "credentialSetResourceId": { - "type": "string" - } - } - }, - "CacheRulesListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/CacheRule" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "CallbackConfig": { - "type": "object", - "properties": { - "serviceUri": { - "type": "string" - }, - "customHeaders": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "required": [ - "serviceUri" - ] - }, - "ConnectedRegistry": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "ConnectedRegistryListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ConnectedRegistry" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ConnectedRegistryProperties": { - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "mode": { - "type": "string", - "enum": [ - "ReadWrite", - "ReadOnly", - "Registry", - "Mirror" - ], - "x-ms-enum": { - "name": "ConnectedRegistryMode", - "modelAsString": true - } - }, - "version": { - "type": "string", - "readOnly": true - }, - "connectionState": { - "type": "string", - "enum": [ - "Online", - "Offline", - "Syncing", - "Unhealthy" - ], - "x-ms-enum": { - "name": "ConnectionState", - "modelAsString": true - }, - "readOnly": true - }, - "lastActivityTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "activation": { - "$ref": "#/definitions/ActivationProperties", - "readOnly": true - }, - "parent": { - "$ref": "#/definitions/ParentProperties" - }, - "clientTokenIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "loginServer": { - "$ref": "#/definitions/LoginServerProperties" - }, - "logging": { - "$ref": "#/definitions/LoggingProperties" - }, - "statusDetails": { - "type": "array", - "items": { - "$ref": "#/definitions/StatusDetailProperties" - }, - "readOnly": true, - "x-ms-identifiers": [ - "correlationId" - ] - }, - "notificationsList": { - "type": "array", - "items": { - "type": "string" - } - }, - "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" - } - }, - "required": [ - "mode", - "parent" - ] - }, - "ConnectedRegistryUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ConnectedRegistryUpdateProperties", - "x-ms-client-flatten": true - } - } - }, - "ConnectedRegistryUpdateProperties": { - "type": "object", - "properties": { - "syncProperties": { - "$ref": "#/definitions/SyncUpdateProperties" - }, - "logging": { - "$ref": "#/definitions/LoggingProperties" - }, - "clientTokenIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "notificationsList": { - "type": "array", - "items": { - "type": "string" - } - }, - "garbageCollection": { - "$ref": "#/definitions/GarbageCollectionProperties" - } - } - }, - "CredentialHealth": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Healthy", - "Unhealthy" - ], - "x-ms-enum": { - "name": "CredentialHealthStatus", - "modelAsString": true - } - }, - "errorCode": { - "type": "string" - }, - "errorMessage": { - "type": "string" - } - } - }, - "CredentialSet": { - "type": "object", - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties" - }, - "properties": { - "$ref": "#/definitions/CredentialSetProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "CredentialSetListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/CredentialSet" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "CredentialSetProperties": { - "type": "object", - "properties": { - "loginServer": { - "type": "string" - }, - "authCredentials": { - "type": "array", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "CredentialSetUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/CredentialSetUpdateProperties", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/IdentityProperties" - } - } - }, - "CredentialSetUpdateProperties": { - "type": "object", - "properties": { - "authCredentials": { - "type": "array", - "items": { - "$ref": "#/definitions/AuthCredential" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "EncryptionProperty": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "EncryptionStatus", - "modelAsString": true - } - }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties" - } - } - }, - "Event": { - "type": "object", - "properties": { - "eventRequestMessage": { - "$ref": "#/definitions/EventRequestMessage" - }, - "eventResponseMessage": { - "$ref": "#/definitions/EventResponseMessage" - } - }, - "allOf": [ - { - "$ref": "#/definitions/EventInfo" - } - ] - }, - "EventContent": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "timestamp": { - "type": "string", - "format": "date-time" - }, - "action": { - "type": "string" - }, - "target": { - "$ref": "#/definitions/Target" - }, - "request": { - "$ref": "#/definitions/Request" - }, - "actor": { - "$ref": "#/definitions/Actor" - }, - "source": { - "$ref": "#/definitions/Source" - } - } - }, - "EventInfo": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "EventListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Event" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "EventRequestMessage": { - "type": "object", - "properties": { - "content": { - "$ref": "#/definitions/EventContent" - }, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "method": { - "type": "string" - }, - "requestUri": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "EventResponseMessage": { - "type": "object", - "properties": { - "content": { - "type": "string" - }, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "reasonPhrase": { - "type": "string" - }, - "statusCode": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "ExportPolicy": { - "type": "object", - "properties": { - "status": { - "type": "string", - "default": "enabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "ExportPolicyStatus", - "modelAsString": true - } - } - } - }, - "GarbageCollectionProperties": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "schedule": { - "type": "string" - } - } - }, - "GenerateCredentialsParameters": { - "type": "object", - "properties": { - "tokenId": { - "type": "string" - }, - "expiry": { - "type": "string", - "format": "date-time" - }, - "name": { - "type": "string", - "enum": [ - "password1", - "password2" - ], - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } - } - } - }, - "GenerateCredentialsResult": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - } - } - } - }, - "IPRule": { - "type": "object", - "properties": { - "action": { - "type": "string", - "default": "Allow", - "enum": [ - "Allow" - ], - "x-ms-enum": { - "name": "Action", - "modelAsString": true - } - }, - "value": { - "type": "string", - "x-ms-client-name": "IPAddressOrRange" - } - }, - "required": [ - "value" - ] - }, - "IdentityProperties": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "readOnly": true - }, - "tenantId": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned", - "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } - } - } - }, - "ImportImageParameters": { - "type": "object", - "properties": { - "source": { - "$ref": "#/definitions/ImportSource" - }, - "targetTags": { - "type": "array", - "items": { - "type": "string" - } - }, - "untaggedTargetRepositories": { - "type": "array", - "items": { - "type": "string" - } - }, - "mode": { - "type": "string", - "default": "NoForce", - "enum": [ - "NoForce", - "Force" - ], - "x-ms-enum": { - "name": "ImportMode", - "modelAsString": true - } - } - }, - "required": [ - "source" - ] - }, - "ImportSource": { - "type": "object", - "properties": { - "resourceId": { - "type": "string" - }, - "registryUri": { - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/ImportSourceCredentials" - }, - "sourceImage": { - "type": "string" - } - }, - "required": [ - "sourceImage" - ] - }, - "ImportSourceCredentials": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "password": { - "type": "string" - } - }, - "required": [ - "password" - ] - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "keyIdentifier": { - "type": "string" - }, - "versionedKeyIdentifier": { - "type": "string", - "readOnly": true - }, - "identity": { - "type": "string" - }, - "keyRotationEnabled": { - "type": "boolean", - "readOnly": true - }, - "lastKeyRotationTimestamp": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "LoggingProperties": { - "type": "object", - "properties": { - "logLevel": { - "type": "string", - "default": "Information", - "enum": [ - "Debug", - "Information", - "Warning", - "Error", - "None" - ], - "x-ms-enum": { - "name": "LogLevel", - "modelAsString": true - } - }, - "auditLogStatus": { - "type": "string", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "AuditLogStatus", - "modelAsString": true - } - } - } - }, - "LoginServerProperties": { - "type": "object", - "properties": { - "host": { - "type": "string", - "readOnly": true - }, - "tls": { - "$ref": "#/definitions/TlsProperties", - "readOnly": true - } - } - }, - "NetworkRuleSet": { - "type": "object", - "properties": { - "defaultAction": { - "type": "string", - "default": "Allow", - "enum": [ - "Allow", - "Deny" - ], - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": true - } - }, - "ipRules": { - "type": "array", - "items": { - "$ref": "#/definitions/IPRule" - } - } - }, - "required": [ - "defaultAction" - ] - }, - "OperationDefinition": { - "type": "object", - "properties": { - "origin": { - "type": "string" - }, - "name": { - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplayDefinition" - }, - "properties": { - "$ref": "#/definitions/OperationPropertiesDefinition", - "x-ms-client-flatten": true - }, - "isDataAction": { - "type": "boolean" - } - } - }, - "OperationDisplayDefinition": { - "type": "object", - "properties": { - "provider": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "operation": { - "type": "string" - }, - "description": { - "type": "string" - } - } - }, - "OperationListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/OperationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "OperationLogSpecificationDefinition": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "blobDuration": { - "type": "string" - } - } - }, - "OperationMetricSpecificationDefinition": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "displayDescription": { - "type": "string" - }, - "unit": { - "type": "string" - }, - "aggregationType": { - "type": "string" - }, - "internalMetricName": { - "type": "string" - } - } - }, - "OperationPropertiesDefinition": { - "type": "object", - "properties": { - "serviceSpecification": { - "$ref": "#/definitions/OperationServiceSpecificationDefinition" - } - } - }, - "OperationServiceSpecificationDefinition": { - "type": "object", - "properties": { - "metricSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/OperationMetricSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "logSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/OperationLogSpecificationDefinition" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "PackageType": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "endpoint": { - "type": "string", - "readOnly": true - } - } - }, - "ParentProperties": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "syncProperties": { - "$ref": "#/definitions/SyncProperties" - } - }, - "required": [ - "syncProperties" - ] - }, - "Policies": { - "type": "object", - "properties": { - "quarantinePolicy": { - "$ref": "#/definitions/QuarantinePolicy" - }, - "trustPolicy": { - "$ref": "#/definitions/TrustPolicy" - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy" - }, - "exportPolicy": { - "$ref": "#/definitions/ExportPolicy" - }, - "azureADAuthenticationAsArmPolicy": { - "$ref": "#/definitions/AzureADAuthenticationAsArmPolicy" - } - } - }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - } - }, - "PrivateEndpointConnection": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "PrivateEndpointConnectionListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - } - }, - "PrivateLinkResource": { - "type": "object", - "properties": { - "type": { - "type": "string", - "readOnly": true - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "x-ms-client-flatten": true - } - } - }, - "PrivateLinkResourceListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "PrivateLinkResourceProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string" - }, - "requiredMembers": { - "type": "array", - "items": { - "type": "string" - } - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ], - "x-ms-enum": { - "name": "ConnectionStatus", - "modelAsString": true - } - }, - "description": { - "type": "string" - }, - "actionsRequired": { - "type": "string", - "enum": [ - "None", - "Recreate" - ], - "x-ms-enum": { - "name": "ActionsRequired", - "modelAsString": true - } - } - } - }, - "ProxyResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "type": "object", - "readOnly": true - } - } - }, - "QuarantinePolicy": { - "type": "object", - "properties": { - "status": { - "type": "string", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "RegenerateCredentialParameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "password", - "password2" - ], - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } - } - }, - "required": [ - "name" - ] - }, - "Registry": { - "type": "object", - "properties": { - "sku": { - "$ref": "#/definitions/Sku" - }, - "identity": { - "$ref": "#/definitions/IdentityProperties" - }, - "properties": { - "$ref": "#/definitions/RegistryProperties", - "x-ms-client-flatten": true - } - }, - "required": [ - "sku" - ], - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "RegistryListCredentialsResult": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/RegistryPassword" - } - } - } - }, - "RegistryListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Registry" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "RegistryNameCheckRequest": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 5, - "maxLength": 50, - "pattern": "^[a-zA-Z0-9]*$" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ContainerRegistry/registries" - ], - "x-ms-enum": { - "name": "ContainerRegistryResourceType", - "modelAsString": false - } - } - }, - "required": [ - "name", - "type" - ] - }, - "RegistryNameStatus": { - "type": "object", - "properties": { - "nameAvailable": { - "type": "boolean" - }, - "reason": { - "type": "string" - }, - "message": { - "type": "string" - } - } - }, - "RegistryPassword": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "password", - "password2" - ], - "x-ms-enum": { - "name": "PasswordName", - "modelAsString": false - } - }, - "value": { - "type": "string" - } - } - }, - "RegistryProperties": { - "type": "object", - "properties": { - "loginServer": { - "type": "string", - "readOnly": true - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "status": { - "$ref": "#/definitions/Status", - "readOnly": true - }, - "adminUserEnabled": { - "type": "boolean", - "default": false - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet" - }, - "policies": { - "$ref": "#/definitions/Policies" - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty" - }, - "dataEndpointEnabled": { - "type": "boolean" - }, - "dataEndpointHostNames": { - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "privateEndpointConnections": { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "readOnly": true - }, - "publicNetworkAccess": { - "type": "string", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } - }, - "networkRuleBypassOptions": { - "type": "string", - "default": "AzureServices", - "enum": [ - "AzureServices", - "None" - ], - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } - }, - "networkRuleBypassAllowedForTasks": { - "type": "boolean", - "default": false - }, - "zoneRedundancy": { - "type": "string", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } - }, - "anonymousPullEnabled": { - "type": "boolean", - "default": false - }, - "roleAssignmentMode": { - "type": "string", - "default": "LegacyRegistryPermissions", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } - } - } - }, - "RegistryPropertiesUpdateParameters": { - "type": "object", - "properties": { - "adminUserEnabled": { - "type": "boolean" - }, - "networkRuleSet": { - "$ref": "#/definitions/NetworkRuleSet" - }, - "policies": { - "$ref": "#/definitions/Policies" - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty" - }, - "dataEndpointEnabled": { - "type": "boolean" - }, - "publicNetworkAccess": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } - }, - "networkRuleBypassOptions": { - "type": "string", - "default": "AzureServices", - "enum": [ - "AzureServices", - "None" - ], - "x-ms-enum": { - "name": "NetworkRuleBypassOptions", - "modelAsString": true - } - }, - "networkRuleBypassAllowedForTasks": { - "type": "boolean" - }, - "anonymousPullEnabled": { - "type": "boolean" - }, - "roleAssignmentMode": { - "type": "string", - "enum": [ - "AbacRepositoryPermissions", - "LegacyRegistryPermissions" - ], - "x-ms-enum": { - "name": "RoleAssignmentMode", - "modelAsString": true - } - } - } - }, - "RegistryUpdateParameters": { - "type": "object", - "properties": { - "identity": { - "$ref": "#/definitions/IdentityProperties" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "sku": { - "$ref": "#/definitions/Sku" - }, - "properties": { - "$ref": "#/definitions/RegistryPropertiesUpdateParameters", - "x-ms-client-flatten": true - } - } - }, - "RegistryUsage": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "limit": { - "type": "integer", - "format": "int64" - }, - "currentValue": { - "type": "integer", - "format": "int64" - }, - "unit": { - "type": "string", - "enum": [ - "Count", - "Bytes" - ], - "x-ms-enum": { - "name": "RegistryUsageUnit", - "modelAsString": true - } - } - } - }, - "RegistryUsageListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RegistryUsage" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "Replication": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ReplicationProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "ReplicationListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Replication" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ReplicationProperties": { - "type": "object", - "properties": { - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "status": { - "$ref": "#/definitions/Status", - "readOnly": true - }, - "regionEndpointEnabled": { - "type": "boolean", - "default": true - }, - "zoneRedundancy": { - "type": "string", - "default": "Disabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ZoneRedundancy", - "modelAsString": true - } - } - } - }, - "ReplicationUpdateParameters": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/ReplicationUpdateParametersProperties", - "x-ms-client-flatten": true - } - } - }, - "ReplicationUpdateParametersProperties": { - "type": "object", - "properties": { - "regionEndpointEnabled": { - "type": "boolean" - } - } - }, - "Request": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "addr": { - "type": "string" - }, - "host": { - "type": "string" - }, - "method": { - "type": "string" - }, - "useragent": { - "type": "string" - } - } - }, - "Resource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "type": { - "type": "string", - "readOnly": true - }, - "location": { - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "type": "object", - "readOnly": true - } - }, - "required": [ - "location" - ] - }, - "RetentionPolicy": { - "type": "object", - "properties": { - "days": { - "type": "integer", - "format": "int32", - "default": 7 - }, - "lastUpdatedTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "status": { - "type": "string", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "ScopeMap": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "ScopeMapListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/ScopeMap" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "ScopeMapProperties": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "type": { - "type": "string", - "readOnly": true - }, - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "actions": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "actions" - ] - }, - "ScopeMapPropertiesUpdateParameters": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ScopeMapUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ScopeMapPropertiesUpdateParameters", - "x-ms-client-flatten": true - } - } - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - "tier": { - "type": "string", - "enum": [ - "Classic", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - }, - "readOnly": true - } - }, - "required": [ - "name" - ] - }, - "Source": { - "type": "object", - "properties": { - "addr": { - "type": "string" - }, - "instanceID": { - "type": "string" - } - } - }, - "Status": { - "type": "object", - "properties": { - "displayStatus": { - "type": "string", - "readOnly": true - }, - "message": { - "type": "string", - "readOnly": true - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "StatusDetailProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "readOnly": true - }, - "code": { - "type": "string", - "readOnly": true - }, - "description": { - "type": "string", - "readOnly": true - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "correlationId": { - "type": "string", - "readOnly": true - } - } - }, - "StorageAccountProperties": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": [ - "id" - ] - }, - "SyncProperties": { - "type": "object", - "properties": { - "tokenId": { - "type": "string" - }, - "schedule": { - "type": "string" - }, - "syncWindow": { - "type": "string", - "format": "duration" - }, - "messageTtl": { - "type": "string", - "format": "duration" - }, - "lastSyncTime": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "gatewayEndpoint": { - "type": "string", - "readOnly": true - } - }, - "required": [ - "messageTtl", - "tokenId" - ] - }, - "SyncUpdateProperties": { - "type": "object", - "properties": { - "schedule": { - "type": "string" - }, - "syncWindow": { - "type": "string", - "format": "duration" - }, - "messageTtl": { - "type": "string", - "format": "duration" - } - } - }, - "SystemData": { - "type": "object", - "properties": { - "createdBy": { - "type": "string" - }, - "createdByType": { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "CreatedByType", - "modelAsString": true - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "lastModifiedBy": { - "type": "string" - }, - "lastModifiedByType": { - "type": "string", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "LastModifiedByType", - "modelAsString": true - } - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time" - } - }, - "readOnly": true - }, - "Target": { - "type": "object", - "properties": { - "mediaType": { - "type": "string" - }, - "size": { - "type": "integer", - "format": "int64" - }, - "digest": { - "type": "string" - }, - "length": { - "type": "integer", - "format": "int64" - }, - "repository": { - "type": "string" - }, - "url": { - "type": "string" - }, - "tag": { - "type": "string" - }, - "name": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "TlsCertificateProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "LocalDirectory" - ], - "x-ms-enum": { - "name": "CertificateType", - "modelAsString": true - }, - "readOnly": true - }, - "location": { - "type": "string", - "readOnly": true - } - } - }, - "TlsProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "TlsStatus", - "modelAsString": true - }, - "readOnly": true - }, - "certificate": { - "$ref": "#/definitions/TlsCertificateProperties", - "readOnly": true - } - } - }, - "Token": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/TokenProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ] - }, - "TokenCertificate": { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "certificate1", - "certificate2" - ], - "x-ms-enum": { - "name": "TokenCertificateName", - "modelAsString": true - } - }, - "expiry": { - "type": "string", - "format": "date-time" - }, - "thumbprint": { - "type": "string" - }, - "encodedPemCertificate": { - "type": "string" - } - } - }, - "TokenCredentialsProperties": { - "type": "object", - "properties": { - "certificates": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenCertificate" - }, - "x-ms-identifiers": [ - "thumbprint" - ] - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenPassword" - } - } - } - }, - "TokenListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Token" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "TokenPassword": { - "type": "object", - "properties": { - "creationTime": { - "type": "string", - "format": "date-time" - }, - "expiry": { - "type": "string", - "format": "date-time" - }, - "name": { - "type": "string", - "enum": [ - "password1", - "password2" - ], - "x-ms-enum": { - "name": "TokenPasswordName", - "modelAsString": true - } - }, - "value": { - "type": "string", - "readOnly": true - } - } - }, - "TokenProperties": { - "type": "object", - "properties": { - "creationDate": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "scopeMapId": { - "type": "string" - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties" - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } - } - } - }, - "TokenUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/TokenUpdateProperties", - "x-ms-client-flatten": true - } - } - }, - "TokenUpdateProperties": { - "type": "object", - "properties": { - "scopeMapId": { - "type": "string" - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "TokenStatus", - "modelAsString": true - } - }, - "credentials": { - "$ref": "#/definitions/TokenCredentialsProperties" - } - } - }, - "TrustPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "default": "Notary", - "enum": [ - "Notary" - ], - "x-ms-enum": { - "name": "TrustPolicyType", - "modelAsString": true - } - }, - "status": { - "type": "string", - "default": "disabled", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "PolicyStatus", - "modelAsString": true - } - } - } - }, - "UserIdentityProperties": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "readOnly": true - }, - "clientId": { - "type": "string", - "readOnly": true - } - } - }, - "Webhook": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/WebhookProperties", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "WebhookCreateParameters": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "location": { - "type": "string" - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesCreateParameters", - "x-ms-client-flatten": true - } - }, - "required": [ - "location" - ] - }, - "WebhookListResult": { - "type": "object", - "description": "[Placeholder] Discription for page model", - "properties": { - "value": { - "type": "array", - "description": "[Placeholder] Discription for value property", - "items": { - "$ref": "#/definitions/Webhook" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "[Placeholder] Discription for nextLink property" - } - } - }, - "WebhookProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - }, - "provisioningState": { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - } - }, - "required": [ - "actions" - ] - }, - "WebhookPropertiesCreateParameters": { - "type": "object", - "properties": { - "serviceUri": { - "type": "string", - "x-ms-secret": true - }, - "customHeaders": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-secret": true - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - }, - "required": [ - "actions", - "serviceUri" - ] - }, - "WebhookPropertiesUpdateParameters": { - "type": "object", - "properties": { - "serviceUri": { - "type": "string", - "x-ms-secret": true - }, - "customHeaders": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-secret": true - }, - "status": { - "type": "string", - "enum": [ - "enabled", - "disabled" - ], - "x-ms-enum": { - "name": "WebhookStatus", - "modelAsString": true - } - }, - "scope": { - "type": "string" - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "push", - "delete", - "quarantine", - "chart_push", - "chart_delete" - ], - "x-ms-enum": { - "name": "WebhookAction", - "modelAsString": true - } - } - } - } - }, - "WebhookUpdateParameters": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/WebhookPropertiesUpdateParameters", - "x-ms-client-flatten": true - } - } - } - }, - "parameters": {} -} \ No newline at end of file diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml index 4653dd029245..5f2f741c868d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml @@ -13,15 +13,21 @@ options: arm-resource-flattening: true arm-types-dir: "{project-root}/../../../../common-types/resource-management" emit-lro-options: "all" + "@azure-tools/typespec-csharp": + emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" + flavor: azure + clear-output-folder: true + model-namespace: true + namespace: "Azure.ResourceManager.ContainerRegistry" "@azure-tools/typespec-python": service-dir: "sdk/containerregistry" - package-dir: "azure-mgmt-containerregistry" + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-containerregistry" namespace: "azure.mgmt.containerregistry" generate-test: true generate-sample: true flavor: "azure" "@azure-tools/typespec-java": - package-dir: "azure-resourcemanager-containerregistry-generated" + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-containerregistry-generated" namespace: "com.azure.resourcemanager.containerregistry.generated" service-name: "ContainerRegistry" flavor: azure @@ -29,7 +35,7 @@ options: premium: false enable-sync-stack: false "@azure-tools/typespec-ts": - package-dir: "arm-containerregistry" + emitter-output-dir: "{output-dir}/{service-dir}/arm-containerregistry" flavor: azure experimental-extensible-enums: true package-details: diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml index 80e3e2442419..2d9e82c3f94f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml @@ -13,22 +13,28 @@ options: arm-resource-flattening: true arm-types-dir: "{project-root}/../../../../common-types/resource-management" emit-lro-options: "all" + "@azure-tools/typespec-csharp": + emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" + flavor: azure + clear-output-folder: true + model-namespace: true + namespace: "Azure.ResourceManager.containerregistrytasks" "@azure-tools/typespec-python": service-dir: "sdk/containerregistry" - package-dir: "azure-mgmt-containerregistrytasks" + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-containerregistrytasks" namespace: "azure.mgmt.containerregistry" generate-test: true generate-sample: true flavor: "azure" "@azure-tools/typespec-java": service-dir: "sdk/containerregistry" - package-dir: "azure-resourcemanager-containerregistrytasks" + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-containerregistrytasks" namespace: "com.azure.resourcemanager.containerregistrytasks" service-name: "ContainerRegistryTasks" flavor: azure use-object-for-unknown: true "@azure-tools/typespec-ts": - package-dir: "arm-containerregistrytasks" + emitter-output-dir: "{output-dir}/{service-dir}/arm-containerregistrytasks" flavor: azure experimental-extensible-enums: true package-details: From 953263181d8fae01c9365669f9ff72bb44aa6b0d Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 16 Oct 2025 11:11:05 +0800 Subject: [PATCH 30/41] prettier fix --- .../examples/2025-06-01-preview/ConnectedRegistryDelete.json | 1 - .../examples/2025-06-01-preview/ConnectedRegistryGet.json | 1 - .../examples/2025-06-01-preview/ConnectedRegistryList.json | 1 - .../examples/2025-06-01-preview/ConnectedRegistryUpdate.json | 1 - .../examples/2025-06-01-preview/CredentialSetCreate.json | 1 - .../examples/2025-06-01-preview/CredentialSetDelete.json | 1 - .../Registry/examples/2025-06-01-preview/CredentialSetGet.json | 1 - .../Registry/examples/2025-06-01-preview/CredentialSetList.json | 1 - .../examples/2025-06-01-preview/CredentialSetUpdate.json | 1 - .../examples/2025-06-01-preview/ExportPipelineCreate.json | 1 - .../examples/2025-06-01-preview/ExportPipelineDelete.json | 1 - .../Registry/examples/2025-06-01-preview/ExportPipelineGet.json | 1 - .../Registry/examples/2025-06-01-preview/ExportPipelineList.json | 1 - .../examples/2025-06-01-preview/ImportImageByManifestDigest.json | 1 - .../Registry/examples/2025-06-01-preview/ImportImageByTag.json | 1 - .../2025-06-01-preview/ImportImageFromPublicRegistry.json | 1 - .../examples/2025-06-01-preview/ImportPipelineCreate.json | 1 - .../examples/2025-06-01-preview/ImportPipelineDelete.json | 1 - .../Registry/examples/2025-06-01-preview/ImportPipelineGet.json | 1 - .../Registry/examples/2025-06-01-preview/ImportPipelineList.json | 1 - .../Registry/examples/2025-06-01-preview/OperationList.json | 1 - .../examples/2025-06-01-preview/PipelineRunCreate_Export.json | 1 - .../examples/2025-06-01-preview/PipelineRunCreate_Import.json | 1 - .../Registry/examples/2025-06-01-preview/PipelineRunDelete.json | 1 - .../Registry/examples/2025-06-01-preview/PipelineRunGet.json | 1 - .../Registry/examples/2025-06-01-preview/PipelineRunList.json | 1 - .../PrivateEndpointConnectionCreateOrUpdate.json | 1 - .../2025-06-01-preview/PrivateEndpointConnectionDelete.json | 1 - .../2025-06-01-preview/PrivateEndpointConnectionGet.json | 1 - .../2025-06-01-preview/PrivateEndpointConnectionList.json | 1 - .../examples/2025-06-01-preview/RegistryCheckNameAvailable.json | 1 - .../2025-06-01-preview/RegistryCheckNameNotAvailable.json | 1 - .../Registry/examples/2025-06-01-preview/RegistryCreate.json | 1 - .../Registry/examples/2025-06-01-preview/RegistryCreateAbac.json | 1 - .../2025-06-01-preview/RegistryCreateDomainNameLabelScope.json | 1 - .../examples/2025-06-01-preview/RegistryCreateZoneRedundant.json | 1 - .../Registry/examples/2025-06-01-preview/RegistryDelete.json | 1 - .../examples/2025-06-01-preview/RegistryGenerateCredentials.json | 1 - .../Registry/examples/2025-06-01-preview/RegistryGet.json | 1 - .../2025-06-01-preview/RegistryGetPrivateLinkResource.json | 1 - .../Registry/examples/2025-06-01-preview/RegistryList.json | 1 - .../examples/2025-06-01-preview/RegistryListByResourceGroup.json | 1 - .../examples/2025-06-01-preview/RegistryListCredentials.json | 1 - .../2025-06-01-preview/RegistryListPrivateLinkResources.json | 1 - .../Registry/examples/2025-06-01-preview/RegistryListUsages.json | 1 - .../2025-06-01-preview/RegistryRegenerateCredential.json | 1 - .../Registry/examples/2025-06-01-preview/RegistryUpdate.json | 1 - .../Registry/examples/2025-06-01-preview/ReplicationCreate.json | 1 - .../2025-06-01-preview/ReplicationCreateZoneRedundant.json | 1 - .../Registry/examples/2025-06-01-preview/ReplicationDelete.json | 1 - .../Registry/examples/2025-06-01-preview/ReplicationGet.json | 1 - .../Registry/examples/2025-06-01-preview/ReplicationList.json | 1 - .../Registry/examples/2025-06-01-preview/ReplicationUpdate.json | 1 - .../Registry/examples/2025-06-01-preview/ScopeMapCreate.json | 1 - .../Registry/examples/2025-06-01-preview/ScopeMapDelete.json | 1 - .../Registry/examples/2025-06-01-preview/ScopeMapGet.json | 1 - .../Registry/examples/2025-06-01-preview/ScopeMapList.json | 1 - .../Registry/examples/2025-06-01-preview/ScopeMapUpdate.json | 1 - .../Registry/examples/2025-06-01-preview/TokenCreate.json | 1 - .../Registry/examples/2025-06-01-preview/TokenDelete.json | 1 - .../Registry/examples/2025-06-01-preview/TokenGet.json | 1 - .../Registry/examples/2025-06-01-preview/TokenList.json | 1 - .../Registry/examples/2025-06-01-preview/TokenUpdate.json | 1 - .../Registry/examples/2025-06-01-preview/WebhookCreate.json | 1 - .../Registry/examples/2025-06-01-preview/WebhookDelete.json | 1 - .../Registry/examples/2025-06-01-preview/WebhookGet.json | 1 - .../examples/2025-06-01-preview/WebhookGetCallbackConfig.json | 1 - .../Registry/examples/2025-06-01-preview/WebhookList.json | 1 - .../Registry/examples/2025-06-01-preview/WebhookListEvents.json | 1 - .../Registry/examples/2025-06-01-preview/WebhookPing.json | 1 - .../Registry/examples/2025-06-01-preview/WebhookUpdate.json | 1 - .../Registry/examples/2025-11-01/CacheRuleCreate.json | 1 - .../Registry/examples/2025-11-01/CacheRuleDelete.json | 1 - .../Registry/examples/2025-11-01/CacheRuleGet.json | 1 - .../Registry/examples/2025-11-01/CacheRuleList.json | 1 - .../Registry/examples/2025-11-01/CacheRuleUpdate.json | 1 - .../Registry/examples/2025-11-01/ConnectedRegistryCreate.json | 1 - .../examples/2025-11-01/ConnectedRegistryDeactivate.json | 1 - .../Registry/examples/2025-11-01/ConnectedRegistryDelete.json | 1 - .../Registry/examples/2025-11-01/ConnectedRegistryGet.json | 1 - .../Registry/examples/2025-11-01/ConnectedRegistryList.json | 1 - .../Registry/examples/2025-11-01/ConnectedRegistryUpdate.json | 1 - .../Registry/examples/2025-11-01/CredentialSetCreate.json | 1 - .../Registry/examples/2025-11-01/CredentialSetDelete.json | 1 - .../Registry/examples/2025-11-01/CredentialSetGet.json | 1 - .../Registry/examples/2025-11-01/CredentialSetList.json | 1 - .../Registry/examples/2025-11-01/CredentialSetUpdate.json | 1 - .../examples/2025-11-01/ImportImageByManifestDigest.json | 1 - .../Registry/examples/2025-11-01/ImportImageByTag.json | 1 - .../examples/2025-11-01/ImportImageFromPublicRegistry.json | 1 - .../Registry/examples/2025-11-01/OperationList.json | 1 - .../2025-11-01/PrivateEndpointConnectionCreateOrUpdate.json | 1 - .../examples/2025-11-01/PrivateEndpointConnectionDelete.json | 1 - .../examples/2025-11-01/PrivateEndpointConnectionGet.json | 1 - .../examples/2025-11-01/PrivateEndpointConnectionList.json | 1 - .../Registry/examples/2025-11-01/RegistryCheckNameAvailable.json | 1 - .../examples/2025-11-01/RegistryCheckNameNotAvailable.json | 1 - .../Registry/examples/2025-11-01/RegistryCreate.json | 1 - .../Registry/examples/2025-11-01/RegistryCreateAbac.json | 1 - .../examples/2025-11-01/RegistryCreateZoneRedundant.json | 1 - .../Registry/examples/2025-11-01/RegistryDelete.json | 1 - .../examples/2025-11-01/RegistryGenerateCredentials.json | 1 - .../Registry/examples/2025-11-01/RegistryGet.json | 1 - .../examples/2025-11-01/RegistryGetPrivateLinkResource.json | 1 - .../Registry/examples/2025-11-01/RegistryList.json | 1 - .../examples/2025-11-01/RegistryListByResourceGroup.json | 1 - .../Registry/examples/2025-11-01/RegistryListCredentials.json | 1 - .../examples/2025-11-01/RegistryListPrivateLinkResources.json | 1 - .../Registry/examples/2025-11-01/RegistryListUsages.json | 1 - .../examples/2025-11-01/RegistryRegenerateCredential.json | 1 - .../Registry/examples/2025-11-01/RegistryUpdate.json | 1 - .../Registry/examples/2025-11-01/ReplicationCreate.json | 1 - .../examples/2025-11-01/ReplicationCreateZoneRedundant.json | 1 - .../Registry/examples/2025-11-01/ReplicationDelete.json | 1 - .../Registry/examples/2025-11-01/ReplicationGet.json | 1 - .../Registry/examples/2025-11-01/ReplicationList.json | 1 - .../Registry/examples/2025-11-01/ReplicationUpdate.json | 1 - .../Registry/examples/2025-11-01/ScopeMapCreate.json | 1 - .../Registry/examples/2025-11-01/ScopeMapDelete.json | 1 - .../Registry/examples/2025-11-01/ScopeMapGet.json | 1 - .../Registry/examples/2025-11-01/ScopeMapList.json | 1 - .../Registry/examples/2025-11-01/ScopeMapUpdate.json | 1 - .../Registry/examples/2025-11-01/TokenCreate.json | 1 - .../Registry/examples/2025-11-01/TokenDelete.json | 1 - .../Registry/examples/2025-11-01/TokenGet.json | 1 - .../Registry/examples/2025-11-01/TokenList.json | 1 - .../Registry/examples/2025-11-01/TokenUpdate.json | 1 - .../Registry/examples/2025-11-01/WebhookCreate.json | 1 - .../Registry/examples/2025-11-01/WebhookDelete.json | 1 - .../Registry/examples/2025-11-01/WebhookGet.json | 1 - .../Registry/examples/2025-11-01/WebhookGetCallbackConfig.json | 1 - .../Registry/examples/2025-11-01/WebhookList.json | 1 - .../Registry/examples/2025-11-01/WebhookListEvents.json | 1 - .../Registry/examples/2025-11-01/WebhookPing.json | 1 - .../Registry/examples/2025-11-01/WebhookUpdate.json | 1 - 135 files changed, 135 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryDelete.json index 3feb3acf32a4..820da1dec833 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryGet.json index 24dcecb0b1cc..e5440dc8b9b1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryGet.json @@ -47,4 +47,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryList.json index 0557f6a454cb..5aa6141a7b17 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryList.json @@ -50,4 +50,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryUpdate.json index 87401642ccc3..f93630e665e5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ConnectedRegistryUpdate.json @@ -107,4 +107,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetCreate.json index 3f329535a9da..30efe3c16a84 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetCreate.json @@ -83,4 +83,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetDelete.json index 146b5b073388..d8a08adbf645 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetDelete.json @@ -17,4 +17,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetGet.json index 00c7fdec082c..7e6c8b329674 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetGet.json @@ -38,4 +38,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetList.json index fa588cd15762..af306ab42622 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetList.json @@ -41,4 +41,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetUpdate.json index 054023741115..45951e283e81 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/CredentialSetUpdate.json @@ -79,4 +79,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineCreate.json index 7ea6ed5a8330..6b5ecd2ff383 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineCreate.json @@ -81,4 +81,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineDelete.json index d76f32d32fc4..8b8ed89d7284 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineGet.json index edec98c91fb4..b28c38dfab05 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineGet.json @@ -36,4 +36,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineList.json index 8b4307941ded..f2fbaccfc23a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ExportPipelineList.json @@ -39,4 +39,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByManifestDigest.json index 2e98f7c6ed04..2f899bb04e5f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByManifestDigest.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByTag.json index 4ec626272c94..9ce90439217c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageByTag.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageFromPublicRegistry.json index a08f7a8e5df9..05dabf219acb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportImageFromPublicRegistry.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineCreate.json index 55fd0bc79a1b..3863f0e29417 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineCreate.json @@ -108,4 +108,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineDelete.json index 463daa4827dd..f8ee4e9e6ea5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineGet.json index 16f56209c628..aa2f1cba8c36 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineGet.json @@ -47,4 +47,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineList.json index 59dc764bb1e9..667051ff3767 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ImportPipelineList.json @@ -50,4 +50,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/OperationList.json index 3f2c6d28cffa..39c99bef407e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/OperationList.json @@ -22,4 +22,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Export.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Export.json index 53f770543f23..20898b0274a0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Export.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Export.json @@ -91,4 +91,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Import.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Import.json index d2c7d42e105b..b75aeb57d0e4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Import.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunCreate_Import.json @@ -90,4 +90,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunDelete.json index 45f4aabfdc53..ff241e2d7b27 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunGet.json index 237fbf421ad2..e3bd14bb1a74 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunGet.json @@ -42,4 +42,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunList.json index b0687ee3bdb3..3ec37ff27ca3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PipelineRunList.json @@ -74,4 +74,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionCreateOrUpdate.json index 220b419fcad4..144b9974b892 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionCreateOrUpdate.json @@ -58,4 +58,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionDelete.json index d4654526dcb6..008a986357b4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionGet.json index 2d534f6d207c..726378252f93 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionGet.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionList.json index 50685e40cfae..abe73b46d82c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/PrivateEndpointConnectionList.json @@ -32,4 +32,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameAvailable.json index 826bdb8685ba..3ca850f8d170 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameAvailable.json @@ -20,4 +20,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameNotAvailable.json index 8b424b2b841f..3e68f0702d3d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCheckNameNotAvailable.json @@ -21,4 +21,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreate.json index e17e85c0aa01..c77800659eae 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreate.json @@ -136,4 +136,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateAbac.json index ceb5e183e5c4..3a27cfc1825d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateAbac.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateAbac.json @@ -136,4 +136,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateDomainNameLabelScope.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateDomainNameLabelScope.json index 4311a2456847..4e90fa47f1de 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateDomainNameLabelScope.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateDomainNameLabelScope.json @@ -136,4 +136,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateZoneRedundant.json index 504ecfb27a62..ede4bf14ccd2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryCreateZoneRedundant.json @@ -139,4 +139,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryDelete.json index 81a7c42c5b11..018dc0750252 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryDelete.json @@ -17,4 +17,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGenerateCredentials.json index 606124ebfa39..32dec9c3ef5b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGenerateCredentials.json @@ -36,4 +36,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGet.json index 32efaa820b72..13dbd2fe426e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGet.json @@ -67,4 +67,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGetPrivateLinkResource.json index ab2570888ac0..0219e0b8ce2b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryGetPrivateLinkResource.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryList.json index bd80323b1311..8f66ebc246ff 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryList.json @@ -69,4 +69,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListByResourceGroup.json index 63b753480d25..df20e86b678a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListByResourceGroup.json @@ -70,4 +70,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListCredentials.json index ae12aea204a8..71268e43526c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListCredentials.json @@ -25,4 +25,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListPrivateLinkResources.json index d819077dd7c9..47c76037a5cc 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListPrivateLinkResources.json @@ -31,4 +31,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListUsages.json index b9778b7d6680..72b305bb5810 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryListUsages.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryRegenerateCredential.json index 50ad70d42c44..82f9f13076ae 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryRegenerateCredential.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryUpdate.json index 16fb3ec2105b..05592800db2b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/RegistryUpdate.json @@ -139,4 +139,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreate.json index 3220a3c6dc07..d2cfe1ec0468 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreate.json @@ -62,4 +62,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreateZoneRedundant.json index e1d698783c08..be0ef81b536c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationCreateZoneRedundant.json @@ -66,4 +66,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationDelete.json index b0eb4ee92117..2e273fabf5f2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationGet.json index aff2c538584c..629ccd7aa83b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationGet.json @@ -32,4 +32,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationList.json index 6f6c3e2b3f9f..7a1d42f6ead5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationList.json @@ -35,4 +35,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationUpdate.json index bba8225dc35c..66d1a0e01dbf 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ReplicationUpdate.json @@ -61,4 +61,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapCreate.json index dde4d389c041..104cda77f8b0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapCreate.json @@ -55,4 +55,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapDelete.json index 915c9f20d2e5..090d8ec20c19 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapGet.json index 836ec1b4542c..c546c9b4b852 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapGet.json @@ -27,4 +27,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapList.json index c5e048d9abd0..a1346a067b44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapList.json @@ -30,4 +30,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapUpdate.json index ca579b6ecd3d..c4cfb2d1555a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ScopeMapUpdate.json @@ -55,4 +55,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenCreate.json index df412bdd058d..20798f7596ec 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenCreate.json @@ -72,4 +72,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenDelete.json index 14e2eb3c0a34..66f1de3878dd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenGet.json index 9adebdfa5e64..ba6644029e81 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenGet.json @@ -24,4 +24,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenList.json index 51b7ed267842..15dd946d3b6a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenList.json @@ -27,4 +27,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenUpdate.json index d27fff48a29c..eea827060037 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/TokenUpdate.json @@ -69,4 +69,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookCreate.json index fc1b4fd60128..f855606e0649 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookCreate.json @@ -69,4 +69,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookDelete.json index 93a13424d8ea..eca7cddab326 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGet.json index 528e1f49498d..be7e72c3f036 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGet.json @@ -30,4 +30,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGetCallbackConfig.json index 1ad5afd0690e..b62e29102c50 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookGetCallbackConfig.json @@ -19,4 +19,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookList.json index 5a44f5008195..d983b699208a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookList.json @@ -33,4 +33,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookListEvents.json index 658efd170350..4eda2697dae4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookListEvents.json @@ -63,4 +63,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookPing.json index 176c0f2163e1..d8c1e9c79cd2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookPing.json @@ -16,4 +16,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookUpdate.json index 4285698507bd..1fa79d2c2138 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/WebhookUpdate.json @@ -68,4 +68,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleCreate.json index 9bd06eb0f2f5..6c23815b4845 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleCreate.json @@ -49,4 +49,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleDelete.json index dfef16aa5ad9..40dd4960e1d5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleDelete.json @@ -17,4 +17,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleGet.json index 1e5c58c7e14c..2ad494486b84 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleGet.json @@ -25,4 +25,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleList.json index efeeb8ccb796..f60aa2c382c2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleList.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleUpdate.json index f6b9de971cc4..91236524c971 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CacheRuleUpdate.json @@ -47,4 +47,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryCreate.json index fb2da91b9464..d5811b8c3312 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryCreate.json @@ -110,4 +110,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDeactivate.json index 0868ce53113a..ad8cbde6dd70 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDeactivate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDeactivate.json @@ -17,4 +17,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDelete.json index fd35cf45d5b3..f1cefc8172b6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryGet.json index 95542d59c5ee..f22a1b3474f3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryGet.json @@ -47,4 +47,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryList.json index 510848c275d9..fe6c361fc9db 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryList.json @@ -50,4 +50,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryUpdate.json index f70e03ca7718..3f69c0947a3e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ConnectedRegistryUpdate.json @@ -107,4 +107,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetCreate.json index 5433be19f14d..e674649060a9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetCreate.json @@ -83,4 +83,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetDelete.json index ee4e00bfa1d8..dcbe49a0e4f6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetDelete.json @@ -17,4 +17,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetGet.json index 3135ac2c0fb1..24386a39f690 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetGet.json @@ -38,4 +38,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetList.json index 3d912e20d9f2..fcfab27d83b7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetList.json @@ -41,4 +41,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetUpdate.json index 1f1e6c8ea908..03eab2e96b55 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/CredentialSetUpdate.json @@ -79,4 +79,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByManifestDigest.json index f58317d569e2..050b2ee1e2d6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByManifestDigest.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByTag.json index df7fde2d095f..3923f0a1749a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageByTag.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageFromPublicRegistry.json index 0af69700098c..4f50e129a901 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ImportImageFromPublicRegistry.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/OperationList.json index 8fd4020cbe7b..4a8576a5cd99 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/OperationList.json @@ -22,4 +22,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionCreateOrUpdate.json index 4728806c5f98..0ee36d754f03 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionCreateOrUpdate.json @@ -58,4 +58,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionDelete.json index 3a1db930b832..c5aea41017fc 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionGet.json index bc9afa5a82a8..1f5033bd38d5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionGet.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionList.json index f4ea100fb362..6ff424000394 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/PrivateEndpointConnectionList.json @@ -32,4 +32,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameAvailable.json index 9845b130700d..ad8b9c3a4cf6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameAvailable.json @@ -17,4 +17,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameNotAvailable.json index de31133b2e6f..a96dfe0f7c96 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCheckNameNotAvailable.json @@ -19,4 +19,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreate.json index 9581aa058b87..94e13204e6f3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreate.json @@ -138,4 +138,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateAbac.json index 7bb91499cba8..a610c57b031b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateAbac.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateAbac.json @@ -132,4 +132,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateZoneRedundant.json index 699fdbbdf1d4..ce1a3a723e59 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryCreateZoneRedundant.json @@ -141,4 +141,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryDelete.json index e9bf1cdb6f06..c69aef851622 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryDelete.json @@ -17,4 +17,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGenerateCredentials.json index 4012d2e0b844..3612cd3e2b6c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGenerateCredentials.json @@ -36,4 +36,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGet.json index 83007ec7c0dd..3ed903d4d77c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGet.json @@ -68,4 +68,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGetPrivateLinkResource.json index cd8700d9a9a7..25deb12160db 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryGetPrivateLinkResource.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryList.json index c8deb0a44c58..e377a15f11ab 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryList.json @@ -70,4 +70,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListByResourceGroup.json index fd084c86da5d..6e9831694843 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListByResourceGroup.json @@ -71,4 +71,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListCredentials.json index 708a8fb5b6f2..930e2f797508 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListCredentials.json @@ -25,4 +25,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListPrivateLinkResources.json index a6161fe1038e..d30461962ffb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListPrivateLinkResources.json @@ -31,4 +31,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListUsages.json index bc53d07fbd85..9ea3401f7b42 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryListUsages.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryRegenerateCredential.json index bc3728bdddf7..f9526d586c93 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryRegenerateCredential.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryUpdate.json index 2c0ce4532764..4a03cff8a187 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/RegistryUpdate.json @@ -141,4 +141,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreate.json index 0b05b1719363..94c28f4b6a16 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreate.json @@ -62,4 +62,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreateZoneRedundant.json index 1b0083c84e3c..7f91558debf9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationCreateZoneRedundant.json @@ -66,4 +66,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationDelete.json index 7aca8690411c..eca3d8973413 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationGet.json index 872c8b88a173..3588bfc9d803 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationGet.json @@ -32,4 +32,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationList.json index 156a94fd686a..bccf5eea165d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationList.json @@ -35,4 +35,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationUpdate.json index 72915dbd5bce..23323e2b8266 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ReplicationUpdate.json @@ -61,4 +61,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapCreate.json index 5412c4e443c1..064618c5b829 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapCreate.json @@ -55,4 +55,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapDelete.json index c72e64b59761..ac37d2d8b403 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapGet.json index d13458767270..9817e045b2ed 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapGet.json @@ -27,4 +27,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapList.json index f7c6ed566d98..dbc5a1ebc705 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapList.json @@ -30,4 +30,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapUpdate.json index 332d7798239d..f9753d7f7c54 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/ScopeMapUpdate.json @@ -55,4 +55,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenCreate.json index abc8b588f72b..e2d86d5a8752 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenCreate.json @@ -72,4 +72,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenDelete.json index 1c3ca24d94f4..6d5f7925f8dc 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenGet.json index f61d477baf41..27d73385fc5b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenGet.json @@ -24,4 +24,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenList.json index a245aaa4a43d..4f9972c1c0fa 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenList.json @@ -27,4 +27,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenUpdate.json index 07edcb3f029a..f09b7a535f1e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/TokenUpdate.json @@ -69,4 +69,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookCreate.json index 068285565e01..4a8002b6a519 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookCreate.json @@ -69,4 +69,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookDelete.json index b33173d10e1c..036c7d329e5b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGet.json index 8dbbf8c4221b..c410429bbc58 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGet.json @@ -30,4 +30,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGetCallbackConfig.json index 5d1679b7a101..93848319d795 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookGetCallbackConfig.json @@ -19,4 +19,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookList.json index a396c4596120..c430d8f97e0a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookList.json @@ -33,4 +33,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookListEvents.json index 154263aac432..5f995104db2f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookListEvents.json @@ -63,4 +63,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookPing.json index e16b27c15f48..0927fc67de4f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookPing.json @@ -16,4 +16,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookUpdate.json index d27b1eccbac3..066b351cf875 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-11-01/WebhookUpdate.json @@ -68,4 +68,3 @@ } } } - From 3a88294f70b75db81d78fb4e3135da3fb03a9d49 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 16 Oct 2025 11:19:05 +0800 Subject: [PATCH 31/41] fix model validation --- .../Registry/examples/2025-06-01-preview/ArchiveList.json | 6 +++--- .../examples/2025-06-01-preview/ArchiveVersionList.json | 6 +++--- .../preview/2025-06-01-preview/examples/ArchiveList.json | 6 +++--- .../2025-06-01-preview/examples/ArchiveVersionList.json | 6 +++--- .../examples/ConnectedRegistryDelete.json | 1 - .../2025-06-01-preview/examples/ConnectedRegistryGet.json | 1 - .../2025-06-01-preview/examples/ConnectedRegistryList.json | 1 - .../examples/ConnectedRegistryUpdate.json | 1 - .../2025-06-01-preview/examples/CredentialSetCreate.json | 1 - .../2025-06-01-preview/examples/CredentialSetDelete.json | 1 - .../2025-06-01-preview/examples/CredentialSetGet.json | 1 - .../2025-06-01-preview/examples/CredentialSetList.json | 1 - .../2025-06-01-preview/examples/CredentialSetUpdate.json | 1 - .../2025-06-01-preview/examples/ExportPipelineCreate.json | 1 - .../2025-06-01-preview/examples/ExportPipelineDelete.json | 1 - .../2025-06-01-preview/examples/ExportPipelineGet.json | 1 - .../2025-06-01-preview/examples/ExportPipelineList.json | 1 - .../examples/ImportImageByManifestDigest.json | 1 - .../2025-06-01-preview/examples/ImportImageByTag.json | 1 - .../examples/ImportImageFromPublicRegistry.json | 1 - .../2025-06-01-preview/examples/ImportPipelineCreate.json | 1 - .../2025-06-01-preview/examples/ImportPipelineDelete.json | 1 - .../2025-06-01-preview/examples/ImportPipelineGet.json | 1 - .../2025-06-01-preview/examples/ImportPipelineList.json | 1 - .../preview/2025-06-01-preview/examples/OperationList.json | 1 - .../examples/PipelineRunCreate_Export.json | 1 - .../examples/PipelineRunCreate_Import.json | 1 - .../2025-06-01-preview/examples/PipelineRunDelete.json | 1 - .../preview/2025-06-01-preview/examples/PipelineRunGet.json | 1 - .../2025-06-01-preview/examples/PipelineRunList.json | 1 - .../examples/PrivateEndpointConnectionCreateOrUpdate.json | 1 - .../examples/PrivateEndpointConnectionDelete.json | 1 - .../examples/PrivateEndpointConnectionGet.json | 1 - .../examples/PrivateEndpointConnectionList.json | 1 - .../examples/RegistryCheckNameAvailable.json | 1 - .../examples/RegistryCheckNameNotAvailable.json | 1 - .../preview/2025-06-01-preview/examples/RegistryCreate.json | 1 - .../2025-06-01-preview/examples/RegistryCreateAbac.json | 1 - .../examples/RegistryCreateDomainNameLabelScope.json | 1 - .../examples/RegistryCreateZoneRedundant.json | 1 - .../preview/2025-06-01-preview/examples/RegistryDelete.json | 1 - .../examples/RegistryGenerateCredentials.json | 1 - .../preview/2025-06-01-preview/examples/RegistryGet.json | 1 - .../examples/RegistryGetPrivateLinkResource.json | 1 - .../preview/2025-06-01-preview/examples/RegistryList.json | 1 - .../examples/RegistryListByResourceGroup.json | 1 - .../examples/RegistryListCredentials.json | 1 - .../examples/RegistryListPrivateLinkResources.json | 1 - .../2025-06-01-preview/examples/RegistryListUsages.json | 1 - .../examples/RegistryRegenerateCredential.json | 1 - .../preview/2025-06-01-preview/examples/RegistryUpdate.json | 1 - .../2025-06-01-preview/examples/ReplicationCreate.json | 1 - .../examples/ReplicationCreateZoneRedundant.json | 1 - .../2025-06-01-preview/examples/ReplicationDelete.json | 1 - .../preview/2025-06-01-preview/examples/ReplicationGet.json | 1 - .../2025-06-01-preview/examples/ReplicationList.json | 1 - .../2025-06-01-preview/examples/ReplicationUpdate.json | 1 - .../preview/2025-06-01-preview/examples/ScopeMapCreate.json | 1 - .../preview/2025-06-01-preview/examples/ScopeMapDelete.json | 1 - .../preview/2025-06-01-preview/examples/ScopeMapGet.json | 1 - .../preview/2025-06-01-preview/examples/ScopeMapList.json | 1 - .../preview/2025-06-01-preview/examples/ScopeMapUpdate.json | 1 - .../preview/2025-06-01-preview/examples/TokenCreate.json | 1 - .../preview/2025-06-01-preview/examples/TokenDelete.json | 1 - .../preview/2025-06-01-preview/examples/TokenGet.json | 1 - .../preview/2025-06-01-preview/examples/TokenList.json | 1 - .../preview/2025-06-01-preview/examples/TokenUpdate.json | 1 - .../preview/2025-06-01-preview/examples/WebhookCreate.json | 1 - .../preview/2025-06-01-preview/examples/WebhookDelete.json | 1 - .../preview/2025-06-01-preview/examples/WebhookGet.json | 1 - .../examples/WebhookGetCallbackConfig.json | 1 - .../preview/2025-06-01-preview/examples/WebhookList.json | 1 - .../2025-06-01-preview/examples/WebhookListEvents.json | 1 - .../preview/2025-06-01-preview/examples/WebhookPing.json | 1 - .../preview/2025-06-01-preview/examples/WebhookUpdate.json | 1 - .../stable/2025-11-01/examples/CacheRuleCreate.json | 1 - .../stable/2025-11-01/examples/CacheRuleDelete.json | 1 - .../Registry/stable/2025-11-01/examples/CacheRuleGet.json | 1 - .../Registry/stable/2025-11-01/examples/CacheRuleList.json | 1 - .../stable/2025-11-01/examples/CacheRuleUpdate.json | 1 - .../stable/2025-11-01/examples/ConnectedRegistryCreate.json | 1 - .../2025-11-01/examples/ConnectedRegistryDeactivate.json | 1 - .../stable/2025-11-01/examples/ConnectedRegistryDelete.json | 1 - .../stable/2025-11-01/examples/ConnectedRegistryGet.json | 1 - .../stable/2025-11-01/examples/ConnectedRegistryList.json | 1 - .../stable/2025-11-01/examples/ConnectedRegistryUpdate.json | 1 - .../stable/2025-11-01/examples/CredentialSetCreate.json | 1 - .../stable/2025-11-01/examples/CredentialSetDelete.json | 1 - .../stable/2025-11-01/examples/CredentialSetGet.json | 1 - .../stable/2025-11-01/examples/CredentialSetList.json | 1 - .../stable/2025-11-01/examples/CredentialSetUpdate.json | 1 - .../2025-11-01/examples/ImportImageByManifestDigest.json | 1 - .../stable/2025-11-01/examples/ImportImageByTag.json | 1 - .../2025-11-01/examples/ImportImageFromPublicRegistry.json | 1 - .../Registry/stable/2025-11-01/examples/OperationList.json | 1 - .../examples/PrivateEndpointConnectionCreateOrUpdate.json | 1 - .../examples/PrivateEndpointConnectionDelete.json | 1 - .../2025-11-01/examples/PrivateEndpointConnectionGet.json | 1 - .../2025-11-01/examples/PrivateEndpointConnectionList.json | 1 - .../2025-11-01/examples/RegistryCheckNameAvailable.json | 1 - .../2025-11-01/examples/RegistryCheckNameNotAvailable.json | 1 - .../Registry/stable/2025-11-01/examples/RegistryCreate.json | 1 - .../stable/2025-11-01/examples/RegistryCreateAbac.json | 1 - .../2025-11-01/examples/RegistryCreateZoneRedundant.json | 1 - .../Registry/stable/2025-11-01/examples/RegistryDelete.json | 1 - .../2025-11-01/examples/RegistryGenerateCredentials.json | 1 - .../Registry/stable/2025-11-01/examples/RegistryGet.json | 1 - .../2025-11-01/examples/RegistryGetPrivateLinkResource.json | 1 - .../Registry/stable/2025-11-01/examples/RegistryList.json | 1 - .../2025-11-01/examples/RegistryListByResourceGroup.json | 1 - .../stable/2025-11-01/examples/RegistryListCredentials.json | 1 - .../examples/RegistryListPrivateLinkResources.json | 1 - .../stable/2025-11-01/examples/RegistryListUsages.json | 1 - .../2025-11-01/examples/RegistryRegenerateCredential.json | 1 - .../Registry/stable/2025-11-01/examples/RegistryUpdate.json | 1 - .../stable/2025-11-01/examples/ReplicationCreate.json | 1 - .../2025-11-01/examples/ReplicationCreateZoneRedundant.json | 1 - .../stable/2025-11-01/examples/ReplicationDelete.json | 1 - .../Registry/stable/2025-11-01/examples/ReplicationGet.json | 1 - .../stable/2025-11-01/examples/ReplicationList.json | 1 - .../stable/2025-11-01/examples/ReplicationUpdate.json | 1 - .../Registry/stable/2025-11-01/examples/ScopeMapCreate.json | 1 - .../Registry/stable/2025-11-01/examples/ScopeMapDelete.json | 1 - .../Registry/stable/2025-11-01/examples/ScopeMapGet.json | 1 - .../Registry/stable/2025-11-01/examples/ScopeMapList.json | 1 - .../Registry/stable/2025-11-01/examples/ScopeMapUpdate.json | 1 - .../Registry/stable/2025-11-01/examples/TokenCreate.json | 1 - .../Registry/stable/2025-11-01/examples/TokenDelete.json | 1 - .../Registry/stable/2025-11-01/examples/TokenGet.json | 1 - .../Registry/stable/2025-11-01/examples/TokenList.json | 1 - .../Registry/stable/2025-11-01/examples/TokenUpdate.json | 1 - .../Registry/stable/2025-11-01/examples/WebhookCreate.json | 1 - .../Registry/stable/2025-11-01/examples/WebhookDelete.json | 1 - .../Registry/stable/2025-11-01/examples/WebhookGet.json | 1 - .../2025-11-01/examples/WebhookGetCallbackConfig.json | 1 - .../Registry/stable/2025-11-01/examples/WebhookList.json | 1 - .../stable/2025-11-01/examples/WebhookListEvents.json | 1 - .../Registry/stable/2025-11-01/examples/WebhookPing.json | 1 - .../Registry/stable/2025-11-01/examples/WebhookUpdate.json | 1 - 139 files changed, 12 insertions(+), 147 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveList.json index ba601e7d9371..605b7fa41fe1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveList.json @@ -13,9 +13,9 @@ "body": { "value": [ { - "id": "string", - "name": "string", - "type": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/archives", "systemData": { "createdBy": "string", "createdByType": "User", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionList.json index c998a235e5f8..64ca860dde53 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/examples/2025-06-01-preview/ArchiveVersionList.json @@ -14,9 +14,9 @@ "body": { "value": [ { - "id": "string", - "name": "string", - "type": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions/myArchiveVersionName", + "name": "myArchiveVersionName", + "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", "systemData": { "createdBy": "string", "createdByType": "User", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveList.json index ba601e7d9371..605b7fa41fe1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveList.json @@ -13,9 +13,9 @@ "body": { "value": [ { - "id": "string", - "name": "string", - "type": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName", + "name": "myArchiveName", + "type": "Microsoft.ContainerRegistry/registries/archives", "systemData": { "createdBy": "string", "createdByType": "User", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionList.json index c998a235e5f8..64ca860dde53 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ArchiveVersionList.json @@ -14,9 +14,9 @@ "body": { "value": [ { - "id": "string", - "name": "string", - "type": "string", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName/versions/myArchiveVersionName", + "name": "myArchiveVersionName", + "type": "Microsoft.ContainerRegistry/registries/packages/archives/versions", "systemData": { "createdBy": "string", "createdByType": "User", diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDelete.json index 7fa2c0acf12c..645e9c92408a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryGet.json index 4378b9914dcf..da7c22634103 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryGet.json @@ -47,4 +47,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryList.json index 78c3c18ea09f..8d1aa54b5302 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryList.json @@ -50,4 +50,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryUpdate.json index 762a2fcb6b44..7c71e2fb4172 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ConnectedRegistryUpdate.json @@ -107,4 +107,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetCreate.json index a2dcbe77cd2e..5d297983be8e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetCreate.json @@ -83,4 +83,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetDelete.json index fffbec0cf4a8..e50ea291c8b0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetDelete.json @@ -17,4 +17,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetGet.json index 29fca8714394..02e53a9ca8fe 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetGet.json @@ -38,4 +38,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetList.json index d5914c4bcab3..155e2ef24ced 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetList.json @@ -41,4 +41,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetUpdate.json index c30ac574cf44..455f59c38abb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/CredentialSetUpdate.json @@ -79,4 +79,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineCreate.json index e46f8221b678..cb780fd0d46a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineCreate.json @@ -81,4 +81,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineDelete.json index 2d1b2f8a85f8..738ed423505e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineGet.json index 68e2cf551730..6a95d9885661 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineGet.json @@ -36,4 +36,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineList.json index 820085f35472..7b4f750946fb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ExportPipelineList.json @@ -39,4 +39,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByManifestDigest.json index 6828b0189b00..0c72c29df9af 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByManifestDigest.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByTag.json index 8f175dc89f1f..54c38b697be7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageByTag.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageFromPublicRegistry.json index 3998b948f1f0..fa0a5fd546fd 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportImageFromPublicRegistry.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineCreate.json index 80f5342bd9b4..b34201fa8574 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineCreate.json @@ -108,4 +108,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineDelete.json index 6dba33f4674a..4cbc6e631c24 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineGet.json index 0d215cd0a3b7..1e3b765a0540 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineGet.json @@ -47,4 +47,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineList.json index f5b3c8ee7054..50eefd781134 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ImportPipelineList.json @@ -50,4 +50,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/OperationList.json index d1164110e8b3..433c3e696418 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/OperationList.json @@ -22,4 +22,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Export.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Export.json index 5fa1b7ae6979..5430f3ceda1f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Export.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Export.json @@ -91,4 +91,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Import.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Import.json index 28380e661d65..1fac1cb76e44 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Import.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunCreate_Import.json @@ -90,4 +90,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunDelete.json index 404083d26a60..149235d2f12f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunGet.json index 809e6e87bbf9..4c010e394867 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunGet.json @@ -42,4 +42,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunList.json index f27d851e0d92..b7483278ca7a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PipelineRunList.json @@ -74,4 +74,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json index 0c42d65a0274..6dd1563f053d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json @@ -58,4 +58,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionDelete.json index 3fb381837d37..f5545b6e6caf 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionGet.json index e820d457388a..c7d451e74a1e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionGet.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionList.json index 7ee9ad7cc55a..dfa6e9928e5e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/PrivateEndpointConnectionList.json @@ -32,4 +32,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameAvailable.json index 7523577e0438..f312fa2666d0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameAvailable.json @@ -20,4 +20,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameNotAvailable.json index 7fb1e3442124..3ff32d80ec71 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCheckNameNotAvailable.json @@ -21,4 +21,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreate.json index c9ecb83e2a03..e8c1d7d0cf72 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreate.json @@ -136,4 +136,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateAbac.json index ff582f27909c..fd143fcf0921 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateAbac.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateAbac.json @@ -136,4 +136,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateDomainNameLabelScope.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateDomainNameLabelScope.json index 723b44c98fd9..f25029f5a529 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateDomainNameLabelScope.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateDomainNameLabelScope.json @@ -136,4 +136,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateZoneRedundant.json index 016dedf380a4..5df72a8a2204 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryCreateZoneRedundant.json @@ -139,4 +139,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryDelete.json index 1e1df4ad05d8..ec40287b1ef1 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryDelete.json @@ -17,4 +17,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGenerateCredentials.json index 7c5cc9afb59a..b7bfdc1c7b1d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGenerateCredentials.json @@ -36,4 +36,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGet.json index 87f5225e23b5..3423c790736e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGet.json @@ -67,4 +67,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGetPrivateLinkResource.json index 60339abc4730..b358fc05f75d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryGetPrivateLinkResource.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryList.json index f103409b464d..19048846e1df 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryList.json @@ -69,4 +69,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListByResourceGroup.json index b62b3d7cbd33..1fde9945fc72 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListByResourceGroup.json @@ -70,4 +70,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListCredentials.json index b758435e1da1..27aebc06feff 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListCredentials.json @@ -25,4 +25,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListPrivateLinkResources.json index 88e9cc326fc6..8a94798a6973 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListPrivateLinkResources.json @@ -31,4 +31,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListUsages.json index 7748d65c9c73..78ad4b2b9686 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryListUsages.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryRegenerateCredential.json index ec55e850dfe4..d9efd7670e5d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryRegenerateCredential.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryUpdate.json index 34a95c10c173..cb6276b7fa8b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/RegistryUpdate.json @@ -139,4 +139,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreate.json index ac8f43c0aad3..06227b121c8e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreate.json @@ -62,4 +62,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreateZoneRedundant.json index 24ff0939346e..2b044ad3ba11 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationCreateZoneRedundant.json @@ -66,4 +66,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationDelete.json index f3302a54280a..ad0c2fd622b4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationGet.json index 30994fe5fe21..40151d4bb9e0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationGet.json @@ -32,4 +32,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationList.json index b819a97db691..e9e380c117d7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationList.json @@ -35,4 +35,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationUpdate.json index b9c2d6dc0b71..76505dc001ba 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ReplicationUpdate.json @@ -61,4 +61,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapCreate.json index b8fdc5cdc049..5141e553ad91 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapCreate.json @@ -55,4 +55,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapDelete.json index 6c72f2af9cca..f6b74e11b8d8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapGet.json index 2fe7b432fe4d..e86841ea8033 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapGet.json @@ -27,4 +27,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapList.json index 215615f8b5a7..412ad4b0a6e4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapList.json @@ -30,4 +30,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapUpdate.json index be56ae693557..00ebfc28f41e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/ScopeMapUpdate.json @@ -55,4 +55,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenCreate.json index 37c1c5d2e914..508a7c24d301 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenCreate.json @@ -72,4 +72,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenDelete.json index 523e95cf8413..1eaf4087bc36 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenGet.json index 36cceab5fa6b..e46291843754 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenGet.json @@ -24,4 +24,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenList.json index b3fd1b85ec5e..3195a10a14f3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenList.json @@ -27,4 +27,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenUpdate.json index 413a0af7a822..0caaf426e161 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/TokenUpdate.json @@ -69,4 +69,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookCreate.json index b8f02a857606..9f7d4f70bb52 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookCreate.json @@ -69,4 +69,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookDelete.json index 5e05231f1928..04dc41433c40 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGet.json index 94bf018d8670..3a51e4763cd9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGet.json @@ -30,4 +30,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGetCallbackConfig.json index 98fb2df2e2f9..576260bd9105 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookGetCallbackConfig.json @@ -19,4 +19,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookList.json index 93b9e45a75dd..ef6b565788e3 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookList.json @@ -33,4 +33,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookListEvents.json index b25c10ab9bd7..8f3578eb3a37 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookListEvents.json @@ -63,4 +63,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookPing.json index ab88bf3f2f77..9d36b4705f2c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookPing.json @@ -16,4 +16,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookUpdate.json index b4f54613b261..9534b18f2da0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/examples/WebhookUpdate.json @@ -68,4 +68,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleCreate.json index eec9032d1c29..dc2140d5ad67 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleCreate.json @@ -49,4 +49,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleDelete.json index 4ab1206f586b..78ea5edfd591 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleDelete.json @@ -17,4 +17,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleGet.json index 83c925e309ed..aa4faad1a62e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleGet.json @@ -25,4 +25,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleList.json index 79bf583283ca..8916dfc3c0c7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleList.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleUpdate.json index aba86a6e4a73..bb1e3696770b 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CacheRuleUpdate.json @@ -47,4 +47,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryCreate.json index 5a8b73390b78..f809de6f63f6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryCreate.json @@ -110,4 +110,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDeactivate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDeactivate.json index ed55b29a5d44..855c8e1d37c2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDeactivate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDeactivate.json @@ -17,4 +17,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDelete.json index 1774091a9d64..89ab3968f108 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryGet.json index b9d713e0e7d7..3a17d07f7c8d 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryGet.json @@ -47,4 +47,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryList.json index a47ff01ae2ae..de97c96eefb5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryList.json @@ -50,4 +50,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryUpdate.json index ac3ccf4a43fe..0ced8a6ec2d2 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ConnectedRegistryUpdate.json @@ -107,4 +107,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetCreate.json index afc47c6a7ae6..b05b8d93f015 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetCreate.json @@ -83,4 +83,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetDelete.json index 6c9964d4e887..e8949b9a9b6f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetDelete.json @@ -17,4 +17,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetGet.json index 2877301fc18d..debc778d26ba 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetGet.json @@ -38,4 +38,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetList.json index f85c2538261c..3e37902df438 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetList.json @@ -41,4 +41,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetUpdate.json index 86f48d3b85ec..c34bf5e574f7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/CredentialSetUpdate.json @@ -79,4 +79,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByManifestDigest.json index 19e50919191c..25eea8fe49f4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByManifestDigest.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByManifestDigest.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByTag.json index b3096752d941..4bd63c825cbb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByTag.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageByTag.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageFromPublicRegistry.json index 9713b923d7c6..0f2ec1fef768 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageFromPublicRegistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ImportImageFromPublicRegistry.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/OperationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/OperationList.json index a6b9b527bf73..ee742449f457 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/OperationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/OperationList.json @@ -22,4 +22,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionCreateOrUpdate.json index 116330e0e614..5f362f927e58 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionCreateOrUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionCreateOrUpdate.json @@ -58,4 +58,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionDelete.json index 8dff05128df4..22b8b304df38 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionGet.json index 23165c4a1219..7d81b47ac26e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionGet.json @@ -29,4 +29,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionList.json index 4e7942f132a8..daca3301b262 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/PrivateEndpointConnectionList.json @@ -32,4 +32,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameAvailable.json index d612339e916b..3b27d2892b98 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameAvailable.json @@ -17,4 +17,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameNotAvailable.json index 089e77769c41..a9e837d269c9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameNotAvailable.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCheckNameNotAvailable.json @@ -19,4 +19,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreate.json index 400133fb849b..5ae1ffcd31de 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreate.json @@ -138,4 +138,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateAbac.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateAbac.json index 4866cab75f23..6fdf384eb7b9 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateAbac.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateAbac.json @@ -132,4 +132,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateZoneRedundant.json index 093f4a690d4e..ed23b0847435 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryCreateZoneRedundant.json @@ -141,4 +141,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryDelete.json index 75f8ebeb17a7..285a1a13cd1a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryDelete.json @@ -17,4 +17,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGenerateCredentials.json index 72317cbdc846..c679a337fdab 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGenerateCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGenerateCredentials.json @@ -36,4 +36,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGet.json index cd1d00dcf99b..3064e5ce34dc 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGet.json @@ -68,4 +68,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGetPrivateLinkResource.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGetPrivateLinkResource.json index 4e75def514a8..750d2662ef17 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGetPrivateLinkResource.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryGetPrivateLinkResource.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryList.json index 0705ff77cd48..daf50228e629 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryList.json @@ -70,4 +70,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListByResourceGroup.json index a767b33ad277..3251dcf0a696 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListByResourceGroup.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListByResourceGroup.json @@ -71,4 +71,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListCredentials.json index 7bf7113a89df..e659e1f41dce 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListCredentials.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListCredentials.json @@ -25,4 +25,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListPrivateLinkResources.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListPrivateLinkResources.json index 208f43f4bce5..09db00988186 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListPrivateLinkResources.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListPrivateLinkResources.json @@ -31,4 +31,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListUsages.json index 2c3ae8463f1a..a3dafe89b6e6 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListUsages.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryListUsages.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryRegenerateCredential.json index 3fc50384156a..cb0a991291bb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryRegenerateCredential.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryRegenerateCredential.json @@ -28,4 +28,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryUpdate.json index 6191297ab5c5..7dafbcc7ad61 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/RegistryUpdate.json @@ -141,4 +141,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreate.json index ae117a54a6e6..33bfc75e0d67 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreate.json @@ -62,4 +62,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreateZoneRedundant.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreateZoneRedundant.json index 380c6ed8e1f1..118132213c96 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreateZoneRedundant.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationCreateZoneRedundant.json @@ -66,4 +66,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationDelete.json index 57f8b9f1b224..6ae010210f9f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationGet.json index ffc508a10bd6..7cb984cae490 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationGet.json @@ -32,4 +32,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationList.json index ac8ca518de08..2ddb4b943904 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationList.json @@ -35,4 +35,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationUpdate.json index 3bc8d87acaa6..1d3463732497 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ReplicationUpdate.json @@ -61,4 +61,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapCreate.json index db3ea6267fd1..d91ddd56254f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapCreate.json @@ -55,4 +55,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapDelete.json index 261ebd2cddca..71138e2d71fb 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapGet.json index 2641c1f86d08..274042523e50 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapGet.json @@ -27,4 +27,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapList.json index a49032acaae0..5215c4a533f7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapList.json @@ -30,4 +30,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapUpdate.json index fa25870e059e..cf8638c82c4c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/ScopeMapUpdate.json @@ -55,4 +55,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenCreate.json index 9dd53b11cbd3..b1bc2b68dba8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenCreate.json @@ -72,4 +72,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenDelete.json index 234c2465912a..4840c4c1b335 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenGet.json index 2df8103af04c..30dc7f07f881 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenGet.json @@ -24,4 +24,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenList.json index fcafd67fce91..dd6a1074a2ed 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenList.json @@ -27,4 +27,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenUpdate.json index 62fd51c680da..aab5db1fbf32 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/TokenUpdate.json @@ -69,4 +69,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookCreate.json index 0e0125330ca0..d16c0703b198 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookCreate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookCreate.json @@ -69,4 +69,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookDelete.json index b2a96652e20d..be2fd4693f74 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookDelete.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookDelete.json @@ -18,4 +18,3 @@ "204": {} } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGet.json index 6a383ce7db73..4615d1de304f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGet.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGet.json @@ -30,4 +30,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGetCallbackConfig.json index 5a263aa534be..6d208a2ba60f 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGetCallbackConfig.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookGetCallbackConfig.json @@ -19,4 +19,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookList.json index 89954c5715d4..754b84ae8e18 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookList.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookList.json @@ -33,4 +33,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookListEvents.json index e9b7825952a9..7107cde9d1e4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookListEvents.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookListEvents.json @@ -63,4 +63,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookPing.json index 1c19af305e09..7e2789ea86fa 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookPing.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookPing.json @@ -16,4 +16,3 @@ } } } - diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookUpdate.json index 350d3c679327..ec34d61ef04e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookUpdate.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/examples/WebhookUpdate.json @@ -68,4 +68,3 @@ } } } - From f17e12861c4a753019d71085067a70d957fb0ecd Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Thu, 16 Oct 2025 13:50:09 +0800 Subject: [PATCH 32/41] update --- .../Registry/ConnectedRegistry.tsp | 2 +- .../Microsoft.ContainerRegistry/Registry/CredentialSet.tsp | 2 +- .../Registry/ExportPipeline.tsp | 6 +++--- .../Registry/ImportPipeline.tsp | 7 ++++--- .../Microsoft.ContainerRegistry/Registry/PipelineRun.tsp | 2 +- .../Registry/PrivateEndpointConnection.tsp | 2 +- .../Registry/PrivateLinkResource.tsp | 5 +++++ .../Microsoft.ContainerRegistry/Registry/Registry.tsp | 6 +++--- .../Microsoft.ContainerRegistry/Registry/Replication.tsp | 2 +- .../Microsoft.ContainerRegistry/Registry/ScopeMap.tsp | 2 +- .../Microsoft.ContainerRegistry/Registry/Token.tsp | 2 +- .../Microsoft.ContainerRegistry/Registry/Webhook.tsp | 2 +- .../Microsoft.ContainerRegistry/Registry/models.tsp | 1 + .../preview/2025-06-01-preview/containerregistry.json | 4 ++-- .../Registry/stable/2025-11-01/containerregistry.json | 4 ++-- 15 files changed, 28 insertions(+), 21 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp index 71a6e745bb38..f9b7d4ccaa5c 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ConnectedRegistry.tsp @@ -54,7 +54,7 @@ interface ConnectedRegistries { /** * Deletes a connected registry from a container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is ArmResourceDeleteWithoutOkAsync< ConnectedRegistry, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CredentialSet.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CredentialSet.tsp index b1ccdd0dc957..4d6a11630ce8 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CredentialSet.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/CredentialSet.tsp @@ -27,7 +27,7 @@ model CredentialSet /** * Identities associated with the resource. This is used to access the KeyVault secrets. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" identity?: IdentityProperties; } diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp index 53fc8c40e97b..c2cf09c9ccef 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ExportPipeline.tsp @@ -30,13 +30,13 @@ model ExportPipeline /** * The location of the export pipeline. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" location?: string; /** * The identity of the export pipeline. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" identity?: IdentityProperties; } @@ -56,7 +56,7 @@ interface ExportPipelines { /** * Deletes an export pipeline from a container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is ArmResourceDeleteWithoutOkAsync< ExportPipeline, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp index 8086aafee239..b6f3e6ee7ae7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ImportPipeline.tsp @@ -16,6 +16,7 @@ namespace Microsoft.ContainerRegistry; /** * An object that represents an import pipeline for a container registry. */ +@removed(Versions.v2025_11_01) @parentResource(Registry) model ImportPipeline is Azure.ResourceManager.ProxyResource { @@ -29,13 +30,13 @@ model ImportPipeline /** * The location of the import pipeline. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" location?: string; /** * The identity of the import pipeline. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" identity?: IdentityProperties; } @@ -55,7 +56,7 @@ interface ImportPipelines { /** * Deletes an import pipeline from a container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is ArmResourceDeleteWithoutOkAsync< ImportPipeline, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp index 5d2d42b3fbf5..2383adb3e9d0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PipelineRun.tsp @@ -44,7 +44,7 @@ interface PipelineRuns { /** * Deletes a pipeline run from a container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is ArmResourceDeleteWithoutOkAsync< PipelineRun, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateEndpointConnection.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateEndpointConnection.tsp index 9704027745ea..4055e2fdb6cc 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateEndpointConnection.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateEndpointConnection.tsp @@ -40,7 +40,7 @@ interface PrivateEndpointConnections { /** * Deletes the specified private endpoint connection associated with the container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is ArmResourceDeleteWithoutOkAsync< PrivateEndpointConnection, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp index 0b276e060448..d60adfbd7173 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp @@ -20,6 +20,11 @@ interface PrivateLinkResources { /** * Gets a private link resource by a specified group name for a container registry. */ + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.ResourceManager.Legacy.renamePathParameter( + "privateLinkResourceName", + "groupName" + ) getPrivateLinkResource is PrivateLinkOperations.Read; /** diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp index bd3595252190..705614db12c7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp @@ -24,13 +24,13 @@ model Registry is Azure.ResourceManager.TrackedResource { /** * The SKU of the container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" sku: Sku; /** * The identity of the container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" identity?: IdentityProperties; } @@ -63,7 +63,7 @@ interface Registries { /** * Deletes a container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is ArmResourceDeleteWithoutOkAsync< Registry, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Replication.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Replication.tsp index aabd241a66ad..c46aba7bd0b7 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Replication.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Replication.tsp @@ -54,7 +54,7 @@ interface Replications { /** * Deletes a replication from a container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is ArmResourceDeleteWithoutOkAsync< Replication, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ScopeMap.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ScopeMap.tsp index 43b055ff555b..6051c9418444 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ScopeMap.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/ScopeMap.tsp @@ -53,7 +53,7 @@ interface ScopeMaps { /** * Deletes a scope map from a container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is ArmResourceDeleteWithoutOkAsync< ScopeMap, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Token.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Token.tsp index f2ffadc1ef93..71ccec18cc8e 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Token.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Token.tsp @@ -53,7 +53,7 @@ interface Tokens { /** * Deletes a token from a container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is ArmResourceDeleteWithoutOkAsync< Token, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Webhook.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Webhook.tsp index a302c2d3aa84..c0794d6a3b59 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Webhook.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Webhook.tsp @@ -56,7 +56,7 @@ interface Webhooks { /** * Deletes a webhook from a container registry. */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" delete is ArmResourceDeleteWithoutOkAsync< Webhook, Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp index d66ed7a22c48..ee0a6e60ef86 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp @@ -3306,6 +3306,7 @@ model ExportPipelineListResult { /** * The result of a request to list import pipelines for a container registry. */ +@removed(Versions.v2025_11_01) model ImportPipelineListResult { /** * The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines. diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json index a9c00ad9d9ef..f31109324225 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/preview/2025-06-01-preview/containerregistry.json @@ -3819,7 +3819,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{privateLinkResourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { "get": { "operationId": "Registries_GetPrivateLinkResource", "tags": [ @@ -3847,7 +3847,7 @@ "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "privateLinkResourceName", + "name": "groupName", "in": "path", "description": "The name of the private link associated with the Azure resource.", "required": true, diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json index 276d45f37329..d6168df9d4af 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/stable/2025-11-01/containerregistry.json @@ -2247,7 +2247,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{privateLinkResourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}": { "get": { "operationId": "Registries_GetPrivateLinkResource", "tags": [ @@ -2275,7 +2275,7 @@ "pattern": "^[a-zA-Z0-9]*$" }, { - "name": "privateLinkResourceName", + "name": "groupName", "in": "path", "description": "The name of the private link associated with the Azure resource.", "required": true, From 758a377350c831b2576dd59b61587d612a5f11f0 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Fri, 17 Oct 2025 12:57:30 +0800 Subject: [PATCH 33/41] java config --- .../Microsoft.ContainerRegistry/RegistryTasks/readme.java.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/readme.java.md b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/readme.java.md index e93e9ef4bc42..bfc658de7caf 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/readme.java.md +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/readme.java.md @@ -4,7 +4,10 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) +title: ContainerRegistryTasksManagementClient modelerfour: lenient-model-deduplication: true enable-sync-stack: false +rename-model: DockerBuildStep:DockerTaskStep +rename-operation-group: Registries:RegistryTasks ``` From d84751bf5077f1e40033fab225a2cb96f9e54a90 Mon Sep 17 00:00:00 2001 From: Chenjie Shi Date: Fri, 17 Oct 2025 13:23:14 +0800 Subject: [PATCH 34/41] go config --- .../Microsoft.ContainerRegistry/Registry/tspconfig.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml index 5f2f741c868d..8a6b2c53d252 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/tspconfig.yaml @@ -42,8 +42,8 @@ options: name: "@azure/arm-containerregistry" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/containerregistry" - emitter-output-dir: "{output-dir}/{service-dir}/armcontainerregistries" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcontainerregistries" + emitter-output-dir: "{output-dir}/{service-dir}/armcontainerregistry" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcontainerregistry" fix-const-stuttering: true flavor: "azure" generate-samples: true From 492b596110645192d9e65e7cf84dd16072675f1f Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Fri, 17 Oct 2025 15:26:58 +0800 Subject: [PATCH 35/41] fix python config --- .../Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml index 2d9e82c3f94f..96d8eca5f811 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/tspconfig.yaml @@ -22,7 +22,7 @@ options: "@azure-tools/typespec-python": service-dir: "sdk/containerregistry" emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-containerregistrytasks" - namespace: "azure.mgmt.containerregistry" + namespace: "azure.mgmt.containerregistrytasks" generate-test: true generate-sample: true flavor: "azure" From bc234bd72cb774ca8fa20bd20db8bfe57cbe4b8e Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 20 Oct 2025 11:12:35 +0800 Subject: [PATCH 36/41] add configuration for python --- .../Microsoft.ContainerRegistry/RegistryTasks/client.tsp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp index 4ea82f7ba0f5..13b842664d9a 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp @@ -10,3 +10,11 @@ using Microsoft.ContainerRegistry; ); @@clientName(Architecture.`386`, "ThreeHundredEightySix", "javascript"); + +@@clientName(Microsoft.ContainerRegistry, + "ContainerRegistryTasksMgmtClient", + "python" +); + +@@clientName(Architecture.`386`, "THREE_HUNDRED_EIGHTY_SIX", "python"); + From 70cd1361c1c9621b6e5c75e2900a63bb7228de31 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 21 Oct 2025 10:27:05 +0800 Subject: [PATCH 37/41] Update client.tsp --- .../Microsoft.ContainerRegistry/RegistryTasks/client.tsp | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp index 13b842664d9a..8ec7e446b880 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/client.tsp @@ -17,4 +17,3 @@ using Microsoft.ContainerRegistry; ); @@clientName(Architecture.`386`, "THREE_HUNDRED_EIGHTY_SIX", "python"); - From 5d512fa6b0e04dbd4084b964e81fbfae1e01c5e7 Mon Sep 17 00:00:00 2001 From: Judy Liu Date: Thu, 23 Oct 2025 17:43:31 +0800 Subject: [PATCH 38/41] add clientname --- .../RegistryTasks/back-compatible.tsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp index fe4231b88d8f..574c2dec37a4 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp @@ -15,3 +15,5 @@ using Microsoft.ContainerRegistry; @@clientName(Tasks.update::parameters.properties, "taskUpdateParameters"); @@clientName(Registries.scheduleRun::parameters.body, "runRequest"); + +@@clientName(Architecture.`386`, "ThreeHundredEightySix", "go"); \ No newline at end of file From 86b5cf2cd11c09307a00e48c053793e01856ccaf Mon Sep 17 00:00:00 2001 From: ZiWei Chen Date: Fri, 24 Oct 2025 10:00:56 +0800 Subject: [PATCH 39/41] resolve comment --- .../Microsoft.ContainerRegistry/Registry/Registry.tsp | 1 - .../Microsoft.ContainerRegistry/Registry/models.tsp | 1 - 2 files changed, 2 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp index 705614db12c7..25a1f3010aab 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/Registry.tsp @@ -103,7 +103,6 @@ interface Registries { /** * Gets the quota usages for the specified container registry. */ - @list @get listUsages is ArmResourceActionSync< Registry, diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp index ee0a6e60ef86..84c0224efc88 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/models.tsp @@ -2390,7 +2390,6 @@ model RegistryUsageListResult { /** * The list of container registry quota usages. */ - @pageItems @OpenAPI.extension("x-ms-identifiers", #["name"]) value?: RegistryUsage[]; } From ee1656a31f454e5eac0e495739ddec28769c6357 Mon Sep 17 00:00:00 2001 From: ZiWei Chen Date: Fri, 24 Oct 2025 11:19:26 +0800 Subject: [PATCH 40/41] update --- .../Registry/PrivateLinkResource.tsp | 3 +-- .../RegistryTasks/back-compatible.tsp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp index d60adfbd7173..55d5761251e5 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp @@ -12,8 +12,7 @@ using TypeSpec.OpenAPI; namespace Microsoft.ContainerRegistry; -model MyPrivateLinkResource is PrivateLink; -alias PrivateLinkOperations = PrivateLinks; +alias PrivateLinkOperations = PrivateLinks; @armResourceOperations interface PrivateLinkResources { diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp index 574c2dec37a4..2bab9394d8a0 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/RegistryTasks/back-compatible.tsp @@ -16,4 +16,4 @@ using Microsoft.ContainerRegistry; @@clientName(Registries.scheduleRun::parameters.body, "runRequest"); -@@clientName(Architecture.`386`, "ThreeHundredEightySix", "go"); \ No newline at end of file +@@clientName(Architecture.`386`, "ThreeHundredEightySix", "go"); From bc37e070826c3956d0c7f670ea31aa82e15b16a1 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 27 Oct 2025 16:23:54 +0800 Subject: [PATCH 41/41] Update PrivateLinkResource.tsp --- .../Registry/PrivateLinkResource.tsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp index 55d5761251e5..e82082a9a244 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/PrivateLinkResource.tsp @@ -12,7 +12,7 @@ using TypeSpec.OpenAPI; namespace Microsoft.ContainerRegistry; -alias PrivateLinkOperations = PrivateLinks; +alias PrivateLinkOperations = PrivateLinks; @armResourceOperations interface PrivateLinkResources {