MarketplaceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. consumption. fluent. models. MarketplaceInner
- com.
- com.
public final class MarketplaceInner
extends ProxyResource
A marketplace resource.
Constructor Summary
| Constructor | Description |
|---|---|
| MarketplaceInner() |
Creates an instance of Marketplace |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountName()
Get the account |
| String |
additionalInfo()
Get the additional |
| String |
additionalProperties()
Get the additional |
| String |
billingPeriodId()
Get the billing |
|
Big |
consumedQuantity()
Get the consumed |
| String |
consumedService()
Get the consumed |
| String |
costCenter()
Get the cost |
| String |
currency()
Get the currency property: The ISO currency in which the meter is charged, for example, USD. |
| String |
departmentName()
Get the department |
| String |
etag()
Get the etag property: The etag for the resource. |
|
static
Marketplace |
fromJson(JsonReader jsonReader)
Reads an instance of Marketplace |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
instanceId()
Get the instance |
| String |
instanceName()
Get the instance |
| Boolean |
isEstimated()
Get the is |
| Boolean |
isRecurringCharge()
Get the is |
| UUID |
meterId()
Get the meter |
| String |
name()
Get the name property: The name of the resource. |
| String |
offerName()
Get the offer |
| String |
orderNumber()
Get the order |
| String |
planName()
Get the plan |
|
Big |
pretaxCost()
Get the pretax |
| String |
publisherName()
Get the publisher |
| String |
resourceGroup()
Get the resource |
|
Big |
resourceRate()
Get the resource |
| UUID |
subscriptionGuid()
Get the subscription |
| String |
subscriptionName()
Get the subscription |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| String |
unitOfMeasure()
Get the unit |
|
Offset |
usageEnd()
Get the usage |
|
Offset |
usageStart()
Get the usage |
| 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:
additionalInfo
public String additionalInfo()
Get the additionalInfo property: Additional information.
Returns:
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:
billingPeriodId
public String billingPeriodId()
Get the billingPeriodId property: The id of the billing period resource that the usage belongs to.
Returns:
consumedQuantity
public BigDecimal consumedQuantity()
Get the consumedQuantity property: The quantity of usage.
Returns:
consumedService
public String consumedService()
Get the consumedService property: Consumed service name.
Returns:
costCenter
public String costCenter()
Get the costCenter property: The cost center of this department if it is a department and a costcenter exists.
Returns:
currency
public String currency()
Get the currency property: The ISO currency in which the meter is charged, for example, USD.
Returns:
departmentName
public String departmentName()
Get the departmentName property: Department name.
Returns:
etag
public String etag()
Get the etag property: The etag for the resource.
Returns:
fromJson
public static MarketplaceInner fromJson(JsonReader jsonReader)
Reads an instance of MarketplaceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
MarketplaceInner.id()Returns:
instanceId
public String instanceId()
Get the instanceId property: The uri of the resource instance that the usage is about.
Returns:
instanceName
public String instanceName()
Get the instanceName property: The name of the resource instance that the usage is about.
Returns:
isEstimated
public Boolean isEstimated()
Get the isEstimated property: The estimated usage is subject to change.
Returns:
isRecurringCharge
public Boolean isRecurringCharge()
Get the isRecurringCharge property: Flag indicating whether this is a recurring charge or not.
Returns:
meterId
public UUID meterId()
Get the meterId property: The meter id (GUID).
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
MarketplaceInner.name()Returns:
offerName
public String offerName()
Get the offerName property: The type of offer.
Returns:
orderNumber
public String orderNumber()
Get the orderNumber property: The order number.
Returns:
planName
public String planName()
Get the planName property: The name of plan.
Returns:
pretaxCost
public BigDecimal pretaxCost()
Get the pretaxCost property: The amount of cost before tax.
Returns:
publisherName
public String publisherName()
Get the publisherName property: The name of publisher.
Returns:
resourceGroup
public String resourceGroup()
Get the resourceGroup property: The name of resource group.
Returns:
resourceRate
public BigDecimal resourceRate()
Get the resourceRate property: The marketplace resource rate.
Returns:
subscriptionGuid
public UUID subscriptionGuid()
Get the subscriptionGuid property: Subscription guid.
Returns:
subscriptionName
public String subscriptionName()
Get the subscriptionName property: Subscription name.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MarketplaceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
MarketplaceInner.type()Returns:
unitOfMeasure
public String unitOfMeasure()
Get the unitOfMeasure property: The unit of measure.
Returns:
usageEnd
public OffsetDateTime usageEnd()
Get the usageEnd property: The end of the date time range covered by the usage detail.
Returns:
usageStart
public OffsetDateTime usageStart()
Get the usageStart property: The start of the date time range covered by the usage detail.
Returns:
validate
public void validate()
Validates the instance.