Compartilhar via


ArmNetworkModelFactory.ContainerNetworkInterface Método

Definição

Inicializa uma nova instância de ContainerNetworkInterface.

public static Azure.ResourceManager.Network.Models.ContainerNetworkInterface ContainerNetworkInterface (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.ResourceManager.Network.Models.ContainerNetworkInterfaceConfiguration containerNetworkInterfaceConfiguration = default, Azure.Core.ResourceIdentifier containerId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ContainerNetworkInterfaceIPConfiguration> ipConfigurations = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member ContainerNetworkInterface : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Azure.ResourceManager.Network.Models.ContainerNetworkInterfaceConfiguration * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.Models.ContainerNetworkInterfaceIPConfiguration> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.ContainerNetworkInterface
Public Shared Function ContainerNetworkInterface (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional containerNetworkInterfaceConfiguration As ContainerNetworkInterfaceConfiguration = Nothing, Optional containerId As ResourceIdentifier = Nothing, Optional ipConfigurations As IEnumerable(Of ContainerNetworkInterfaceIPConfiguration) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As ContainerNetworkInterface

Parâmetros

id
ResourceIdentifier

ID do recurso.

name
String

Nome do recurso.

resourceType
Nullable<ResourceType>

Tipo de recurso.

etag
Nullable<ETag>

Uma cadeia de caracteres somente leitura exclusiva que é alterada sempre que o recurso é atualizado.

containerNetworkInterfaceConfiguration
ContainerNetworkInterfaceConfiguration

Configuração do adaptador de rede de contêiner da qual esse adaptador de rede de contêiner é criado.

containerId
ResourceIdentifier

Referência ao contêiner ao qual esse adaptador de rede de contêiner está anexado.

ipConfigurations
IEnumerable<ContainerNetworkInterfaceIPConfiguration>

Referência à configuração de ip neste nic de contêiner.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso de interface de rede de contêiner.

Retornos

Uma nova ContainerNetworkInterface instância para zombar.

Aplica-se a