Freigeben über


AutomationAccountOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Überlädt

CreateOrUpdateAsync(IAutomationAccountOperations, String, AutomationAccountCreateOrUpdateParameters)
CreateOrUpdateAsync(IAutomationAccountOperations, String, String, AutomationAccountCreateOrUpdateParameters, CancellationToken)

Erstellen oder Aktualisieren eines Automation-Kontos http://aka.ms/azureautomationsdk/automationaccountoperations

CreateOrUpdateAsync(IAutomationAccountOperations, String, AutomationAccountCreateOrUpdateParameters)

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

Parameter

resourceGroupName
String

Gibt zurück

Gilt für:

CreateOrUpdateAsync(IAutomationAccountOperations, String, String, AutomationAccountCreateOrUpdateParameters, CancellationToken)

Erstellen oder Aktualisieren eines Automation-Kontos http://aka.ms/azureautomationsdk/automationaccountoperations

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

Parameter

operations
IAutomationAccountOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name einer Azure-Ressourcengruppe.

automationAccountName
String

Der Name des Automation-Kontos.

parameters
AutomationAccountCreateOrUpdateParameters

Für das Erstellen oder Aktualisieren des Automation-Kontos bereitgestellte Parameter.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: