From 14c442345fa76ca3b649bf03177033a24dbe1be0 Mon Sep 17 00:00:00 2001 From: Amrita Dutta Date: Mon, 3 Jun 2019 17:53:44 +0000 Subject: [PATCH 1/3] Update Azure Docs with SIG example --- website/source/docs/builders/azure.html.md | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/website/source/docs/builders/azure.html.md b/website/source/docs/builders/azure.html.md index 2adeba879..89737e6e6 100644 --- a/website/source/docs/builders/azure.html.md +++ b/website/source/docs/builders/azure.html.md @@ -122,6 +122,29 @@ When creating a managed image the following options are required. `managed_image_name` must also be set. See [documentation](https://docs.microsoft.com/en-us/azure/storage/storage-managed-disks-overview#images) to learn more about managed images. + + +Managed images can optionally be published to [Shared Image Gallery](https://azure.microsoft.com/en-us/blog/announcing-the-public-preview-of-shared-image-gallery/) +as Shared Gallery Image version. Shared Image Gallery **only** works with Managed Images. **A VHD cannot be published to +a Shared Image Gallery**. When publishing to a Shared Image Gallery the following options are required. + +- `shared_image_gallery_destination` (object) The name of the Shared Image Gallery under which the managed image will + be published as Shared Gallery Image version. + + Following is an example. + + + + "shared_image_gallery_destination": { + "subscription": "00000000-0000-0000-0000-00000000000", + "resource_group": "ResourceGroup", + "gallery_name": "GalleryName", + "image_name": "ImageName", + "image_version": "1.0.0", + "replication_regions": ["regionA", "regionB", "regionC"] + } + "managed_image_name": "TargetImageName", + "managed_image_resource_group_name": "TargetResourceGroup" #### Resource Group Usage From db661445d221841dda7355c6623e7b77faef70aa Mon Sep 17 00:00:00 2001 From: Amrita Dutta Date: Mon, 3 Jun 2019 17:57:21 +0000 Subject: [PATCH 2/3] fix return --- website/source/docs/builders/azure.html.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website/source/docs/builders/azure.html.md b/website/source/docs/builders/azure.html.md index 89737e6e6..60bf9a664 100644 --- a/website/source/docs/builders/azure.html.md +++ b/website/source/docs/builders/azure.html.md @@ -128,8 +128,7 @@ Managed images can optionally be published to [Shared Image Gallery](https://azu as Shared Gallery Image version. Shared Image Gallery **only** works with Managed Images. **A VHD cannot be published to a Shared Image Gallery**. When publishing to a Shared Image Gallery the following options are required. -- `shared_image_gallery_destination` (object) The name of the Shared Image Gallery under which the managed image will - be published as Shared Gallery Image version. +- `shared_image_gallery_destination` (object) The name of the Shared Image Gallery under which the managed image will be published as Shared Gallery Image version. Following is an example. From 29b1aad4412385f43227a82e2ab2d65bcaae6c43 Mon Sep 17 00:00:00 2001 From: Amrita Dutta Date: Mon, 3 Jun 2019 17:58:41 +0000 Subject: [PATCH 3/3] fix indent --- website/source/docs/builders/azure.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/builders/azure.html.md b/website/source/docs/builders/azure.html.md index 60bf9a664..0ab563811 100644 --- a/website/source/docs/builders/azure.html.md +++ b/website/source/docs/builders/azure.html.md @@ -130,7 +130,7 @@ a Shared Image Gallery**. When publishing to a Shared Image Gallery the followin - `shared_image_gallery_destination` (object) The name of the Shared Image Gallery under which the managed image will be published as Shared Gallery Image version. - Following is an example. +Following is an example.