CnsKubernetesEntityReference
Data object that represents a Kubernetes entity reference both within the Kubernetes cluster and across nested clusters.
Example for within Kubernetes cluster - A PVC referring a PV within the same kubernetes cluster. Example for across nested cluster - A PVC in supervisor cluster used by a PV in guest cluster.
This structure may be used only with operations rendered under /vsan
.
{
"_typeName": "string",
"entityType": "string",
"entityName": "string",
"namespace": "string",
"clusterId": "string"
}
Represents the type of entity in Kubernetes.
See CnsKubernetesEntityTypeEnum for supported types.
Represents the name of entity.
Namespace in Kubernetes the entity belongs to, if applicable.
Namespace must not be set for entity of type persistent volume and must be set for entities of type persistent volume claim and pod.
Represents the Kubernetes cluster the entity belongs to.
If unset, the server will interpret that this referred entity is in the same Kubernetes cluster as the entityType.
The clusterId should be one of the cluster in containerClusterArray