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. Serialized Name: Usage.properties.displayName

resourceName
String

Name of the quota resource. Serialized Name: Usage.properties.resourceName

unit
String

Units of measurement for the quota resource. Serialized Name: Usage.properties.unit

currentValue
Nullable<Int64>

The current value of the resource counter. Serialized Name: Usage.properties.currentValue

limit
Nullable<Int64>

The resource limit. Serialized Name: Usage.properties.limit

nextResetOn
Nullable<DateTimeOffset>

Next reset time for the resource counter. Serialized Name: Usage.properties.nextResetTime

computeMode
Nullable<ComputeModeOption>

Compute mode used for this usage. Serialized Name: Usage.properties.computeMode

siteMode
String

Site mode used for this usage. Serialized Name: Usage.properties.siteMode

kind
String

Kind of resource. Serialized Name: ProxyOnlyResource.kind

Returns

A new AppServiceUsage instance for mocking.

Applies to