Método IRunbookOperations.CreateWithDraftAsync (String, RunbookCreateDraftParameters, CancellationToken)
Crie o runbook identificado pelo nome do runbook. (consulte https://aka.ms/azureautomationsdk/runbookoperations para obter mais informações)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (em Microsoft.WindowsAzure.Management.Automation.dll)
Sintaxe
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)
Parâmetros
automationAccount
Type: System.StringO nome da conta de automação.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateDraftParametersOs parâmetros de criação de runbook.
cancellationToken
Type: System.Threading.CancellationTokenToken de cancelamento.
Valor de retorno
Type: System.Threading.Tasks.Task<RunbookCreateResponse>
O modelo de resposta para o runbook criar resposta.
Consulte também
Interface IRunbookOperations
Namespace Microsoft.WindowsAzure.Management.Automation
Retornar ao topo