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
operations
Type: Microsoft.WindowsAzure.Management.Automation.IRunbookOperationsReferência para o Microsoft.WindowsAzure.Management.Automation.IRunbookOperations.
automationAccount
Type: System.StringObrigatório. O nome da conta de automação.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.RunbookCreateDraftParametersObrigatório. Os parâmetros de criação de runbook.
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