ArmConsumptionModelFactory.ConsumptionMarketplace Method

Definition

Initializes a new instance of ConsumptionMarketplace.

public static Azure.ResourceManager.Consumption.Models.ConsumptionMarketplace ConsumptionMarketplace (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string billingPeriodId = default, DateTimeOffset? usageStartOn = default, DateTimeOffset? usageEndOn = default, decimal? resourceRate = default, string offerName = default, string resourceGroup = default, string additionalInfo = default, string orderNumber = default, string instanceName = default, string instanceId = default, string currency = default, decimal? consumedQuantity = default, string unitOfMeasure = default, decimal? pretaxCost = default, bool? isEstimated = default, Guid? meterId = default, Guid? subscriptionGuid = default, string subscriptionName = default, string accountName = default, string departmentName = default, string consumedService = default, string costCenter = default, string additionalProperties = default, string publisherName = default, string planName = default, bool? isRecurringCharge = default, Azure.ETag? etag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member ConsumptionMarketplace : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<decimal> * string * string * string * string * string * string * string * Nullable<decimal> * string * Nullable<decimal> * Nullable<bool> * Nullable<Guid> * Nullable<Guid> * string * string * string * string * string * string * string * string * Nullable<bool> * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Consumption.Models.ConsumptionMarketplace
Public Shared Function ConsumptionMarketplace (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional billingPeriodId As String = Nothing, Optional usageStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional usageEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional resourceRate As Nullable(Of Decimal) = Nothing, Optional offerName As String = Nothing, Optional resourceGroup As String = Nothing, Optional additionalInfo As String = Nothing, Optional orderNumber As String = Nothing, Optional instanceName As String = Nothing, Optional instanceId As String = Nothing, Optional currency As String = Nothing, Optional consumedQuantity As Nullable(Of Decimal) = Nothing, Optional unitOfMeasure As String = Nothing, Optional pretaxCost As Nullable(Of Decimal) = Nothing, Optional isEstimated As Nullable(Of Boolean) = Nothing, Optional meterId As Nullable(Of Guid) = Nothing, Optional subscriptionGuid As Nullable(Of Guid) = Nothing, Optional subscriptionName As String = Nothing, Optional accountName As String = Nothing, Optional departmentName As String = Nothing, Optional consumedService As String = Nothing, Optional costCenter As String = Nothing, Optional additionalProperties As String = Nothing, Optional publisherName As String = Nothing, Optional planName As String = Nothing, Optional isRecurringCharge As Nullable(Of Boolean) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As ConsumptionMarketplace

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

billingPeriodId
String

The id of the billing period resource that the usage belongs to.

usageStartOn
Nullable<DateTimeOffset>

The start of the date time range covered by the usage detail.

usageEndOn
Nullable<DateTimeOffset>

The end of the date time range covered by the usage detail.

resourceRate
Nullable<Decimal>

The marketplace resource rate.

offerName
String

The type of offer.

resourceGroup
String

The name of resource group.

additionalInfo
String

Additional information.

orderNumber
String

The order number.

instanceName
String

The name of the resource instance that the usage is about.

instanceId
String

The uri of the resource instance that the usage is about.

currency
String

The ISO currency in which the meter is charged, for example, USD.

consumedQuantity
Nullable<Decimal>

The quantity of usage.

unitOfMeasure
String

The unit of measure.

pretaxCost
Nullable<Decimal>

The amount of cost before tax.

isEstimated
Nullable<Boolean>

The estimated usage is subject to change.

meterId
Nullable<Guid>

The meter id (GUID).

subscriptionGuid
Nullable<Guid>

Subscription guid.

subscriptionName
String

Subscription name.

accountName
String

Account name.

departmentName
String

Department name.

consumedService
String

Consumed service name.

costCenter
String

The cost center of this department if it is a department and a costcenter exists.

additionalProperties
String

Additional details of this usage item. By default this is not populated, unless it's specified in $expand.

publisherName
String

The name of publisher.

planName
String

The name of plan.

isRecurringCharge
Nullable<Boolean>

Flag indicating whether this is a recurring charge or not.

etag
Nullable<ETag>

The etag for the resource.

tags
IReadOnlyDictionary<String,String>

Resource tags.

Returns

A new ConsumptionMarketplace instance for mocking.

Applies to