ManagedDatabaseRestoreDetailsResultInner Class

public final class ManagedDatabaseRestoreDetailsResultInner
extends ProxyResource

A managed database restore details.

Constructor Summary

Constructor Description
ManagedDatabaseRestoreDetailsResultInner()

Creates an instance of ManagedDatabaseRestoreDetailsResultInner class.

Method Summary

Modifier and Type Method and Description
String blockReason()

Get the blockReason property: The reason why restore is in Blocked state.

String currentBackupType()

Get the currentBackupType property: Current backup type.

Integer currentRestoredSizeMB()

Get the currentRestoredSizeMB property: Current restored size MB.

Integer currentRestorePlanSizeMB()

Get the currentRestorePlanSizeMB property: Current restore plan size MB.

String currentRestoringFileName()

Get the currentRestoringFileName property: Current restoring file name.

List<ManagedDatabaseRestoreDetailsBackupSetProperties> diffBackupSets()

Get the diffBackupSets property: Diff backup sets.

static ManagedDatabaseRestoreDetailsResultInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedDatabaseRestoreDetailsResultInner from the JsonReader.

List<ManagedDatabaseRestoreDetailsBackupSetProperties> fullBackupSets()

Get the fullBackupSets property: Full backup sets.

String id()

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

String lastRestoredFileName()

Get the lastRestoredFileName property: Last restored file name.

OffsetDateTime lastRestoredFileTime()

Get the lastRestoredFileTime property: Last restored file time.

String lastUploadedFileName()

Get the lastUploadedFileName property: Last uploaded file name.

OffsetDateTime lastUploadedFileTime()

Get the lastUploadedFileTime property: Last uploaded file time.

List<ManagedDatabaseRestoreDetailsBackupSetProperties> logBackupSets()

Get the logBackupSets property: Log backup sets.

String name()

Get the name property: The name of the resource.

Integer numberOfFilesDetected()

Get the numberOfFilesDetected property: Number of files detected.

Integer numberOfFilesQueued()

Get the numberOfFilesQueued property: Number of files queued.

Integer numberOfFilesRestored()

Get the numberOfFilesRestored property: Number of files restored.

Integer numberOfFilesRestoring()

Get the numberOfFilesRestoring property: Number of files restoring.

Integer numberOfFilesSkipped()

Get the numberOfFilesSkipped property: Number of files skipped.

Integer numberOfFilesUnrestorable()

Get the numberOfFilesUnrestorable property: Number of files unrestorable.

Integer percentCompleted()

Get the percentCompleted property: Percent completed.

String status()

Get the status property: Restore status.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String typePropertiesType()

Get the type property: Restore type.

List<ManagedDatabaseRestoreDetailsUnrestorableFileProperties> unrestorableFiles()

Get the unrestorableFiles property: Unrestorable files.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ManagedDatabaseRestoreDetailsResultInner

public ManagedDatabaseRestoreDetailsResultInner()

Creates an instance of ManagedDatabaseRestoreDetailsResultInner class.

Method Details

blockReason

public String blockReason()

Get the blockReason property: The reason why restore is in Blocked state.

Returns:

the blockReason value.

currentBackupType

public String currentBackupType()

Get the currentBackupType property: Current backup type.

Returns:

the currentBackupType value.

currentRestoredSizeMB

public Integer currentRestoredSizeMB()

Get the currentRestoredSizeMB property: Current restored size MB.

Returns:

the currentRestoredSizeMB value.

currentRestorePlanSizeMB

public Integer currentRestorePlanSizeMB()

Get the currentRestorePlanSizeMB property: Current restore plan size MB.

Returns:

the currentRestorePlanSizeMB value.

currentRestoringFileName

public String currentRestoringFileName()

Get the currentRestoringFileName property: Current restoring file name.

Returns:

the currentRestoringFileName value.

diffBackupSets

public List<ManagedDatabaseRestoreDetailsBackupSetProperties> diffBackupSets()

Get the diffBackupSets property: Diff backup sets.

Returns:

the diffBackupSets value.

fromJson

public static ManagedDatabaseRestoreDetailsResultInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedDatabaseRestoreDetailsResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedDatabaseRestoreDetailsResultInner 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.

fullBackupSets

public List<ManagedDatabaseRestoreDetailsBackupSetProperties> fullBackupSets()

Get the fullBackupSets property: Full backup sets.

Returns:

the fullBackupSets value.

id

public String id()

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

Overrides:

ManagedDatabaseRestoreDetailsResultInner.id()

Returns:

the id value.

lastRestoredFileName

public String lastRestoredFileName()

Get the lastRestoredFileName property: Last restored file name.

Returns:

the lastRestoredFileName value.

lastRestoredFileTime

public OffsetDateTime lastRestoredFileTime()

Get the lastRestoredFileTime property: Last restored file time.

Returns:

the lastRestoredFileTime value.

lastUploadedFileName

public String lastUploadedFileName()

Get the lastUploadedFileName property: Last uploaded file name.

Returns:

the lastUploadedFileName value.

lastUploadedFileTime

public OffsetDateTime lastUploadedFileTime()

Get the lastUploadedFileTime property: Last uploaded file time.

Returns:

the lastUploadedFileTime value.

logBackupSets

public List<ManagedDatabaseRestoreDetailsBackupSetProperties> logBackupSets()

Get the logBackupSets property: Log backup sets.

Returns:

the logBackupSets value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedDatabaseRestoreDetailsResultInner.name()

Returns:

the name value.

numberOfFilesDetected

public Integer numberOfFilesDetected()

Get the numberOfFilesDetected property: Number of files detected.

Returns:

the numberOfFilesDetected value.

numberOfFilesQueued

public Integer numberOfFilesQueued()

Get the numberOfFilesQueued property: Number of files queued.

Returns:

the numberOfFilesQueued value.

numberOfFilesRestored

public Integer numberOfFilesRestored()

Get the numberOfFilesRestored property: Number of files restored.

Returns:

the numberOfFilesRestored value.

numberOfFilesRestoring

public Integer numberOfFilesRestoring()

Get the numberOfFilesRestoring property: Number of files restoring.

Returns:

the numberOfFilesRestoring value.

numberOfFilesSkipped

public Integer numberOfFilesSkipped()

Get the numberOfFilesSkipped property: Number of files skipped.

Returns:

the numberOfFilesSkipped value.

numberOfFilesUnrestorable

public Integer numberOfFilesUnrestorable()

Get the numberOfFilesUnrestorable property: Number of files unrestorable.

Returns:

the numberOfFilesUnrestorable value.

percentCompleted

public Integer percentCompleted()

Get the percentCompleted property: Percent completed.

Returns:

the percentCompleted value.

status

public String status()

Get the status property: Restore status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedDatabaseRestoreDetailsResultInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedDatabaseRestoreDetailsResultInner.type()

Returns:

the type value.

typePropertiesType

public String typePropertiesType()

Get the type property: Restore type.

Returns:

the type value.

unrestorableFiles

public List<ManagedDatabaseRestoreDetailsUnrestorableFileProperties> unrestorableFiles()

Get the unrestorableFiles property: Unrestorable files.

Returns:

the unrestorableFiles value.

validate

public void validate()

Validates the instance.

Applies to