Share via


NewRelic.MonitorsSwitchBillingWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource> MonitorsSwitchBillingWithResult (string subscriptionId, string resourceGroupName, string monitorName, Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.ISwitchBillingRequest body, Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.MonitorsSwitchBillingWithResult : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.ISwitchBillingRequest * Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource>
Public Function MonitorsSwitchBillingWithResult (subscriptionId As String, resourceGroupName As String, monitorName As String, body As ISwitchBillingRequest, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of INewRelicMonitorResource)

Parameters

subscriptionId
String
resourceGroupName
String
monitorName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to