Share via


NewRelic.MonitorsCreateOrUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource> MonitorsCreateOrUpdateWithResult (string subscriptionId, string resourceGroupName, string monitorName, Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource 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.MonitorsCreateOrUpdateWithResult : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource * 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 MonitorsCreateOrUpdateWithResult (subscriptionId As String, resourceGroupName As String, monitorName As String, body As INewRelicMonitorResource, 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