次の方法で共有


WebAppsOperationsExtensions.GetDeploymentSlotAsync メソッド

定義

アプリまたはデプロイ スロットの ID でデプロイを取得します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Deployment> GetDeploymentSlotAsync(this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string id, string slot, System.Threading.CancellationToken cancellationToken = default);
static member GetDeploymentSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Deployment>
<Extension()>
Public Function GetDeploymentSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, id As String, slot As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Deployment)

パラメーター

operations
IWebAppsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソースが属しているリソース グループの名前。

name
String

アプリの名前。

id
String

デプロイ ID

slot
String

デプロイ スロットの名前。 スロットが指定されていない場合、API は運用スロットのデプロイを取得します。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

「アプリの ID またはデプロイ スロットでデプロイを取得する」の説明。

適用対象