Compartilhar via


ArmNetworkModelFactory.SubnetData Método

Definição

Inicializa uma nova instância de SubnetData.

public static Azure.ResourceManager.Network.SubnetData SubnetData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, string addressPrefix = default, System.Collections.Generic.IEnumerable<string> addressPrefixes = default, Azure.ResourceManager.Network.NetworkSecurityGroupData networkSecurityGroup = default, Azure.ResourceManager.Network.RouteTableData routeTable = default, Azure.Core.ResourceIdentifier natGatewayId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ServiceEndpointProperties> serviceEndpoints = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ServiceEndpointPolicyData> serviceEndpointPolicies = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.PrivateEndpointData> privateEndpoints = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkIPConfiguration> ipConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkIPConfigurationProfile> ipConfigurationProfiles = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> ipAllocations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ResourceNavigationLink> resourceNavigationLinks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ServiceAssociationLink> serviceAssociationLinks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ServiceDelegation> delegations = default, string purpose = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.VirtualNetworkPrivateEndpointNetworkPolicy? privateEndpointNetworkPolicy = default, Azure.ResourceManager.Network.Models.VirtualNetworkPrivateLinkServiceNetworkPolicy? privateLinkServiceNetworkPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayIPConfiguration> applicationGatewayIPConfigurations = default, bool? defaultOutboundAccess = default);
static member SubnetData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * string * seq<string> * Azure.ResourceManager.Network.NetworkSecurityGroupData * Azure.ResourceManager.Network.RouteTableData * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.Models.ServiceEndpointProperties> * seq<Azure.ResourceManager.Network.ServiceEndpointPolicyData> * seq<Azure.ResourceManager.Network.PrivateEndpointData> * seq<Azure.ResourceManager.Network.Models.NetworkIPConfiguration> * seq<Azure.ResourceManager.Network.Models.NetworkIPConfigurationProfile> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Network.Models.ResourceNavigationLink> * seq<Azure.ResourceManager.Network.Models.ServiceAssociationLink> * seq<Azure.ResourceManager.Network.Models.ServiceDelegation> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.VirtualNetworkPrivateEndpointNetworkPolicy> * Nullable<Azure.ResourceManager.Network.Models.VirtualNetworkPrivateLinkServiceNetworkPolicy> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayIPConfiguration> * Nullable<bool> -> Azure.ResourceManager.Network.SubnetData
Public Shared Function SubnetData (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 addressPrefix As String = Nothing, Optional addressPrefixes As IEnumerable(Of String) = Nothing, Optional networkSecurityGroup As NetworkSecurityGroupData = Nothing, Optional routeTable As RouteTableData = Nothing, Optional natGatewayId As ResourceIdentifier = Nothing, Optional serviceEndpoints As IEnumerable(Of ServiceEndpointProperties) = Nothing, Optional serviceEndpointPolicies As IEnumerable(Of ServiceEndpointPolicyData) = Nothing, Optional privateEndpoints As IEnumerable(Of PrivateEndpointData) = Nothing, Optional ipConfigurations As IEnumerable(Of NetworkIPConfiguration) = Nothing, Optional ipConfigurationProfiles As IEnumerable(Of NetworkIPConfigurationProfile) = Nothing, Optional ipAllocations As IEnumerable(Of WritableSubResource) = Nothing, Optional resourceNavigationLinks As IEnumerable(Of ResourceNavigationLink) = Nothing, Optional serviceAssociationLinks As IEnumerable(Of ServiceAssociationLink) = Nothing, Optional delegations As IEnumerable(Of ServiceDelegation) = Nothing, Optional purpose As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional privateEndpointNetworkPolicy As Nullable(Of VirtualNetworkPrivateEndpointNetworkPolicy) = Nothing, Optional privateLinkServiceNetworkPolicy As Nullable(Of VirtualNetworkPrivateLinkServiceNetworkPolicy) = Nothing, Optional applicationGatewayIPConfigurations As IEnumerable(Of ApplicationGatewayIPConfiguration) = Nothing, Optional defaultOutboundAccess As Nullable(Of Boolean) = Nothing) As SubnetData

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.

addressPrefix
String

O prefixo de endereço para a sub-rede.

addressPrefixes
IEnumerable<String>

Lista de prefixos de endereço para a sub-rede.

networkSecurityGroup
NetworkSecurityGroupData

A referência ao recurso NetworkSecurityGroup.

routeTable
RouteTableData

A referência ao recurso RouteTable.

natGatewayId
ResourceIdentifier

Gateway nat associado a essa sub-rede.

serviceEndpoints
IEnumerable<ServiceEndpointProperties>

Uma matriz de pontos de extremidade de serviço.

serviceEndpointPolicies
IEnumerable<ServiceEndpointPolicyData>

Uma matriz de políticas de ponto de extremidade de serviço.

privateEndpoints
IEnumerable<PrivateEndpointData>

Uma matriz de referências a pontos de extremidade privados.

ipConfigurations
IEnumerable<NetworkIPConfiguration>

Uma matriz de referências às configurações de IP da interface de rede usando a sub-rede.

ipConfigurationProfiles
IEnumerable<NetworkIPConfigurationProfile>

Matriz de perfis de configuração de IP que fazem referência a essa sub-rede.

ipAllocations
IEnumerable<WritableSubResource>

Matriz de IpAllocation que fazem referência a essa sub-rede.

resourceNavigationLinks
IEnumerable<ResourceNavigationLink>

Uma matriz de referências aos recursos externos usando a sub-rede.

serviceAssociationLinks
IEnumerable<ServiceAssociationLink>

Uma matriz de referências a serviços injetando nessa sub-rede.

delegations
IEnumerable<ServiceDelegation>

Uma matriz de referências às delegações na sub-rede.

purpose
String

Uma cadeia de caracteres somente leitura que identifica a intenção de uso para essa sub-rede com base em delegações e outras propriedades definidas pelo usuário.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso de sub-rede.

privateEndpointNetworkPolicy
Nullable<VirtualNetworkPrivateEndpointNetworkPolicy>

Habilitar ou Desabilitar aplicar políticas de rede no ponto de extremidade privado na sub-rede.

privateLinkServiceNetworkPolicy
Nullable<VirtualNetworkPrivateLinkServiceNetworkPolicy>

Habilitar ou Desabilitar aplicar políticas de rede no serviço de link privado na sub-rede.

applicationGatewayIPConfigurations
IEnumerable<ApplicationGatewayIPConfiguration>

Configurações de IP do gateway de aplicativo do recurso de rede virtual.

defaultOutboundAccess
Nullable<Boolean>

Defina essa propriedade como false para desabilitar a conectividade de saída padrão para todas as VMs na sub-rede. Essa propriedade só pode ser definida no momento da criação da sub-rede e não pode ser atualizada para uma sub-rede existente.

Retornos

Uma nova SubnetData instância para zombar.

Aplica-se a