Show / Hide Table of Contents

    Class JobExecutionsOperationsExtensions

    Extension methods for JobExecutionsOperations.

    Inheritance
    Object
    JobExecutionsOperationsExtensions
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    public static class JobExecutionsOperationsExtensions

    Methods

    BeginCreate(IJobExecutionsOperations, String, String, String, String)

    Starts an elastic job execution.

    Declaration
    public static Microsoft.Azure.Management.Sql.Models.JobExecution BeginCreate (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job to get.

    Returns
    JobExecution

    BeginCreateAsync(IJobExecutionsOperations, String, String, String, String, CancellationToken)

    Starts an elastic job execution.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.JobExecution> BeginCreateAsync (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job to get.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<JobExecution>

    BeginCreateOrUpdate(IJobExecutionsOperations, String, String, String, String, Guid)

    Creates or updates a job execution.

    Declaration
    public static Microsoft.Azure.Management.Sql.Models.JobExecution BeginCreateOrUpdate (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Guid jobExecutionId);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job to get.

    Guid jobExecutionId

    The job execution id to create the job execution under.

    Returns
    JobExecution

    BeginCreateOrUpdateAsync(IJobExecutionsOperations, String, String, String, String, Guid, CancellationToken)

    Creates or updates a job execution.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.JobExecution> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Guid jobExecutionId, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job to get.

    Guid jobExecutionId

    The job execution id to create the job execution under.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<JobExecution>

    Cancel(IJobExecutionsOperations, String, String, String, String, Guid)

    Requests cancellation of a job execution.

    Declaration
    public static void Cancel (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Guid jobExecutionId);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job.

    Guid jobExecutionId

    The id of the job execution to cancel.

    CancelAsync(IJobExecutionsOperations, String, String, String, String, Guid, CancellationToken)

    Requests cancellation of a job execution.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task CancelAsync (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Guid jobExecutionId, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job.

    Guid jobExecutionId

    The id of the job execution to cancel.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task

    Create(IJobExecutionsOperations, String, String, String, String)

    Starts an elastic job execution.

    Declaration
    public static Microsoft.Azure.Management.Sql.Models.JobExecution Create (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job to get.

    Returns
    JobExecution

    CreateAsync(IJobExecutionsOperations, String, String, String, String, CancellationToken)

    Starts an elastic job execution.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.JobExecution> CreateAsync (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job to get.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<JobExecution>

    CreateOrUpdate(IJobExecutionsOperations, String, String, String, String, Guid)

    Creates or updates a job execution.

    Declaration
    public static Microsoft.Azure.Management.Sql.Models.JobExecution CreateOrUpdate (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Guid jobExecutionId);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job to get.

    Guid jobExecutionId

    The job execution id to create the job execution under.

    Returns
    JobExecution

    CreateOrUpdateAsync(IJobExecutionsOperations, String, String, String, String, Guid, CancellationToken)

    Creates or updates a job execution.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.JobExecution> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Guid jobExecutionId, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job to get.

    Guid jobExecutionId

    The job execution id to create the job execution under.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<JobExecution>

    Get(IJobExecutionsOperations, String, String, String, String, Guid)

    Gets a job execution.

    Declaration
    public static Microsoft.Azure.Management.Sql.Models.JobExecution Get (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Guid jobExecutionId);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job.

    Guid jobExecutionId

    The id of the job execution

    Returns
    JobExecution

    GetAsync(IJobExecutionsOperations, String, String, String, String, Guid, CancellationToken)

    Gets a job execution.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.JobExecution> GetAsync (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Guid jobExecutionId, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job.

    Guid jobExecutionId

    The id of the job execution

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<JobExecution>

    ListByAgent(IJobExecutionsOperations, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)

    Lists all executions in a job agent.

    Declaration
    public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution> ListByAgent (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, Nullable<DateTime> createTimeMin = null, Nullable<DateTime> createTimeMax = null, Nullable<DateTime> endTimeMin = null, Nullable<DateTime> endTimeMax = null, Nullable<bool> isActive = null, Nullable<int> skip = null, Nullable<int> top = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    Nullable<DateTime> createTimeMin

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

    Nullable<DateTime> createTimeMax

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

    Nullable<DateTime> endTimeMin

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

    Nullable<DateTime> endTimeMax

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

    Nullable<Boolean> isActive

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

    Nullable<Int32> skip

    The number of elements in the collection to skip.

    Nullable<Int32> top

    The number of elements to return from the collection.

    Returns
    IPage<JobExecution>

    ListByAgentAsync(IJobExecutionsOperations, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

    Lists all executions in a job agent.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution>> ListByAgentAsync (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, Nullable<DateTime> createTimeMin = null, Nullable<DateTime> createTimeMax = null, Nullable<DateTime> endTimeMin = null, Nullable<DateTime> endTimeMax = null, Nullable<bool> isActive = null, Nullable<int> skip = null, Nullable<int> top = null, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    Nullable<DateTime> createTimeMin

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

    Nullable<DateTime> createTimeMax

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

    Nullable<DateTime> endTimeMin

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

    Nullable<DateTime> endTimeMax

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

    Nullable<Boolean> isActive

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

    Nullable<Int32> skip

    The number of elements in the collection to skip.

    Nullable<Int32> top

    The number of elements to return from the collection.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<IPage<JobExecution>>

    ListByAgentNext(IJobExecutionsOperations, String)

    Lists all executions in a job agent.

    Declaration
    public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution> ListByAgentNext (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string nextPageLink);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String nextPageLink

    The NextLink from the previous successful call to List operation.

    Returns
    IPage<JobExecution>

    ListByAgentNextAsync(IJobExecutionsOperations, String, CancellationToken)

    Lists all executions in a job agent.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution>> ListByAgentNextAsync (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String nextPageLink

    The NextLink from the previous successful call to List operation.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<IPage<JobExecution>>

    ListByJob(IJobExecutionsOperations, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)

    Lists a job's executions.

    Declaration
    public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution> ListByJob (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Nullable<DateTime> createTimeMin = null, Nullable<DateTime> createTimeMax = null, Nullable<DateTime> endTimeMin = null, Nullable<DateTime> endTimeMax = null, Nullable<bool> isActive = null, Nullable<int> skip = null, Nullable<int> top = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job to get.

    Nullable<DateTime> createTimeMin

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

    Nullable<DateTime> createTimeMax

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

    Nullable<DateTime> endTimeMin

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

    Nullable<DateTime> endTimeMax

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

    Nullable<Boolean> isActive

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

    Nullable<Int32> skip

    The number of elements in the collection to skip.

    Nullable<Int32> top

    The number of elements to return from the collection.

    Returns
    IPage<JobExecution>

    ListByJobAsync(IJobExecutionsOperations, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, CancellationToken)

    Lists a job's executions.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution>> ListByJobAsync (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Nullable<DateTime> createTimeMin = null, Nullable<DateTime> createTimeMax = null, Nullable<DateTime> endTimeMin = null, Nullable<DateTime> endTimeMax = null, Nullable<bool> isActive = null, Nullable<int> skip = null, Nullable<int> top = null, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String resourceGroupName

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

    String serverName

    The name of the server.

    String jobAgentName

    The name of the job agent.

    String jobName

    The name of the job to get.

    Nullable<DateTime> createTimeMin

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

    Nullable<DateTime> createTimeMax

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

    Nullable<DateTime> endTimeMin

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

    Nullable<DateTime> endTimeMax

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

    Nullable<Boolean> isActive

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

    Nullable<Int32> skip

    The number of elements in the collection to skip.

    Nullable<Int32> top

    The number of elements to return from the collection.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<IPage<JobExecution>>

    ListByJobNext(IJobExecutionsOperations, String)

    Lists a job's executions.

    Declaration
    public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution> ListByJobNext (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string nextPageLink);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String nextPageLink

    The NextLink from the previous successful call to List operation.

    Returns
    IPage<JobExecution>

    ListByJobNextAsync(IJobExecutionsOperations, String, CancellationToken)

    Lists a job's executions.

    Declaration
    [System.Diagnostics.DebuggerStepThrough]
    public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution>> ListByJobNextAsync (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    IJobExecutionsOperations operations

    The operations group for this extension method.

    String nextPageLink

    The NextLink from the previous successful call to List operation.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<IPage<JobExecution>>

    Back to top Azure SDK for Net