Share via


ElasticPoolActivityInner Class

public final class ElasticPoolActivityInner
extends ProxyResource

Represents the activity on an elastic pool.

Constructor Summary

Constructor Description
ElasticPoolActivityInner()

Creates an instance of ElasticPoolActivityInner class.

Method Summary

Modifier and Type Method and Description
String elasticPoolName()

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

OffsetDateTime endTime()

Get the endTime property: The time the operation finished (ISO8601 format).

Integer errorCode()

Get the errorCode property: The error code if available.

String errorMessage()

Get the errorMessage property: The error message if available.

Integer errorSeverity()

Get the errorSeverity property: The error severity if available.

static ElasticPoolActivityInner fromJson(JsonReader jsonReader)

Reads an instance of ElasticPoolActivityInner 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 name()

Get the name property: The name of the resource.

String operation()

Get the operation property: The operation name.

UUID operationId()

Get the operationId property: The unique operation ID.

Integer percentComplete()

Get the percentComplete property: The percentage complete if available.

Integer requestedDatabaseDtuCap()

Get the requestedDatabaseDtuCap property: The requested per database DTU cap.

Integer requestedDatabaseDtuGuarantee()

Get the requestedDatabaseDtuGuarantee property: The requested per database DTU guarantee.

Integer requestedDatabaseDtuMax()

Get the requestedDatabaseDtuMax property: The requested max DTU per database if available.

Integer requestedDatabaseDtuMin()

Get the requestedDatabaseDtuMin property: The requested min DTU per database if available.

Integer requestedDtu()

Get the requestedDtu property: The requested DTU for the pool if available.

Integer requestedDtuGuarantee()

Get the requestedDtuGuarantee property: The requested DTU guarantee.

String requestedElasticPoolName()

Get the requestedElasticPoolName property: The requested name for the elastic pool if available.

Long requestedStorageLimitInGB()

Get the requestedStorageLimitInGB property: The requested storage limit for the pool in GB if available.

Integer requestedStorageLimitInMB()

Get the requestedStorageLimitInMB property: The requested storage limit in MB.

String serverName()

Get the serverName property: The name of the server the elastic pool is in.

OffsetDateTime startTime()

Get the startTime property: The time the operation started (ISO8601 format).

String state()

Get the state property: The current state of the operation.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ElasticPoolActivityInner withLocation(String location)

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

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ElasticPoolActivityInner

public ElasticPoolActivityInner()

Creates an instance of ElasticPoolActivityInner class.

Method Details

elasticPoolName

public String elasticPoolName()

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

Returns:

the elasticPoolName value.

endTime

public OffsetDateTime endTime()

Get the endTime property: The time the operation finished (ISO8601 format).

Returns:

the endTime value.

errorCode

public Integer errorCode()

Get the errorCode property: The error code if available.

Returns:

the errorCode value.

errorMessage

public String errorMessage()

Get the errorMessage property: The error message if available.

Returns:

the errorMessage value.

errorSeverity

public Integer errorSeverity()

Get the errorSeverity property: The error severity if available.

Returns:

the errorSeverity value.

fromJson

public static ElasticPoolActivityInner fromJson(JsonReader jsonReader)

Reads an instance of ElasticPoolActivityInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ElasticPoolActivityInner.id()

Returns:

the id value.

location

public String location()

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

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ElasticPoolActivityInner.name()

Returns:

the name value.

operation

public String operation()

Get the operation property: The operation name.

Returns:

the operation value.

operationId

public UUID operationId()

Get the operationId property: The unique operation ID.

Returns:

the operationId value.

percentComplete

public Integer percentComplete()

Get the percentComplete property: The percentage complete if available.

Returns:

the percentComplete value.

requestedDatabaseDtuCap

public Integer requestedDatabaseDtuCap()

Get the requestedDatabaseDtuCap property: The requested per database DTU cap.

Returns:

the requestedDatabaseDtuCap value.

requestedDatabaseDtuGuarantee

public Integer requestedDatabaseDtuGuarantee()

Get the requestedDatabaseDtuGuarantee property: The requested per database DTU guarantee.

Returns:

the requestedDatabaseDtuGuarantee value.

requestedDatabaseDtuMax

public Integer requestedDatabaseDtuMax()

Get the requestedDatabaseDtuMax property: The requested max DTU per database if available.

Returns:

the requestedDatabaseDtuMax value.

requestedDatabaseDtuMin

public Integer requestedDatabaseDtuMin()

Get the requestedDatabaseDtuMin property: The requested min DTU per database if available.

Returns:

the requestedDatabaseDtuMin value.

requestedDtu

public Integer requestedDtu()

Get the requestedDtu property: The requested DTU for the pool if available.

Returns:

the requestedDtu value.

requestedDtuGuarantee

public Integer requestedDtuGuarantee()

Get the requestedDtuGuarantee property: The requested DTU guarantee.

Returns:

the requestedDtuGuarantee value.

requestedElasticPoolName

public String requestedElasticPoolName()

Get the requestedElasticPoolName property: The requested name for the elastic pool if available.

Returns:

the requestedElasticPoolName value.

requestedStorageLimitInGB

public Long requestedStorageLimitInGB()

Get the requestedStorageLimitInGB property: The requested storage limit for the pool in GB if available.

Returns:

the requestedStorageLimitInGB value.

requestedStorageLimitInMB

public Integer requestedStorageLimitInMB()

Get the requestedStorageLimitInMB property: The requested storage limit in MB.

Returns:

the requestedStorageLimitInMB value.

serverName

public String serverName()

Get the serverName property: The name of the server the elastic pool is in.

Returns:

the serverName value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The time the operation started (ISO8601 format).

Returns:

the startTime value.

state

public String state()

Get the state property: The current state of the operation.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ElasticPoolActivityInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ElasticPoolActivityInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public ElasticPoolActivityInner withLocation(String location)

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

Parameters:

location - the location value to set.

Returns:

the ElasticPoolActivityInner object itself.

Applies to