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.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.HasInner; import com.microsoft.azure.management.sql.implementation.ElasticPoolDatabaseActivityInner; import org.joda.time.DateTime;
An immutable client-side representation of an Azure SQL ElasticPool's Database Activity.
/** * An immutable client-side representation of an Azure SQL ElasticPool's Database Activity. */
@Fluent public interface ElasticPoolDatabaseActivity extends HasInner<ElasticPoolDatabaseActivityInner>, HasResourceGroup, HasName, HasId {
Returns:the database name
/** * @return the database name */
String databaseName();
Returns:the time the operation finished (ISO8601 format)
/** * @return the time the operation finished (ISO8601 format) */
DateTime endTime();
Returns:the error code if available
/** * @return the error code if available */
int errorCode();
Returns:the error message if available
/** * @return the error message if available */
String errorMessage();
Returns:the error severity if available
/** * @return the error severity if available */
int errorSeverity();
Returns:the operation name
/** * @return the operation name */
String operation();
Returns:the unique operation ID
/** * @return the unique operation ID */
String operationId();
Returns:the percentage complete if available
/** * @return the percentage complete if available */
int percentComplete();
Returns:the name for the Elastic Pool the database is moving into if available
/** * @return the name for the Elastic Pool the database is moving into if available */
String requestedElasticPoolName();
Returns:the name of the current Elastic Pool the database is in if available
/** * @return the name of the current Elastic Pool the database is in if available */
String currentElasticPoolName();
Returns:the name of the current service objective if available
/** * @return the name of the current service objective if available */
String currentServiceObjective();
Returns:the name of the requested service objective if available
/** * @return the name of the requested service objective if available */
String requestedServiceObjective();
Returns:the name of the Azure SQL Server the Elastic Pool is in
/** * @return the name of the Azure SQL Server the Elastic Pool is in */
String serverName();
Returns:the time the operation started (ISO8601 format)
/** * @return the time the operation started (ISO8601 format) */
DateTime startTime();
Returns:the current state of the operation
/** * @return the current state of the operation */
String state();
Returns:the geo-location where the resource lives.
/** * @return the geo-location where the resource lives. */
@Beta(Beta.SinceVersion.V1_7_0) String location(); }