Class ElasticPoolOperationProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.ElasticPoolOperationProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ElasticPoolOperationProperties>
public final class ElasticPoolOperationProperties
extends Object
implements com.azure.json.JsonSerializable<ElasticPoolOperationProperties>
The properties of a elastic pool operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ElasticPoolOperationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The operation description.Get the elasticPoolName property: The name of the elastic pool the operation is being performed on.Get the errorCode property: The operation error code.Get the errorDescription property: The operation error description.Get the errorSeverity property: The operation error severity.Get the estimatedCompletionTime property: The estimated completion time of the operation.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ElasticPoolOperationProperties from the JsonReader.Get the isCancellable property: Whether the operation can be cancelled.Get the isUserError property: Whether or not the error is a user error.Get the operation property: The name of operation.Get the operationFriendlyName property: The friendly name of operation.Get the percentComplete property: The percentage of the operation completed.Get the serverName property: The name of the server.Get the startTime property: The operation start time.state()Get the state property: The operation state.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ElasticPoolOperationProperties
public ElasticPoolOperationProperties()Creates an instance of ElasticPoolOperationProperties class.
-
-
Method Details
-
elasticPoolName
Get the elasticPoolName property: The name of the elastic pool the operation is being performed on.- Returns:
- the elasticPoolName value.
-
operation
Get the operation property: The name of operation.- Returns:
- the operation value.
-
operationFriendlyName
Get the operationFriendlyName property: The friendly name of operation.- Returns:
- the operationFriendlyName value.
-
percentComplete
Get the percentComplete property: The percentage of the operation completed.- Returns:
- the percentComplete value.
-
serverName
Get the serverName property: The name of the server.- Returns:
- the serverName value.
-
startTime
Get the startTime property: The operation start time.- Returns:
- the startTime value.
-
state
-
errorCode
Get the errorCode property: The operation error code.- Returns:
- the errorCode value.
-
errorDescription
Get the errorDescription property: The operation error description.- Returns:
- the errorDescription value.
-
errorSeverity
Get the errorSeverity property: The operation error severity.- Returns:
- the errorSeverity value.
-
isUserError
Get the isUserError property: Whether or not the error is a user error.- Returns:
- the isUserError value.
-
estimatedCompletionTime
Get the estimatedCompletionTime property: The estimated completion time of the operation.- Returns:
- the estimatedCompletionTime value.
-
description
Get the description property: The operation description.- Returns:
- the description value.
-
isCancellable
Get the isCancellable property: Whether the operation can be cancelled.- Returns:
- the isCancellable value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ElasticPoolOperationProperties>- Throws:
IOException
-
fromJson
public static ElasticPoolOperationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ElasticPoolOperationProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ElasticPoolOperationProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ElasticPoolOperationProperties.
-