RunbookOperationsExtensions.CreateWithDraft Method
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 (in Microsoft.WindowsAzure.Management.Automation.dll)
Usage
'Usage
Dim operations As IRunbookOperations
Dim automationAccount As String
Dim parameters As RunbookCreateDraftParameters
Dim returnValue As RunbookCreateResponse
returnValue = RunbookOperationsExtensions.CreateWithDraft(operations, automationAccount, parameters)
Syntax
'Declaration
<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
Parameters
- operations
Reference to the Microsoft.WindowsAzure.Management.Automation.IRunbookOperations.
- automationAccount
Required. The automation account name.
- parameters
Required. The create parameters for runbook.
Return Value
The response model for the runbook create response.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
RunbookOperationsExtensions Class
RunbookOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace