Freigeben über


ArmElasticSanModelFactory.IscsiTargetInfo Methode

Definition

Initialisiert eine neue instance von 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

Parameter

targetIqn
String

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

targetPortalHostname
String

Hostname des iSCSI-Zielportals.

targetPortalPort
Nullable<Int32>

iSCSI-Zielportalport.

provisioningState
Nullable<ElasticSanProvisioningState>

Status des Vorgangs für die Ressource.

status
Nullable<ResourceOperationalStatus>

Operative status des iSCSI-Ziels.

Gibt zurück

Eine neue IscsiTargetInfo instance zum Mocking.

Gilt für: