ProtectionGroupUpdateSpec

ProtectionGroupUpdateSpec
ProtectionGroupUpdateSpec

The ProtectionGroupUpdateSpec structure contains fields that describe the desired protection group and the snapshot policies associated with it. A protection group is a group of entities that vSAN Snapshot Service protects together.

JSON Example
{
    "name": "string",
    "target_entities": {
        "vm_name_patterns": [
            "string"
        ],
        "vms": [
            "string"
        ]
    },
    "snapshot_policies": [
        {
            "name": "string",
            "schedule": {
                "unit": "string",
                "interval": 0
            },
            "retention": {
                "unit": "TimeUnit Object",
                "duration": 0
            }
        }
    ]
}
string
name
Optional

Name of the protection group. if unset, the current proteciton group name will be retained.

target_entities
Optional

The TargetEntities structure contains fields specifying the target entities to be protected. The initial release will only support virtual machines.

snapshot_policies
Optional

Snapshot policy for the protection targets. If set, this will represent all the snapshot policies for the protection group. Any existing policies will be removed, if not specified in the new list. if unset, existing snapshot policies will be retained.