Share via


ArmSynapseModelFactory.SynapseServerUsage Method

Definition

Initializes a new instance of SynapseServerUsage.

public static Azure.ResourceManager.Synapse.Models.SynapseServerUsage SynapseServerUsage (string name = default, string resourceName = default, string displayName = default, double? currentValue = default, double? limit = default, string unit = default, DateTimeOffset? nextResetOn = default);
static member SynapseServerUsage : string * string * string * Nullable<double> * Nullable<double> * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Synapse.Models.SynapseServerUsage
Public Shared Function SynapseServerUsage (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 nextResetOn As Nullable(Of DateTimeOffset) = Nothing) As SynapseServerUsage

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.

nextResetOn
Nullable<DateTimeOffset>

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

Returns

A new SynapseServerUsage instance for mocking.

Applies to