Partilhar via


ScriptExecutionsOperationsExtensions.GetExecutionLogsAsync Método

Definição

Devolver os registos de um recurso de execução de script

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptExecution> GetExecutionLogsAsync (this Microsoft.Azure.Management.Avs.IScriptExecutionsOperations operations, string resourceGroupName, string privateCloudName, string scriptExecutionName, System.Collections.Generic.IList<string> scriptOutputStreamType = default, System.Threading.CancellationToken cancellationToken = default);
static member GetExecutionLogsAsync : Microsoft.Azure.Management.Avs.IScriptExecutionsOperations * string * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptExecution>
<Extension()>
Public Function GetExecutionLogsAsync (operations As IScriptExecutionsOperations, resourceGroupName As String, privateCloudName As String, scriptExecutionName As String, Optional scriptOutputStreamType As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScriptExecution)

Parâmetros

operations
IScriptExecutionsOperations

O grupo de operações para este método de extensão.

resourceGroupName
String

O nome do grupo de recursos. O nome não é sensível a maiúsculas e minúsculas.

privateCloudName
String

Nome da nuvem privada

scriptExecutionName
String

Nome do recurso de execução de script invocado pelo utilizador

scriptOutputStreamType
IList<String>

Nome do fluxo de saída pretendido a devolver. Se não for fornecido, devolverá todos. Uma matriz vazia não devolverá nada

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

Aplica-se a