Compartilhar via


ArmAppServiceModelFactory.AppServiceUsage Método

Definição

Inicializa uma nova instância do AppServiceUsage.

public static Azure.ResourceManager.AppService.Models.AppServiceUsage AppServiceUsage (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, string resourceName = default, string unit = default, long? currentValue = default, long? limit = default, DateTimeOffset? nextResetOn = default, Azure.ResourceManager.AppService.Models.ComputeModeOption? computeMode = default, string siteMode = default, string kind = default);
static member AppServiceUsage : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<int64> * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.AppService.Models.ComputeModeOption> * string * string -> Azure.ResourceManager.AppService.Models.AppServiceUsage
Public Shared Function AppServiceUsage (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 resourceName As String = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Long) = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional nextResetOn As Nullable(Of DateTimeOffset) = Nothing, Optional computeMode As Nullable(Of ComputeModeOption) = Nothing, Optional siteMode As String = Nothing, Optional kind As String = Nothing) As AppServiceUsage

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

displayName
String

Nome amigável mostrado na interface do usuário.

resourceName
String

Nome do recurso de cota.

unit
String

Unidades de medida para o recurso de cota.

currentValue
Nullable<Int64>

O valor atual do contador de recursos.

limit
Nullable<Int64>

O limite de recursos.

nextResetOn
Nullable<DateTimeOffset>

Próxima hora de redefinição para o contador de recursos.

computeMode
Nullable<ComputeModeOption>

Modo de computação usado para esse uso.

siteMode
String

Modo de site usado para esse uso.

kind
String

Tipo de recurso.

Retornos

Uma nova AppServiceUsage instância para zombar.

Aplica-se a