SddcResource
Common representation of an SDDC resource. resourceType identifies the kind;
the corresponding type-specific sub-object (network, datastore, …) carries
kind-specific fields. Adding a new resource type is purely additive — existing
consumers are unaffected because unknown fields are ignored during deserialization.
To add a new resource type, add its constant to SddcResourceConstants, add its
schema as a new optional property here, and register it in SddcResourceModel.
{
"resourceType": "NETWORK",
"moid": "string",
"name": "string",
"network": {
"isDefault": false,
"vdsName": "string",
"datacenterName": "string",
"vcenterName": "string"
}
}
Identifies the resource type (e.g. NETWORK).
vSphere Managed Object ID common to all resource types (e.g. dvportgroup-101).
Resource display name common to all resource types.
Network-specific fields for a distributed virtual port group (DVPG) resource.