RunbookOperationsExtensions.CreateOrUpdateAsync(IRunbookOperations, String, String, RunbookCreateOrUpdateParameters) RunbookOperationsExtensions.CreateOrUpdateAsync(IRunbookOperations, String, String, RunbookCreateOrUpdateParameters) RunbookOperationsExtensions.CreateOrUpdateAsync(IRunbookOperations, String, String, RunbookCreateOrUpdateParameters) Method

Definition

Create the runbook identified by runbook name. (see http://aka.ms/azureautomationsdk/runbookoperations for more information)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IRunbookOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IRunbookOperations * string * string * Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IRunbookOperations, resourceGroupName As String, automationAccount As String, parameters As RunbookCreateOrUpdateParameters) As Task(Of RunbookCreateOrUpdateResponse)
Parameters
operations
IRunbookOperations IRunbookOperations IRunbookOperations

Reference to the Microsoft.Azure.Management.Automation.IRunbookOperations.

resourceGroupName
String String String

Required. The name of the resource group

automationAccount
String String String

Required. The automation account name.

parameters
RunbookCreateOrUpdateParameters RunbookCreateOrUpdateParameters RunbookCreateOrUpdateParameters

Required. The create or update parameters for runbook.

Returns

The response model for the runbook create response.

Applies to