commvault_plan resource type to create and delete a server plan in the CommCell environment.
resource "commvault_plan" "<local name>"
plan_name = "<Name of the plan>"
retention_period_days = <Number of days for retention period>
backup_destination_name = "<Backup destination name>"
backup_destination_storage = "<Backup destination storage>"
Where local name is the name that is used by the Commvault Terraform module to refer the resource, and has no significance in the target platform.
The name of the plan.
The number of days for the retention period.
The name of the backup destination for the plan.
The name of the storage for the backup destination.
The ID of the company that you want the plan to associate with.
This resource block manages prodserv plan.
resource "commvault_plan" "Plan1"
plan_name = "prodserv"
backup_destination_name = "TestDest"
backup_destinaion_storage = "TestStoragePool"