CostManagement.AlertsDismissWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.IAlert> AlertsDismissWithResult(string scope, string alertId, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.IDismissAlertPayload body, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.AlertsDismissWithResult : string * string * Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.IDismissAlertPayload * Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.IAlert>
Public Function AlertsDismissWithResult (scope As String, alertId As String, body As IDismissAlertPayload, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IAlert)

Parameters

scope
String
alertId
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to