Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 2.24 KB

azure_hypervisor.md

File metadata and controls

68 lines (50 loc) · 2.24 KB
page_title subcategory description
citrix_azure_hypervisor Resource - citrix
CVAD
Manages an Azure hypervisor.

citrix_azure_hypervisor (Resource)

Manages an Azure hypervisor.

Example Usage

# Azure Hypervisor
resource "citrix_azure_hypervisor" "example-azure-hypervisor" {
    name                = "example-azure-hypervisor"
    zone                = "<Zone Id>"
    active_directory_id = "<Azure Tenant Id>"
    subscription_id     = "<Azure Subscription Id>"
    application_secret  = var.azure_client_secret # Azure Client Secret from variable
    application_id      = "<Azure Client Id>"
}

Schema

Required

  • active_directory_id (String) Azure Active Directory ID.
  • application_id (String) Application ID of the service principal used to access the Azure APIs.
  • application_secret (String, Sensitive) The Application Secret of the service principal used to access the Azure APIs.
  • name (String) Name of the hypervisor.
  • subscription_id (String) Azure Subscription ID.
  • zone (String) Id of the zone the hypervisor is associated with.

Optional

  • application_secret_expiration_date (String) The expiration date of the application secret of the service principal used to access the Azure APIs.

-> Note Expiration date format is YYYY-MM-DD.

  • enable_azure_ad_device_management (Boolean) Enable Azure AD device management. Default is false.
  • metadata (Attributes List) Metadata for the Hypervisor. (see below for nested schema)
  • scopes (Set of String) The IDs of the scopes for the hypervisor to be a part of.

Read-Only

  • id (String) GUID identifier of the hypervisor.
  • tenants (Set of String) A set of identifiers of tenants to associate with the hypervisor connection.

Nested Schema for metadata

Required:

  • name (String) Metadata name.
  • value (String) Metadata value.

Import

Import is supported using the following syntax:

# Azure Hypervisor can be imported by specifying the GUID
terraform import citrix_azure_hypervisor.example-azure-hypervisor b2339edf-7b00-436e-9c3a-54c987c3526e