Update config.go

add missing doc  fields

Co-Authored-By: Megan Marsh <swampdragons@users.noreply.github.com>
This commit is contained in:
Adrien Delorme 2019-08-27 09:28:36 +02:00
parent 239f97471c
commit 783b02bd15
1 changed files with 10 additions and 1 deletions

View File

@ -193,8 +193,17 @@ type Config struct {
// CLI example `az vm list-sizes --location westus` // CLI example `az vm list-sizes --location westus`
VMSize string `mapstructure:"vm_size" required:"false"` 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"` 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 // Specify the storage account
// type for a managed image. Valid values are Standard_LRS and Premium_LRS. // type for a managed image. Valid values are Standard_LRS and Premium_LRS.
// The default is Standard_LRS. // The default is Standard_LRS.