Sdílet prostřednictvím


ScheduleOperationsExtensions.CreateOrUpdateAsync Metoda

Definice

Přetížení

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

Vytvořte plá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)

Parametry

operations
IScheduleOperations
resourceGroupName
String
automationAccount
String

Návraty

Platí pro

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)

Parametry

operations
IScheduleOperations

Skupina operací pro tuto rozšiřující metodu.

resourceGroupName
String

Název skupiny prostředků Azure.

automationAccountName
String

Název účtu Automation.

scheduleName
String

Název plánu.

parameters
ScheduleCreateOrUpdateParameters

Parametry zadané pro operaci vytvoření nebo aktualizace plánu.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Platí pro