CnsSyncVolumeSpec

CnsSyncVolumeSpec
CnsSyncVolumeSpec

This class CnsSyncVolumeSpec is used to encapsulate the parameters required to synchronize a CNS volume.

It identifies the volume to be synchronized and can optionally specify if only certain attribute needs to be synchronized.

This structure may be used only with operations rendered under /vsan.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "volumeId": {
        "_typeName": "string",
        "id": "string"
    },
    "datastore": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "syncMode": [
        "string"
    ]
}
volumeId
Required

Unique identifier for the volume.

datastore
Optional

Optional Datastore object where the volume belongs.

This field identifies the datastore associated with the volume that needs to be synchronized. This field is useful when CNS does not have information about datastore or to optimize additional synchronization process by directing it to a specific datastore.

array of string
syncMode
Optional

Array of supported synchronization mode specifying what information to be synchronize.

This field provides more control over the synchronisation process. For instance, if configured to synchronise only space usage, the operation will update only those details, not all volume properties. One or more such modes can be passed. If none are passed, it will be a full synchronisation. The possible values for this field are enumerated in CnsSyncVolumeModeEnum.