共用方式為


ListDataCenters Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.models.ListDataCenters

Implements

public final class ListDataCenters
implements JsonSerializable<ListDataCenters>

List of managed Cassandra data centers and their properties.

Constructor Summary

Constructor Description
ListDataCenters()

Creates an instance of ListDataCenters class.

Method Summary

Modifier and Type Method and Description
static ListDataCenters fromJson(JsonReader jsonReader)

Reads an instance of ListDataCenters from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<DataCenterResourceInner> value()

Get the value property: Container for array of data centers.

Methods inherited from java.lang.Object

Constructor Details

ListDataCenters

public ListDataCenters()

Creates an instance of ListDataCenters class.

Method Details

fromJson

public static ListDataCenters fromJson(JsonReader jsonReader)

Reads an instance of ListDataCenters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ListDataCenters 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 ListDataCenters.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<DataCenterResourceInner> value()

Get the value property: Container for array of data centers.

Returns:

the value value.

Applies to