共用方式為


ArmElasticSanModelFactory.IscsiTargetInfo Method

Definition

Initializes a new instance of IscsiTargetInfo.

public static Azure.ResourceManager.ElasticSan.Models.IscsiTargetInfo IscsiTargetInfo (string targetIqn = default, string targetPortalHostname = default, int? targetPortalPort = default, Azure.ResourceManager.ElasticSan.Models.ElasticSanProvisioningState? provisioningState = default, Azure.ResourceManager.ElasticSan.Models.ResourceOperationalStatus? status = default);
static member IscsiTargetInfo : string * string * Nullable<int> * Nullable<Azure.ResourceManager.ElasticSan.Models.ElasticSanProvisioningState> * Nullable<Azure.ResourceManager.ElasticSan.Models.ResourceOperationalStatus> -> Azure.ResourceManager.ElasticSan.Models.IscsiTargetInfo
Public Shared Function IscsiTargetInfo (Optional targetIqn As String = Nothing, Optional targetPortalHostname As String = Nothing, Optional targetPortalPort As Nullable(Of Integer) = Nothing, Optional provisioningState As Nullable(Of ElasticSanProvisioningState) = Nothing, Optional status As Nullable(Of ResourceOperationalStatus) = Nothing) As IscsiTargetInfo

Parameters

targetIqn
String

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

targetPortalHostname
String

iSCSI Target Portal Host Name.

targetPortalPort
Nullable<Int32>

iSCSI Target Portal Port.

provisioningState
Nullable<ElasticSanProvisioningState>

State of the operation on the resource.

status
Nullable<ResourceOperationalStatus>

Operational status of the iSCSI Target.

Returns

A new IscsiTargetInfo instance for mocking.

Applies to