ArmMonitorWorkspacesModelFactory.TraceContainerProperties 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.
Properties of a trace container.
public static Azure.ResourceManager.Monitor.Workspaces.Models.TraceContainerProperties TraceContainerProperties(Azure.ResourceManager.Monitor.Workspaces.Models.MonitorWorkspaceProvisioningState? provisioningState = default, int traceDurationWindowInSeconds = 0, int traceRetentionInDays = 0, Azure.ResourceManager.Monitor.Workspaces.Models.TraceMetricsState traceMetricsState = default);
static member TraceContainerProperties : Nullable<Azure.ResourceManager.Monitor.Workspaces.Models.MonitorWorkspaceProvisioningState> * int * int * Azure.ResourceManager.Monitor.Workspaces.Models.TraceMetricsState -> Azure.ResourceManager.Monitor.Workspaces.Models.TraceContainerProperties
Public Shared Function TraceContainerProperties (Optional provisioningState As Nullable(Of MonitorWorkspaceProvisioningState) = Nothing, Optional traceDurationWindowInSeconds As Integer = 0, Optional traceRetentionInDays As Integer = 0, Optional traceMetricsState As TraceMetricsState = Nothing) As TraceContainerProperties
Parameters
- provisioningState
- Nullable<MonitorWorkspaceProvisioningState>
The provisioning state of the trace container.
- 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.
Returns
A new TraceContainerProperties instance for mocking.