page_title | subcategory | description |
---|---|---|
citrix_azure_hypervisor Resource - citrix |
CVAD |
Manages an Azure hypervisor. |
Manages an Azure hypervisor.
# 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>"
}
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.
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.
id
(String) GUID identifier of the hypervisor.tenants
(Set of String) A set of identifiers of tenants to associate with the hypervisor connection.
Required:
name
(String) Metadata name.value
(String) Metadata value.
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