Compartilhar via


ArmServiceBusModelFactory.ServiceBusNetworkRuleSetData Método

Definição

Inicializa uma nova instância de ServiceBusNetworkRuleSetData.

public static Azure.ResourceManager.ServiceBus.ServiceBusNetworkRuleSetData ServiceBusNetworkRuleSetData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, bool? isTrustedServiceAccessEnabled = default, Azure.ResourceManager.ServiceBus.Models.ServiceBusNetworkRuleSetDefaultAction? defaultAction = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceBus.Models.ServiceBusNetworkRuleSetVirtualNetworkRules> virtualNetworkRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceBus.Models.ServiceBusNetworkRuleSetIPRules> ipRules = default, Azure.ResourceManager.ServiceBus.Models.ServiceBusPublicNetworkAccessFlag? publicNetworkAccess = default, Azure.Core.AzureLocation? location = default);
static member ServiceBusNetworkRuleSetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<bool> * Nullable<Azure.ResourceManager.ServiceBus.Models.ServiceBusNetworkRuleSetDefaultAction> * seq<Azure.ResourceManager.ServiceBus.Models.ServiceBusNetworkRuleSetVirtualNetworkRules> * seq<Azure.ResourceManager.ServiceBus.Models.ServiceBusNetworkRuleSetIPRules> * Nullable<Azure.ResourceManager.ServiceBus.Models.ServiceBusPublicNetworkAccessFlag> * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.ServiceBus.ServiceBusNetworkRuleSetData
Public Shared Function ServiceBusNetworkRuleSetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional isTrustedServiceAccessEnabled As Nullable(Of Boolean) = Nothing, Optional defaultAction As Nullable(Of ServiceBusNetworkRuleSetDefaultAction) = Nothing, Optional virtualNetworkRules As IEnumerable(Of ServiceBusNetworkRuleSetVirtualNetworkRules) = Nothing, Optional ipRules As IEnumerable(Of ServiceBusNetworkRuleSetIPRules) = Nothing, Optional publicNetworkAccess As Nullable(Of ServiceBusPublicNetworkAccessFlag) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As ServiceBusNetworkRuleSetData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

isTrustedServiceAccessEnabled
Nullable<Boolean>

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

defaultAction
Nullable<ServiceBusNetworkRuleSetDefaultAction>

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

virtualNetworkRules
IEnumerable<ServiceBusNetworkRuleSetVirtualNetworkRules>

Listar Regras de Rede Virtual.

ipRules
IEnumerable<ServiceBusNetworkRuleSetIPRules>

Lista de IpRules.

publicNetworkAccess
Nullable<ServiceBusPublicNetworkAccessFlag>

Isso determina se o tráfego é permitido pela rede pública. Por padrão, ele está habilitado.

location
Nullable<AzureLocation>

A localização geográfica em que o recurso reside.

Retornos

Uma nova ServiceBusNetworkRuleSetData instância para simulação.

Aplica-se a