Class IscsiTargetInfo
java.lang.Object
com.azure.resourcemanager.elasticsan.models.IscsiTargetInfo
Iscsi target information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the provisioningState property: State of the operation on the resource.status()
Get the status property: Operational status of the iSCSI Target.Get the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".Get the targetPortalHostname property: iSCSI Target Portal Host Name.Get the targetPortalPort property: iSCSI Target Portal Port.void
validate()
Validates the instance.withStatus
(OperationalStatus status) Set the status property: Operational status of the iSCSI Target.
-
Constructor Details
-
IscsiTargetInfo
public IscsiTargetInfo()Creates an instance of IscsiTargetInfo class.
-
-
Method Details
-
targetIqn
Get the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".- Returns:
- the targetIqn value.
-
targetPortalHostname
Get the targetPortalHostname property: iSCSI Target Portal Host Name.- Returns:
- the targetPortalHostname value.
-
targetPortalPort
Get the targetPortalPort property: iSCSI Target Portal Port.- Returns:
- the targetPortalPort value.
-
provisioningState
Get the provisioningState property: State of the operation on the resource.- Returns:
- the provisioningState value.
-
status
Get the status property: Operational status of the iSCSI Target.- Returns:
- the status value.
-
withStatus
Set the status property: Operational status of the iSCSI Target.- Parameters:
status
- the status value to set.- Returns:
- the IscsiTargetInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-