JobExecutions interface
Interface representing a JobExecutions.
Methods
begin |
Starts an elastic job execution. |
begin |
Starts an elastic job execution. |
begin |
Creates or updates a job execution. |
begin |
Creates or updates a job execution. |
cancel(string, string, string, string, string, Job |
Requests cancellation of a job execution. |
get(string, string, string, string, string, Job |
Gets a job execution. |
list |
Lists all executions in a job agent. |
list |
Lists a job's executions. |
Method Details
beginCreate(string, string, string, string, JobExecutionsCreateOptionalParams)
Starts an elastic job execution.
function beginCreate(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, options?: JobExecutionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<JobExecution>, 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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<JobExecution>, JobExecution>>
beginCreateAndWait(string, string, string, string, JobExecutionsCreateOptionalParams)
Starts an elastic job execution.
function beginCreateAndWait(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, options?: JobExecutionsCreateOptionalParams): Promise<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.
The options parameters.
Returns
Promise<JobExecution>
beginCreateOrUpdate(string, string, string, string, string, JobExecutionsCreateOrUpdateOptionalParams)
Creates or updates a job execution.
function beginCreateOrUpdate(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, jobExecutionId: string, options?: JobExecutionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<JobExecution>, 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
-
string
The job execution id to create the job execution under.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<JobExecution>, JobExecution>>
beginCreateOrUpdateAndWait(string, string, string, string, string, JobExecutionsCreateOrUpdateOptionalParams)
Creates or updates a job execution.
function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, jobExecutionId: string, options?: JobExecutionsCreateOrUpdateOptionalParams): Promise<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
-
string
The job execution id to create the job execution under.
The options parameters.
Returns
Promise<JobExecution>
cancel(string, string, string, string, string, JobExecutionsCancelOptionalParams)
Requests cancellation of a job execution.
function cancel(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, jobExecutionId: string, options?: JobExecutionsCancelOptionalParams): Promise<void>
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.
- jobExecutionId
-
string
The id of the job execution to cancel.
The options parameters.
Returns
Promise<void>
get(string, string, string, string, string, JobExecutionsGetOptionalParams)
Gets a job execution.
function get(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, jobExecutionId: string, options?: JobExecutionsGetOptionalParams): Promise<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.
- jobExecutionId
-
string
The id of the job execution
- options
- JobExecutionsGetOptionalParams
The options parameters.
Returns
Promise<JobExecution>
listByAgent(string, string, string, JobExecutionsListByAgentOptionalParams)
Lists all executions in a job agent.
function listByAgent(resourceGroupName: string, serverName: string, jobAgentName: string, options?: JobExecutionsListByAgentOptionalParams): PagedAsyncIterableIterator<JobExecution, JobExecution[], PageSettings>
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.
The options parameters.
Returns
listByJob(string, string, string, string, JobExecutionsListByJobOptionalParams)
Lists a job's executions.
function listByJob(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, options?: JobExecutionsListByJobOptionalParams): PagedAsyncIterableIterator<JobExecution, JobExecution[], PageSettings>
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.
The options parameters.