Partilhar via


CosmosDBFirewallRuleResource.GetAsync(CancellationToken) Método

Definição

Obtém informações sobre uma regra de firewall de cluster mongo.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}
  • Operação IdMongoClusters_GetFirewallRule
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBFirewallRuleResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBFirewallRuleResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBFirewallRuleResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CosmosDBFirewallRuleResource))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a