ResourceGroupResource.Update(ResourceGroupPatch, CancellationToken) 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 group. If a field is unspecified, the current value is retained.
- Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}
- Operation Id: ResourceGroups_Update
- Default Api Version: 2022-09-01
- Resource: ResourceGroupResource
public virtual Azure.Response<Azure.ResourceManager.Resources.ResourceGroupResource> Update (Azure.ResourceManager.Resources.Models.ResourceGroupPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Resources.Models.ResourceGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.ResourceGroupResource>
override this.Update : Azure.ResourceManager.Resources.Models.ResourceGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.ResourceGroupResource>
Public Overridable Function Update (patch As ResourceGroupPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ResourceGroupResource)
Parameters
- patch
- ResourceGroupPatch
Parameters supplied to update a resource group.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET