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.ElasticPoolActivityInner;
import org.joda.time.DateTime;
An immutable client-side representation of an Azure SQL ElasticPool's Activity.
/**
* An immutable client-side representation of an Azure SQL ElasticPool's Activity.
*/
@Fluent
public interface ElasticPoolActivity extends
HasInner<ElasticPoolActivityInner>,
HasResourceGroup,
HasName,
HasId {
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 requested max DTU per database if available
/**
* @return the requested max DTU per database if available
*/
int requestedDatabaseDtuMax();
Returns: the requested min DTU per database if available
/**
* @return the requested min DTU per database if available
*/
int requestedDatabaseDtuMin();
Returns: the requested DTU for the pool if available
/**
* @return the requested DTU for the pool if available
*/
int requestedDtu();
Returns: the requested name for the Elastic Pool if available
/**
* @return the requested name for the Elastic Pool if available
*/
String requestedElasticPoolName();
Returns: the requested storage limit for the pool in GB if available
/**
* @return the requested storage limit for the pool in GB if available
*/
long requestedStorageLimitInGB();
Returns: the name of the Elastic Pool
/**
* @return the name of the Elastic Pool
*/
String elasticPoolName();
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();
Returns: the requested storage limit in MB.
/**
* @return the requested storage limit in MB.
*/
@Beta(Beta.SinceVersion.V1_7_0)
int requestedStorageLimitInMB();
Returns: he requested per database DTU guarantee.
/**
* @return he requested per database DTU guarantee.
*/
@Beta(Beta.SinceVersion.V1_7_0)
int requestedDatabaseDtuGuarantee();
Returns: the requested per database DTU cap.
/**
* @return the requested per database DTU cap.
*/
@Beta(Beta.SinceVersion.V1_7_0)
int requestedDatabaseDtuCap();
Returns: the requested DTU guarantee.
/**
* @return the requested DTU guarantee.
*/
@Beta(Beta.SinceVersion.V1_7_0)
int requestedDtuGuarantee();
}