Sdílet prostřednictvím


AzureSqlElasticJobCommunicator Class

Definition

This class is responsible for all the REST communication with the audit REST endpoints

public class AzureSqlElasticJobCommunicator
type AzureSqlElasticJobCommunicator = class
Public Class AzureSqlElasticJobCommunicator
Inheritance
AzureSqlElasticJobCommunicator

Constructors

AzureSqlElasticJobCommunicator(IAzureContext)

Creates an Azure SQL Database Agent Communicator

Properties

Context

Gets or sets the Azure profile

Methods

BeginCreate(String, String, String, String)

Creates a job execution in job and returns immediately with job execution id

CancelJobExecution(String, String, String, String, Guid)

Deletes the credential associated to the agent.

CreateJobExecution(String, String, String, String)

Creates a job execution for a job and polls until complete

CreateOrUpdateAgent(String, String, String, JobAgent)

PUT: Creates an Azure SQL Database Agent

CreateOrUpdateJob(String, String, String, String, Job)

Creates a job

CreateOrUpdateJobCredential(String, String, String, String, JobCredential)

Creates an Azure SQL Database Agent Job Credential

CreateOrUpdateJobStep(String, String, String, String, String, JobStep)

Creates a job step

CreateOrUpdatePrivateEndpoint(String, String, String, String, JobPrivateEndpoint)

PUT: Creates a JobPrivateEndpoint on the associated Azure SQL Database Agent

CreateOrUpdateTargetGroup(String, String, String, String, JobTargetGroup)

Creates an Azure SQL Database Agent Target Group

GetAgent(String, String, String)

Gets the agent associated to resourceGroup

GetCurrentSqlClient()

Retrieve the SQL Management client for the currently selected subscription, adding the session and request id tracing headers for the current cmdlet invocation.

GetJob(String, String, String, String)

Gets the job

GetJobCredential(String, String, String)

Lists the credentials associated to the Azure SQL Database Agent.

GetJobCredential(String, String, String, String)

Gets the associated Job Credential associated to the Azure SQL Database Agent

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

Gets the associated Job Credential associated to the Azure SQL Database Agent

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

Gets a job step

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

Gets all job steps by job version

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

Gets a job step execution

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

Gets the job target execution

GetJobVersion(String, String, String, String)
GetJobVersion(String, String, String, String, Int32)
GetPrivateEndpoint(String, String, String, String)

Get the associated JobPrivateEndpoint for the Azure SQL Database Agent

GetTargetGroup(String, String, String)

Lists the target groups associated to the Azure SQL Database Agent.

GetTargetGroup(String, String, String, String)

Gets the associated Target group associated to the Azure SQL Database Agent

ListAgentsByServer(String, String)

Lists the agents associated to resource group and server

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

Returns a list of job executions across the agent

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

Returns a list of job executions for a job

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

ListJobsByAgent(String, String, String)

Gets a list of jobs that agentName owns.

ListJobStepsByJob(String, String, String, String)

Gets all steps from a job

ListJobStepsByVersion(String, String, String, String, Int32)

Gets all steps by job version

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

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 per step

ListPrivateEndpointsByAgent(String, String, String)

Lists the JobPrivateEndpoints associated to the Azure SQL Database Agent

RemoveAgent(String, String, String)

Deletes the agent associated to resource group name and server name.

RemoveJob(String, String, String, String)

Deletes the job associated to the agent.

RemoveJobCredential(String, String, String, String)

Deletes the credential associated to the agent.

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

Deletes a job step belong to a job.

RemovePrivateEndpoint(String, String, String, String)

Deletes the JobPrivateEndpoint associated to the Azure SQL Database Agent

RemoveTargetGroup(String, String, String, String)

Deletes the target groups associated to the agent.

UpdateAgent(String, String, String, JobAgentUpdate)

PATCH: Updates an Azure SQL Database Agent

Applies to