Partilhar via


ArmEventHubsModelFactory.EventHubsNetworkRuleSetData Método

Definição

Inicializa uma nova instância de EventHubsNetworkRuleSetData.

public static Azure.ResourceManager.EventHubs.EventHubsNetworkRuleSetData EventHubsNetworkRuleSetData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, bool? trustedServiceAccessEnabled = default, Azure.ResourceManager.EventHubs.Models.EventHubsNetworkRuleSetDefaultAction? defaultAction = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventHubs.Models.EventHubsNetworkRuleSetVirtualNetworkRules> virtualNetworkRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventHubs.Models.EventHubsNetworkRuleSetIPRules> ipRules = default, Azure.ResourceManager.EventHubs.Models.EventHubsPublicNetworkAccessFlag? publicNetworkAccess = default, Azure.Core.AzureLocation? location = default);
static member EventHubsNetworkRuleSetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<bool> * Nullable<Azure.ResourceManager.EventHubs.Models.EventHubsNetworkRuleSetDefaultAction> * seq<Azure.ResourceManager.EventHubs.Models.EventHubsNetworkRuleSetVirtualNetworkRules> * seq<Azure.ResourceManager.EventHubs.Models.EventHubsNetworkRuleSetIPRules> * Nullable<Azure.ResourceManager.EventHubs.Models.EventHubsPublicNetworkAccessFlag> * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.EventHubs.EventHubsNetworkRuleSetData
Public Shared Function EventHubsNetworkRuleSetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional trustedServiceAccessEnabled As Nullable(Of Boolean) = Nothing, Optional defaultAction As Nullable(Of EventHubsNetworkRuleSetDefaultAction) = Nothing, Optional virtualNetworkRules As IEnumerable(Of EventHubsNetworkRuleSetVirtualNetworkRules) = Nothing, Optional ipRules As IEnumerable(Of EventHubsNetworkRuleSetIPRules) = Nothing, Optional publicNetworkAccess As Nullable(Of EventHubsPublicNetworkAccessFlag) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As EventHubsNetworkRuleSetData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

trustedServiceAccessEnabled
Nullable<Boolean>

Valor que indica se o Acesso ao Serviço Confiável está Habilitado ou não.

defaultAction
Nullable<EventHubsNetworkRuleSetDefaultAction>

Ação padrão para conjunto de regras de rede.

virtualNetworkRules
IEnumerable<EventHubsNetworkRuleSetVirtualNetworkRules>

Listar Regras de Rede Virtual.

ipRules
IEnumerable<EventHubsNetworkRuleSetIPRules>

Lista de IpRules.

publicNetworkAccess
Nullable<EventHubsPublicNetworkAccessFlag>

Isso determina se o tráfego é permitido pela rede pública. Por padrão, ele está habilitado. Se o valor for SecuredByPerimeter, a comunicação de entrada e saída será controlada pelas regras de acesso do perímetro de segurança de rede e do perfil.

location
Nullable<AzureLocation>

A localização geográfica onde o recurso reside.

Retornos

Uma nova EventHubsNetworkRuleSetData instância para zombar.

Aplica-se a