Compartilhar via


ArmNetworkModelFactory.ActiveDefaultSecurityAdminRule Método

Definição

Inicializa uma nova instância de ActiveDefaultSecurityAdminRule.

public static Azure.ResourceManager.Network.Models.ActiveDefaultSecurityAdminRule ActiveDefaultSecurityAdminRule (string id = default, DateTimeOffset? commitOn = default, string region = default, string configurationDescription = default, string ruleCollectionDescription = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkManagerSecurityGroupItem> ruleCollectionAppliesToGroups = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkConfigurationGroup> ruleGroups = default, string description = default, string flag = default, Azure.ResourceManager.Network.Models.SecurityConfigurationRuleProtocol? protocol = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.AddressPrefixItem> sources = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.AddressPrefixItem> destinations = default, System.Collections.Generic.IEnumerable<string> sourcePortRanges = default, System.Collections.Generic.IEnumerable<string> destinationPortRanges = default, Azure.ResourceManager.Network.Models.SecurityConfigurationRuleAccess? access = default, int? priority = default, Azure.ResourceManager.Network.Models.SecurityConfigurationRuleDirection? direction = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Guid? resourceGuid = default);
static member ActiveDefaultSecurityAdminRule : string * Nullable<DateTimeOffset> * string * string * string * seq<Azure.ResourceManager.Network.Models.NetworkManagerSecurityGroupItem> * seq<Azure.ResourceManager.Network.Models.NetworkConfigurationGroup> * string * string * Nullable<Azure.ResourceManager.Network.Models.SecurityConfigurationRuleProtocol> * seq<Azure.ResourceManager.Network.Models.AddressPrefixItem> * seq<Azure.ResourceManager.Network.Models.AddressPrefixItem> * seq<string> * seq<string> * Nullable<Azure.ResourceManager.Network.Models.SecurityConfigurationRuleAccess> * Nullable<int> * Nullable<Azure.ResourceManager.Network.Models.SecurityConfigurationRuleDirection> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Guid> -> Azure.ResourceManager.Network.Models.ActiveDefaultSecurityAdminRule
Public Shared Function ActiveDefaultSecurityAdminRule (Optional id As String = Nothing, Optional commitOn As Nullable(Of DateTimeOffset) = Nothing, Optional region As String = Nothing, Optional configurationDescription As String = Nothing, Optional ruleCollectionDescription As String = Nothing, Optional ruleCollectionAppliesToGroups As IEnumerable(Of NetworkManagerSecurityGroupItem) = Nothing, Optional ruleGroups As IEnumerable(Of NetworkConfigurationGroup) = Nothing, Optional description As String = Nothing, Optional flag As String = Nothing, Optional protocol As Nullable(Of SecurityConfigurationRuleProtocol) = Nothing, Optional sources As IEnumerable(Of AddressPrefixItem) = Nothing, Optional destinations As IEnumerable(Of AddressPrefixItem) = Nothing, Optional sourcePortRanges As IEnumerable(Of String) = Nothing, Optional destinationPortRanges As IEnumerable(Of String) = Nothing, Optional access As Nullable(Of SecurityConfigurationRuleAccess) = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional direction As Nullable(Of SecurityConfigurationRuleDirection) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing) As ActiveDefaultSecurityAdminRule

Parâmetros

id
String

ID do recurso.

commitOn
Nullable<DateTimeOffset>

Cadeia de caracteres de tempo de implantação.

region
String

Região de implantação.

configurationDescription
String

Uma descrição da configuração de administrador de segurança.

ruleCollectionDescription
String

Uma descrição da coleção de regras.

ruleCollectionAppliesToGroups
IEnumerable<NetworkManagerSecurityGroupItem>

Grupos para coleção de regras.

ruleGroups
IEnumerable<NetworkConfigurationGroup>

Grupos de configuração eficazes.

description
String

Uma descrição dessa regra. Restrito a 140 caracteres.

flag
String

Sinalizador de regra padrão.

protocol
Nullable<SecurityConfigurationRuleProtocol>

O protocolo de rede a que essa regra se aplica.

sources
IEnumerable<AddressPrefixItem>

Os intervalos cidr ou ip de origem.

destinations
IEnumerable<AddressPrefixItem>

Os prefixos de endereço de destino. Intervalos de IP de destino ou CIDR.

sourcePortRanges
IEnumerable<String>

Os intervalos de porta de origem.

destinationPortRanges
IEnumerable<String>

Os intervalos de portas de destino.

access
Nullable<SecurityConfigurationRuleAccess>

Indica o acesso permitido para essa regra específica.

priority
Nullable<Int32>

A prioridade da regra. O valor pode estar entre 1 e 4096. O número da prioridade deve ser exclusivo para cada regra na coleção. Quanto menor o número da prioridade, maior será a prioridade da regra.

direction
Nullable<SecurityConfigurationRuleDirection>

Indica se o tráfego correspondeu à regra na entrada ou saída.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso.

resourceGuid
Nullable<Guid>

Identificador exclusivo para esse recurso.

Retornos

Uma nova ActiveDefaultSecurityAdminRule instância para zombar.

Aplica-se a