ResourceGroupsOperationsExtensions.CreateOrUpdateAsync(IResourceGroupsOperations, String, ResourceGroup, CancellationToken) ResourceGroupsOperationsExtensions.CreateOrUpdateAsync(IResourceGroupsOperations, String, ResourceGroup, CancellationToken) Method

Definition

Creates or updates a resource group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup> CreateOrUpdateAsync (this Microsoft.Azure.Management.ResourceManager.IResourceGroupsOperations operations, string resourceGroupName, Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup parameters, System.Threading.CancellationToken cancellationToken = null);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ResourceManager.IResourceGroupsOperations * string * Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup>

Parameters

operations
IResourceGroupsOperations IResourceGroupsOperations

The operations group for this extension method.

resourceGroupName
String String

The name of the resource group to create or update.

parameters
ResourceGroup ResourceGroup

Parameters supplied to the create or update a resource group.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Applies to