你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmAppServiceModelFactory.AppServiceBillingMeter 方法

定义

初始化 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

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

meterId
Nullable<Guid>

在 Commerce 中加入的计量 GUID。

billingLocation
Nullable<AzureLocation>

可计费资源的 Azure 位置。

shortName
String

App 服务 Azure 定价页中的短名称。

friendlyName
String

计量的友好名称。

osType
String

App 服务用于的 OS 类型计量。

multiplier
Nullable<Double>

计量乘数。

kind
String

资源类型。

返回

用于模拟的新 AppServiceBillingMeter 实例。

适用于