Language

TenantActionGroupResource.Update Method

Definition

Updates an existing tenant action group's tags. To update other fields use the CreateOrUpdate method.

  • Request Path. : /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Insights/tenantActionGroups/{tenantActionGroupName}.
  • Operation Id. : TenantActionGroupResources_Update.
  • Default Api Version. : 2023-05-01-preview.
  • Resource. : TenantActionGroupResource.
public virtual Azure.Response<Azure.ResourceManager.Monitor.TenantActionGroupResource> Update(string xMsClientTenantId, Azure.ResourceManager.Monitor.Models.TenantActionGroupPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : string * Azure.ResourceManager.Monitor.Models.TenantActionGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.TenantActionGroupResource>
override this.Update : string * Azure.ResourceManager.Monitor.Models.TenantActionGroupPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.TenantActionGroupResource>
Public Overridable Function Update (xMsClientTenantId As String, patch As TenantActionGroupPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of TenantActionGroupResource)

Parameters

xMsClientTenantId
String

The tenant ID of the client making the request.

patch
TenantActionGroupPatch

Parameters supplied to the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

xMsClientTenantId or patch is null.

xMsClientTenantId is an empty string, and was expected to be non-empty.

Applies to