public final class IscsiTargetCreate
extends com.azure.core.management.ProxyResource
Constructor and Description |
---|
IscsiTargetCreate() |
Modifier and Type | Method and Description |
---|---|
IscsiTargetAclMode |
aclMode()
Get the aclMode property: Mode for Target connectivity.
|
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.
|
List<Acl> |
staticAcls()
Get the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.
|
String |
targetIqn()
Get the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
|
void |
validate()
Validates the instance.
|
IscsiTargetCreate |
withAclMode(IscsiTargetAclMode aclMode)
Set the aclMode property: Mode for Target connectivity.
|
IscsiTargetCreate |
withLuns(List<IscsiLun> luns)
Set the luns property: List of LUNs to be exposed through iSCSI Target.
|
IscsiTargetCreate |
withManagedBy(String managedBy)
Set the managedBy property: Azure resource id.
|
IscsiTargetCreate |
withManagedByExtended(List<String> managedByExtended)
Set the managedByExtended property: List of Azure resource ids that manage this resource.
|
IscsiTargetCreate |
withStaticAcls(List<Acl> staticAcls)
Set the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.
|
IscsiTargetCreate |
withTargetIqn(String targetIqn)
Set the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
|
public String managedBy()
public IscsiTargetCreate withManagedBy(String managedBy)
managedBy
- the managedBy value to set.public List<String> managedByExtended()
public IscsiTargetCreate withManagedByExtended(List<String> managedByExtended)
managedByExtended
- the managedByExtended value to set.public IscsiTargetAclMode aclMode()
public IscsiTargetCreate withAclMode(IscsiTargetAclMode aclMode)
aclMode
- the aclMode value to set.public String targetIqn()
public IscsiTargetCreate withTargetIqn(String targetIqn)
targetIqn
- the targetIqn value to set.public List<Acl> staticAcls()
public IscsiTargetCreate withStaticAcls(List<Acl> staticAcls)
staticAcls
- the staticAcls value to set.public List<IscsiLun> luns()
public IscsiTargetCreate withLuns(List<IscsiLun> luns)
luns
- the luns value to set.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.