Use the commvault_disk_storage
resource type to create or delete a disk storage device in the CommCell environment.
Syntax
resource "commvault_disk_storage" "<local_name>"{
storage_name = "<Azure storage name>"
mediaagent = "<MediaAgent name>"
backup_location = "<backup location>"
ddb_location = "<DDB location>"
company_id = <company ID>
}
Where local name is the name that is used by the Commvault Terraform module to refer to the resource and has no significance in the target platform.
Arguments
Name | Description | Required |
---|---|---|
storage_name | The name of the disk storage device. | Yes |
mediaagent | The MediaAgent that is used for the disk storage device. | Yes |
backup_location | The full path to the storage location. | Yes |
ddb_location | The deduplication path for the disk storage device. | No |
company_id | The ID of the company that you want to associate the disk storage with. | No |
Example
The following resource block manages the demods_cvlt_us disk storage:
resource "commvault_disk_storage" "DSD"{
storage_name = "demods_cvlt_us"
mediaagent = "MediaAgent"
backup_location = "c:\\DemoDiskStorage_Dedup"
ddb_location = "c:\\DemoDiskStorage-Dedup-DDB"
company_id = 22
}