MySqlVirtualNetworkRuleCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém uma regra de rede virtual.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}
  • Operação IdVirtualNetworkRules_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.MySqlVirtualNetworkRuleResource>> GetAsync (string virtualNetworkRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.MySqlVirtualNetworkRuleResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MySql.MySqlVirtualNetworkRuleResource>>
Public Overridable Function GetAsync (virtualNetworkRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MySqlVirtualNetworkRuleResource))

Parâmetros

virtualNetworkRuleName
String

O nome da regra de rede virtual.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

virtualNetworkRuleName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

virtualNetworkRuleName é nulo.

Aplica-se a