RestorableDroppedSqlPoolInner Class

public final class RestorableDroppedSqlPoolInner
extends ProxyResource

A restorable dropped Sql pool.

Constructor Summary

Constructor Description
RestorableDroppedSqlPoolInner()

Creates an instance of RestorableDroppedSqlPoolInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime creationDate()

Get the creationDate property: The creation date of the database (ISO8601 format).

String databaseName()

Get the databaseName property: The name of the database.

OffsetDateTime deletionDate()

Get the deletionDate property: The deletion date of the database (ISO8601 format).

OffsetDateTime earliestRestoreDate()

Get the earliestRestoreDate property: The earliest restore date of the database (ISO8601 format).

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 RestorableDroppedSqlPoolInner fromJson(JsonReader jsonReader)

Reads an instance of RestorableDroppedSqlPoolInner from the JsonReader.

String id()

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

String location()

Get the location property: The geo-location where the resource lives.

String maxSizeBytes()

Get the maxSizeBytes property: The max size in bytes of the database.

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

RestorableDroppedSqlPoolInner

public RestorableDroppedSqlPoolInner()

Creates an instance of RestorableDroppedSqlPoolInner class.

Method Details

creationDate

public OffsetDateTime creationDate()

Get the creationDate property: The creation date of the database (ISO8601 format).

Returns:

the creationDate value.

databaseName

public String databaseName()

Get the databaseName property: The name of the database.

Returns:

the databaseName value.

deletionDate

public OffsetDateTime deletionDate()

Get the deletionDate property: The deletion date of the database (ISO8601 format).

Returns:

the deletionDate value.

earliestRestoreDate

public OffsetDateTime earliestRestoreDate()

Get the earliestRestoreDate property: The earliest restore date of the database (ISO8601 format).

Returns:

the earliestRestoreDate value.

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 RestorableDroppedSqlPoolInner fromJson(JsonReader jsonReader)

Reads an instance of RestorableDroppedSqlPoolInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

RestorableDroppedSqlPoolInner.id()

Returns:

the id value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

maxSizeBytes

public String maxSizeBytes()

Get the maxSizeBytes property: The max size in bytes of the database.

Returns:

the maxSizeBytes value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

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

RestorableDroppedSqlPoolInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RestorableDroppedSqlPoolInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to