Share via


Source Constructors

Definition

Overloads

Source()

Initializes a new instance of the Source class.

Source(String, String, IList<String>, String)

Initializes a new instance of the Source class.

Source()

Initializes a new instance of the Source class.

public Source ();
Public Sub New ()

Applies to

Source(String, String, IList<String>, String)

Initializes a new instance of the Source class.

public Source (string dataSourceId, string query = default, System.Collections.Generic.IList<string> authorizedResources = default, string queryType = default);
new Microsoft.Azure.Management.Monitor.Models.Source : string * string * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.Monitor.Models.Source
Public Sub New (dataSourceId As String, Optional query As String = Nothing, Optional authorizedResources As IList(Of String) = Nothing, Optional queryType As String = Nothing)

Parameters

dataSourceId
String

The resource uri over which log search query is to be run.

query
String

Log search query. Required for action type - AlertingAction

authorizedResources
IList<String>

List of Resource referred into query

queryType
String

Set value to 'ResultCount'. Possible values include: 'ResultCount'

Applies to