次の方法で共有


AppPlatformGatewayCollection.GetAsync(String, CancellationToken) メソッド

定義

Spring Cloud Gateway とそのプロパティを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/gateways/{gatewayName}
  • 操作IdGateways_Get
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))

パラメーター

gatewayName
String

Spring Cloud Gateway の名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

gatewayName は空の文字列であり、空でないと想定されていました。

gatewayName が null です。

適用対象