From 783b02bd15dde1d521bc512f86c8f9bfd8b9b205 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Tue, 27 Aug 2019 09:28:36 +0200 Subject: [PATCH] Update config.go add missing doc fields Co-Authored-By: Megan Marsh --- builder/azure/arm/config.go | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/builder/azure/arm/config.go b/builder/azure/arm/config.go index eb8f37ad7..49fd95551 100644 --- a/builder/azure/arm/config.go +++ b/builder/azure/arm/config.go @@ -193,8 +193,17 @@ type Config struct { // CLI example `az vm list-sizes --location westus` VMSize string `mapstructure:"vm_size" required:"false"` + // Specify the managed image resource group name where the result of the + // Packer build will be saved. The resource group must already exist. If + // this value is set, the value managed_image_name must also be set. See + // documentation to learn more about managed images. ManagedImageResourceGroupName string `mapstructure:"managed_image_resource_group_name"` - ManagedImageName string `mapstructure:"managed_image_name"` + // Specify the managed image name where the result of the Packer build will + // be saved. The image name must not exist ahead of time, and will not be + // overwritten. If this value is set, the value + // managed_image_resource_group_name must also be set. See documentation to + // learn more about managed images. + ManagedImageName string `mapstructure:"managed_image_name"` // Specify the storage account // type for a managed image. Valid values are Standard_LRS and Premium_LRS. // The default is Standard_LRS.