Compartilhar via


RunbookOperationsExtensions.CreateWithDraftAsync Método

Definição

Crie o runbook identificado pelo nome do runbook. (consulte http://aka.ms/azureautomationsdk/runbookoperations para obter mais informações)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateResponse> CreateWithDraftAsync (this Microsoft.WindowsAzure.Management.Automation.IRunbookOperations operations, string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateDraftParameters parameters);
static member CreateWithDraftAsync : Microsoft.WindowsAzure.Management.Automation.IRunbookOperations * string * Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateDraftParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateResponse>
<Extension()>
Public Function CreateWithDraftAsync (operations As IRunbookOperations, automationAccount As String, parameters As RunbookCreateDraftParameters) As Task(Of RunbookCreateResponse)

Parâmetros

operations
IRunbookOperations

Referência ao Microsoft.WindowsAzure.Management.Automation.IRunbookOperations.

automationAccount
String

Obrigatórios. O nome da conta de automação.

parameters
RunbookCreateDraftParameters

Obrigatórios. Os parâmetros create para runbook.

Retornos

O modelo de resposta para a resposta de criação de runbook.

Aplica-se a