Class MarketplaceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.consumption.fluent.models.MarketplaceInner
-
public final class MarketplaceInner extends com.azure.core.management.ProxyResource
A marketplace resource.
-
-
Constructor Summary
Constructors Constructor Description MarketplaceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.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
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.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.
-
-
-
Method Detail
-
etag
public String etag()
Get the etag property: The etag for the resource.- Returns:
- the etag value.
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags 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.
-
usageStart
public OffsetDateTime usageStart()
Get the usageStart property: The start of the date time range covered by the usage detail.- Returns:
- the usageStart 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.
-
resourceRate
public BigDecimal resourceRate()
Get the resourceRate property: The marketplace resource rate.- Returns:
- the resourceRate value.
-
offerName
public String offerName()
Get the offerName property: The type of offer.- Returns:
- the offerName value.
-
resourceGroup
public String resourceGroup()
Get the resourceGroup property: The name of resource group.- Returns:
- the resourceGroup value.
-
additionalInfo
public String additionalInfo()
Get the additionalInfo property: Additional information.- Returns:
- the additionalInfo value.
-
orderNumber
public String orderNumber()
Get the orderNumber property: The order number.- Returns:
- the orderNumber value.
-
instanceName
public String instanceName()
Get the instanceName property: The name of the resource instance that the usage is about.- Returns:
- the instanceName value.
-
instanceId
public String instanceId()
Get the instanceId property: The uri of the resource instance that the usage is about.- Returns:
- the instanceId 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.
-
consumedQuantity
public BigDecimal consumedQuantity()
Get the consumedQuantity property: The quantity of usage.- Returns:
- the consumedQuantity value.
-
unitOfMeasure
public String unitOfMeasure()
Get the unitOfMeasure property: The unit of measure.- Returns:
- the unitOfMeasure value.
-
pretaxCost
public BigDecimal pretaxCost()
Get the pretaxCost property: The amount of cost before tax.- Returns:
- the pretaxCost value.
-
isEstimated
public Boolean isEstimated()
Get the isEstimated property: The estimated usage is subject to change.- Returns:
- the isEstimated value.
-
meterId
public UUID meterId()
Get the meterId property: The meter id (GUID).- Returns:
- the meterId 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.
-
accountName
public String accountName()
Get the accountName property: Account name.- Returns:
- the accountName value.
-
departmentName
public String departmentName()
Get the departmentName property: Department name.- Returns:
- the departmentName 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.
-
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.
-
publisherName
public String publisherName()
Get the publisherName property: The name of publisher.- Returns:
- the publisherName value.
-
planName
public String planName()
Get the planName property: The name of plan.- Returns:
- the planName value.
-
isRecurringCharge
public Boolean isRecurringCharge()
Get the isRecurringCharge property: Flag indicating whether this is a recurring charge or not.- Returns:
- the isRecurringCharge value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-