你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MonitorWorkspaceLogsApiConfig Constructor

Definition

Initializes a new instance of MonitorWorkspaceLogsApiConfig.

public MonitorWorkspaceLogsApiConfig (Uri dataCollectionEndpointUri, string stream, string dataCollectionRule, Azure.ResourceManager.Monitor.Models.MonitorWorkspaceLogsSchemaMap schema);
new Azure.ResourceManager.Monitor.Models.MonitorWorkspaceLogsApiConfig : Uri * string * string * Azure.ResourceManager.Monitor.Models.MonitorWorkspaceLogsSchemaMap -> Azure.ResourceManager.Monitor.Models.MonitorWorkspaceLogsApiConfig
Public Sub New (dataCollectionEndpointUri As Uri, stream As String, dataCollectionRule As String, schema As MonitorWorkspaceLogsSchemaMap)

Parameters

dataCollectionEndpointUri
Uri

Data collection endpoint ingestion url.

stream
String

Stream name in destination. Azure Monitor stream is related to the destination table.

dataCollectionRule
String

Data Collection Rule (DCR) immutable id.

schema
MonitorWorkspaceLogsSchemaMap

The schema mapping for incoming data.

Exceptions

dataCollectionEndpointUri, stream, dataCollectionRule or schema is null.

Applies to