VStorageObjectReconcileSpec

VStorageObjectReconcileSpec
VStorageObjectReconcileSpec

Contains specification to reconcile a datastore

Since: vSphere API Release 9.0.0.0

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "datastore": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "includeDiskPaths": [
        "string"
    ],
    "excludeDiskPaths": [
        "string"
    ],
    "deepScan": false,
    "dryRun": false,
    "generateReport": 0
}
datastore
Required

The datastore managed object that is to be reconciled/scanned.

array of string
includeDiskPaths
Optional

List of paths of the disk descriptor files which are to be reconciled or scanned.

This is an optional parameter and if specified, the reconciliation will scan only these disk paths and reconcile the catalog. This will save time and avoid scanning all the vmdk files. The disk paths should belong to the same datastore. The field should adhere to the following format: /vmfs/volume/<datastore-uuid>/.../<disk-name>.vmdk . Please note, either this field or excludeDiskPaths should be specified in VStorageObjectReconcileSpec and not both.

array of string
excludeDiskPaths
Optional

List of paths of the disk descriptor files which are excluded for reconcile or scan operation.

This is an optional parameter and if specified, the reconciliation will skip these disk paths. This will be useful in a case when user wants to reconcile complete datastore and skip few set of the FCD's which are present in same datastore. The disk paths should belong to the same datastore. The field should adhere to the following format: /vmfs/volume/<datastore-uuid>/.../<disk-name>.vmdk Please note, either includeDiskPaths or this field should be specified in VStorageObjectReconcileSpec and not both.

boolean
deepScan
Optional

If true - Checks extent files and disk descriptor file contents Note that this is a time consuming process.

boolean
dryRun
Optional

If true - Does not reconcile but only scans the datastore.

integer As int32 As int32
generateReport
Optional

If set to 1, generate report for HostReconcileDatastoreInventoryEx_Task task.

If set to 0 or unset, do not generate report Partner apps can use 0 and 1 as values. Other values are reserved for future and internal use.