ServerUsage Constructors

Definition

Overloads

ServerUsage()

Initializes a new instance of the ServerUsage class.

ServerUsage(String, String, String, Nullable<Double>, Nullable<Double>, String, Nullable<DateTime>)

Initializes a new instance of the ServerUsage class.

ServerUsage()

Initializes a new instance of the ServerUsage class.

public ServerUsage ();
Public Sub New ()

Applies to

ServerUsage(String, String, String, Nullable<Double>, Nullable<Double>, String, Nullable<DateTime>)

Initializes a new instance of the ServerUsage class.

public ServerUsage (string name = default, string resourceName = default, string displayName = default, double? currentValue = default, double? limit = default, string unit = default, DateTime? nextResetTime = default);
new Microsoft.Azure.Management.Sql.Models.ServerUsage : string * string * string * Nullable<double> * Nullable<double> * string * Nullable<DateTime> -> Microsoft.Azure.Management.Sql.Models.ServerUsage
Public Sub New (Optional name As String = Nothing, Optional resourceName As String = Nothing, Optional displayName As String = Nothing, Optional currentValue As Nullable(Of Double) = Nothing, Optional limit As Nullable(Of Double) = Nothing, Optional unit As String = Nothing, Optional nextResetTime As Nullable(Of DateTime) = Nothing)

Parameters

name
String

Name of the server usage metric.

resourceName
String

The name of the resource.

displayName
String

The metric display name.

currentValue
Nullable<Double>

The current value of the metric.

limit
Nullable<Double>

The current limit of the metric.

unit
String

The units of the metric.

nextResetTime
Nullable<DateTime>

The next reset time for the metric (ISO8601 format).

Applies to