Class ManagementGroupAggregatedCostResultInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.consumption.fluent.models.ManagementGroupAggregatedCostResultInner
-
public final class ManagementGroupAggregatedCostResultInner extends com.azure.core.management.ProxyResource
A management group aggregated cost resource.
-
-
Constructor Summary
Constructors Constructor Description ManagementGroupAggregatedCostResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
azureCharges()
Get the azureCharges property: Azure Charges.String
billingPeriodId()
Get the billingPeriodId property: The id of the billing period resource that the aggregated cost belongs to.BigDecimal
chargesBilledSeparately()
Get the chargesBilledSeparately property: Charges Billed Separately.List<ManagementGroupAggregatedCostResultInner>
children()
Get the children property: Children of a management group.String
currency()
Get the currency property: The ISO currency in which the meter is charged, for example, USD.String
etag()
Get the etag property: The etag for the resource.List<String>
excludedSubscriptions()
Get the excludedSubscriptions property: List of subscription Guids excluded from the calculation of aggregated cost.List<String>
includedSubscriptions()
Get the includedSubscriptions property: List of subscription Guids included in the calculation of aggregated cost.BigDecimal
marketplaceCharges()
Get the marketplaceCharges property: Marketplace Charges.Map<String,String>
tags()
Get the tags property: Resource tags.OffsetDateTime
usageEnd()
Get the usageEnd property: The end of the date time range covered by the aggregated cost.OffsetDateTime
usageStart()
Get the usageStart property: The start of the date time range covered by aggregated cost.void
validate()
Validates the instance.ManagementGroupAggregatedCostResultInner
withChildren(List<ManagementGroupAggregatedCostResultInner> children)
Set the children property: Children of a management group.ManagementGroupAggregatedCostResultInner
withExcludedSubscriptions(List<String> excludedSubscriptions)
Set the excludedSubscriptions property: List of subscription Guids excluded from the calculation of aggregated cost.ManagementGroupAggregatedCostResultInner
withIncludedSubscriptions(List<String> includedSubscriptions)
Set the includedSubscriptions property: List of subscription Guids included in the calculation of aggregated cost.
-
-
-
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 aggregated cost belongs to.- Returns:
- the billingPeriodId value.
-
usageStart
public OffsetDateTime usageStart()
Get the usageStart property: The start of the date time range covered by aggregated cost.- Returns:
- the usageStart value.
-
usageEnd
public OffsetDateTime usageEnd()
Get the usageEnd property: The end of the date time range covered by the aggregated cost.- Returns:
- the usageEnd value.
-
azureCharges
public BigDecimal azureCharges()
Get the azureCharges property: Azure Charges.- Returns:
- the azureCharges value.
-
marketplaceCharges
public BigDecimal marketplaceCharges()
Get the marketplaceCharges property: Marketplace Charges.- Returns:
- the marketplaceCharges value.
-
chargesBilledSeparately
public BigDecimal chargesBilledSeparately()
Get the chargesBilledSeparately property: Charges Billed Separately.- Returns:
- the chargesBilledSeparately 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.
-
children
public List<ManagementGroupAggregatedCostResultInner> children()
Get the children property: Children of a management group.- Returns:
- the children value.
-
withChildren
public ManagementGroupAggregatedCostResultInner withChildren(List<ManagementGroupAggregatedCostResultInner> children)
Set the children property: Children of a management group.- Parameters:
children
- the children value to set.- Returns:
- the ManagementGroupAggregatedCostResultInner object itself.
-
includedSubscriptions
public List<String> includedSubscriptions()
Get the includedSubscriptions property: List of subscription Guids included in the calculation of aggregated cost.- Returns:
- the includedSubscriptions value.
-
withIncludedSubscriptions
public ManagementGroupAggregatedCostResultInner withIncludedSubscriptions(List<String> includedSubscriptions)
Set the includedSubscriptions property: List of subscription Guids included in the calculation of aggregated cost.- Parameters:
includedSubscriptions
- the includedSubscriptions value to set.- Returns:
- the ManagementGroupAggregatedCostResultInner object itself.
-
excludedSubscriptions
public List<String> excludedSubscriptions()
Get the excludedSubscriptions property: List of subscription Guids excluded from the calculation of aggregated cost.- Returns:
- the excludedSubscriptions value.
-
withExcludedSubscriptions
public ManagementGroupAggregatedCostResultInner withExcludedSubscriptions(List<String> excludedSubscriptions)
Set the excludedSubscriptions property: List of subscription Guids excluded from the calculation of aggregated cost.- Parameters:
excludedSubscriptions
- the excludedSubscriptions value to set.- Returns:
- the ManagementGroupAggregatedCostResultInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-