Class IscsiTargetInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.storagepool.fluent.models.IscsiTargetInner
public final class IscsiTargetInner
extends com.azure.core.management.ProxyResource
Response for iSCSI Target requests.
-
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.Get the managedBy property: Azure resource id.Get the managedByExtended property: List of Azure resource ids that manage this resource.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 systemData property: Resource metadata required by ARM RPC.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".Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
IscsiTargetInner
public IscsiTargetInner()Creates an instance of IscsiTargetInner class.
-
-
Method Details
-
systemData
Get the systemData property: Resource metadata required by ARM RPC.- Returns:
- the systemData value.
-
managedBy
Get the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.- Returns:
- the managedBy value.
-
managedByExtended
Get the managedByExtended property: List of Azure resource ids that manage this resource.- Returns:
- the managedByExtended value.
-
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 IscsiTargetInner 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 IscsiTargetInner 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 IscsiTargetInner 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 IscsiTargetInner 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 IscsiTargetInner 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 IscsiTargetInner 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 IscsiTargetInner 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.
-