ResourceGroupOperationsExtensions.PatchAsync Method

Definition

Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource groups, though if a field is unspecified current value will be carried over.

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

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. The name is case insensitive.

parameters
ResourceGroup

Required. Parameters supplied to the update state resource group service operation.

Returns

Resource group information.

Applies to