次の方法で共有


ContainersExtensions.GetContainerApp メソッド

定義

コンテナー アプリのプロパティを取得します。 要求パス: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName} 操作 ID: ContainerApps_Get

public static Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppResource> GetContainerApp (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string containerAppName, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerApp : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Applications.Containers.ContainerAppResource>
<Extension()>
Public Function GetContainerApp (resourceGroupResource As ResourceGroupResource, containerAppName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppResource)

パラメーター

resourceGroupResource
ResourceGroupResource

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

containerAppName
String

コンテナー アプリの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

containerAppName が null です。

適用対象