CostManagementAlertResource.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.
Dismisses the specified alert
- Request Path: /{scope}/providers/Microsoft.CostManagement/alerts/{alertId}
- Operation Id: Alerts_Dismiss
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CostManagement.CostManagementAlertResource>> UpdateAsync (Azure.ResourceManager.CostManagement.Models.CostManagementAlertPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.CostManagement.Models.CostManagementAlertPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CostManagement.CostManagementAlertResource>>
override this.UpdateAsync : Azure.ResourceManager.CostManagement.Models.CostManagementAlertPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CostManagement.CostManagementAlertResource>>
Public Overridable Function UpdateAsync (patch As CostManagementAlertPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CostManagementAlertResource))
Parameters
- patch
- CostManagementAlertPatch
Parameters supplied to the Dismiss Alert operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.