Class ManagedInstanceOperationProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.ManagedInstanceOperationProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedInstanceOperationProperties>
public final class ManagedInstanceOperationProperties
extends Object
implements com.azure.json.JsonSerializable<ManagedInstanceOperationProperties>
The properties of a managed instance operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedInstanceOperationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The operation description.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 ManagedInstanceOperationProperties 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 managedInstanceName property: The name of the managed instance the operation is being performed on.Get the operation property: The name of operation.Get the operationFriendlyName property: The friendly name of operation.Get the operationParameters property: The operation parameters.Get the operationSteps property: The operation steps.Get the percentComplete property: The percentage of the operation completed.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 java.lang.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
-
ManagedInstanceOperationProperties
public ManagedInstanceOperationProperties()Creates an instance of ManagedInstanceOperationProperties class.
-
-
Method Details
-
managedInstanceName
Get the managedInstanceName property: The name of the managed instance the operation is being performed on.- Returns:
- the managedInstanceName 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.
-
startTime
Get the startTime property: The operation start time.- Returns:
- the startTime value.
-
state
Get the state property: The operation state.- Returns:
- the state value.
-
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.
-
operationParameters
Get the operationParameters property: The operation parameters.- Returns:
- the operationParameters value.
-
operationSteps
Get the operationSteps property: The operation steps.- Returns:
- the operationSteps 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<ManagedInstanceOperationProperties>- Throws:
IOException
-
fromJson
public static ManagedInstanceOperationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ManagedInstanceOperationProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ManagedInstanceOperationProperties 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 ManagedInstanceOperationProperties.
-