RunbookDraftOperationsExtensions.BeginPublishAsync Method
Retrieve the runbook identified by runbook name. (see https://aka.ms/azureautomationsdk/runbookdraftoperations for more information)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Usage
'Usage
Dim operations As IRunbookDraftOperations
Dim automationAccount As String
Dim parameters As RunbookDraftPublishParameters
Dim returnValue As Task(Of LongRunningOperationResultResponse)
returnValue = RunbookDraftOperationsExtensions.BeginPublishAsync(operations, automationAccount, parameters)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function BeginPublishAsync ( _
operations As IRunbookDraftOperations, _
automationAccount As String, _
parameters As RunbookDraftPublishParameters _
) As Task(Of LongRunningOperationResultResponse)
[ExtensionAttribute]
public static Task<LongRunningOperationResultResponse> BeginPublishAsync (
IRunbookDraftOperations operations,
string automationAccount,
RunbookDraftPublishParameters parameters
)
[ExtensionAttribute]
public:
static Task<LongRunningOperationResultResponse^>^ BeginPublishAsync (
IRunbookDraftOperations^ operations,
String^ automationAccount,
RunbookDraftPublishParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static Task<LongRunningOperationResultResponse> BeginPublishAsync (
IRunbookDraftOperations operations,
String automationAccount,
RunbookDraftPublishParameters parameters
)
ExtensionAttribute
public static function BeginPublishAsync (
operations : IRunbookDraftOperations,
automationAccount : String,
parameters : RunbookDraftPublishParameters
) : Task<LongRunningOperationResultResponse>
Parameters
- operations
Reference to the Microsoft.WindowsAzure.Management.Automation.IRunbookDraftOperations.
- automationAccount
Required. The automation account name.
- parameters
Required. The parameters supplied to the publish runbook operation.
Return Value
A standard service response for long running operations.
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
RunbookDraftOperationsExtensions Class
RunbookDraftOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace