Udostępnij za pośrednictwem


JobsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a job.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.Models.JobInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Sql.Fluent.IJobsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName, Microsoft.Azure.Management.Sql.Fluent.Models.JobInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Sql.Fluent.IJobsOperations * string * string * string * string * Microsoft.Azure.Management.Sql.Fluent.Models.JobInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.Models.JobInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IJobsOperations, resourceGroupName As String, serverName As String, jobAgentName As String, jobName As String, parameters As JobInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobInner)

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
JobInner

The requested job state.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to