Condividi tramite


RunbookOperationsExtensions.CreateOrUpdateAsync Metodo

Definizione

Overload

CreateOrUpdateAsync(IRunbookOperations, String, String, RunbookCreateOrUpdateParameters)
CreateOrUpdateAsync(IRunbookOperations, String, String, String, RunbookCreateOrUpdateParameters, CancellationToken)

Creare il runbook identificato dal nome del runbook. http://aka.ms/azureautomationsdk/runbookoperations

CreateOrUpdateAsync(IRunbookOperations, String, String, RunbookCreateOrUpdateParameters)

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)

Parametri

operations
IRunbookOperations
resourceGroupName
String
automationAccount
String

Restituisce

Si applica a

CreateOrUpdateAsync(IRunbookOperations, String, String, String, RunbookCreateOrUpdateParameters, CancellationToken)

Creare il runbook identificato dal nome del runbook. http://aka.ms/azureautomationsdk/runbookoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Runbook> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IRunbookOperations operations, string resourceGroupName, string automationAccountName, string runbookName, Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IRunbookOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.RunbookCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Runbook>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IRunbookOperations, resourceGroupName As String, automationAccountName As String, runbookName As String, parameters As RunbookCreateOrUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Runbook)

Parametri

operations
IRunbookOperations

Gruppo di operazioni per questo metodo di estensione.

resourceGroupName
String

Nome di un gruppo di risorse di Azure.

automationAccountName
String

Nome dell'account di automazione.

runbookName
String

Nome del runbook.

parameters
RunbookCreateOrUpdateParameters

Parametri di creazione o aggiornamento per il runbook. Specificare un collegamento di contenuto per un runbook pubblicato o una bozza, non entrambi.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Si applica a