ManagedDatabaseMoveOperationResultInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ManagedDatabaseMoveOperationResultInner
- com.
- com.
public final class ManagedDatabaseMoveOperationResultInner
extends ProxyResource
A managed database move operation.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedDatabaseMoveOperationResultInner() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
errorCode()
Get the error |
| String |
errorDescription()
Get the error |
| Integer |
errorSeverity()
Get the error |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Boolean |
isCancellable()
Get the is |
| Boolean |
isUserError()
Get the is |
| String |
name()
Get the name property: The name of the resource. |
| String |
operation()
Get the operation property: The name of operation. |
| String |
operationFriendlyName()
Get the operation |
|
Move |
operationMode()
Get the operation |
| String |
sourceDatabaseName()
Get the source |
| String |
sourceManagedInstanceId()
Get the source |
| String |
sourceManagedInstanceName()
Get the source |
|
Offset |
startTime()
Get the start |
|
Management |
state()
Get the state property: The operation state. |
| String |
targetDatabaseName()
Get the target |
| String |
targetManagedInstanceId()
Get the target |
| String |
targetManagedInstanceName()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ManagedDatabaseMoveOperationResultInner
public ManagedDatabaseMoveOperationResultInner()
Creates an instance of ManagedDatabaseMoveOperationResultInner class.
Method Details
errorCode
public Integer errorCode()
Get the errorCode property: The operation error code.
Returns:
errorDescription
public String errorDescription()
Get the errorDescription property: The operation error description.
Returns:
errorSeverity
public Integer errorSeverity()
Get the errorSeverity property: The operation error severity.
Returns:
fromJson
public static ManagedDatabaseMoveOperationResultInner fromJson(JsonReader jsonReader)
Reads an instance of ManagedDatabaseMoveOperationResultInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ManagedDatabaseMoveOperationResultInner.id()Returns:
isCancellable
public Boolean isCancellable()
Get the isCancellable property: Is move operation cancellable.
Returns:
isUserError
public Boolean isUserError()
Get the isUserError property: Whether or not the error is a user error.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ManagedDatabaseMoveOperationResultInner.name()Returns:
operation
public String operation()
Get the operation property: The name of operation.
Returns:
operationFriendlyName
public String operationFriendlyName()
Get the operationFriendlyName property: The friendly name of operation.
Returns:
operationMode
public MoveOperationMode operationMode()
Get the operationMode property: Operation mode.
Returns:
sourceDatabaseName
public String sourceDatabaseName()
Get the sourceDatabaseName property: Source database name.
Returns:
sourceManagedInstanceId
public String sourceManagedInstanceId()
Get the sourceManagedInstanceId property: Source Managed Instance resource id.
Returns:
sourceManagedInstanceName
public String sourceManagedInstanceName()
Get the sourceManagedInstanceName property: Source Managed Instance name.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The operation start time.
Returns:
state
public ManagementOperationState state()
Get the state property: The operation state.
Returns:
targetDatabaseName
public String targetDatabaseName()
Get the targetDatabaseName property: Target database name.
Returns:
targetManagedInstanceId
public String targetManagedInstanceId()
Get the targetManagedInstanceId property: Target Managed instance resource id.
Returns:
targetManagedInstanceName
public String targetManagedInstanceName()
Get the targetManagedInstanceName property: Target Managed Instance name.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedDatabaseMoveOperationResultInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ManagedDatabaseMoveOperationResultInner.type()Returns:
validate
public void validate()
Validates the instance.