Compartilhar via


ArmSqlModelFactory.DatabaseUsage Método

Definição

Inicializa uma nova instância de DatabaseUsage.

public static Azure.ResourceManager.Sql.Models.DatabaseUsage DatabaseUsage (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, double? currentValue = default, double? limit = default, string unit = default);
static member DatabaseUsage : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<double> * Nullable<double> * string -> Azure.ResourceManager.Sql.Models.DatabaseUsage
Public Shared Function DatabaseUsage (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = 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) As DatabaseUsage

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

displayName
String

Nome legível pelo usuário da métrica.

currentValue
Nullable<Double>

Valor atual da métrica.

limit
Nullable<Double>

Valor de limite da métrica.

unit
String

Unidade da métrica.

Retornos

Uma nova DatabaseUsage instância para simulação.

Aplica-se a