Class CostManagementResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.costmanagement.models.CostManagementResource
- Direct Known Subclasses:
DimensionInner,ForecastResultInner,QueryResultInner
public class CostManagementResource
extends com.azure.core.management.Resource
The Resource model definition.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CostManagementResource class. -
Method Summary
Modifier and TypeMethodDescriptionetag()Get the etag property: ETag of the resource.sku()Get the sku property: SKU of the resource.voidvalidate()Validates the instance.withLocation(String location) Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
CostManagementResource
public CostManagementResource()Creates an instance of CostManagementResource class.
-
-
Method Details
-
sku
Get the sku property: SKU of the resource.- Returns:
- the sku value.
-
etag
Get the etag property: ETag of the resource.- Returns:
- the etag value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-