次の方法で共有


NetworkInterface コンストラクター

定義

オーバーロード

NetworkInterface()

NetworkInterface クラスの新しいインスタンスを初期化します。

NetworkInterface(String, String, String, String, IDictionary<String, String>, ExtendedLocation, SubResource, NetworkSecurityGroup, PrivateEndpoint, IList<NetworkInterfaceIPConfiguration>, IList<NetworkInterfaceTapConfiguration>, NetworkInterfaceDnsSettings, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, IList<String>, SubResource, String, String, String, String, PrivateLinkService, String, String, String)

NetworkInterface クラスの新しいインスタンスを初期化します。

NetworkInterface()

NetworkInterface クラスの新しいインスタンスを初期化します。

public NetworkInterface ();
Public Sub New ()

適用対象

NetworkInterface(String, String, String, String, IDictionary<String, String>, ExtendedLocation, SubResource, NetworkSecurityGroup, PrivateEndpoint, IList<NetworkInterfaceIPConfiguration>, IList<NetworkInterfaceTapConfiguration>, NetworkInterfaceDnsSettings, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, IList<String>, SubResource, String, String, String, String, PrivateLinkService, String, String, String)

NetworkInterface クラスの新しいインスタンスを初期化します。

public NetworkInterface (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.ExtendedLocation extendedLocation = default, Microsoft.Azure.Management.Network.Models.SubResource virtualMachine = default, Microsoft.Azure.Management.Network.Models.NetworkSecurityGroup networkSecurityGroup = default, Microsoft.Azure.Management.Network.Models.PrivateEndpoint privateEndpoint = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkInterfaceIPConfiguration> ipConfigurations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkInterfaceTapConfiguration> tapConfigurations = default, Microsoft.Azure.Management.Network.Models.NetworkInterfaceDnsSettings dnsSettings = default, string macAddress = default, bool? primary = default, bool? vnetEncryptionSupported = default, bool? enableAcceleratedNetworking = default, bool? disableTcpStateTracking = default, bool? enableIPForwarding = default, System.Collections.Generic.IList<string> hostedWorkloads = default, Microsoft.Azure.Management.Network.Models.SubResource dscpConfiguration = default, string resourceGuid = default, string provisioningState = default, string workloadType = default, string nicType = default, Microsoft.Azure.Management.Network.Models.PrivateLinkService privateLinkService = default, string migrationPhase = default, string auxiliaryMode = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.NetworkInterface : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.ExtendedLocation * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.NetworkSecurityGroup * Microsoft.Azure.Management.Network.Models.PrivateEndpoint * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkInterfaceIPConfiguration> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkInterfaceTapConfiguration> * Microsoft.Azure.Management.Network.Models.NetworkInterfaceDnsSettings * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Network.Models.SubResource * string * string * string * string * Microsoft.Azure.Management.Network.Models.PrivateLinkService * string * string * string -> Microsoft.Azure.Management.Network.Models.NetworkInterface
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional virtualMachine As SubResource = Nothing, Optional networkSecurityGroup As NetworkSecurityGroup = Nothing, Optional privateEndpoint As PrivateEndpoint = Nothing, Optional ipConfigurations As IList(Of NetworkInterfaceIPConfiguration) = Nothing, Optional tapConfigurations As IList(Of NetworkInterfaceTapConfiguration) = Nothing, Optional dnsSettings As NetworkInterfaceDnsSettings = Nothing, Optional macAddress As String = Nothing, Optional primary As Nullable(Of Boolean) = Nothing, Optional vnetEncryptionSupported As Nullable(Of Boolean) = Nothing, Optional enableAcceleratedNetworking As Nullable(Of Boolean) = Nothing, Optional disableTcpStateTracking As Nullable(Of Boolean) = Nothing, Optional enableIPForwarding As Nullable(Of Boolean) = Nothing, Optional hostedWorkloads As IList(Of String) = Nothing, Optional dscpConfiguration As SubResource = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As String = Nothing, Optional workloadType As String = Nothing, Optional nicType As String = Nothing, Optional privateLinkService As PrivateLinkService = Nothing, Optional migrationPhase As String = Nothing, Optional auxiliaryMode As String = Nothing, Optional etag As String = Nothing)

パラメーター

id
String

リソースの ID

name
String

リソース名。

type
String

リソースの種類。

location
String

リソースの場所。

tags
IDictionary<String,String>

リソース タグ。

extendedLocation
ExtendedLocation

ネットワーク インターフェイスの拡張された場所。

virtualMachine
SubResource

仮想マシンへの参照。

networkSecurityGroup
NetworkSecurityGroup

NetworkSecurityGroup リソースへの参照。

privateEndpoint
PrivateEndpoint

ネットワーク インターフェイスがリンクされているプライベート エンドポイントへの参照。

ipConfigurations
IList<NetworkInterfaceIPConfiguration>

ネットワーク インターフェイスの IPConfigurations の一覧。

tapConfigurations
IList<NetworkInterfaceTapConfiguration>

ネットワーク インターフェイスの TapConfigurations の一覧。

dnsSettings
NetworkInterfaceDnsSettings

ネットワーク インターフェイスの DNS 設定。

macAddress
String

ネットワーク インターフェイスの MAC アドレス。

primary
Nullable<Boolean>

これが仮想マシン上のプライマリ ネットワーク インターフェイスであるかどうか。

vnetEncryptionSupported
Nullable<Boolean>

この NIC が接続されている仮想マシンが暗号化をサポートしているかどうか。

enableAcceleratedNetworking
Nullable<Boolean>

高速ネットワーク用にネットワーク インターフェイスが構成されている場合。 高速ネットワークを必要とする VM サイズには適用されません。

disableTcpStateTracking
Nullable<Boolean>

TCP 状態の追跡を無効にするかどうかを示します。

enableIPForwarding
Nullable<Boolean>

このネットワーク インターフェイスで IP 転送が有効になっているかどうかを示します。

hostedWorkloads
IList<String>

リンクされた BareMetal リソースへの参照の一覧。

dscpConfiguration
SubResource

ネットワーク インターフェイスがリンクされている dscp 構成への参照。

resourceGuid
String

ネットワーク インターフェイス リソースのリソース GUID プロパティ。

provisioningState
String

ネットワーク インターフェイス リソースのプロビジョニング状態。 指定できる値は、'Succeeded'、'Updating'、'Deleting'、'Failed' です。

workloadType
String

BareMetal リソースの NetworkInterface の WorkloadType

nicType
String

ネットワーク インターフェイス リソースの種類。 使用可能な値は、'Standard'、'Elastic' です。

privateLinkService
PrivateLinkService

ネットワーク インターフェイス リソースの Privatelinkservice。

migrationPhase
String

ネットワーク インターフェイス リソースの移行フェーズ。 使用可能な値は、'None'、'Prepare'、'Commit'、'Abort'、'Committed' です。

auxiliaryMode
String

ネットワーク インターフェイス リソースの補助モード。 指定できる値は、'None'、'MaxConnections'、'Floating' です。

etag
String

リソースが更新されるたびに変更される一意の読み取り専用文字列。

適用対象