Vcenter NamespaceManagement InfrastructurePolicies Info
The Vcenter NamespaceManagement InfrastructurePolicies Info schema contains detailed information about a policy.
This schema was added in vSphere API 9.1.0.0.
{
"config_status": "string",
"description": "string",
"compute_policy_id": "string",
"enforcement_mode": "string",
"match": {
"op": "string",
"match": [
"Vcenter NamespaceManagement InfrastructurePolicies MatchSpec Object"
],
"workload": {
"guest": {
"guest_id": {
"op": "string",
"value": "string"
},
"guest_family": {
"op": "string",
"value": "string"
}
},
"labels": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"kind": "string"
}
},
"messages": [
{
"id": "string",
"default_message": "string",
"args": [
"string"
],
"params": {
"params": {
"s": "string",
"dt": "string",
"i": 0,
"d": "number",
"l": "Vapi Std NestedLocalizableMessage Object",
"format": "string",
"precision": 0
}
},
"localized": "string"
}
]
}
Indicates if the policy can be associated with a vSphere Namespace.
For more information see: Vcenter NamespaceManagement InfrastructurePolicies ConfigStatus.
This property was added in vSphere API 9.1.0.0.
Specifies the desired description of the policy.
This property was added in vSphere API 9.1.0.0.
If missing or null, no description is provided.
Specifies the ID of the underlying vSphere Compute Policy, if one is associated with this object.
This property was added in vSphere API 9.1.0.0.
If missing or null, no policy ID is specified.
When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.vcenter.compute.Policy. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.vcenter.compute.Policy.
Specifies how the policy is enforced.
For more information see: Vcenter NamespaceManagement InfrastructurePolicies EnforcementMode.
This property was added in vSphere API 9.1.0.0.
Used to match workloads to which this policy should be applied.
This property was added in vSphere API 9.1.0.0.
If missing or null, the policy applies to all workloads.
Description of the state of the policy. When InfrastructurePolicy is in Vcenter NamespaceManagement InfrastructurePolicies ConfigStatus.DELETING state, this message will list namespaces that use this InfrastructurePolicy preventing it from being deleted.
This property was added in vSphere API 9.1.0.0.
If missing or null, the are no messages.