-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.ContainerRegistry to add…
… version stable/2023-07-01 (#24771) * Adds base for updating Microsoft.ContainerRegistry from version stable/2022-12-01 to version 2023-07-01 * Updates readme * Updates API version in new specs and examples * Add 2023-07-01 GA changes * Fix readme files * Referece common-types error response definition. Use v5 definitions * readme.go.md add directive * Remove 200 from LRO-Delete in CacheRules/CredentialSets --------- Co-authored-by: Alancere <804873052@qq.com>
- Loading branch information
Showing
64 changed files
with
7,779 additions
and
12 deletions.
There are no files selected for viewing
5,249 changes: 5,249 additions & 0 deletions
5,249
...try/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/containerregistry.json
Large diffs are not rendered by default.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
...ource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-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=2023-07-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-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=2023-07-01" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...esource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...ource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-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=2023-07-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
83 changes: 83 additions & 0 deletions
83
...e-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-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=2023-07-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...e-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-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=2023-07-01" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...urce-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...rce-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.