IscsiTarget Class

Response for iSCSI Target requests.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.storagepool.models._models_py3.ProxyResource
IscsiTarget

Constructor

IscsiTarget(*, acl_mode: Union[str, azure.mgmt.storagepool.models._storage_pool_management_enums.IscsiTargetAclMode], target_iqn: str, status: Union[str, azure.mgmt.storagepool.models._storage_pool_management_enums.OperationalStatus], static_acls: Optional[List[azure.mgmt.storagepool.models._models_py3.Acl]] = None, luns: Optional[List[azure.mgmt.storagepool.models._models_py3.IscsiLun]] = None, endpoints: Optional[List[str]] = None, port: Optional[int] = None, **kwargs)

Parameters

acl_mode
str or <xref:storage_pool_management.models.IscsiTargetAclMode>
Required

Required. Mode for Target connectivity. Possible values include: "Dynamic", "Static".

static_acls
list[<xref:storage_pool_management.models.Acl>]
Required

Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.

luns
list[<xref:storage_pool_management.models.IscsiLun>]
Required

List of LUNs to be exposed through iSCSI Target.

target_iqn
str
Required

Required. iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".

status
str or <xref:storage_pool_management.models.OperationalStatus>
Required

Required. Operational status of the iSCSI Target. Possible values include: "Invalid", "Unknown", "Healthy", "Unhealthy", "Updating", "Running", "Stopped", "Stopped (deallocated)".

endpoints
list[str]
Required

List of private IPv4 addresses to connect to the iSCSI Target.

port
int
Required

The port used by iSCSI Target portal group.

Variables

id
str

Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

system_data
<xref:storage_pool_management.models.SystemMetadata>

Resource metadata required by ARM RPC.

managed_by
str

Azure resource id. Indicates if this resource is managed by another Azure resource.

managed_by_extended
list[str]

List of Azure resource ids that manage this resource.

provisioning_state
str or <xref:storage_pool_management.models.ProvisioningStates>

Required. State of the operation on the resource. Possible values include: "Invalid", "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Updating", "Deleting".

sessions
list[str]

List of identifiers for active sessions on the iSCSI target.