Share via


IJobTargetExecutionsOperations.ListByJobExecutionWithHttpMessagesAsync Method

Definition

Lists target executions for all steps of a job execution.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution>>> ListByJobExecutionWithHttpMessagesAsync (string resourceGroupName, string serverName, string jobAgentName, string jobName, Guid jobExecutionId, DateTime? createTimeMin = default, DateTime? createTimeMax = default, DateTime? endTimeMin = default, DateTime? endTimeMax = default, bool? isActive = default, int? skip = default, int? top = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByJobExecutionWithHttpMessagesAsync : string * string * string * string * Guid * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<int> * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution>>>
Public Function ListByJobExecutionWithHttpMessagesAsync (resourceGroupName As String, serverName As String, jobAgentName As String, jobName As String, jobExecutionId As Guid, Optional createTimeMin As Nullable(Of DateTime) = Nothing, Optional createTimeMax As Nullable(Of DateTime) = Nothing, Optional endTimeMin As Nullable(Of DateTime) = Nothing, Optional endTimeMax As Nullable(Of DateTime) = Nothing, Optional isActive As Nullable(Of Boolean) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of JobExecution)))

Parameters

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
String

The name of the server.

jobAgentName
String

The name of the job agent.

jobName
String

The name of the job to get.

jobExecutionId
Guid

The id of the job execution

createTimeMin
Nullable<DateTime>

If specified, only job executions created at or after the specified time are included.

createTimeMax
Nullable<DateTime>

If specified, only job executions created before the specified time are included.

endTimeMin
Nullable<DateTime>

If specified, only job executions completed at or after the specified time are included.

endTimeMax
Nullable<DateTime>

If specified, only job executions completed before the specified time are included.

isActive
Nullable<Boolean>

If specified, only active or only completed job executions are included.

skip
Nullable<Int32>

The number of elements in the collection to skip.

top
Nullable<Int32>

The number of elements to return from the collection.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Applies to