/
CacheRuleUpdate.json
47 lines (47 loc) · 2.44 KB
/
CacheRuleUpdate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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"
}
}
}
}
}