Compartilhar via


Método RunbookOperationsExtensions.CreateWithDraft

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 (em Microsoft.WindowsAzure.Management.Automation.dll)

Uso

'Uso
Dim operations As IRunbookOperations
Dim automationAccount As String
Dim parameters As RunbookCreateDraftParameters
Dim returnValue As RunbookCreateResponse

returnValue = RunbookOperationsExtensions.CreateWithDraft(operations, automationAccount, parameters)

Sintaxe

'Declaração
<ExtensionAttribute> _
Public Shared Function CreateWithDraft ( _
    operations As IRunbookOperations, _
    automationAccount As String, _
    parameters As RunbookCreateDraftParameters _
) As RunbookCreateResponse
[ExtensionAttribute] 
public static RunbookCreateResponse CreateWithDraft (
    IRunbookOperations operations,
    string automationAccount,
    RunbookCreateDraftParameters parameters
)
[ExtensionAttribute] 
public:
static RunbookCreateResponse^ CreateWithDraft (
    IRunbookOperations^ operations, 
    String^ automationAccount, 
    RunbookCreateDraftParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static RunbookCreateResponse CreateWithDraft (
    IRunbookOperations operations, 
    String automationAccount, 
    RunbookCreateDraftParameters parameters
)
ExtensionAttribute 
public static function CreateWithDraft (
    operations : IRunbookOperations, 
    automationAccount : String, 
    parameters : RunbookCreateDraftParameters
) : RunbookCreateResponse

Parâmetros

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.IRunbookOperations.
  • automationAccount
    Required. The automation account name.
  • parameters
    Required. The create parameters for runbook.

Valor de retorno

The response model for the runbook create response.

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Classe RunbookOperationsExtensions
Membros RunbookOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation