共用方式為


WebSiteResource.GetWebSiteContainerLogs(CancellationToken) Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs
  • Operation Id: WebApps_GetWebSiteContainerLogs
  • Default Api Version: 2023-12-01
  • Resource: WebSiteResource
public virtual Azure.Response<System.IO.Stream> GetWebSiteContainerLogs (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebSiteContainerLogs : System.Threading.CancellationToken -> Azure.Response<System.IO.Stream>
override this.GetWebSiteContainerLogs : System.Threading.CancellationToken -> Azure.Response<System.IO.Stream>
Public Overridable Function GetWebSiteContainerLogs (Optional cancellationToken As CancellationToken = Nothing) As Response(Of Stream)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to