Freigeben über


ScriptExecutionResource.GetExecutionLogsAsync Methode

Definition

Zurückgeben der Protokolle für eine Skriptausführungsressource

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs
  • Vorgangs-IdScriptExecutions_GetExecutionLogs
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))

Parameter

scriptOutputStreamType
IEnumerable<ScriptOutputStreamType>

Name des gewünschten Ausgabedatenstroms, der zurückgegeben werden soll. Wenn nicht angegeben, wird alle zurückgegeben. Ein leeres Array gibt nichts zurück.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: