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.Fluent; import com.microsoft.azure.management.resources.fluentcore.arm.models.HasId; import com.microsoft.azure.management.resources.fluentcore.arm.models.HasName; import com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup; import com.microsoft.azure.management.resources.fluentcore.model.Refreshable; import com.microsoft.azure.management.resources.fluentcore.model.HasInner; import com.microsoft.azure.management.sql.implementation.ServiceTierAdvisorInner; import org.joda.time.DateTime; import java.util.List; import java.util.UUID;
An immutable client-side representation of an Azure SQL Service tier advisor.
/** * An immutable client-side representation of an Azure SQL Service tier advisor. */
@Fluent public interface ServiceTierAdvisor extends Refreshable<ServiceTierAdvisor>, HasInner<ServiceTierAdvisorInner>, HasResourceGroup, HasName, HasId {
Returns:name of the SQL Server to which this replication belongs
/** * @return name of the SQL Server to which this replication belongs */
String sqlServerName();
Returns:name of the SQL Database to which this replication belongs
/** * @return name of the SQL Database to which this replication belongs */
String databaseName();
Returns:the observation period start (ISO8601 format)
/** * @return the observation period start (ISO8601 format) */
DateTime observationPeriodStart();
Returns:the observation period start (ISO8601 format)
/** * @return the observation period start (ISO8601 format) */
DateTime observationPeriodEnd();
Returns:the activeTimeRatio for the service tier advisor
/** * @return the activeTimeRatio for the service tier advisor */
double activeTimeRatio();
Returns:or sets minDtu for the service tier advisor
/** * @return or sets minDtu for the service tier advisor */
double minDtu();
Returns:the average DTU for the service tier advisor
/** * @return the average DTU for the service tier advisor */
double avgDtu();
Returns:the maximum DTU for the service tier advisor
/** * @return the maximum DTU for the service tier advisor */
double maxDtu();
Returns:the maximum size in GB for the service tier advisor
/** * @return the maximum size in GB for the service tier advisor */
double maxSizeInGB();
Returns:the service level objective usage metrics for the service tier advisor
/** * @return the service level objective usage metrics for the service tier advisor */
@Deprecated List<SloUsageMetricInterface> serviceLevelObjectiveUsageMetrics();
Returns:the service level objective usage metric for the service tier advisor.
/** * @return the service level objective usage metric for the service tier * advisor. */
List<ServiceLevelObjectiveUsageMetric> serviceLevelObjectiveUsageMetric();
Returns:the current service level Objective for the service tier advisor
/** * @return the current service level Objective for the service tier advisor */
String currentServiceLevelObjective();
Returns:the current service level objective ID for the service tier advisor
/** * @return the current service level objective ID for the service tier advisor */
UUID currentServiceLevelObjectiveId();
Returns:the usage based recommendation service level objective for the service tier advisor
/** * @return the usage based recommendation service level objective for the service tier advisor */
String usageBasedRecommendationServiceLevelObjective();
Returns:the usage based recommendation service level objective ID for the service tier advisor.
/** * @return the usage based recommendation service level objective ID for the service tier advisor. */
UUID usageBasedRecommendationServiceLevelObjectiveId();
Returns:the database size based recommendation service level objective for the service tier advisor
/** * @return the database size based recommendation service level objective for the service tier advisor */
String databaseSizeBasedRecommendationServiceLevelObjective();
Returns:the database size based recommendation service level objective ID for the service tier advisor
/** * @return the database size based recommendation service level objective ID for the service tier advisor */
UUID databaseSizeBasedRecommendationServiceLevelObjectiveId();
Returns:the disaster plan based recommendation service level objective for the service tier advisor.
/** * @return the disaster plan based recommendation service level objective for the service tier advisor. */
String disasterPlanBasedRecommendationServiceLevelObjective();
Returns:the disaster plan based recommendation service level objective ID for the service tier advisor.
/** * @return the disaster plan based recommendation service level objective ID for the service tier advisor. */
UUID disasterPlanBasedRecommendationServiceLevelObjectiveId();
Returns:the overall recommendation service level objective for the service tier advisor.
/** * @return the overall recommendation service level objective for the service tier advisor. */
String overallRecommendationServiceLevelObjective();
Returns:the overall recommendation service level objective ID for the service tier advisor.
/** * @return the overall recommendation service level objective ID for the service tier advisor. */
UUID overallRecommendationServiceLevelObjectiveId();
Returns:the confidence for service tier advisor.
/** * @return the confidence for service tier advisor. */
double confidence(); }