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.MetricInner; import org.joda.time.DateTime; import java.util.List;
Response containing the Azure SQL Database metric.
/** * Response containing the Azure SQL Database metric. */
@Fluent @Beta(Beta.SinceVersion.V1_7_0) public interface SqlDatabaseMetric extends HasInner<MetricInner> {
Returns:the metric name
/** * @return the metric name */
String name();
Returns:the start time
/** * @return the start time */
DateTime startTime();
Returns:the end time
/** * @return the end time */
DateTime endTime();
Returns:the time grain
/** * @return the time grain */
String timeGrain();
Returns:the metric's unit type
/** * @return the metric's unit type */
UnitType unit();
Returns:the metric values
/** * @return the metric values */
List<SqlDatabaseMetricValue> metricValues(); }