ArmSqlModelFactory.SqlServerUsage 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.
Initializes a new instance of SqlServerUsage.
public static Azure.ResourceManager.Sql.Models.SqlServerUsage SqlServerUsage (string name = default, string resourceName = default, string displayName = default, double? currentValue = default, double? limit = default, string unit = default, DateTimeOffset? nextResetOn = default);
static member SqlServerUsage : string * string * string * Nullable<double> * Nullable<double> * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Sql.Models.SqlServerUsage
Public Shared Function SqlServerUsage (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 SqlServerUsage
Parameters
- name
- String
Name of the server usage metric.
- resourceName
- String
The name of the resource.
- displayName
- String
The metric display name.
- unit
- String
The units of the metric.
- nextResetOn
- Nullable<DateTimeOffset>
The next reset time for the metric (ISO8601 format).
Returns
A new SqlServerUsage instance for mocking.