ResourceUsageInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.ResourceUsageInner

public final class ResourceUsageInner

Output of check resource usage API.

Constructor Summary

Constructor Description
ResourceUsageInner()

Creates an instance of ResourceUsageInner class.

Method Summary

Modifier and Type Method and Description
Integer currentValue()

Get the currentValue property: Actual value of usage on the specified resource type.

Integer limit()

Get the limit property: Quota of the specified resource type.

String resourceType()

Get the resourceType property: Resource type for which the usage is provided.

ResourceUsageUnit unit()

Get the unit property: Unit of the usage.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ResourceUsageInner

public ResourceUsageInner()

Creates an instance of ResourceUsageInner class.

Method Details

currentValue

public Integer currentValue()

Get the currentValue property: Actual value of usage on the specified resource type.

Returns:

the currentValue value.

limit

public Integer limit()

Get the limit property: Quota of the specified resource type.

Returns:

the limit value.

resourceType

public String resourceType()

Get the resourceType property: Resource type for which the usage is provided.

Returns:

the resourceType value.

unit

public ResourceUsageUnit unit()

Get the unit property: Unit of the usage. e.g. count.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

Applies to