Class IscsiTargetProperties
java.lang.Object
com.azure.resourcemanager.storagepool.fluent.models.IscsiTargetProperties
Response properties for iSCSI Target operations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaclMode()
Get the aclMode property: Mode for Target connectivity.Get the endpoints property: List of private IPv4 addresses to connect to the iSCSI Target.luns()
Get the luns property: List of LUNs to be exposed through iSCSI Target.port()
Get the port property: The port used by iSCSI Target portal group.Get the provisioningState property: State of the operation on the resource.sessions()
Get the sessions property: List of identifiers for active sessions on the iSCSI target.Get the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.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".void
validate()
Validates the instance.withAclMode
(IscsiTargetAclMode aclMode) Set the aclMode property: Mode for Target connectivity.withEndpoints
(List<String> endpoints) Set the endpoints property: List of private IPv4 addresses to connect to the iSCSI Target.Set the luns property: List of LUNs to be exposed through iSCSI Target.Set the port property: The port used by iSCSI Target portal group.withStaticAcls
(List<Acl> staticAcls) Set the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.withStatus
(OperationalStatus status) Set the status property: Operational status of the iSCSI Target.withTargetIqn
(String targetIqn) Set the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
-
Constructor Details
-
IscsiTargetProperties
public IscsiTargetProperties()Creates an instance of IscsiTargetProperties class.
-
-
Method Details
-
aclMode
Get the aclMode property: Mode for Target connectivity.- Returns:
- the aclMode value.
-
withAclMode
Set the aclMode property: Mode for Target connectivity.- Parameters:
aclMode
- the aclMode value to set.- Returns:
- the IscsiTargetProperties object itself.
-
staticAcls
Get the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.- Returns:
- the staticAcls value.
-
withStaticAcls
Set the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.- Parameters:
staticAcls
- the staticAcls value to set.- Returns:
- the IscsiTargetProperties object itself.
-
luns
Get the luns property: List of LUNs to be exposed through iSCSI Target.- Returns:
- the luns value.
-
withLuns
Set the luns property: List of LUNs to be exposed through iSCSI Target.- Parameters:
luns
- the luns value to set.- Returns:
- the IscsiTargetProperties object itself.
-
targetIqn
Get the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".- Returns:
- the targetIqn value.
-
withTargetIqn
Set the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".- Parameters:
targetIqn
- the targetIqn value to set.- Returns:
- the IscsiTargetProperties object itself.
-
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 IscsiTargetProperties object itself.
-
endpoints
Get the endpoints property: List of private IPv4 addresses to connect to the iSCSI Target.- Returns:
- the endpoints value.
-
withEndpoints
Set the endpoints property: List of private IPv4 addresses to connect to the iSCSI Target.- Parameters:
endpoints
- the endpoints value to set.- Returns:
- the IscsiTargetProperties object itself.
-
port
Get the port property: The port used by iSCSI Target portal group.- Returns:
- the port value.
-
withPort
Set the port property: The port used by iSCSI Target portal group.- Parameters:
port
- the port value to set.- Returns:
- the IscsiTargetProperties object itself.
-
sessions
Get the sessions property: List of identifiers for active sessions on the iSCSI target.- Returns:
- the sessions value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-