TraceContainerProperties(Int32, Int32, TraceMetricsState) Constructor
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.
Initializes a new instance of TraceContainerProperties.
public TraceContainerProperties(int traceDurationWindowInSeconds, int traceRetentionInDays, Azure.ResourceManager.Monitor.Workspaces.Models.TraceMetricsState traceMetricsState);
new Azure.ResourceManager.Monitor.Workspaces.Models.TraceContainerProperties : int * int * Azure.ResourceManager.Monitor.Workspaces.Models.TraceMetricsState -> Azure.ResourceManager.Monitor.Workspaces.Models.TraceContainerProperties
Public Sub New (traceDurationWindowInSeconds As Integer, traceRetentionInDays As Integer, traceMetricsState As TraceMetricsState)
Parameters
- traceDurationWindowInSeconds
- Int32
The trace duration window in seconds.
- traceRetentionInDays
- Int32
The number of days for which the traces are retained. Value must be between 4 and 730 days.
- traceMetricsState
- TraceMetricsState
Controls whether trace-derived metrics are emitted for this trace container.