Compartilhar via


FluidRelayExtensions.GetFluidRelayServerAsync Método

Definição

Obter um servidor do Fluid Relay.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.FluidRelay/fluidRelayServers/{fluidRelayServerName}
  • IdFluidRelayServers_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FluidRelay.FluidRelayServerResource>> GetFluidRelayServerAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string fluidRelayServerName, System.Threading.CancellationToken cancellationToken = default);
static member GetFluidRelayServerAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FluidRelay.FluidRelayServerResource>>
<Extension()>
Public Function GetFluidRelayServerAsync (resourceGroupResource As ResourceGroupResource, fluidRelayServerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FluidRelayServerResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

fluidRelayServerName
String

O nome do recurso do servidor do Fluid Relay.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

fluidRelayServerName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

fluidRelayServerName é nulo.

Aplica-se a