Aracılığıyla paylaş


RunbookOperationsExtensions.CreateOrUpdateAsync Yöntem

Tanım

Aşırı Yüklemeler

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

Runbook adıyla tanımlanan runbook'u oluşturun. 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)

Parametreler

operations
IRunbookOperations
resourceGroupName
String
automationAccount
String

Döndürülenler

Şunlara uygulanır

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

Runbook adıyla tanımlanan runbook'u oluşturun. 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)

Parametreler

operations
IRunbookOperations

Bu uzantı yönteminin işlem grubu.

resourceGroupName
String

Azure Kaynak grubunun adı.

automationAccountName
String

Otomasyon hesabının adı.

runbookName
String

Runbook adı.

parameters
RunbookCreateOrUpdateParameters

Runbook için oluşturma veya güncelleştirme parametreleri. Yayımlanmış bir runbook veya taslak için içerik bağlantısı sağlayın, ikisini birden değil.

cancellationToken
CancellationToken

İptal belirteci.

Döndürülenler

Şunlara uygulanır