Partager via


ScheduleOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Surcharges

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

Créez une planification. 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)

Paramètres

operations
IScheduleOperations
resourceGroupName
String
automationAccount
String

Retours

S’applique à

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)

Paramètres

operations
IScheduleOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom d’un groupe de ressources Azure.

automationAccountName
String

Nom du compte Automation.

scheduleName
String

Nom de la planification.

parameters
ScheduleCreateOrUpdateParameters

Paramètres fournis à l’opération de planification de création ou de mise à jour.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à