forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACR new API 2021-12-01 preview (Azure#17410)
- Loading branch information
1 parent
866a33a
commit 5cda037
Showing
74 changed files
with
9,184 additions
and
3 deletions.
There are no files selected for viewing
6,162 changes: 6,162 additions & 0 deletions
6,162
...rce-manager/Microsoft.ContainerRegistry/preview/2021-12-01-preview/containerregistry.json
Large diffs are not rendered by default.
Oops, something went wrong.
95 changes: 95 additions & 0 deletions
95
...rosoft.ContainerRegistry/preview/2021-12-01-preview/examples/ConnectedRegistryCreate.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,95 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-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" | ||
], | ||
"notificationsList": [ | ||
"hello-world:*:*", | ||
"sample/repo/*:1.0:*" | ||
] | ||
} | ||
} | ||
}, | ||
"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:*" | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"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:*" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ft.ContainerRegistry/preview/2021-12-01-preview/examples/ConnectedRegistryDeactivate.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,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"connectedRegistryName": "myConnectedRegistry" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...rosoft.ContainerRegistry/preview/2021-12-01-preview/examples/ConnectedRegistryDelete.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,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"connectedRegistryName": "myConnectedRegistry" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...Microsoft.ContainerRegistry/preview/2021-12-01-preview/examples/ConnectedRegistryGet.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,43 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"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:*" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...icrosoft.ContainerRegistry/preview/2021-12-01-preview/examples/ConnectedRegistryList.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,46 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"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:*" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
92 changes: 92 additions & 0 deletions
92
...rosoft.ContainerRegistry/preview/2021-12-01-preview/examples/ConnectedRegistryUpdate.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,92 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-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" | ||
], | ||
"notificationsList": [ | ||
"hello-world:*:*", | ||
"sample/repo/*:1.0:*" | ||
] | ||
} | ||
} | ||
}, | ||
"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:*" | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"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:*" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
...Microsoft.ContainerRegistry/preview/2021-12-01-preview/examples/ExportPipelineCreate.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,75 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"exportPipelineName": "myExportPipeline", | ||
"exportPipelineCreateParameters": { | ||
"location": "westus", | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"properties": { | ||
"target": { | ||
"type": "AzureStorageBlobContainer", | ||
"uri": "https://accountname.blob.core.windows.net/containername", | ||
"keyVaultUri": "https://myvault.vault.azure.net/secrets/acrexportsas" | ||
}, | ||
"options": [ | ||
"OverwriteBlobs" | ||
] | ||
} | ||
} | ||
}, | ||
"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", | ||
"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" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline", | ||
"name": "myExportPipeline", | ||
"type": "Microsoft.ContainerRegistry/registries/exportPipelines", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...Microsoft.ContainerRegistry/preview/2021-12-01-preview/examples/ExportPipelineDelete.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,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-12-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"registryName": "myRegistry", | ||
"exportPipelineName": "myExportPipeline" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
Oops, something went wrong.