Share via


ScheduleOperationsExtensions.CreateOrUpdateAsync Método

Definición

Sobrecargas

CreateOrUpdateAsync(IScheduleOperations, String, String, ScheduleCreateOrUpdateParameters)
CreateOrUpdateAsync(IScheduleOperations, String, String, String, ScheduleCreateOrUpdateParameters, CancellationToken)

Cree una programación. http://aka.ms/azureautomationsdk/scheduleoperations

CreateOrUpdateAsync(IScheduleOperations, String, String, ScheduleCreateOrUpdateParameters)

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

Parámetros

operations
IScheduleOperations
resourceGroupName
String
automationAccount
String

Devoluciones

Se aplica a

CreateOrUpdateAsync(IScheduleOperations, String, String, String, ScheduleCreateOrUpdateParameters, CancellationToken)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Schedule> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IScheduleOperations operations, string resourceGroupName, string automationAccountName, string scheduleName, Microsoft.Azure.Management.Automation.Models.ScheduleCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IScheduleOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.ScheduleCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Schedule>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IScheduleOperations, resourceGroupName As String, automationAccountName As String, scheduleName As String, parameters As ScheduleCreateOrUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Schedule)

Parámetros

operations
IScheduleOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre de un grupo de recursos de Azure.

automationAccountName
String

Nombre de la cuenta de Automation.

scheduleName
String

Nombre de la programación.

parameters
ScheduleCreateOrUpdateParameters

Parámetros proporcionados a la operación de creación o actualización de programación.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a