다음을 통해 공유


ArmStoragePoolModelFactory.DiskPoolIscsiTargetData Method

Definition

Initializes a new instance of DiskPoolIscsiTargetData.

public static Azure.ResourceManager.StoragePool.DiskPoolIscsiTargetData DiskPoolIscsiTargetData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string managedBy = default, System.Collections.Generic.IEnumerable<string> managedByExtended = default, Azure.ResourceManager.StoragePool.Models.DiskPoolIscsiTargetAclMode aclMode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StoragePool.Models.DiskPoolIscsiTargetPortalGroupAcl> staticAcls = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StoragePool.Models.ManagedDiskIscsiLun> luns = default, string targetIqn = default, Azure.ResourceManager.StoragePool.Models.DiskPoolIscsiTargetProvisioningState provisioningState = default, Azure.ResourceManager.StoragePool.Models.StoragePoolOperationalStatus status = default, System.Collections.Generic.IEnumerable<string> endpoints = default, int? port = default, System.Collections.Generic.IEnumerable<string> sessions = default);
static member DiskPoolIscsiTargetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<string> * Azure.ResourceManager.StoragePool.Models.DiskPoolIscsiTargetAclMode * seq<Azure.ResourceManager.StoragePool.Models.DiskPoolIscsiTargetPortalGroupAcl> * seq<Azure.ResourceManager.StoragePool.Models.ManagedDiskIscsiLun> * string * Azure.ResourceManager.StoragePool.Models.DiskPoolIscsiTargetProvisioningState * Azure.ResourceManager.StoragePool.Models.StoragePoolOperationalStatus * seq<string> * Nullable<int> * seq<string> -> Azure.ResourceManager.StoragePool.DiskPoolIscsiTargetData
Public Shared Function DiskPoolIscsiTargetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional managedBy As String = Nothing, Optional managedByExtended As IEnumerable(Of String) = Nothing, Optional aclMode As DiskPoolIscsiTargetAclMode = Nothing, Optional staticAcls As IEnumerable(Of DiskPoolIscsiTargetPortalGroupAcl) = Nothing, Optional luns As IEnumerable(Of ManagedDiskIscsiLun) = Nothing, Optional targetIqn As String = Nothing, Optional provisioningState As DiskPoolIscsiTargetProvisioningState = Nothing, Optional status As StoragePoolOperationalStatus = Nothing, Optional endpoints As IEnumerable(Of String) = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional sessions As IEnumerable(Of String) = Nothing) As DiskPoolIscsiTargetData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

managedBy
String

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

managedByExtended
IEnumerable<String>

List of Azure resource ids that manage this resource.

aclMode
DiskPoolIscsiTargetAclMode

Mode for Target connectivity.

staticAcls
IEnumerable<DiskPoolIscsiTargetPortalGroupAcl>

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

luns
IEnumerable<ManagedDiskIscsiLun>

List of LUNs to be exposed through iSCSI Target.

targetIqn
String

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

provisioningState
DiskPoolIscsiTargetProvisioningState

State of the operation on the resource.

status
StoragePoolOperationalStatus

Operational status of the iSCSI Target.

endpoints
IEnumerable<String>

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

port
Nullable<Int32>

The port used by iSCSI Target portal group.

sessions
IEnumerable<String>

List of identifiers for active sessions on the iSCSI target.

Returns

A new DiskPoolIscsiTargetData instance for mocking.

Applies to