Język

ArmMonitorModelFactory.OtelLogsDataSourceResourceAttributeRouting Method

Definition

Specifies the routing policy based on OTLP payload resource attributes to route subset of the payload according to matching resource attribute.

public static Azure.ResourceManager.Monitor.Models.OtelLogsDataSourceResourceAttributeRouting OtelLogsDataSourceResourceAttributeRouting(string attributeName = default, string attributeValue = default);
static member OtelLogsDataSourceResourceAttributeRouting : string * string -> Azure.ResourceManager.Monitor.Models.OtelLogsDataSourceResourceAttributeRouting
Public Shared Function OtelLogsDataSourceResourceAttributeRouting (Optional attributeName As String = Nothing, Optional attributeValue As String = Nothing) As OtelLogsDataSourceResourceAttributeRouting

Parameters

attributeName
String

The name of the resource attribute to match.

attributeValue
String

The value of the resource attribute to match.

Returns

A new OtelLogsDataSourceResourceAttributeRouting instance for mocking.

Applies to