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.name
(String) Name of the hypervisor.subscription_id
(String) Azure Subscription ID.zone
(String) Id of the zone the hypervisor is associated with.
application_id
(String) The Application ID of the service principal used to access the Azure APIs. If the authentication_mode is set toUserAssignedManagedIdentity
, use the Client ID of the managed identity.application_secret
(String, Sensitive) The Application Secret of the service principal used to access the Azure APIs.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
.
authentication_mode
(String) Provides different options for managing service access to Azure resources. Possible values areAppClientSecret
,UserAssignedManagedIdentities
, andSystemAssignedManagedIdentity
. Defaults toAppClientSecret
.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)proxy_hypervisor_traffic_through_connector
(Boolean) Enables the routing of hypervisor traffic through a Citrix Cloud Connector. Should be enabled if theAuthenticationMode
is set to eitherUserAssignedManagedIdentity
orSystemAssignedManagedIdentity
. Defaults tofalse
.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