Class IscsiTargetUpdate
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.storagepool.models.IscsiTargetUpdate
public final class IscsiTargetUpdate
extends com.azure.core.management.ProxyResource
Payload for iSCSI Target update requests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionluns()
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.Get the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.void
validate()
Validates the instance.Set the luns property: List of LUNs to be exposed through iSCSI Target.withManagedBy
(String managedBy) Set the managedBy property: Azure resource id.withManagedByExtended
(List<String> managedByExtended) Set the managedByExtended property: List of Azure resource ids that manage this resource.withStaticAcls
(List<Acl> staticAcls) Set the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
IscsiTargetUpdate
public IscsiTargetUpdate()Creates an instance of IscsiTargetUpdate class.
-
-
Method Details
-
managedBy
Get the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.- Returns:
- the managedBy value.
-
withManagedBy
Set the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.- Parameters:
managedBy
- the managedBy value to set.- Returns:
- the IscsiTargetUpdate object itself.
-
managedByExtended
Get the managedByExtended property: List of Azure resource ids that manage this resource.- Returns:
- the managedByExtended value.
-
withManagedByExtended
Set the managedByExtended property: List of Azure resource ids that manage this resource.- Parameters:
managedByExtended
- the managedByExtended value to set.- Returns:
- the IscsiTargetUpdate 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 IscsiTargetUpdate 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 IscsiTargetUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-