次の方法で共有


WebAppsOperationsExtensions.GetWebSiteContainerLogsSlotAsync メソッド

定義

指定されたサイトの Docker ログの最後の行を取得します

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

パラメーター

operations
IWebAppsOperations

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

resourceGroupName
String

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

name
String

Web アプリの名前。

slot
String

Web アプリ スロットの名前。 指定しない場合、既定では運用スロットになります。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

Description for Gets the last lines of docker logs for the given site

適用対象