次の方法で共有


WebAppsOperationsExtensions.StopSlotAsync メソッド

定義

アプリ (またはデプロイ スロットを指定した場合) を停止します。

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

パラメーター

operations
IWebAppsOperations

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

resourceGroupName
String

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

name
String

アプリの名前。

slot
String

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

[アプリを停止する ] の説明 (または、指定されている場合はデプロイ スロット)。

適用対象