TargetComponentGroups

TargetComponentGroups
TargetComponentGroups

Target component group for a policy operation (apply, detach, remediate, retry, compliance run). Use JSON componentGroups (plural) as an array of FLEET, MANAGEMENT, INSTANCE. INSTANCE scope must supply componentGroupResourceIds; FQDNs are not accepted on this object. policyId on the enclosing policy task is required for all task types except COMPLIANCE_RUN. For detach, remediate, and retry the server resolves scope from assignment/compliance data together with that policy id.

JSON Example
{
    "componentGroupResourceIds": [
        "string"
    ],
    "componentGroups": [
        "string"
    ]
}
array of string
componentGroupResourceIds
Optional

List of VCF instance resource IDs. Applicable only in case of INSTANCE component group

array of string
componentGroups
Required  

Component group scope (JSON property name componentGroups, plural array).

Enumeration: FLEET, MANAGEMENT, INSTANCE, UNKNOWN