ArmMonitorModelFactory.OtelLogsDataSourceResourceAttributeRouting Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.