Compartilhar via


SqlPoolUsageInner Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.fluent.models.SqlPoolUsageInner

Implements

public final class SqlPoolUsageInner
implements JsonSerializable<SqlPoolUsageInner>

The Sql pool usages.

Constructor Summary

Constructor Description
SqlPoolUsageInner()

Creates an instance of SqlPoolUsageInner class.

Method Summary

Modifier and Type Method and Description
Double currentValue()

Get the currentValue property: The current value of the usage metric.

String displayName()

Get the displayName property: The usage metric display name.

static SqlPoolUsageInner fromJson(JsonReader jsonReader)

Reads an instance of SqlPoolUsageInner from the JsonReader.

Double limit()

Get the limit property: The current limit of the usage metric.

String name()

Get the name property: The name of the usage metric.

OffsetDateTime nextResetTime()

Get the nextResetTime property: The next reset time for the usage metric (ISO8601 format).

String resourceName()

Get the resourceName property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String unit()

Get the unit property: The units of the usage metric.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SqlPoolUsageInner

public SqlPoolUsageInner()

Creates an instance of SqlPoolUsageInner class.

Method Details

currentValue

public Double currentValue()

Get the currentValue property: The current value of the usage metric.

Returns:

the currentValue value.

displayName

public String displayName()

Get the displayName property: The usage metric display name.

Returns:

the displayName value.

fromJson

public static SqlPoolUsageInner fromJson(JsonReader jsonReader)

Reads an instance of SqlPoolUsageInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlPoolUsageInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SqlPoolUsageInner.

limit

public Double limit()

Get the limit property: The current limit of the usage metric.

Returns:

the limit value.

name

public String name()

Get the name property: The name of the usage metric.

Returns:

the name value.

nextResetTime

public OffsetDateTime nextResetTime()

Get the nextResetTime property: The next reset time for the usage metric (ISO8601 format).

Returns:

the nextResetTime value.

resourceName

public String resourceName()

Get the resourceName property: The name of the resource.

Returns:

the resourceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unit

public String unit()

Get the unit property: The units of the usage metric.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

Applies to