Partager via


MetricSettings Constructors

Definition

Overloads

MetricSettings()
MetricSettings(Boolean, Nullable<TimeSpan>, String, RetentionPolicy)

MetricSettings()

public MetricSettings ();
Public Sub New ()

Applies to

MetricSettings(Boolean, Nullable<TimeSpan>, String, RetentionPolicy)

public MetricSettings (bool enabled, TimeSpan? timeGrain = default, string category = default, Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.RetentionPolicy retentionPolicy = default);
new Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricSettings : bool * Nullable<TimeSpan> * string * Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.RetentionPolicy -> Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricSettings
Public Sub New (enabled As Boolean, Optional timeGrain As Nullable(Of TimeSpan) = Nothing, Optional category As String = Nothing, Optional retentionPolicy As RetentionPolicy = Nothing)

Parameters

enabled
Boolean
timeGrain
Nullable<TimeSpan>
category
String
retentionPolicy
RetentionPolicy

Applies to