IRunbookOperations.CreateWithDraftAsync Method (String, RunbookCreateDraftParameters, CancellationToken)
Create the runbook identified by runbook name. (see https://aka.ms/azureautomationsdk/runbookoperations for more information)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Syntax
Task<RunbookCreateResponse> CreateWithDraftAsync(
string automationAccount,
RunbookCreateDraftParameters parameters,
CancellationToken cancellationToken
)
Task<RunbookCreateResponse^>^ CreateWithDraftAsync(
String^ automationAccount,
RunbookCreateDraftParameters^ parameters,
CancellationToken cancellationToken
)
abstract CreateWithDraftAsync :
automationAccount:string *
parameters:RunbookCreateDraftParameters *
cancellationToken:CancellationToken -> Task<RunbookCreateResponse>
Function CreateWithDraftAsync (
automationAccount As String,
parameters As RunbookCreateDraftParameters,
cancellationToken As CancellationToken
) As Task(Of RunbookCreateResponse)
Parameters
automationAccount
Type: System.StringThe automation account name.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateDraftParametersThe create parameters for runbook.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<RunbookCreateResponse>
The response model for the runbook create response.
See Also
IRunbookOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace
Return to top