* start using `go:generate packer-sdc struct-markdown` * Update Makefile remove @go install ./cmd/struct-markdown * run go generate for struct-markdown * use //go:generate packer-sdc mapstructure-to-hcl2 * run go generate for mapstructure-to-hcl2 * remove struct-markdown and mapstructure-to-hcl2 * vendor vendors
41 lines
2.1 KiB
Plaintext
41 lines
2.1 KiB
Plaintext
<!-- Code generated from the comments of the Config struct in builder/azure/arm/config.go; DO NOT EDIT MANUALLY -->
|
|
|
|
- `image_publisher` (string) - Name of the publisher to use for your base image (Azure Marketplace Images only). See
|
|
[documentation](https://docs.microsoft.com/en-us/cli/azure/vm/image)
|
|
for details.
|
|
|
|
CLI example `az vm image list-publishers --location westus`
|
|
|
|
- `image_offer` (string) - Name of the publisher's offer to use for your base image (Azure Marketplace Images only). See
|
|
[documentation](https://docs.microsoft.com/en-us/cli/azure/vm/image)
|
|
for details.
|
|
|
|
CLI example
|
|
`az vm image list-offers --location westus --publisher Canonical`
|
|
|
|
- `image_sku` (string) - SKU of the image offer to use for your base image (Azure Marketplace Images only). See
|
|
[documentation](https://docs.microsoft.com/en-us/cli/azure/vm/image)
|
|
for details.
|
|
|
|
CLI example
|
|
`az vm image list-skus --location westus --publisher Canonical --offer UbuntuServer`
|
|
|
|
- `image_url` (string) - URL to a custom VHD to use for your base image. If this value is set,
|
|
image_publisher, image_offer, image_sku, or image_version should not be set.
|
|
|
|
- `custom_managed_image_name` (string) - Name of a custom managed image to use for your base image. If this value is set, do
|
|
not set image_publisher, image_offer, image_sku, or image_version.
|
|
If this value is set, the option
|
|
`custom_managed_image_resource_group_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.
|
|
|
|
- `custom_managed_image_resource_group_name` (string) - Name of a custom managed image's resource group to use for your base image. If this
|
|
value is set, image_publisher, image_offer, image_sku, or image_version should not be set.
|
|
If this value is set, the option
|
|
`custom_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.
|
|
|
|
<!-- End of code generated from the comments of the Config struct in builder/azure/arm/config.go; -->
|