다음을 통해 공유


ArmAppServiceModelFactory.AppServiceBillingMeter Method

Definition

Initializes a new instance of AppServiceBillingMeter.

public static Azure.ResourceManager.AppService.Models.AppServiceBillingMeter AppServiceBillingMeter (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Guid? meterId = default, Azure.Core.AzureLocation? billingLocation = default, string shortName = default, string friendlyName = default, string osType = default, double? multiplier = default, string kind = default);
static member AppServiceBillingMeter : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Guid> * Nullable<Azure.Core.AzureLocation> * string * string * string * Nullable<double> * string -> Azure.ResourceManager.AppService.Models.AppServiceBillingMeter
Public Shared Function AppServiceBillingMeter (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional meterId As Nullable(Of Guid) = Nothing, Optional billingLocation As Nullable(Of AzureLocation) = Nothing, Optional shortName As String = Nothing, Optional friendlyName As String = Nothing, Optional osType As String = Nothing, Optional multiplier As Nullable(Of Double) = Nothing, Optional kind As String = Nothing) As AppServiceBillingMeter

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

meterId
Nullable<Guid>

Meter GUID onboarded in Commerce.

billingLocation
Nullable<AzureLocation>

Azure Location of billable resource.

shortName
String

Short Name from App Service Azure pricing Page.

friendlyName
String

Friendly name of the meter.

osType
String

App Service OS type meter used for.

multiplier
Nullable<Double>

Meter Multiplier.

kind
String

Kind of resource.

Returns

A new AppServiceBillingMeter instance for mocking.

Applies to