List Metamodel Resource Model
Returns the set of identifiers for the structure elements that are models for the resource type corresponding to resourceId. The Structure service provides operations to retrieve more details about the structure elements corresponding to the identifiers returned by this operation.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the resource type. The parameter must be an identifier for the resource type: com.vmware.vapi.resource.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
array
of
string
of type application/json
The set of identifiers for the models that are associated with the resource type in resourceId. The result will contain identifiers for the resource type: com.vmware.vapi.structure.
Errors
com.vmware.vapi.std.errors.not_found : if the resource type associated with resourceId does not exist.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/com/vmware/vapi/metadata/metamodel/resource/model
x-vmw-doc-operation: list