Udostępnij za pośrednictwem


ResourceGroupOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create a resource group.

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

Parameters

operations
IResourceGroupOperations

Reference to the Microsoft.Azure.Management.Resources.IResourceGroupOperations.

resourceGroupName
String

Required. The name of the resource group to be created or updated.

parameters
ResourceGroup

Required. Parameters supplied to the create or update resource group service operation.

Returns

Resource group information.

Applies to