共用方式為


DataSource Class

Definition

Datasources under OMS Workspace.

public class DataSource : Microsoft.Azure.Management.OperationalInsights.Models.ProxyResource
type DataSource = class
    inherit ProxyResource
Public Class DataSource
Inherits ProxyResource
Inheritance

Constructors

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.

Properties

Etag

Gets or sets the ETag of the data source.

Id

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

(Inherited from Resource)
Kind

Gets or sets 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'

Name

Gets the name of the resource

(Inherited from Resource)
Properties

Gets or sets the data source properties in raw json format, each kind of data source have it's own schema.

Tags

Gets or sets resource tags.

Type

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

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to