ArmElasticSanModelFactory.IscsiTargetInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.