| Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
Name | Type | Description |
---|---|---|
None |
Methods
Methods defined in this Managed Object |
---|
VosQueryVsanObjectInformation, VosSetVsanObjectPolicy, VsanDeleteObjects_Task, VsanQueryInaccessibleVmSwapObjects, VsanQueryObjectIdentities |
Privileges | Required on |
---|---|
System.Read | ClusterComputeResource |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VsanObjectSystem used to make the method call. |
cluster* | ManagedObjectReference
to a ComputeResource |
vSAN cluster. Ignored if called against host.
Since vSphere API 5.5 |
vsanObjectQuerySpecs | VsanObjectQuerySpec[] |
vSAN object query spec list.
|
Return Value
Type | Description |
---|---|
VsanObjectInformation[] | Object information list. |
Faults
Type | Description |
---|---|
FileNotFound | |
FileNotWritable | |
InvalidArgument | |
NotSupported | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
VirtualMachineEmptyProfileSpec
means to use the empty vSAN
policy. This is not the default policy, but a policy where all fields
have default values.VirtualMachineDefinedProfileSpec
where profileId is set, in
which case this profileId will be looked up in SPBM for the detailed
policy information.VirtualMachineDefinedProfileSpec
where profileId is an empty
string and instead the profileData is set for extensionKey
'com.vmware.vim.sps'. In this case the objectData field can be either the
vSAN expression format, or a SPBM XML string. If no profile is
supplied, and the call is executed against vCenter, then SPBM will be
consulted for the vSAN datastore's default profile.Privileges | Required on |
---|---|
Global.Settings | RootFolder |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VsanObjectSystem used to make the method call. |
cluster* | ManagedObjectReference
to a ComputeResource |
vSAN cluster. Ignored if called against host.
Since vSphere API 5.5 |
vsanObjectUuid | xsd:string |
vSAN object UUID.
|
profile* | VirtualMachineProfileSpec |
See above description for all possible options.
Since vSphere API 5.5 |
Return Value
Type | Description |
---|---|
xsd:boolean | True when the operation successfully, False when it is failed and there is no exception raised. |
Faults
Type | Description |
---|---|
FileNotFound | |
FileNotWritable | |
InvalidArgument | |
NotSupported | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Privileges | Required on |
---|---|
Host.Config.Storage | ClusterComputeResource |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VsanObjectSystem used to make the method call. |
cluster* | ManagedObjectReference
to a ComputeResource |
vSAN cluster. Ignored if called against host.
Since vSAN API vSAN 6.7U1 |
objUuids | xsd:string[] |
The vSAN object UUIDs to delete.
|
force* | xsd:boolean |
The force flag, inaccessible objects can't be deleted without
this flag. WARNING: it's at your own risk.
Since vSAN API vSAN 6.7U1 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a Task | vim.Task |
Faults
Type | Description |
---|---|
InvalidArgument | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VsanFault |
Events
Type | |
---|---|
None |
Privileges | Required on |
---|---|
System.Read | ClusterComputeResource |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VsanObjectSystem used to make the method call. |
cluster* | ManagedObjectReference
to a ComputeResource |
vSAN cluster. Ignored if called against host.
Since vSAN API vSAN 6.7U1 |
Return Value
Type | Description |
---|---|
xsd:string[] | list of inaccessible vmswap objects. |
Faults
Type | Description |
---|---|
NotSupported | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Privileges | Required on |
---|---|
System.Read | ClusterComputeResource |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VsanObjectSystem used to make the method call. |
cluster* | ManagedObjectReference
to a ComputeResource |
vSAN cluster. Ignored if called against host.
Since vSphere API 5.5 |
objUuids* | xsd:string[] |
The vSAN object UUIDs for querying. Unset to query
all of vSAN objects
Since vSphere API 5.5 |
objTypes* | xsd:string[] |
Querying the vSAN objects with given types, only the object whose
type in this list will be returned. Unset to query all of vSAN
objects with any type
Since vSphere API 6.5 |
includeHealth* | xsd:boolean |
If the result includes the object health status.
Default is False
Since vSphere API 5.5 |
includeObjIdentity* | xsd:boolean |
If the result includes all of the object identity.
Default is false if it's unset
Since vSphere API 5.5 |
includeSpaceSummary* | xsd:boolean |
If the result includes the vSAN space consumption
summarizing by object type. Currently, it's not
supported to include both of space summary and
object identity in the result. Default is false.
Since vSphere API 5.5 |
Return Value
Type | Description |
---|---|
VsanObjectIdentityAndHealth | Object information structure |
Faults
Type | Description |
---|---|
NotSupported | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VsanFault |
Events
Type | |
---|---|
None |
Top of page | Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |