ArmNetworkModelFactory.EffectiveSecurityAdminRule Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Inicializa una nueva instancia de EffectiveSecurityAdminRule.
public static Azure.ResourceManager.Network.Models.EffectiveSecurityAdminRule EffectiveSecurityAdminRule (Azure.Core.ResourceIdentifier resourceId = 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, 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 EffectiveSecurityAdminRule : Azure.Core.ResourceIdentifier * string * string * seq<Azure.ResourceManager.Network.Models.NetworkManagerSecurityGroupItem> * seq<Azure.ResourceManager.Network.Models.NetworkConfigurationGroup> * 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.EffectiveSecurityAdminRule
Public Shared Function EffectiveSecurityAdminRule (Optional resourceId As ResourceIdentifier = 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 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 EffectiveSecurityAdminRule
Parámetros
- resourceId
- ResourceIdentifier
Identificador del recurso.
- configurationDescription
- String
Descripción de la configuración del administrador de seguridad.
- ruleCollectionDescription
- String
Descripción de la colección de reglas.
- ruleCollectionAppliesToGroups
- IEnumerable<NetworkManagerSecurityGroupItem>
Grupos para la recopilación de reglas.
- ruleGroups
- IEnumerable<NetworkConfigurationGroup>
Grupos de configuración efectivos.
- description
- String
Una descripción para esta regla. Restringido a 140 caracteres.
- protocol
- Nullable<SecurityConfigurationRuleProtocol>
El protocolo de red al que se aplica esta regla.
- sources
- IEnumerable<AddressPrefixItem>
Los intervalos CIDR o IP de origen.
- destinations
- IEnumerable<AddressPrefixItem>
Prefijos de dirección de destino. CIDR o intervalos IP de destino.
- sourcePortRanges
- IEnumerable<String>
Intervalos de puertos de origen.
- destinationPortRanges
- IEnumerable<String>
Intervalos de puertos de destino.
Indica el acceso permitido para esta regla en particular.
Prioridad de la regla. El valor puede estar comprendido entre 1 y 4096. El número de prioridad debe ser único para cada regla de la colección. Cuanto menor sea el número de prioridad, mayor será la prioridad de la regla.
- direction
- Nullable<SecurityConfigurationRuleDirection>
Indica si el tráfico coincide con la regla de entrada o salida.
- provisioningState
- Nullable<NetworkProvisioningState>
Estado de aprovisionamiento del recurso.
Devoluciones
EffectiveSecurityAdminRule Nueva instancia para simular.
Se aplica a
Azure SDK for .NET