Compartilhar via


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