|
| Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| None | ||
Methods
| Privileges | Required on |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| initiatorGroupName | xsd:string |
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| 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 |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| initiatorGroupName | xsd:string |
|
| initiatorNames | xsd:string[] |
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| 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 |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| targetAlias | xsd:string |
|
| initiatorNames | xsd:string[] |
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| 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 |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| targetAlias | xsd:string |
|
| lunSpec | VsanIscsiLUNSpec |
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | The related task. |
Faults
| Type | Description |
|---|---|
| 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 |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| targetSpec | VsanIscsiTargetSpec |
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | The related task. |
Faults
| Type | Description |
|---|---|
| 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 |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| initiatorGroupName | xsd:string |
|
| targetAlias | xsd:string |
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| 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 | |
VsanIscsiLUNSpec can be changed. If new LUN id is provided, it
should be in range [0, 255] and be unique in the specified target, if lunSize
is provided, it should be greater than existing size, i.e., LUNs are only
allowed to grow, if either of them are not met, a VsanFault exception will be
raised. If storagePolicy is provided, it is set by calling
SetVsanObjectPolicy in VsanObjectSystem.
Some unhealthy status of the vSAN iSCSI service can also lead to this
VsanFault exception, e.g., the unavailability of the home object.
Combined Privileges Required (on vSphere ManagedEntity):| Privileges | Required on |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| targetAlias | xsd:string |
|
| lunSpec | VsanIscsiLUNSpec |
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | The related task. |
Faults
| Type | Description |
|---|---|
| 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 |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| targetSpec | VsanIscsiTargetSpec |
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | The related task. |
Faults
| Type | Description |
|---|---|
| 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 VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
Return Value
| Type | Description |
|---|---|
| VsanObjectInformation | VsanObjectInformation for the home object. |
Faults
| Type | Description |
|---|---|
| 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 VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| initiatorGroupName | xsd:string |
|
Return Value
| Type | Description |
|---|---|
| VsanIscsiInitiatorGroup | iSCSI initiator group. |
Faults
| Type | Description |
|---|---|
| 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 VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
Return Value
| Type | Description |
|---|---|
| VsanIscsiInitiatorGroup[] | iSCSI initiator group list. |
Faults
| Type | Description |
|---|---|
| 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 VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| targetAlias | xsd:string |
|
| lunId | xsd:int |
|
Return Value
| Type | Description |
|---|---|
| VsanIscsiLUN | iSCSI LUN. |
Faults
| Type | Description |
|---|---|
| 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 VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| targetAliases* | xsd:string[] |
Since vSphere API 6.5 |
Return Value
| Type | Description |
|---|---|
| VsanIscsiLUN[] | iSCSI LUN list, it may be empty. |
Faults
| Type | Description |
|---|---|
| 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 VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| targetAlias | xsd:string |
|
Return Value
| Type | Description |
|---|---|
| VsanIscsiTarget | iSCSI target detail. |
Faults
| Type | Description |
|---|---|
| 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 VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
Return Value
| Type | Description |
|---|---|
| VsanIscsiTarget[] | iSCSI target list, it may be empty. |
Faults
| Type | Description |
|---|---|
| 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 | RootFolder |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
Return Value
| Type | Description |
|---|---|
| xsd:string |
Faults
| Type | Description |
|---|---|
| NotFound | |
| 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.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| initiatorGroupName | xsd:string |
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| 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 |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| initiatorGroupName | xsd:string |
|
| initiatorNames | xsd:string[] |
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| 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 |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| targetAlias | xsd:string |
|
| initiatorNames | xsd:string[] |
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| 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 |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| targetAlias | xsd:string |
|
| lunId | xsd:int |
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | The related task. |
Faults
| Type | Description |
|---|---|
| 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 |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| targetAlias | xsd:string |
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task | The related task. |
Faults
| Type | Description |
|---|---|
| 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 |
|---|---|
| Host.Inventory.EditCluster | ClusterComputeResource |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the VsanIscsiTargetSystem used to make the method call. |
| cluster | ManagedObjectReference
to a ClusterComputeResource |
|
| initiatorGroupName | xsd:string |
|
| targetAlias | xsd:string |
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| 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 |