// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.datalakestore.models;

import com.azure.resourcemanager.datalakestore.fluent.models.UsageInner;

/** An immutable client-side representation of Usage. */
public interface Usage {
    /**
     * Gets the unit property: Gets the unit of measurement.
     *
     * @return the unit value.
     */
    UsageUnit unit();

    /**
     * Gets the id property: Resource identifier.
     *
     * @return the id value.
     */
    String id();

    /**
     * Gets the currentValue property: Gets the current count of the allocated resources in the subscription.
     *
     * @return the currentValue value.
     */
    Integer currentValue();

    /**
     * Gets the limit property: Gets the maximum count of the resources that can be allocated in the subscription.
     *
     * @return the limit value.
     */
    Integer limit();

    /**
     * Gets the name property: Gets the name of the type of usage.
     *
     * @return the name value.
     */
    UsageName name();

    /**
     * Gets the inner com.azure.resourcemanager.datalakestore.fluent.models.UsageInner object.
     *
     * @return the inner object.
     */
    UsageInner innerModel();
}
