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

package com.azure.resourcemanager.synapse.models;

import com.azure.resourcemanager.synapse.fluent.models.ServerUsageInner;
import java.time.OffsetDateTime;

/** An immutable client-side representation of ServerUsage. */
public interface ServerUsage {
    /**
     * Gets the name property: Name of the server usage metric.
     *
     * @return the name value.
     */
    String name();

    /**
     * Gets the resourceName property: The name of the resource.
     *
     * @return the resourceName value.
     */
    String resourceName();

    /**
     * Gets the displayName property: The metric display name.
     *
     * @return the displayName value.
     */
    String displayName();

    /**
     * Gets the currentValue property: The current value of the metric.
     *
     * @return the currentValue value.
     */
    Double currentValue();

    /**
     * Gets the limit property: The current limit of the metric.
     *
     * @return the limit value.
     */
    Double limit();

    /**
     * Gets the unit property: The units of the metric.
     *
     * @return the unit value.
     */
    String unit();

    /**
     * Gets the nextResetTime property: The next reset time for the metric (ISO8601 format).
     *
     * @return the nextResetTime value.
     */
    OffsetDateTime nextResetTime();

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