public final class IscsiTargetInner
extends com.azure.core.management.ProxyResource
Constructor and Description |
---|
IscsiTargetInner() |
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.
|
String |
managedBy()
Get the managedBy property: Azure resource id.
|
List<String> |
managedByExtended()
Get the managedByExtended property: List of Azure resource ids that manage this resource.
|
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.
|
SystemMetadata |
systemData()
Get the systemData property: Resource metadata required by ARM RPC.
|
String |
targetIqn()
Get the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
|
void |
validate()
Validates the instance.
|
IscsiTargetInner |
withAclMode(IscsiTargetAclMode aclMode)
Set the aclMode property: Mode for Target connectivity.
|
IscsiTargetInner |
withEndpoints(List<String> endpoints)
Set the endpoints property: List of private IPv4 addresses to connect to the iSCSI Target.
|
IscsiTargetInner |
withLuns(List<IscsiLun> luns)
Set the luns property: List of LUNs to be exposed through iSCSI Target.
|
IscsiTargetInner |
withPort(Integer port)
Set the port property: The port used by iSCSI Target portal group.
|
IscsiTargetInner |
withStaticAcls(List<Acl> staticAcls)
Set the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.
|
IscsiTargetInner |
withStatus(OperationalStatus status)
Set the status property: Operational status of the iSCSI Target.
|
IscsiTargetInner |
withTargetIqn(String targetIqn)
Set the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
|
public SystemMetadata systemData()
public String managedBy()
public List<String> managedByExtended()
public IscsiTargetAclMode aclMode()
public IscsiTargetInner withAclMode(IscsiTargetAclMode aclMode)
aclMode
- the aclMode value to set.public List<Acl> staticAcls()
public IscsiTargetInner withStaticAcls(List<Acl> staticAcls)
staticAcls
- the staticAcls value to set.public List<IscsiLun> luns()
public IscsiTargetInner withLuns(List<IscsiLun> luns)
luns
- the luns value to set.public String targetIqn()
public IscsiTargetInner withTargetIqn(String targetIqn)
targetIqn
- the targetIqn value to set.public ProvisioningStates provisioningState()
public OperationalStatus status()
public IscsiTargetInner withStatus(OperationalStatus status)
status
- the status value to set.public List<String> endpoints()
public IscsiTargetInner withEndpoints(List<String> endpoints)
endpoints
- the endpoints value to set.public Integer port()
public IscsiTargetInner 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.