ManagementGroupAggregatedCostResultInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. consumption. fluent. models. ManagementGroupAggregatedCostResultInner
- com.
- com.
public final class ManagementGroupAggregatedCostResultInner
extends ProxyResource
A management group aggregated cost resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagementGroupAggregatedCostResultInner() |
Creates an instance of Management |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Big |
azureCharges()
Get the azure |
| String |
billingPeriodId()
Get the billing |
|
Big |
chargesBilledSeparately()
Get the charges |
|
List<Management |
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 excluded |
|
static
Management |
fromJson(JsonReader jsonReader)
Reads an instance of Management |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| List<String> |
includedSubscriptions()
Get the included |
|
Big |
marketplaceCharges()
Get the marketplace |
| String |
name()
Get the name property: The name of the resource. |
| 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. |
|
Offset |
usageEnd()
Get the usage |
|
Offset |
usageStart()
Get the usage |
| void |
validate()
Validates the instance. |
|
Management |
withChildren(List<ManagementGroupAggregatedCostResultInner> children)
Set the children property: Children of a management group. |
|
Management |
withExcludedSubscriptions(List<String> excludedSubscriptions)
Set the excluded |
|
Management |
withIncludedSubscriptions(List<String> includedSubscriptions)
Set the included |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ManagementGroupAggregatedCostResultInner
public ManagementGroupAggregatedCostResultInner()
Creates an instance of ManagementGroupAggregatedCostResultInner class.
Method Details
azureCharges
public BigDecimal azureCharges()
Get the azureCharges property: Azure Charges.
Returns:
billingPeriodId
public String billingPeriodId()
Get the billingPeriodId property: The id of the billing period resource that the aggregated cost belongs to.
Returns:
chargesBilledSeparately
public BigDecimal chargesBilledSeparately()
Get the chargesBilledSeparately property: Charges Billed Separately.
Returns:
children
public List<ManagementGroupAggregatedCostResultInner> children()
Get the children property: Children of a management group.
Returns:
currency
public String currency()
Get the currency property: The ISO currency in which the meter is charged, for example, USD.
Returns:
etag
public String etag()
Get the etag property: The etag for the resource.
Returns:
excludedSubscriptions
public List<String> excludedSubscriptions()
Get the excludedSubscriptions property: List of subscription Guids excluded from the calculation of aggregated cost.
Returns:
fromJson
public static ManagementGroupAggregatedCostResultInner fromJson(JsonReader jsonReader)
Reads an instance of ManagementGroupAggregatedCostResultInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ManagementGroupAggregatedCostResultInner.id()Returns:
includedSubscriptions
public List<String> includedSubscriptions()
Get the includedSubscriptions property: List of subscription Guids included in the calculation of aggregated cost.
Returns:
marketplaceCharges
public BigDecimal marketplaceCharges()
Get the marketplaceCharges property: Marketplace Charges.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ManagementGroupAggregatedCostResultInner.name()Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagementGroupAggregatedCostResultInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ManagementGroupAggregatedCostResultInner.type()Returns:
usageEnd
public OffsetDateTime usageEnd()
Get the usageEnd property: The end of the date time range covered by the aggregated cost.
Returns:
usageStart
public OffsetDateTime usageStart()
Get the usageStart property: The start of the date time range covered by aggregated cost.
Returns:
validate
public void validate()
Validates the instance.
withChildren
public ManagementGroupAggregatedCostResultInner withChildren(List<ManagementGroupAggregatedCostResultInner> children)
Set the children property: Children of a management group.
Parameters:
Returns:
withExcludedSubscriptions
public ManagementGroupAggregatedCostResultInner withExcludedSubscriptions(List<String> excludedSubscriptions)
Set the excludedSubscriptions property: List of subscription Guids excluded from the calculation of aggregated cost.
Parameters:
Returns:
withIncludedSubscriptions
public ManagementGroupAggregatedCostResultInner withIncludedSubscriptions(List<String> includedSubscriptions)
Set the includedSubscriptions property: List of subscription Guids included in the calculation of aggregated cost.
Parameters:
Returns: