Udostępnij za pośrednictwem


ArmNetworkModelFactory.VirtualApplianceNicProperties Method

Definition

Initializes a new instance of VirtualApplianceNicProperties.

public static Azure.ResourceManager.Network.Models.VirtualApplianceNicProperties VirtualApplianceNicProperties (Azure.ResourceManager.Network.Models.NicTypeInResponse? nicType = default, string name = default, string publicIPAddress = default, string privateIPAddress = default, string instanceName = default);
static member VirtualApplianceNicProperties : Nullable<Azure.ResourceManager.Network.Models.NicTypeInResponse> * string * string * string * string -> Azure.ResourceManager.Network.Models.VirtualApplianceNicProperties
Public Shared Function VirtualApplianceNicProperties (Optional nicType As Nullable(Of NicTypeInResponse) = Nothing, Optional name As String = Nothing, Optional publicIPAddress As String = Nothing, Optional privateIPAddress As String = Nothing, Optional instanceName As String = Nothing) As VirtualApplianceNicProperties

Parameters

nicType
Nullable<NicTypeInResponse>

NIC type - PublicNic, PrivateNic, or AdditionalNic.

name
String

NIC name.

publicIPAddress
String

Public IP address.

privateIPAddress
String

Private IP address.

instanceName
String

Instance on which nic is attached.

Returns

A new VirtualApplianceNicProperties instance for mocking.

Applies to