# Data Object - CnsEntityMetadata(vim.cns.EntityMetadata)

Property of
  CnsVolumeMetadata
Extended by
  CnsKubernetesEntityMetadata
Extends
  DynamicData
See also
  KeyValue
Since
  vSAN API vSAN 6.7U3

## Data Object Description

Base data object that represents the metadata associated with an entity in container orchestrators like Kubernetes, Docker swarm etc.

Properties

Name | Type | Description
--- | --- | ---
clusterId* | xsd:string | Represents the container orchestrator cluster the entity belongs to. This is a mandatory field as the VolumeMetadata.containerCluster is deprecated. This field points to a cluster in vim.cns.VolumeMetadata.containerClusterArray Since vSAN API 7.0
delete* | xsd:boolean | If not set, False is assumed. True indicates that the EntityMetadata should be deleted in VolumeManager.Update API. False indicates that the EntityMetadata should be added or replaced in VolumeManager.Create, VolumeManager.Update APIs.
entityName | xsd:string | Represents the name of entity.
labels* | KeyValue[] | Labels for this entity. Labels are opaque to CNS and it will neither try to parse the key nor the value. A maximum of 32 labels will be supported for each entity. Label key should be less than 320 bytes and value should be less than 64 bytes. If the constraints are not honored, then InvalidArgument will be thrown.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="CnsEntityMetadata"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="entityName" type="xsd:string"/> <element name="labels" type="vsan:KeyValue" minOccurs="0" maxOccurs="unbounded"/> <element name="delete" type="xsd:boolean" minOccurs="0"/> <element name="clusterId" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>