ResourceGroupOperationsExtensions.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.
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
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