Megosztás a következőn keresztül:


ScheduleOperationsExtensions.CreateOrUpdateAsync Metódus

Definíció

Túlterhelések

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

Hozzon létre egy ütemezést. 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éterek

operations
IScheduleOperations
resourceGroupName
String
automationAccount
String

Válaszok

A következőre érvényes:

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éterek

operations
IScheduleOperations

A bővítménymetódus műveleti csoportja.

resourceGroupName
String

Egy Azure-erőforráscsoport neve.

automationAccountName
String

Az Automation-fiók neve.

scheduleName
String

Az ütemezés neve.

parameters
ScheduleCreateOrUpdateParameters

A létrehozási vagy frissítési ütemezési művelethez megadott paraméterek.

cancellationToken
CancellationToken

A lemondási jogkivonat.

Válaszok

A következőre érvényes: