共用方式為


ScriptExecutionResource.GetExecutionLogsAsync Method

Definition

Return the logs for a script execution resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs
  • Operation Id: ScriptExecutions_GetExecutionLogs
  • Default Api Version: 2023-09-01
  • Resource: ScriptExecutionResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.ScriptExecutionResource>> GetExecutionLogsAsync (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Avs.Models.ScriptOutputStreamType> scriptOutputStreamType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetExecutionLogsAsync : seq<Azure.ResourceManager.Avs.Models.ScriptOutputStreamType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.ScriptExecutionResource>>
override this.GetExecutionLogsAsync : seq<Azure.ResourceManager.Avs.Models.ScriptOutputStreamType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.ScriptExecutionResource>>
Public Overridable Function GetExecutionLogsAsync (Optional scriptOutputStreamType As IEnumerable(Of ScriptOutputStreamType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ScriptExecutionResource))

Parameters

scriptOutputStreamType
IEnumerable<ScriptOutputStreamType>

Name of the desired output stream to return. If not provided, will return all. An empty array will return nothing.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to