Compartilhar via


ArmNetworkModelFactory.BastionHostIPConfiguration Método

Definição

Inicializa uma nova instância de BastionHostIPConfiguration.

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

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 exclusiva somente leitura que é alterada sempre que o recurso é atualizado.

subnetId
ResourceIdentifier

Referência do recurso de sub-rede.

publicIPAddressId
ResourceIdentifier

Referência do recurso PublicIP.

provisioningState
Nullable<NetworkProvisioningState>

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

privateIPAllocationMethod
Nullable<NetworkIPAllocationMethod>

Método de alocação de IP privado.

Retornos

Uma nova BastionHostIPConfiguration instância para simulação.

Aplica-se a