Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pipeline Resources for Image Transfer #8662

Merged
merged 12 commits into from
May 6, 2020

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"parameters": {
"api-version": "2019-12-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"exportPipelineName": "myExportPipeline",
"exportPipelineCreateParameters": {
"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"
},
"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"
},
"identity": {
"principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
"tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
"type": "SystemAssigned"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2019-12-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"exportPipelineName": "myExportPipeline"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2019-12-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"exportPipelineName": "myExportPipeline"
},
"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"
},
"identity": {
"principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
"tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
"type": "SystemAssigned"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"api-version": "2019-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/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"
},
"identity": {
"principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
"tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
"type": "SystemAssigned"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"parameters": {
"api-version": "2019-12-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"importPipelineName": "myImportPipeline",
"importPipelineCreateParameters": {
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {}
}
},
"properties": {
"source": {
"type": "AzureStorageBlobContainer",
"uri": "https://accountname.blob.core.windows.net/containername",
"keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas"
},
"trigger": {
"sourceTrigger": {
"status": "Enabled"
}
},
"options": [
"OverwriteTags",
"DeleteSourceBlobOnSuccess",
"ContinueOnErrors"
]
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline",
"name": "myImportPipeline",
"type": "Microsoft.ContainerRegistry/registries/importPipelines",
"properties": {
"source": {
"type": "AzureStorageBlobContainer",
"uri": "https://accountname.blob.core.windows.net/containername",
"keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas"
},
"trigger": {
"sourceTrigger": {
"status": "Enabled"
}
},
"options": [
"OverwriteTags",
"DeleteSourceBlobOnSuccess",
"ContinueOnErrors"
],
"provisioningState": "Succeeded"
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
"clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e",
"principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466"
}
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline",
"name": "myImportPipeline",
"type": "Microsoft.ContainerRegistry/registries/importPipelines",
"properties": {
"source": {
"type": "AzureStorageBlobContainer",
"uri": "https://accountname.blob.core.windows.net/containername",
"keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas"
},
"trigger": {
"sourceTrigger": {
"status": "Enabled"
}
},
"options": [
"OverwriteTags",
"DeleteSourceBlobOnSuccess",
"ContinueOnErrors"
],
"provisioningState": "Succeeded"
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
"clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e",
"principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2019-12-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"importPipelineName": "myImportPipeline"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"api-version": "2019-12-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"importPipelineName": "myImportPipeline"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline",
"name": "myImportPipeline",
"type": "Microsoft.ContainerRegistry/registries/importPipelines",
"properties": {
"source": {
"type": "AzureStorageBlobContainer",
"uri": "https://accountname.blob.core.windows.net/containername",
"keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas"
},
"trigger": {
"sourceTrigger": {
"status": "Enabled"
}
},
"options": [
"OverwriteTags",
"DeleteSourceBlobOnSuccess",
"ContinueOnErrors"
],
"provisioningState": "Succeeded"
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
"clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e",
"principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"api-version": "2019-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/importPipelines/myImportPipeline",
"name": "myImportPipeline",
"type": "Microsoft.ContainerRegistry/registries/importPipelines",
"properties": {
"source": {
"type": "AzureStorageBlobContainer",
"uri": "https://accountname.blob.core.windows.net/containername",
"keyVaultUri": "https://myvault.vault.azure.net/secrets/acrimportsas"
},
"trigger": {
"sourceTrigger": {
"status": "Enabled"
}
},
"options": [
"OverwriteTags",
"DeleteSourceBlobOnSuccess",
"ContinueOnErrors"
],
"provisioningState": "Succeeded"
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
"clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e",
"principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466"
}
}
}
}
]
}
}
}
}
Loading