Use the commvault_azure_hypervisor
resource type to create or delete an Azure hypervisor in the CommCell environment.
Syntax
resource "commvault_azure_hypervisor" "<local name>"{
hypervisor_name = "<hypervisor name>"
subscription_id = "<subscription Id>"
tenant_id = "<tenant Id>"
application_id= "<application Id>"
application_password = "<application password>"
access_nodes = "<access nodes>"
}
Where local name is the name that is used by the Commvault Terraform provider to refer the resource and, has no significance in the target platform.
Arguments
Name | Description | Required |
---|---|---|
hypervisor_name | The name of the hypervisor. | Yes |
subscription_id | The subscription ID for your Azure account. | Yes |
tenant_id | The tenant ID for your Azure account. | Yes |
application_id | The application ID of the tenant. | Yes |
application_password | The password for the application ID of the tenant. | Yes |
access_nodes | The clients that have the VSA package installed and that act as proxy clients for Azure hypervisors. | Yes |
company_id | The ID of the company that you want the Azure hypervisor to associate with | No |
Example
This resource block manages the AzureHypTest Azure hypervisor.
resource "commvault_azure_hypervisor" "AzureHyp11"{
hypervisor_name = "AzureHypTest"
subscription_id = "6d458963-fs4d-40bb-854e-8147e2d5dws4"
tenant_id = "40wesd38-a45e-7652-6d8c-8741b5869v5"
application_id= "12njd007-8e2c-4775-b5b0-5de9b8745c4"
application_password = "m7yloMi]8Oer2DF_ZQOCXB9DWSW@lkE["
access_nodes = "AWSproxy"
}