Share via


JobsOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates a job.

public static Microsoft.Azure.Management.Sql.Models.Job CreateOrUpdate (this Microsoft.Azure.Management.Sql.IJobsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Microsoft.Azure.Management.Sql.Models.Job parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Sql.IJobsOperations * string * string * string * string * Microsoft.Azure.Management.Sql.Models.Job -> Microsoft.Azure.Management.Sql.Models.Job
<Extension()>
Public Function CreateOrUpdate (operations As IJobsOperations, resourceGroupName As String, serverName As String, jobAgentName As String, jobName As String, parameters As Job) As Job

Parameters

operations
IJobsOperations

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.

parameters
Job

The requested job state.

Returns

Job

Applies to