RecoverableDatabaseInner Class

public final class RecoverableDatabaseInner
extends ProxyResource

A recoverable database resource.

Method Summary

Modifier and Type Method and Description
String edition()

Get the edition property: The edition of the database.

String elasticPoolName()

Get the elasticPoolName property: The elastic pool name of the database.

static RecoverableDatabaseInner fromJson(JsonReader jsonReader)

Reads an instance of RecoverableDatabaseInner from the JsonReader.

String id()

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

Map<String,DatabaseKey> keys()

Get the keys property: The resource ids of the user assigned identities to use.

OffsetDateTime lastAvailableBackupDate()

Get the lastAvailableBackupDate property: The last available backup date.

String name()

Get the name property: The name of the resource.

String serviceLevelObjective()

Get the serviceLevelObjective property: The service level objective name of the database.

SystemData systemData()

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

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

edition

public String edition()

Get the edition property: The edition of the database.

Returns:

the edition value.

elasticPoolName

public String elasticPoolName()

Get the elasticPoolName property: The elastic pool name of the database.

Returns:

the elasticPoolName value.

fromJson

public static RecoverableDatabaseInner fromJson(JsonReader jsonReader)

Reads an instance of RecoverableDatabaseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RecoverableDatabaseInner 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:

RecoverableDatabaseInner.id()

Returns:

the id value.

keys

public Map<String,DatabaseKey> keys()

Get the keys property: The resource ids of the user assigned identities to use.

Returns:

the keys value.

lastAvailableBackupDate

public OffsetDateTime lastAvailableBackupDate()

Get the lastAvailableBackupDate property: The last available backup date.

Returns:

the lastAvailableBackupDate value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RecoverableDatabaseInner.name()

Returns:

the name value.

serviceLevelObjective

public String serviceLevelObjective()

Get the serviceLevelObjective property: The service level objective name of the database.

Returns:

the serviceLevelObjective value.

systemData

public SystemData systemData()

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

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RecoverableDatabaseInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RecoverableDatabaseInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to