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

ArmEdgeOrderModelFactory.EdgeOrderProductBillingMeterDetails Method

Definition

Initializes a new instance of EdgeOrderProductBillingMeterDetails.

public static Azure.ResourceManager.EdgeOrder.Models.EdgeOrderProductBillingMeterDetails EdgeOrderProductBillingMeterDetails (string name = default, Azure.ResourceManager.EdgeOrder.Models.EdgeOrderProductMeterDetails meterDetails = default, Azure.ResourceManager.EdgeOrder.Models.EdgeOrderProductMeteringType? meteringType = default, string frequency = default);
static member EdgeOrderProductBillingMeterDetails : string * Azure.ResourceManager.EdgeOrder.Models.EdgeOrderProductMeterDetails * Nullable<Azure.ResourceManager.EdgeOrder.Models.EdgeOrderProductMeteringType> * string -> Azure.ResourceManager.EdgeOrder.Models.EdgeOrderProductBillingMeterDetails
Public Shared Function EdgeOrderProductBillingMeterDetails (Optional name As String = Nothing, Optional meterDetails As EdgeOrderProductMeterDetails = Nothing, Optional meteringType As Nullable(Of EdgeOrderProductMeteringType) = Nothing, Optional frequency As String = Nothing) As EdgeOrderProductBillingMeterDetails

Parameters

name
String

Represents Billing type name.

meterDetails
EdgeOrderProductMeterDetails

Represents MeterDetails Please note EdgeOrderProductMeterDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include Pav2MeterDetails and PurchaseMeterDetails.

meteringType
Nullable<EdgeOrderProductMeteringType>

Represents Metering type (eg one-time or recurrent).

frequency
String

Frequency of recurrence.

Returns

A new EdgeOrderProductBillingMeterDetails instance for mocking.

Applies to