共用方式為


NetworkUsage Interface

Implements

public interface NetworkUsage
extends HasInnerModel<UsageInner>

An immutable client-side representation of an Azure compute resource usage info object.

Method Summary

Modifier and Type Method and Description
abstract long currentValue()

Gets the current count of the allocated resources in the subscription.

abstract long limit()

Gets the maximum count of the resources that can be allocated in the subscription.

abstract UsageName name()

Gets the name of the type of usage.

abstract UsageUnit unit()

Gets the unit of measurement.

Method Details

currentValue

public abstract long currentValue()

Gets the current count of the allocated resources in the subscription.

Returns:

the current count of the allocated resources in the subscription

limit

public abstract long limit()

Gets the maximum count of the resources that can be allocated in the subscription.

Returns:

the maximum count of the resources that can be allocated in the subscription

name

public abstract UsageName name()

Gets the name of the type of usage.

Returns:

the name of the type of usage

unit

public abstract UsageUnit unit()

Gets the unit of measurement.

Returns:

the unit of measurement.

Applies to