RecoverableSqlPoolInner Class

public final class RecoverableSqlPoolInner
extends ProxyResource

A recoverable sql pool.

Constructor Summary

Constructor Description
RecoverableSqlPoolInner()

Creates an instance of RecoverableSqlPoolInner 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 RecoverableSqlPoolInner fromJson(JsonReader jsonReader)

Reads an instance of RecoverableSqlPoolInner 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 of the database (ISO8601 format).

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

RecoverableSqlPoolInner

public RecoverableSqlPoolInner()

Creates an instance of RecoverableSqlPoolInner 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 RecoverableSqlPoolInner fromJson(JsonReader jsonReader)

Reads an instance of RecoverableSqlPoolInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

RecoverableSqlPoolInner.id()

Returns:

the id value.

lastAvailableBackupDate

public OffsetDateTime lastAvailableBackupDate()

Get the lastAvailableBackupDate property: The last available backup date of the database (ISO8601 format).

Returns:

the lastAvailableBackupDate value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RecoverableSqlPoolInner.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:

RecoverableSqlPoolInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RecoverableSqlPoolInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to