IScheduleOperations.CreateAsync Method
Create a schedule. (see https://aka.ms/azureautomationsdk/scheduleoperations for more information)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Usage
'Usage
Dim instance As IScheduleOperations
Dim automationAccount As String
Dim parameters As ScheduleCreateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of ScheduleCreateResponse)
returnValue = instance.CreateAsync(automationAccount, parameters, cancellationToken)
Syntax
'Declaration
Function CreateAsync ( _
automationAccount As String, _
parameters As ScheduleCreateParameters, _
cancellationToken As CancellationToken _
) As Task(Of ScheduleCreateResponse)
Task<ScheduleCreateResponse> CreateAsync (
string automationAccount,
ScheduleCreateParameters parameters,
CancellationToken cancellationToken
)
Task<ScheduleCreateResponse^>^ CreateAsync (
String^ automationAccount,
ScheduleCreateParameters^ parameters,
CancellationToken cancellationToken
)
Task<ScheduleCreateResponse> CreateAsync (
String automationAccount,
ScheduleCreateParameters parameters,
CancellationToken cancellationToken
)
function CreateAsync (
automationAccount : String,
parameters : ScheduleCreateParameters,
cancellationToken : CancellationToken
) : Task<ScheduleCreateResponse>
Parameters
- automationAccount
The automation account name.
- parameters
The parameters supplied to the create schedule operation.
- cancellationToken
Cancellation token.
Return Value
The response model for the create schedule operation.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
IScheduleOperations Interface
IScheduleOperations Members
Microsoft.WindowsAzure.Management.Automation Namespace