DataSource Class

Datasources under OMS Workspace.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.loganalytics.models._models_py3.ProxyResource
DataSource

Constructor

DataSource(*, properties: Any, kind: Union[str, azure.mgmt.loganalytics.models._log_analytics_management_client_enums.DataSourceKind], etag: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs)

Parameters

properties
any
Required

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

etag
str
Required

The ETag of the data source.

kind
str or DataSourceKind
Required

Required. The kind of the DataSource. 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".

tags
dict[str, str]
Required

A set of tags. Resource tags.

Variables

id
str

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

name
str

The name of the resource.

type
str

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