Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

JobScheduleOperationsExtensions.CreateAsync 方法

定义

重载

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

创建作业计划。 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)

参数

resourceGroupName
String
automationAccount
String

返回

适用于

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)

参数

operations
IJobScheduleOperations

此扩展方法的操作组。

resourceGroupName
String

Azure 资源组的名称。

automationAccountName
String

自动化帐户的名称。

jobScheduleId
Guid

作业计划名称。

parameters
JobScheduleCreateParameters

提供给创建作业计划操作的参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于