AutomationAccountOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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)
Parameters
- operations
- IAutomationAccountOperations
- resourceGroupName
- String
- parameters
- AutomationAccountCreateOrUpdateParameters
Returns
Applies to
CreateOrUpdateAsync(IAutomationAccountOperations, String, String, AutomationAccountCreateOrUpdateParameters, CancellationToken)
Create or update automation account. 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)
Parameters
- operations
- IAutomationAccountOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of an Azure Resource group.
- automationAccountName
- String
The name of the automation account.
- parameters
- AutomationAccountCreateOrUpdateParameters
Parameters supplied to the create or update automation account.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET