gallery builder is used to create Galleries for sharing VM images. These can be used to create virtual machines or virtual machine scale sets that can expand or contract to scale capacity as needed.
|Name of the gallery resource, up to 80 characters, alphanumerics and periods.
|Description for the gallery.
|Sharing profile that must be set to share with the community or groups.
|Indicate soft deletion of images should be enabled or disabled (default disabled).
|Add tags to the gallery resource.
|Add explicit dependencies for the gallery resource.
|Name of the image in the gallery.
|Name of the gallery where the image is created.
|Specify the gallery in the same deployment. The image will depend on the gallery.
|Indicates x64 or ARM 64 images - defaults to x64 if not set.
|Optional description for the image in the gallery.
|Optional End User License Agreement for using the image.
|The Hyper-V generation for the image. This should be set to match the Hyper-V generation of the source image that was used to create this image.
|The publisher, offer, and sku for the image in the gallery.
|Indicate if the VM is Generalized or Specialized. A generalized image allows OS configuration options, such as setting the username and password, whereas this is typically set already in a specialized image.
|OS type for the image - Windows or Linux
|URI where the privacy statement for the use of the image can be found.
|A purchase plan name, publisher, and product for the image, for use in a community gallery or marketplace images.
|Recommended range of vCPUs and memory for VMs created from this image.
|A recommended range of memory for VMs created from this image. Default is 1 Gb to 32 Gb.
|A recommended range of vCPUs for VMs created from this image. Default is 1 to 16.
|URI where release notes can be found for the image.
|Add tags to the image resource.
|Add explicit dependencies for the image resource.
let myGallery =
description "Example Community Image Gallery"
Eula = "End User License Agreement goes here"
PublicNamePrefix = "farmages"
PublisherContact = "firstname.lastname@example.org"
PublisherUri = System.Uri "https://compositionalit.github.io/farmer"
let myImage =
Offer = "my-server"
Publisher = "farmages"
Sku = "my-server-2023"