ManagedDatabaseMoveOperationResultInner Class

public final class ManagedDatabaseMoveOperationResultInner
extends ProxyResource

A managed database move operation.

Method Summary

Modifier and Type Method and Description
Integer errorCode()

Get the errorCode property: The operation error code.

String errorDescription()

Get the errorDescription property: The operation error description.

Integer errorSeverity()

Get the errorSeverity property: The operation error severity.

static ManagedDatabaseMoveOperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedDatabaseMoveOperationResultInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Boolean isCancellable()

Get the isCancellable property: Is move operation cancellable.

Boolean isUserError()

Get the isUserError property: Whether or not the error is a user error.

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 operationFriendlyName property: The friendly name of operation.

MoveOperationMode operationMode()

Get the operationMode property: Operation mode.

String sourceDatabaseName()

Get the sourceDatabaseName property: Source database name.

String sourceManagedInstanceId()

Get the sourceManagedInstanceId property: Source Managed Instance resource id.

String sourceManagedInstanceName()

Get the sourceManagedInstanceName property: Source Managed Instance name.

OffsetDateTime startTime()

Get the startTime property: The operation start time.

ManagementOperationState state()

Get the state property: The operation state.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

String targetDatabaseName()

Get the targetDatabaseName property: Target database name.

String targetManagedInstanceId()

Get the targetManagedInstanceId property: Target Managed instance resource id.

String targetManagedInstanceName()

Get the targetManagedInstanceName property: Target Managed Instance name.

JsonWriter 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

Method Details

errorCode

public Integer errorCode()

Get the errorCode property: The operation error code.

Returns:

the errorCode value.

errorDescription

public String errorDescription()

Get the errorDescription property: The operation error description.

Returns:

the errorDescription value.

errorSeverity

public Integer errorSeverity()

Get the errorSeverity property: The operation error severity.

Returns:

the errorSeverity value.

fromJson

public static ManagedDatabaseMoveOperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedDatabaseMoveOperationResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedDatabaseMoveOperationResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ManagedDatabaseMoveOperationResultInner.id()

Returns:

the id value.

isCancellable

public Boolean isCancellable()

Get the isCancellable property: Is move operation cancellable.

Returns:

the isCancellable value.

isUserError

public Boolean isUserError()

Get the isUserError property: Whether or not the error is a user error.

Returns:

the isUserError value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedDatabaseMoveOperationResultInner.name()

Returns:

the name value.

operation

public String operation()

Get the operation property: The name of operation.

Returns:

the operation value.

operationFriendlyName

public String operationFriendlyName()

Get the operationFriendlyName property: The friendly name of operation.

Returns:

the operationFriendlyName value.

operationMode

public MoveOperationMode operationMode()

Get the operationMode property: Operation mode.

Returns:

the operationMode value.

sourceDatabaseName

public String sourceDatabaseName()

Get the sourceDatabaseName property: Source database name.

Returns:

the sourceDatabaseName value.

sourceManagedInstanceId

public String sourceManagedInstanceId()

Get the sourceManagedInstanceId property: Source Managed Instance resource id.

Returns:

the sourceManagedInstanceId value.

sourceManagedInstanceName

public String sourceManagedInstanceName()

Get the sourceManagedInstanceName property: Source Managed Instance name.

Returns:

the sourceManagedInstanceName value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The operation start time.

Returns:

the startTime value.

state

public ManagementOperationState state()

Get the state property: The operation state.

Returns:

the state value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

targetDatabaseName

public String targetDatabaseName()

Get the targetDatabaseName property: Target database name.

Returns:

the targetDatabaseName value.

targetManagedInstanceId

public String targetManagedInstanceId()

Get the targetManagedInstanceId property: Target Managed instance resource id.

Returns:

the targetManagedInstanceId value.

targetManagedInstanceName

public String targetManagedInstanceName()

Get the targetManagedInstanceName property: Target Managed Instance name.

Returns:

the targetManagedInstanceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedDatabaseMoveOperationResultInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedDatabaseMoveOperationResultInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to