IResourceGroupOperations.PatchAsync 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.
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 System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ResourceGroupPatchResult> PatchAsync (string resourceGroupName, Microsoft.Azure.Management.Resources.Models.ResourceGroup parameters, System.Threading.CancellationToken cancellationToken);
abstract member PatchAsync : string * Microsoft.Azure.Management.Resources.Models.ResourceGroup * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ResourceGroupPatchResult>
Public Function PatchAsync (resourceGroupName As String, parameters As ResourceGroup, cancellationToken As CancellationToken) As Task(Of ResourceGroupPatchResult)
Parameters
- resourceGroupName
- String
The name of the resource group to be created or updated. The name is case insensitive.
- parameters
- ResourceGroup
Parameters supplied to the update state resource group service operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Resource group information.
Applies to
Azure SDK for .NET