-
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.
Raymondluo1 containerregistry microsoft.container registry 2023 11 01…
… preview (#25918) * Adds base for updating Microsoft.ContainerRegistry from version preview/2023-08-01-preview to version 2023-11-01-preview * Updates readme * Updates API version in new specs and examples * Added the metadataSearchEnabled property. * Fixed the tag format in readme * Updated examples for the metadata search * Fix format issue on the readme. * Change the metadataSearch to a Enum * Fixed the format issue. * Revert to the format before. * Fix the ENUM case issue. * Added the changes for the readme for sdks
- Loading branch information
1 parent
b375632
commit c372340
Showing
92 changed files
with
11,864 additions
and
5 deletions.
There are no files selected for viewing
7,990 changes: 7,990 additions & 0 deletions
7,990
...rce-manager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/containerregistry.json
Large diffs are not rendered by default.
Oops, something went wrong.
59 changes: 59 additions & 0 deletions
59
...anager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/examples/ArchiveCreate.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,59 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"packageType": "rpm", | ||
"archiveName": "myArchiveName", | ||
"archiveCreateParameters": { | ||
"properties": { | ||
"packageSource": { | ||
"type": "remote", | ||
"url": "string" | ||
}, | ||
"publishedVersion": "string", | ||
"repositoryEndpointPrefix": "string" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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" | ||
}, | ||
"publishedVersion": "string", | ||
"repositoryEndpointPrefix": "string", | ||
"repositoryEndpoint": "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": { | ||
"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" | ||
}, | ||
"publishedVersion": "string", | ||
"repositoryEndpointPrefix": "string", | ||
"repositoryEndpoint": "string", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...anager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/examples/ArchiveDelete.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,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"packageType": "myPackageType", | ||
"archiveName": "myArchiveName" | ||
}, | ||
"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": {} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...e-manager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/examples/ArchiveGet.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,35 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"packageType": "myPackageType", | ||
"archiveName": "myArchiveName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...-manager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/examples/ArchiveList.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,39 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"packageType": "myPackageType" | ||
}, | ||
"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": { | ||
"packageSource": { | ||
"type": "string", | ||
"url": "string" | ||
}, | ||
"publishedVersion": "string", | ||
"provisioningState": "Creating" | ||
} | ||
} | ||
], | ||
"nextLink": "string" | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...anager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/examples/ArchiveUpdate.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,42 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"packageType": "myPackageType", | ||
"archiveName": "myArchiveName", | ||
"archiveUpdateParameters": { | ||
"properties": { | ||
"publishedVersion": "string" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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" | ||
}, | ||
"publishedVersion": "string", | ||
"repositoryEndpointPrefix": "string", | ||
"repositoryEndpoint": "string", | ||
"provisioningState": "Creating" | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...Microsoft.ContainerRegistry/preview/2023-11-01-preview/examples/ArchiveVersionCreate.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,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"packageType": "rpm", | ||
"archiveName": "myArchiveName", | ||
"archiveVersionName": "myArchiveVersionName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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": { | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...Microsoft.ContainerRegistry/preview/2023-11-01-preview/examples/ArchiveVersionDelete.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,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"packageType": "myPackageType", | ||
"archiveName": "myArchiveName", | ||
"archiveVersionName": "myArchiveVersionName" | ||
}, | ||
"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": {} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...er/Microsoft.ContainerRegistry/preview/2023-11-01-preview/examples/ArchiveVersionGet.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,32 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"packageType": "rpm", | ||
"archiveName": "myArchiveName", | ||
"archiveVersionName": "myArchiveVersionName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"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", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2023-02-24T00:13:46.836Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2023-02-24T00:13:46.836Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"archiveVersionErrorMessage": "string" | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...r/Microsoft.ContainerRegistry/preview/2023-11-01-preview/examples/ArchiveVersionList.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,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-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" | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...ager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/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-11-01-preview", | ||
"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-11-01-preview" | ||
}, | ||
"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
...ager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/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-11-01-preview", | ||
"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-11-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
Oops, something went wrong.