Class ElasticPoolDatabaseActivityInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.ElasticPoolDatabaseActivityInner
-
public class ElasticPoolDatabaseActivityInner extends com.azure.core.management.ProxyResourceRepresents the activity on an elastic pool.
-
-
Constructor Summary
Constructors Constructor Description ElasticPoolDatabaseActivityInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcurrentElasticPoolName()Get the currentElasticPoolName property: The name of the current elastic pool the database is in if available.StringcurrentServiceObjective()Get the currentServiceObjective property: The name of the current service objective if available.StringdatabaseName()Get the databaseName property: The database name.OffsetDateTimeendTime()Get the endTime property: The time the operation finished (ISO8601 format).IntegererrorCode()Get the errorCode property: The error code if available.StringerrorMessage()Get the errorMessage property: The error message if available.IntegererrorSeverity()Get the errorSeverity property: The error severity if available.Stringlocation()Get the location property: The geo-location where the resource lives.Stringoperation()Get the operation property: The operation name.UUIDoperationId()Get the operationId property: The unique operation ID.IntegerpercentComplete()Get the percentComplete property: The percentage complete if available.StringrequestedElasticPoolName()Get the requestedElasticPoolName property: The name for the elastic pool the database is moving into if available.StringrequestedServiceObjective()Get the requestedServiceObjective property: The name of the requested service objective if available.StringserverName()Get the serverName property: The name of the server the elastic pool is in.OffsetDateTimestartTime()Get the startTime property: The time the operation started (ISO8601 format).Stringstate()Get the state property: The current state of the operation.voidvalidate()Validates the instance.ElasticPoolDatabaseActivityInnerwithLocation(String location)Set the location property: The geo-location where the resource lives.
-
-
-
Method Detail
-
location
public String location()
Get the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
withLocation
public ElasticPoolDatabaseActivityInner withLocation(String location)
Set the location property: The geo-location where the resource lives.- Parameters:
location- the location value to set.- Returns:
- the ElasticPoolDatabaseActivityInner object itself.
-
databaseName
public String databaseName()
Get the databaseName property: The database name.- Returns:
- the databaseName value.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: The time the operation finished (ISO8601 format).- Returns:
- the endTime value.
-
errorCode
public Integer errorCode()
Get the errorCode property: The error code if available.- Returns:
- the errorCode value.
-
errorMessage
public String errorMessage()
Get the errorMessage property: The error message if available.- Returns:
- the errorMessage value.
-
errorSeverity
public Integer errorSeverity()
Get the errorSeverity property: The error severity if available.- Returns:
- the errorSeverity value.
-
operation
public String operation()
Get the operation property: The operation name.- Returns:
- the operation value.
-
operationId
public UUID operationId()
Get the operationId property: The unique operation ID.- Returns:
- the operationId value.
-
percentComplete
public Integer percentComplete()
Get the percentComplete property: The percentage complete if available.- Returns:
- the percentComplete value.
-
requestedElasticPoolName
public String requestedElasticPoolName()
Get the requestedElasticPoolName property: The name for the elastic pool the database is moving into if available.- Returns:
- the requestedElasticPoolName value.
-
currentElasticPoolName
public String currentElasticPoolName()
Get the currentElasticPoolName property: The name of the current elastic pool the database is in if available.- Returns:
- the currentElasticPoolName value.
-
currentServiceObjective
public String currentServiceObjective()
Get the currentServiceObjective property: The name of the current service objective if available.- Returns:
- the currentServiceObjective value.
-
requestedServiceObjective
public String requestedServiceObjective()
Get the requestedServiceObjective property: The name of the requested service objective if available.- Returns:
- the requestedServiceObjective value.
-
serverName
public String serverName()
Get the serverName property: The name of the server the elastic pool is in.- Returns:
- the serverName value.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: The time the operation started (ISO8601 format).- Returns:
- the startTime value.
-
state
public String state()
Get the state property: The current state of the operation.- Returns:
- the state value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-