TenantActionGroupResource.UpdateAsync 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.
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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.TenantActionGroupResource>> UpdateAsync(string xMsClientTenantId, Azure.ResourceManager.Monitor.Models.TenantActionGroupPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : string * Azure.ResourceManager.Monitor.Models.TenantActionGroupPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.TenantActionGroupResource>>
override this.UpdateAsync : string * Azure.ResourceManager.Monitor.Models.TenantActionGroupPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.TenantActionGroupResource>>
Public Overridable Function UpdateAsync (xMsClientTenantId As String, patch As TenantActionGroupPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.