共用方式為


RecoverableDatabaseInner Class

public final class RecoverableDatabaseInner
extends ProxyResource

A recoverable database resource.

Constructor Summary

Constructor Description
RecoverableDatabaseInner()

Creates an instance of RecoverableDatabaseInner class.

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.

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.

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

Constructor Details

RecoverableDatabaseInner

public RecoverableDatabaseInner()

Creates an instance of RecoverableDatabaseInner class.

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.

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.

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