Share via


DataSource Constructors

Definition

Overloads

DataSource()

Initializes a new instance of the DataSource class.

DataSource(Object, String, String, String, String, String, IDictionary<String,String>)

Initializes a new instance of the DataSource class.

DataSource()

Initializes a new instance of the DataSource class.

public DataSource ();
Public Sub New ()

Applies to

DataSource(Object, String, String, String, String, String, IDictionary<String,String>)

Initializes a new instance of the DataSource class.

public DataSource (object properties, string kind, string id = default, string name = default, string type = default, string etag = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.OperationalInsights.Models.DataSource : obj * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.OperationalInsights.Models.DataSource
Public Sub New (properties As Object, kind As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing)

Parameters

properties
Object

The data source properties in raw json format, each kind of data source have it's own schema.

kind
String

Possible values include: 'WindowsEvent', 'WindowsPerformanceCounter', 'IISLogs', 'LinuxSyslog', 'LinuxSyslogCollection', 'LinuxPerformanceObject', 'LinuxPerformanceCollection', 'CustomLog', 'CustomLogCollection', 'AzureAuditLog', 'AzureActivityLog', 'GenericDataSource', 'ChangeTrackingCustomPath', 'ChangeTrackingPath', 'ChangeTrackingServices', 'ChangeTrackingDataTypeConfiguration', 'ChangeTrackingDefaultRegistry', 'ChangeTrackingRegistry', 'ChangeTrackingLinuxPath', 'LinuxChangeTrackingPath', 'ChangeTrackingContentLocation', 'WindowsTelemetry', 'Office365', 'SecurityWindowsBaselineConfiguration', 'SecurityCenterSecurityWindowsBaselineConfiguration', 'SecurityEventCollectionConfiguration', 'SecurityInsightsSecurityEventCollectionConfiguration', 'ImportComputerGroup', 'NetworkMonitoring', 'Itsm', 'DnsAnalytics', 'ApplicationInsights', 'SqlDataClassification'

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

etag
String

The ETag of the data source.

tags
IDictionary<String,String>

Resource tags.

Applies to