Share via


Marketplace Constructors

Definition

Overloads

Marketplace()

Initializes a new instance of the Marketplace class.

Marketplace(String, String, String, IDictionary<String,String>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Decimal>, String, String, String, String, String, String, Nullable<Decimal>, String, Nullable<Decimal>, Nullable<Boolean>, String, String, String, String, String, String, String, String, String, String)

Initializes a new instance of the Marketplace class.

Marketplace()

Initializes a new instance of the Marketplace class.

public Marketplace ();
Public Sub New ()

Applies to

Marketplace(String, String, String, IDictionary<String,String>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Decimal>, String, String, String, String, String, String, Nullable<Decimal>, String, Nullable<Decimal>, Nullable<Boolean>, String, String, String, String, String, String, String, String, String, String)

Initializes a new instance of the Marketplace class.

public Marketplace (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string billingPeriodId = default, DateTime? usageStart = default, DateTime? usageEnd = default, decimal? resourceRate = default, string offerName = default, string resourceGroup = 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, string meterId = default, string 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);
new Microsoft.Azure.Management.Consumption.Models.Marketplace : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<decimal> * string * string * string * string * string * string * Nullable<decimal> * string * Nullable<decimal> * Nullable<bool> * string * string * string * string * string * string * string * string * string * string -> Microsoft.Azure.Management.Consumption.Models.Marketplace
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional billingPeriodId As String = Nothing, Optional usageStart As Nullable(Of DateTime) = Nothing, Optional usageEnd As Nullable(Of DateTime) = Nothing, Optional resourceRate As Nullable(Of Decimal) = Nothing, Optional offerName As String = Nothing, Optional resourceGroup 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 String = Nothing, Optional subscriptionGuid As String = 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)

Parameters

id
String

Resource Id.

name
String

Resource name.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

billingPeriodId
String

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

usageStart
Nullable<DateTime>

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

usageEnd
Nullable<DateTime>

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.

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
String

The meter id.

subscriptionGuid
String

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.

Applies to