Class DiskPoolVolume
java.lang.Object
com.azure.resourcemanager.avs.models.DiskPoolVolume
An iSCSI volume from Microsoft.StoragePool provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlunName()
Get the lunName property: Name of the LUN to be used for datastore.Get the mountOption property: Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN.path()
Get the path property: Device path.targetId()
Get the targetId property: Azure resource ID of the iSCSI target.void
validate()
Validates the instance.withLunName
(String lunName) Set the lunName property: Name of the LUN to be used for datastore.withMountOption
(MountOptionEnum mountOption) Set the mountOption property: Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN.withTargetId
(String targetId) Set the targetId property: Azure resource ID of the iSCSI target.
-
Constructor Details
-
DiskPoolVolume
public DiskPoolVolume()Creates an instance of DiskPoolVolume class.
-
-
Method Details
-
targetId
Get the targetId property: Azure resource ID of the iSCSI target.- Returns:
- the targetId value.
-
withTargetId
Set the targetId property: Azure resource ID of the iSCSI target.- Parameters:
targetId
- the targetId value to set.- Returns:
- the DiskPoolVolume object itself.
-
lunName
Get the lunName property: Name of the LUN to be used for datastore.- Returns:
- the lunName value.
-
withLunName
Set the lunName property: Name of the LUN to be used for datastore.- Parameters:
lunName
- the lunName value to set.- Returns:
- the DiskPoolVolume object itself.
-
mountOption
Get the mountOption property: Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN.- Returns:
- the mountOption value.
-
withMountOption
Set the mountOption property: Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN.- Parameters:
mountOption
- the mountOption value to set.- Returns:
- the DiskPoolVolume object itself.
-
path
Get the path property: Device path.- Returns:
- the path value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-