Skip to content

Commit c372340

Browse files
authored
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
1 parent b375632 commit c372340

File tree

92 files changed

+11864
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+11864
-5
lines changed

specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-11-01-preview/containerregistry.json

+7,990
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"registryName": "myRegistry",
7+
"packageType": "rpm",
8+
"archiveName": "myArchiveName",
9+
"archiveCreateParameters": {
10+
"properties": {
11+
"packageSource": {
12+
"type": "remote",
13+
"url": "string"
14+
},
15+
"publishedVersion": "string",
16+
"repositoryEndpointPrefix": "string"
17+
}
18+
}
19+
},
20+
"responses": {
21+
"200": {
22+
"body": {
23+
"type": "Microsoft.ContainerRegistry/registries/archives",
24+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName",
25+
"name": "myArchiveName",
26+
"properties": {
27+
"packageSource": {
28+
"type": "remote",
29+
"url": "string"
30+
},
31+
"publishedVersion": "string",
32+
"repositoryEndpointPrefix": "string",
33+
"repositoryEndpoint": "string",
34+
"provisioningState": "Succeeded"
35+
}
36+
}
37+
},
38+
"201": {
39+
"headers": {
40+
"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"
41+
},
42+
"body": {
43+
"type": "Microsoft.ContainerRegistry/registries/archives",
44+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/archives/myArchiveName",
45+
"name": "myArchiveName",
46+
"properties": {
47+
"packageSource": {
48+
"type": "remote",
49+
"url": "string"
50+
},
51+
"publishedVersion": "string",
52+
"repositoryEndpointPrefix": "string",
53+
"repositoryEndpoint": "string",
54+
"provisioningState": "Succeeded"
55+
}
56+
}
57+
}
58+
}
59+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"registryName": "myRegistry",
7+
"packageType": "myPackageType",
8+
"archiveName": "myArchiveName"
9+
},
10+
"responses": {
11+
"202": {
12+
"headers": {
13+
"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"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"registryName": "myRegistry",
7+
"packageType": "myPackageType",
8+
"archiveName": "myArchiveName"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"type": "Microsoft.ContainerRegistry/registries/packages/archives",
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName",
15+
"name": "myArchiveName",
16+
"systemData": {
17+
"createdBy": "string",
18+
"createdByType": "User",
19+
"createdAt": "2023-02-24T00:13:46.836Z",
20+
"lastModifiedBy": "string",
21+
"lastModifiedByType": "User",
22+
"lastModifiedAt": "2023-02-24T00:13:46.836Z"
23+
},
24+
"properties": {
25+
"packageSource": {
26+
"type": "string",
27+
"url": "string"
28+
},
29+
"publishedVersion": "string",
30+
"provisioningState": "Creating"
31+
}
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"registryName": "myRegistry",
7+
"packageType": "myPackageType"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"value": [
13+
{
14+
"id": "string",
15+
"name": "string",
16+
"type": "string",
17+
"systemData": {
18+
"createdBy": "string",
19+
"createdByType": "User",
20+
"createdAt": "2023-02-24T00:22:47.311Z",
21+
"lastModifiedBy": "string",
22+
"lastModifiedByType": "User",
23+
"lastModifiedAt": "2023-02-24T00:22:47.311Z"
24+
},
25+
"properties": {
26+
"packageSource": {
27+
"type": "string",
28+
"url": "string"
29+
},
30+
"publishedVersion": "string",
31+
"provisioningState": "Creating"
32+
}
33+
}
34+
],
35+
"nextLink": "string"
36+
}
37+
}
38+
}
39+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"registryName": "myRegistry",
7+
"packageType": "myPackageType",
8+
"archiveName": "myArchiveName",
9+
"archiveUpdateParameters": {
10+
"properties": {
11+
"publishedVersion": "string"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"type": "Microsoft.ContainerRegistry/registries/packages/archives",
19+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/myPackageType/archives/myArchiveName",
20+
"name": "myArchiveName",
21+
"systemData": {
22+
"createdBy": "string",
23+
"createdByType": "User",
24+
"createdAt": "2023-06-09T23:41:38.720Z",
25+
"lastModifiedBy": "string",
26+
"lastModifiedByType": "User",
27+
"lastModifiedAt": "2023-06-09T23:41:38.720Z"
28+
},
29+
"properties": {
30+
"packageSource": {
31+
"type": "remote",
32+
"url": "string"
33+
},
34+
"publishedVersion": "string",
35+
"repositoryEndpointPrefix": "string",
36+
"repositoryEndpoint": "string",
37+
"provisioningState": "Creating"
38+
}
39+
}
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"registryName": "myRegistry",
7+
"packageType": "rpm",
8+
"archiveName": "myArchiveName",
9+
"archiveVersionName": "myArchiveVersionName"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"type": "Microsoft.ContainerRegistry/registries/packages/archives/versions",
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName",
16+
"name": "myArchiveVersionName",
17+
"properties": {
18+
"provisioningState": "Succeeded"
19+
}
20+
}
21+
},
22+
"201": {
23+
"headers": {
24+
"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"
25+
},
26+
"body": {
27+
"type": "Microsoft.ContainerRegistry/registries/packages/archives/versions",
28+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName",
29+
"name": "myCacheRule",
30+
"properties": {
31+
"provisioningState": "Succeeded"
32+
}
33+
}
34+
}
35+
}
36+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"registryName": "myRegistry",
7+
"packageType": "myPackageType",
8+
"archiveName": "myArchiveName",
9+
"archiveVersionName": "myArchiveVersionName"
10+
},
11+
"responses": {
12+
"202": {
13+
"headers": {
14+
"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"
15+
}
16+
},
17+
"204": {}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"registryName": "myRegistry",
7+
"packageType": "rpm",
8+
"archiveName": "myArchiveName",
9+
"archiveVersionName": "myArchiveVersionName"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"type": "Microsoft.ContainerRegistry/registries/packages/archives",
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/packages/rpm/archives/myArchiveName/versions/myArchiveVersionName",
16+
"name": "myArchiveName",
17+
"systemData": {
18+
"createdBy": "string",
19+
"createdByType": "User",
20+
"createdAt": "2023-02-24T00:13:46.836Z",
21+
"lastModifiedBy": "string",
22+
"lastModifiedByType": "User",
23+
"lastModifiedAt": "2023-02-24T00:13:46.836Z"
24+
},
25+
"properties": {
26+
"provisioningState": "Creating",
27+
"archiveVersionErrorMessage": "string"
28+
}
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"registryName": "myRegistry",
7+
"packageType": "myPackageType",
8+
"archiveName": "myArchiveName"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"id": "string",
16+
"name": "string",
17+
"type": "string",
18+
"systemData": {
19+
"createdBy": "string",
20+
"createdByType": "User",
21+
"createdAt": "2023-02-24T00:22:47.311Z",
22+
"lastModifiedBy": "string",
23+
"lastModifiedByType": "User",
24+
"lastModifiedAt": "2023-02-24T00:22:47.311Z"
25+
},
26+
"properties": {
27+
"provisioningState": "Creating",
28+
"archiveVersionErrorMessage": "string"
29+
}
30+
}
31+
],
32+
"nextLink": "string"
33+
}
34+
}
35+
}
36+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"registryName": "myRegistry",
7+
"cacheRuleName": "myCacheRule",
8+
"cacheRuleCreateParameters": {
9+
"properties": {
10+
"sourceRepository": "docker.io/library/hello-world",
11+
"targetRepository": "cached-docker-hub/hello-world",
12+
"credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet"
13+
}
14+
}
15+
},
16+
"responses": {
17+
"200": {
18+
"body": {
19+
"type": "Microsoft.ContainerRegistry/registries/cacheRules",
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule",
21+
"name": "myCacheRule",
22+
"properties": {
23+
"credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet",
24+
"sourceRepository": "docker.io/library/hello-world",
25+
"targetRepository": "cached-docker-hub/hello-world",
26+
"creationDate": "2022-11-07T18:20:33.8374968+00:00",
27+
"provisioningState": "Succeeded"
28+
}
29+
}
30+
},
31+
"201": {
32+
"headers": {
33+
"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"
34+
},
35+
"body": {
36+
"type": "Microsoft.ContainerRegistry/registries/cacheRules",
37+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/cacheRules/myCacheRule",
38+
"name": "myCacheRule",
39+
"properties": {
40+
"credentialSetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/credentialSets/myCredentialSet",
41+
"sourceRepository": "docker.io/library/hello-world",
42+
"targetRepository": "cached-docker-hub/hello-world",
43+
"creationDate": "2022-11-07T18:20:33.8374968+00:00",
44+
"provisioningState": "Creating"
45+
}
46+
}
47+
}
48+
}
49+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-11-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"registryName": "myRegistry",
7+
"cacheRuleName": "myCacheRule"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"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"
13+
}
14+
},
15+
"204": {}
16+
}
17+
}

0 commit comments

Comments
 (0)