Skip to content

Latest commit

 

History

History
65 lines (52 loc) · 2.72 KB

File metadata and controls

65 lines (52 loc) · 2.72 KB
page_title subcategory description
citrix_quickdeploy_template_image Resource - citrix
DaaS Quick Deploy - Citrix Managed Azure
Manages an Citrix Managed Azure image. Note that this feature is in Tech Preview.

citrix_quickdeploy_template_image (Resource)

Manages an Citrix Managed Azure image. Note that this feature is in Tech Preview.

Example Usage

# Quick Deploy Template Image with VHD URI
resource citrix_quickdeploy_template_image test_image {
    name = "example-template-image"
    notes = "Example Windows Gen 1 template image imported to US East region in the Citrix Managed Azure Subscription via VHD URI"
    subscription_name = "Citrix Managed"
    region = "East US"
    vhd_uri = "<Image VHD URI>"
    machine_generation = "V1"
    os_platform = "Windows"
}

# Quick Deploy Gen 2 Template Image with vTPM and Secure Boot enabled
resource citrix_quickdeploy_template_image test_image {
    name = "example-template-image"
    notes = "Example Windows Gen 2 template image with vTPM and Secure Boot enabled"
    subscription_name = "Citrix Managed"
    region = "East US"
    vhd_uri = "<Encrypted Image VHD URI>"
    machine_generation = "V2"
    os_platform = "Windows"
    vtpm_enabled = true
    secure_boot_enabled = true
    guest_disk_uri = "<Guest Disk VHD URI>"
}

Schema

Required

  • machine_generation (String) The generation of the virtual machine this image will be used to create. Choose between V1 and V2.
  • name (String) Name of the image.
  • os_platform (String) The OS platform of the image. Choose between Windows and Linux.
  • region (String) The Azure region to import the image.
  • vhd_uri (String) The Azure-generated URL for the Image's Virtual Hard Disk.

Optional

  • guest_disk_uri (String) The Azure-generated URL for the Guest Disk for the encrypted Template Image VHD. Only applicable for V2 generation images. Required only when secure_boot_enabled is set to true.
  • notes (String) Notes of the image. Note length cannot exceed 1024 characters.
  • secure_boot_enabled (Boolean) Defines whether the image supports Secure Boot. Only applicable for V2 generation images. Default is false.

~> Please Note When using Secure Boot, the guest disk URI must be specified in the guest_disk_uri attribute.

  • subscription_name (String) The name of the Citrix Managed Azure subscription to import the image. Defaults to Citrix Managed if omitted.
  • vtpm_enabled (Boolean) Defines whether the image supports vTPM TrustedLaunch. Only applicable for V2 generation images. Default is false.

Read-Only

  • id (String) GUID identifier of the image.