Compartilhar via


ScriptExecutionResource.GetExecutionLogsAsync Método

Definição

Retornar os logs de um recurso de execução de script

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs
  • IdScriptExecutions_GetExecutionLogs de operação
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))

Parâmetros

scriptOutputStreamType
IEnumerable<ScriptOutputStreamType>

Nome do fluxo de saída desejado a ser retornado. Se não for fornecido, retornará todos. Uma matriz vazia não retornará nada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a