JobExecutionsOperationsExtensions.ListByJobAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists a job's executions.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Fluent.Models.JobExecutionInner>> ListByJobAsync (this Microsoft.Azure.Management.Sql.Fluent.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, DateTime? createTimeMin = default, DateTime? createTimeMax = default, DateTime? endTimeMin = default, DateTime? endTimeMax = default, bool? isActive = default, int? skip = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByJobAsync : Microsoft.Azure.Management.Sql.Fluent.IJobExecutionsOperations * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Fluent.Models.JobExecutionInner>>
<Extension()>
Public Function ListByJobAsync (operations As IJobExecutionsOperations, resourceGroupName As String, serverName As String, jobAgentName As String, jobName As String, 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 cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of JobExecutionInner))
Parameters
- operations
- IJobExecutionsOperations
The operations group for this extension method.
- 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.
If specified, only job executions created at or after the specified time are included.
If specified, only job executions created before the specified time are included.
If specified, only job executions completed at or after the specified time are included.
If specified, only job executions completed before the specified time are included.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET