public final class IscsiTargetProperties extends Object
Constructor and Description |
---|
IscsiTargetProperties() |
Modifier and Type | Method and Description |
---|---|
IscsiTargetAclMode |
aclMode()
Get the aclMode property: Mode for Target connectivity.
|
List<String> |
endpoints()
Get the endpoints property: List of private IPv4 addresses to connect to the iSCSI Target.
|
List<IscsiLun> |
luns()
Get the luns property: List of LUNs to be exposed through iSCSI Target.
|
Integer |
port()
Get the port property: The port used by iSCSI Target portal group.
|
ProvisioningStates |
provisioningState()
Get the provisioningState property: State of the operation on the resource.
|
List<String> |
sessions()
Get the sessions property: List of identifiers for active sessions on the iSCSI target.
|
List<Acl> |
staticAcls()
Get the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.
|
OperationalStatus |
status()
Get the status property: Operational status of the iSCSI Target.
|
String |
targetIqn()
Get the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
|
void |
validate()
Validates the instance.
|
IscsiTargetProperties |
withAclMode(IscsiTargetAclMode aclMode)
Set the aclMode property: Mode for Target connectivity.
|
IscsiTargetProperties |
withEndpoints(List<String> endpoints)
Set the endpoints property: List of private IPv4 addresses to connect to the iSCSI Target.
|
IscsiTargetProperties |
withLuns(List<IscsiLun> luns)
Set the luns property: List of LUNs to be exposed through iSCSI Target.
|
IscsiTargetProperties |
withPort(Integer port)
Set the port property: The port used by iSCSI Target portal group.
|
IscsiTargetProperties |
withStaticAcls(List<Acl> staticAcls)
Set the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.
|
IscsiTargetProperties |
withStatus(OperationalStatus status)
Set the status property: Operational status of the iSCSI Target.
|
IscsiTargetProperties |
withTargetIqn(String targetIqn)
Set the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
|
public IscsiTargetAclMode aclMode()
public IscsiTargetProperties withAclMode(IscsiTargetAclMode aclMode)
aclMode
- the aclMode value to set.public List<Acl> staticAcls()
public IscsiTargetProperties withStaticAcls(List<Acl> staticAcls)
staticAcls
- the staticAcls value to set.public List<IscsiLun> luns()
public IscsiTargetProperties withLuns(List<IscsiLun> luns)
luns
- the luns value to set.public String targetIqn()
public IscsiTargetProperties withTargetIqn(String targetIqn)
targetIqn
- the targetIqn value to set.public ProvisioningStates provisioningState()
public OperationalStatus status()
public IscsiTargetProperties withStatus(OperationalStatus status)
status
- the status value to set.public List<String> endpoints()
public IscsiTargetProperties withEndpoints(List<String> endpoints)
endpoints
- the endpoints value to set.public Integer port()
public IscsiTargetProperties withPort(Integer port)
port
- the port value to set.public List<String> sessions()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.