Host Profile Manager Query Policy Metadata
Get the Metadata information for the policyNames.
PolicyNames are available with the defaultProfile obtained by invoking the method createDefaultProfile.
Required privileges: System.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostProfileManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
{
"policyName": [
"string"
],
"profile": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
Retrieve metadata for the specified policyNames. If policyName is not specified, metadata for all policies will be returned.
The metadata information for the policy.
[
{
"_typeName": "string",
"id": {
"_typeName": "string",
"label": "string",
"summary": "string",
"key": "string",
"messageCatalogKeyPrefix": "string",
"messageArg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
]
},
"possibleOption": [
{
"_typeName": "string",
"id": {
"_typeName": "string",
"label": "string",
"summary": "string",
"key": "string",
"messageCatalogKeyPrefix": "string",
"messageArg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
]
},
"parameter": [
{
"_typeName": "string",
"id": {
"_typeName": "string",
"label": "string",
"summary": "string",
"key": "string",
"messageCatalogKeyPrefix": "string",
"messageArg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
]
},
"type": "string",
"optional": false,
"defaultValue": {
"_typeName": "string"
},
"hidden": false,
"securitySensitive": false,
"readOnly": false,
"parameterRelations": [
{
"_typeName": "string",
"relationTypes": [
"string"
],
"values": [
{
"_typeName": "string"
}
],
"path": {
"_typeName": "string",
"profilePath": "string",
"policyId": "string",
"parameterId": "string",
"policyOptionId": "string"
},
"minCount": 0,
"maxCount": 0
}
]
}
]
}
]
}
]