Freigeben über


ArmAppServiceModelFactory.AppServiceUsage Methode

Definition

Initialisiert eine neue instance von 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

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

displayName
String

Anzeigename auf der Benutzeroberfläche angezeigt.

resourceName
String

Name der Kontingentressource.

unit
String

Maßeinheiten für die Kontingentressource.

currentValue
Nullable<Int64>

Der aktuelle Wert des Ressourcenindikators.

limit
Nullable<Int64>

Das Ressourcenlimit.

nextResetOn
Nullable<DateTimeOffset>

Nächste Zurücksetzungszeit für den Ressourcenindikator.

computeMode
Nullable<ComputeModeOption>

Für diese Verwendung verwendete Computemodus.

siteMode
String

Für diese Nutzung verwendete Websitemodus.

kind
String

Art der Ressource.

Gibt zurück

Eine neue AppServiceUsage instance zum Mocking.

Gilt für: