MarketplaceInner Class

public final class MarketplaceInner
extends ProxyResource

A marketplace resource.

Constructor Summary

Constructor Description
MarketplaceInner()

Creates an instance of MarketplaceInner class.

Method Summary

Modifier and Type Method and Description
String accountName()

Get the accountName property: Account name.

String additionalInfo()

Get the additionalInfo property: Additional information.

String additionalProperties()

Get the additionalProperties property: Additional details of this usage item.

String billingPeriodId()

Get the billingPeriodId property: The id of the billing period resource that the usage belongs to.

BigDecimal consumedQuantity()

Get the consumedQuantity property: The quantity of usage.

String consumedService()

Get the consumedService property: Consumed service name.

String costCenter()

Get the costCenter property: The cost center of this department if it is a department and a costcenter exists.

String currency()

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

String departmentName()

Get the departmentName property: Department name.

String etag()

Get the etag property: The etag for the resource.

static MarketplaceInner fromJson(JsonReader jsonReader)

Reads an instance of MarketplaceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String instanceId()

Get the instanceId property: The uri of the resource instance that the usage is about.

String instanceName()

Get the instanceName property: The name of the resource instance that the usage is about.

Boolean isEstimated()

Get the isEstimated property: The estimated usage is subject to change.

Boolean isRecurringCharge()

Get the isRecurringCharge property: Flag indicating whether this is a recurring charge or not.

UUID meterId()

Get the meterId property: The meter id (GUID).

String name()

Get the name property: The name of the resource.

String offerName()

Get the offerName property: The type of offer.

String orderNumber()

Get the orderNumber property: The order number.

String planName()

Get the planName property: The name of plan.

BigDecimal pretaxCost()

Get the pretaxCost property: The amount of cost before tax.

String publisherName()

Get the publisherName property: The name of publisher.

String resourceGroup()

Get the resourceGroup property: The name of resource group.

BigDecimal resourceRate()

Get the resourceRate property: The marketplace resource rate.

UUID subscriptionGuid()

Get the subscriptionGuid property: Subscription guid.

String subscriptionName()

Get the subscriptionName property: Subscription name.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String unitOfMeasure()

Get the unitOfMeasure property: The unit of measure.

OffsetDateTime usageEnd()

Get the usageEnd property: The end of the date time range covered by the usage detail.

OffsetDateTime usageStart()

Get the usageStart property: The start of the date time range covered by the usage detail.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

MarketplaceInner

public MarketplaceInner()

Creates an instance of MarketplaceInner class.

Method Details

accountName

public String accountName()

Get the accountName property: Account name.

Returns:

the accountName value.

additionalInfo

public String additionalInfo()

Get the additionalInfo property: Additional information.

Returns:

the additionalInfo value.

additionalProperties

public String additionalProperties()

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

Returns:

the additionalProperties value.

billingPeriodId

public String billingPeriodId()

Get the billingPeriodId property: The id of the billing period resource that the usage belongs to.

Returns:

the billingPeriodId value.

consumedQuantity

public BigDecimal consumedQuantity()

Get the consumedQuantity property: The quantity of usage.

Returns:

the consumedQuantity value.

consumedService

public String consumedService()

Get the consumedService property: Consumed service name.

Returns:

the consumedService value.

costCenter

public String costCenter()

Get the costCenter property: The cost center of this department if it is a department and a costcenter exists.

Returns:

the costCenter value.

currency

public String currency()

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

Returns:

the currency value.

departmentName

public String departmentName()

Get the departmentName property: Department name.

Returns:

the departmentName value.

etag

public String etag()

Get the etag property: The etag for the resource.

Returns:

the etag value.

fromJson

public static MarketplaceInner fromJson(JsonReader jsonReader)

Reads an instance of MarketplaceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MarketplaceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

MarketplaceInner.id()

Returns:

the id value.

instanceId

public String instanceId()

Get the instanceId property: The uri of the resource instance that the usage is about.

Returns:

the instanceId value.

instanceName

public String instanceName()

Get the instanceName property: The name of the resource instance that the usage is about.

Returns:

the instanceName value.

isEstimated

public Boolean isEstimated()

Get the isEstimated property: The estimated usage is subject to change.

Returns:

the isEstimated value.

isRecurringCharge

public Boolean isRecurringCharge()

Get the isRecurringCharge property: Flag indicating whether this is a recurring charge or not.

Returns:

the isRecurringCharge value.

meterId

public UUID meterId()

Get the meterId property: The meter id (GUID).

Returns:

the meterId value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

MarketplaceInner.name()

Returns:

the name value.

offerName

public String offerName()

Get the offerName property: The type of offer.

Returns:

the offerName value.

orderNumber

public String orderNumber()

Get the orderNumber property: The order number.

Returns:

the orderNumber value.

planName

public String planName()

Get the planName property: The name of plan.

Returns:

the planName value.

pretaxCost

public BigDecimal pretaxCost()

Get the pretaxCost property: The amount of cost before tax.

Returns:

the pretaxCost value.

publisherName

public String publisherName()

Get the publisherName property: The name of publisher.

Returns:

the publisherName value.

resourceGroup

public String resourceGroup()

Get the resourceGroup property: The name of resource group.

Returns:

the resourceGroup value.

resourceRate

public BigDecimal resourceRate()

Get the resourceRate property: The marketplace resource rate.

Returns:

the resourceRate value.

subscriptionGuid

public UUID subscriptionGuid()

Get the subscriptionGuid property: Subscription guid.

Returns:

the subscriptionGuid value.

subscriptionName

public String subscriptionName()

Get the subscriptionName property: Subscription name.

Returns:

the subscriptionName value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MarketplaceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

MarketplaceInner.type()

Returns:

the type value.

unitOfMeasure

public String unitOfMeasure()

Get the unitOfMeasure property: The unit of measure.

Returns:

the unitOfMeasure value.

usageEnd

public OffsetDateTime usageEnd()

Get the usageEnd property: The end of the date time range covered by the usage detail.

Returns:

the usageEnd value.

usageStart

public OffsetDateTime usageStart()

Get the usageStart property: The start of the date time range covered by the usage detail.

Returns:

the usageStart value.

validate

public void validate()

Validates the instance.

Applies to