Share via


AzureSqlElasticJobAdapter Class

Definition

Adapter for Elastic Jobs operations

public class AzureSqlElasticJobAdapter
type AzureSqlElasticJobAdapter = class
Public Class AzureSqlElasticJobAdapter
Inheritance
AzureSqlElasticJobAdapter

Constructors

AzureSqlElasticJobAdapter(IAzureContext)

Properties

Context

Gets or sets the Azure profile

Methods

BeginCreateJobExecution(AzureSqlElasticJobExecutionModel)

Creates a root job execution

CancelJobExecution(AzureSqlElasticJobExecutionModel)

Cancels a job execution

CreateAzureSqlElasticJobTargetModel(String, String, String, String, JobTarget)

Converts a Job Target model to an AzureSqlElasticJobTargetModel

CreateJobExecution(AzureSqlElasticJobExecutionModel)

Creates a root job execution and polls until execution completes.

CreateJobModelFromResponse(String, String, String, Job)

Converts a Job model to an AzureSqlElasticJobModel

CreateJobTargetModel(AzureSqlElasticJobTargetModel)

Converts an AzureSqlElasticJobTargetModel to a JobTarget model

GetAgent(String, String, String)

Gets an agent

GetJob(String, String, String, String)

Gets a job from agent

GetJob(String, String, String)

Gets a list of jobs owned by agent

GetJobAgentSkuFromModel(AzureSqlElasticJobAgentModel)
GetJobCredential(String, String, String, String)

Gets an elastic job credential

GetJobExecution(String, String, String, String, Guid)

Gets a root job execution

GetJobPrivateEndpoint(String, String, String, String)

Gets a job private endpoint

GetJobStep(String, String, String, String, String)

Gets a job step

GetJobStepByVersion(String, String, String, String, Int32, String)

Gets a job step by version

GetJobStepExecution(String, String, String, String, Guid, String)

Gets a job step execution

GetJobTargetExecution(String, String, String, String, Guid, String, Guid)

Gets a job target execution

GetServerLocationAndThrowIfAgentNotSupportedByServer(String, String)

Gets the Location of the server. Throws an exception if the server does not support Azure SQL Database Agents.

GetTargetGroup(String, String, String, String)

Gets a target group from the control database

ListAgents(String, String)

Get a list of existing agents belong to server

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

Deletes an Azure SQL Database Agent associated to a server

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

Deletes an Azure SQL Database Agent associated to a server

ListJobCredentials(String, String, String)

Gets a list of job credentials from the control database

ListJobExecutionSteps(String, String, String, String, Guid, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)

Gets a list of job step executions by step name

ListJobPrivateEndpoints(String, String, String)

Gets a list of job private endpoints by agent

ListJobSteps(String, String, String, String)

Gets a list of job steps associated to a job

ListJobTargetExecutions(String, String, String, String, Guid, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)

Gets a list of job target executions by target id

ListJobTargetExecutionsByStep(String, String, String, String, Guid, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)

Gets a list of job target executions by step name

ListTargetGroups(String, String, String)

Gets a list of target groups stored in the control database

RemoveAgent(String, String, String)

Deletes an agent

RemoveJob(String, String, String, String)

Deletes a job owned by agent

RemoveJobCredential(String, String, String, String)

Deletes a job credential from the control database

RemoveJobPrivateEndpoint(String, String, String, String)

Removes a job private endpoint

RemoveJobStep(String, String, String, String, String)

Deletes a job step from a job

RemoveTargetGroup(String, String, String, String)

Removes a target group from the control database

UpdateAgent(AzureSqlElasticJobAgentModel)

Updates an existing agent

UpsertAgent(AzureSqlElasticJobAgentModel)

Creates or updates an agent

UpsertJob(AzureSqlElasticJobModel)

Upserts a job

UpsertJobCredential(AzureSqlElasticJobCredentialModel)

Upserts an elastic job credential to the control database

UpsertJobPrivateEndpoint(AzureSqlElasticJobPrivateEndpointModel)

Upserts an elastic job private endpoint

UpsertJobStep(AzureSqlElasticJobStepModel)

Upserts a job step

UpsertTargetGroup(AzureSqlElasticJobTargetGroupModel)

Uperts a target group to the control database

Applies to