JobScheduleOperationsExtensions.CreateAsync Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
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)
Параметры
- operations
- IJobScheduleOperations
- resourceGroupName
- String
- automationAccount
- String
- parameters
- JobScheduleCreateParameters
Возвращаемое значение
Применяется к
CreateAsync(IJobScheduleOperations, String, String, Guid, JobScheduleCreateParameters, CancellationToken)
Создание расписания заданий. http://aka.ms/azureautomationsdk/jobscheduleoperations
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
Токен отмены.
Возвращаемое значение
Применяется к
Azure SDK for .NET