Compartilhar via


ArmNetworkModelFactory.NetworkIPConfiguration Método

Definição

Inicializa uma nova instância de NetworkIPConfiguration.

public static Azure.ResourceManager.Network.Models.NetworkIPConfiguration NetworkIPConfiguration (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, string privateIPAddress = default, Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod? privateIPAllocationMethod = default, Azure.ResourceManager.Network.SubnetData subnet = default, Azure.ResourceManager.Network.PublicIPAddressData publicIPAddress = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member NetworkIPConfiguration : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod> * Azure.ResourceManager.Network.SubnetData * Azure.ResourceManager.Network.PublicIPAddressData * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.NetworkIPConfiguration
Public Shared Function NetworkIPConfiguration (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 privateIPAddress As String = Nothing, Optional privateIPAllocationMethod As Nullable(Of NetworkIPAllocationMethod) = Nothing, Optional subnet As SubnetData = Nothing, Optional publicIPAddress As PublicIPAddressData = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As NetworkIPConfiguration

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.

privateIPAddress
String

O endereço IP privado da configuração de IP.

privateIPAllocationMethod
Nullable<NetworkIPAllocationMethod>

O método de alocação de endereço IP privado.

subnet
SubnetData

A referência ao recurso de sub-rede.

publicIPAddress
PublicIPAddressData

A referência ao recurso de IP público.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso de configuração de IP.

Retornos

Uma nova NetworkIPConfiguration instância para zombar.

Aplica-se a