Partilhar via


AppPlatformGatewayCollection.GetAsync(String, CancellationToken) Método

Definição

Obtenha o Spring Cloud Gateway e suas propriedades.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/gateways/{gatewayName}
  • IdGateways_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformGatewayResource>> GetAsync (string gatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformGatewayResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformGatewayResource>>
Public Overridable Function GetAsync (gatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformGatewayResource))

Parâmetros

gatewayName
String

O nome do Spring Cloud Gateway.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

gatewayName é nulo.

Aplica-se a