Pbm Profile Profile Manager Pbm Fetch Capability Metadata

Pbm Profile Profile Manager Pbm Fetch Capability Metadata

Retrieves capability metadata.

Each capability metadata object has a unique identifier (PbmCapabilityMetadata.id). The identifier object (PbmCapabilityMetadataUniqueId) contains the unique ID and it identifies the namespace to which the capability metadata object belongs.

Each registered namespace is required to be globally unique. You can associate a capability metadata object with a unique vendor and resource type by using the namespace and the PbmCapabilityVendorResourceTypeInfo data returned by the PbmFetchVendorInfo method.

Required privileges: StorageProfile.View

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/pbm/PbmProfileProfileManager/{moId}/PbmFetchCapabilityMetadata
COPY
Path Parameters
string
moId
Required

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 PbmProfileProfileManager/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
PbmFetchCapabilityMetadataRequestType of type(s) application/json
Required
"PbmFetchCapabilityMetadataRequestType Object"
resourceType
Optional

Type of profile resource. The Server supports the "STORAGE" resource type only. If not specified, this method will return capability metadata for the storage resources. Any other resourceType is considered invalid.

string
vendorUuid
Optional

Unique identifier for the vendor/owner of capability metadata. The specified vendor ID must match PbmCapabilitySchemaVendorInfo.PbmCapabilitySchemaVendorInfo.vendorUuid. If omitted, the Server searchs all capability metadata registered with the system. If a vendorUuid unknown to the Server is specified, empty results will be returned.

Authentication
This operation uses the following authentication methods.
Responses
200

Array of capability metadata objects, classified by category (PbmCapabilityMetadataPerCategory.subCategory).

[
    "PbmCapabilityMetadataPerCategory Object"
]

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/pbm/PbmProfileProfileManager/{moId}/PbmFetchCapabilityMetadata