Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.sql;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.model.HasInner;
import com.microsoft.azure.management.sql.implementation.ServerUsageInner;
import org.joda.time.DateTime;
An immutable client-side representation of an Azure SQL server usage metric.
/**
* An immutable client-side representation of an Azure SQL server usage metric.
*/
@Fluent
@Beta(Beta.SinceVersion.V1_7_0)
public interface ServerUsage extends
HasInner<ServerUsageInner> {
Returns: Name of the server usage metric
/**
* @return Name of the server usage metric
*/
String name();
Returns: the name of the resource
/**
* @return the name of the resource
*/
String resourceName();
Returns: the metric display name
/**
* @return the metric display name
*/
String displayName();
Returns: the current value of the metric
/**
* @return the current value of the metric
*/
double currentValue();
Returns: the current limit of the metric
/**
* @return the current limit of the metric
*/
double limit();
Returns: the units of the metric
/**
* @return the units of the metric
*/
String unit();
Returns: the next reset time for the metric (ISO8601 format)
/**
* @return the next reset time for the metric (ISO8601 format)
*/
DateTime nextResetTime();
}