The commvault_vmware_hypervisor Terraform Resource

Updated

On this page

Use the commvault_vmware_hypervisor resource type to create and delete a VMware hypervisor in the CommCell environment.

Syntax

resource "commvault_vmware_hypervisor" "<local name>"

{

display_name = "<Display name>"

host_name = "<Hypervisor hostname"

user_name = "<User name>"

password = "<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

display_name

The display name of the hypervisor.

Yes

host_name

The host name of the hypervisor.

Yes

user_name

The user name for the account.

Yes

password

The password for the account.

Yes

access_nodes

The clients that have the VSA package installed and that act as proxy clients for hypervisors.

Yes

company_id

The ID of the company that you want the vmware hypervisor to associate with

No

Example

This resource block manages the cvlt.hyphostname.com vmware hypervisor.

resource "commvault_vmware_hypervisor" "hyp1"

{

display_name = "hyp-disp-name"

host_name = "cvlt.hyphostname.com"

user_name = "johndoe"

password = "commvault"

access_nodes = "cvlt-idc-loc"

}