다음을 통해 공유


ScriptExecutionResource.GetExecutionLogs 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 Azure.Response<Azure.ResourceManager.Avs.ScriptExecutionResource> GetExecutionLogs (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Avs.Models.ScriptOutputStreamType> scriptOutputStreamType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetExecutionLogs : seq<Azure.ResourceManager.Avs.Models.ScriptOutputStreamType> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Avs.ScriptExecutionResource>
override this.GetExecutionLogs : seq<Azure.ResourceManager.Avs.Models.ScriptOutputStreamType> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Avs.ScriptExecutionResource>
Public Overridable Function GetExecutionLogs (Optional scriptOutputStreamType As IEnumerable(Of ScriptOutputStreamType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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