WebAppsOperationsExtensions.GetWebSiteContainerLogsSlotAsync(IWebAppsOperations, String, String, String, CancellationToken) Method

Definition

Gets the last lines of docker logs for the given site

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 = null);
static member GetWebSiteContainerLogsSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of web app.

slot
System.String

Name of web app slot. If not specified then will default to production slot.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.IO.Stream>

Remarks

Gets the last lines of docker logs for the given site

Applies to