Vcenter NamespaceManagement InfrastructurePolicies WorkloadMatchSpec

Vcenter NamespaceManagement InfrastructurePolicies WorkloadMatchSpec
Vcenter NamespaceManagement InfrastructurePolicies WorkloadMatchSpec

The Vcenter NamespaceManagement InfrastructurePolicies WorkloadMatchSpec schema defines selection criteria for workloads. All the specified criteria must match.

This schema was added in vSphere API 9.1.0.0.

JSON Example
{
    "guest": {
        "guest_id": {
            "op": "string",
            "value": "string"
        },
        "guest_family": {
            "op": "string",
            "value": "string"
        }
    },
    "labels": [
        {
            "key": "string",
            "operator": "string",
            "values": [
                "string"
            ]
        }
    ],
    "kind": "string"
}
guest
Optional

Matches information about the workload's guest operating system.

This property was added in vSphere API 9.1.0.0.

If missing or null, no guest matching is performed.

labels
Optional

Matches labels on the workload in question.

This property was added in vSphere API 9.1.0.0.

If missing or null, no label matching is performed.

string
kind
Optional

Describes the kind of workload to restrict the matching to.

For more information see: Vcenter NamespaceManagement InfrastructurePolicies WorkloadKind.

This property was added in vSphere API 9.1.0.0.

If missing or null, all workload kinds are matched.