Compartilhar via


JobScheduleOperationsExtensions.CreateAsync Método

Definição

Sobrecargas

CreateAsync(IJobScheduleOperations, String, String, JobScheduleCreateParameters)
CreateAsync(IJobScheduleOperations, String, String, Guid, JobScheduleCreateParameters, CancellationToken)

Crie uma agenda de trabalho. http://aka.ms/azureautomationsdk/jobscheduleoperations

CreateAsync(IJobScheduleOperations, String, String, JobScheduleCreateParameters)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobScheduleCreateResponse> CreateAsync (this Microsoft.Azure.Management.Automation.IJobScheduleOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.JobScheduleCreateParameters parameters);
static member CreateAsync : Microsoft.Azure.Management.Automation.IJobScheduleOperations * string * string * Microsoft.Azure.Management.Automation.Models.JobScheduleCreateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobScheduleCreateResponse>
<Extension()>
Public Function CreateAsync (operations As IJobScheduleOperations, resourceGroupName As String, automationAccount As String, parameters As JobScheduleCreateParameters) As Task(Of JobScheduleCreateResponse)

Parâmetros

resourceGroupName
String
automationAccount
String

Retornos

Aplica-se a

CreateAsync(IJobScheduleOperations, String, String, Guid, JobScheduleCreateParameters, CancellationToken)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobSchedule> CreateAsync (this Microsoft.Azure.Management.Automation.IJobScheduleOperations operations, string resourceGroupName, string automationAccountName, Guid jobScheduleId, Microsoft.Azure.Management.Automation.Models.JobScheduleCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Automation.IJobScheduleOperations * string * string * Guid * Microsoft.Azure.Management.Automation.Models.JobScheduleCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobSchedule>
<Extension()>
Public Function CreateAsync (operations As IJobScheduleOperations, resourceGroupName As String, automationAccountName As String, jobScheduleId As Guid, parameters As JobScheduleCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobSchedule)

Parâmetros

operations
IJobScheduleOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome de um grupo de recursos do Azure.

automationAccountName
String

O nome da conta de automação.

jobScheduleId
Guid

O nome da agenda de trabalho.

parameters
JobScheduleCreateParameters

Os parâmetros fornecidos para a operação de agendamento de trabalho de criação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a