Compartilhar via


Método RunbookOperationsExtensions.CreateWithDraftAsync (IRunbookOperations, String, RunbookCreateDraftParameters)

 

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

public static Task<RunbookCreateResponse> CreateWithDraftAsync(
    this IRunbookOperations operations,
    string automationAccount,
    RunbookCreateDraftParameters parameters
)
public:
[ExtensionAttribute]
static Task<RunbookCreateResponse^>^ CreateWithDraftAsync(
    IRunbookOperations^ operations,
    String^ automationAccount,
    RunbookCreateDraftParameters^ parameters
)
static member CreateWithDraftAsync : 
        operations:IRunbookOperations *
        automationAccount:string *
        parameters:RunbookCreateDraftParameters -> Task<RunbookCreateResponse>
<ExtensionAttribute>
Public Shared Function CreateWithDraftAsync (
    operations As IRunbookOperations,
    automationAccount As String,
    parameters As RunbookCreateDraftParameters
) As Task(Of RunbookCreateResponse)

Parâmetros

  • automationAccount
    Type: System.String

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

Valor de retorno

Type: System.Threading.Tasks.Task<RunbookCreateResponse>

O modelo de resposta para o runbook criar resposta.

Consulte também

Classe RunbookOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation

Retornar ao topo