Show / Hide Table of Contents

    Class ServerUsage

    Represents server metrics.

    Inheritance
    Object
    ServerUsage
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    public class ServerUsage

    Constructors

    ServerUsage()

    Initializes a new instance of the ServerUsage class.

    Declaration
    public ServerUsage ();

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

    Initializes a new instance of the ServerUsage class.

    Declaration
    public ServerUsage (string name = null, string resourceName = null, string displayName = null, Nullable<double> currentValue = null, Nullable<double> limit = null, string unit = null, Nullable<DateTime> nextResetTime = null);
    Parameters
    String name

    Name of the server usage metric.

    String resourceName

    The name of the resource.

    String displayName

    The metric display name.

    Nullable<Double> currentValue

    The current value of the metric.

    Nullable<Double> limit

    The current limit of the metric.

    String unit

    The units of the metric.

    Nullable<DateTime> nextResetTime

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

    Properties

    CurrentValue

    Gets the current value of the metric.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="currentValue")]
    public Nullable<double> CurrentValue { get; }
    Property Value
    Nullable<Double>

    DisplayName

    Gets the metric display name.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="displayName")]
    public string DisplayName { get; }
    Property Value
    String

    Limit

    Gets the current limit of the metric.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="limit")]
    public Nullable<double> Limit { get; }
    Property Value
    Nullable<Double>

    Name

    Gets name of the server usage metric.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="name")]
    public string Name { get; }
    Property Value
    String

    NextResetTime

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="nextResetTime")]
    public Nullable<DateTime> NextResetTime { get; }
    Property Value
    Nullable<DateTime>

    ResourceName

    Gets the name of the resource.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="resourceName")]
    public string ResourceName { get; }
    Property Value
    String

    Unit

    Gets the units of the metric.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="unit")]
    public string Unit { get; }
    Property Value
    String

    Back to top Azure SDK for Net