次の方法で共有


AppPlatformExtensions.GetAppPlatformServiceAsync メソッド

定義

サービスとそのプロパティを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}
  • 操作IdServices_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceResource>> GetAppPlatformServiceAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAppPlatformServiceAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceResource>>
<Extension()>
Public Function GetAppPlatformServiceAsync (resourceGroupResource As ResourceGroupResource, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformServiceResource))

パラメーター

resourceGroupResource
ResourceGroupResource

ResourceGroupResourceメソッドが実行されるインスタンス。

serviceName
String

サービス リソースの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

serviceName が null です。

適用対象