Aracılığıyla paylaş


ArmAppServiceModelFactory.AppServiceUsage Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

displayName
String

Friendly name shown in the UI.

resourceName
String

Name of the quota resource.

unit
String

Units of measurement for the quota resource.

currentValue
Nullable<Int64>

The current value of the resource counter.

limit
Nullable<Int64>

The resource limit.

nextResetOn
Nullable<DateTimeOffset>

Next reset time for the resource counter.

computeMode
Nullable<ComputeModeOption>

Compute mode used for this usage.

siteMode
String

Site mode used for this usage.

kind
String

Kind of resource.

Returns

A new AppServiceUsage instance for mocking.

Applies to