Compartilhar via


NamespacesOperationsExtensions.CreateOrUpdateNetworkRuleSetAsync Método

Definição

Crie ou atualize NetworkRuleSet para um Namespace.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Fluent.Models.NetworkRuleSetInner> CreateOrUpdateNetworkRuleSetAsync (this Microsoft.Azure.Management.EventHub.Fluent.INamespacesOperations operations, string resourceGroupName, string namespaceName, Microsoft.Azure.Management.EventHub.Fluent.Models.NetworkRuleSetInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateNetworkRuleSetAsync : Microsoft.Azure.Management.EventHub.Fluent.INamespacesOperations * string * string * Microsoft.Azure.Management.EventHub.Fluent.Models.NetworkRuleSetInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Fluent.Models.NetworkRuleSetInner>
<Extension()>
Public Function CreateOrUpdateNetworkRuleSetAsync (operations As INamespacesOperations, resourceGroupName As String, namespaceName As String, parameters As NetworkRuleSetInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NetworkRuleSetInner)

Parâmetros

operations
INamespacesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome do grupo de recursos dentro da assinatura do azure.

namespaceName
String

O nome do namespace

parameters
NetworkRuleSetInner

O IpFilterRule do Namespace.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a