Partilhar via


ArmNetworkModelFactory.SubnetAssociation Método

Definição

Inicializa uma nova instância de SubnetAssociation.

public static Azure.ResourceManager.Network.Models.SubnetAssociation SubnetAssociation (Azure.Core.ResourceIdentifier id = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.SecurityRuleData> securityRules = default);
static member SubnetAssociation : Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.SecurityRuleData> -> Azure.ResourceManager.Network.Models.SubnetAssociation
Public Shared Function SubnetAssociation (Optional id As ResourceIdentifier = Nothing, Optional securityRules As IEnumerable(Of SecurityRuleData) = Nothing) As SubnetAssociation

Parâmetros

id
ResourceIdentifier

ID da sub-rede.

securityRules
IEnumerable<SecurityRuleData>

Coleção de regras de segurança personalizadas.

Retornos

Uma nova SubnetAssociation instância para zombar.

Aplica-se a