CnsVolumeMetadataUpdateSpec
Specifications for volume metadata update operation.
The update is performed based on the specified entity metadata in volume metadata.
For metadata add/update - if CNS already had entity metadata associated, then this update will replace it. Else, it will associate the entity metadata with the volume.
For metadata deletion - CNS will delete the speficied entity metadata.
Update operation should be called for at least one update. If an empty spec is passed without any volume properties to be updated, the operation will fail.
This structure may be used only with operations rendered under /vsan
.
{
"_typeName": "string",
"volumeId": {
"_typeName": "string",
"id": "string"
},
"metadata": {
"_typeName": "string",
"containerCluster": {
"_typeName": "string",
"clusterType": "string",
"clusterId": "string",
"vSphereUser": "string",
"clusterFlavor": "string",
"clusterDistribution": "string",
"delete": false
},
"entityMetadata": [
{
"_typeName": "string",
"entityName": "string",
"labels": [
{
"_typeName": "string",
"key": "string",
"value": "string"
}
],
"delete": false,
"clusterId": "string"
}
],
"containerClusterArray": [
{
"_typeName": "string",
"clusterType": "string",
"clusterId": "string",
"vSphereUser": "string",
"clusterFlavor": "string",
"clusterDistribution": "string",
"delete": false
}
]
}
}
Unique identifier for the volume.
Metadata for the container volume.