Compartir a través de


IJobOperations.GetOutputWithHttpMessagesAsync Método

Definición

Recupere la salida del trabajo identificada por el nombre del trabajo. http://aka.ms/azureautomationsdk/joboperations

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<string>> GetOutputWithHttpMessagesAsync (string resourceGroupName, string automationAccountName, string jobName, string clientRequestId = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOutputWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<string>>
Public Function GetOutputWithHttpMessagesAsync (resourceGroupName As String, automationAccountName As String, jobName As String, Optional clientRequestId As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of String))

Parámetros

resourceGroupName
String

Nombre de un grupo de recursos de Azure.

automationAccountName
String

Nombre de la cuenta de Automation.

jobName
String

Nombre del trabajo que se va a crear.

clientRequestId
String

Identifica esta solicitud de cliente específica.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se aplica a