Sdílet prostřednictvím


AutomationAccountOperationsExtensions.CreateOrUpdateAsync Metoda

Definice

Přetížení

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

Vytvořte nebo aktualizujte účet Automation. 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)

Parametry

resourceGroupName
String

Návraty

Platí pro

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

Vytvořte nebo aktualizujte účet Automation. 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)

Parametry

operations
IAutomationAccountOperations

Skupina operací pro tuto metodu rozšíření.

resourceGroupName
String

Název skupiny prostředků Azure.

automationAccountName
String

Název účtu Automation.

parameters
AutomationAccountCreateOrUpdateParameters

Parametry zadané do účtu automation pro vytvoření nebo aktualizaci.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Platí pro