Table of Contents

Class ListDatabaseOptions

Namespace
DataStax.AstraDB.DataApi.Admin
Assembly
DataStax.AstraDB.DataApi.dll

Options used for AstraDatabasesAdmin's ListDatabases methods.

public class ListDatabaseOptions : CommandOptions
Inheritance
ListDatabaseOptions
Derived
Inherited Members

Properties

Include

Filter databases based on specific states.

[JsonPropertyName("include")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public QueryDatabaseStates? Include { get; set; }

Property Value

QueryDatabaseStates?

Limit

Number of items to return "per page".

[JsonPropertyName("limit")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? Limit { get; set; }

Property Value

int?

Provider

Filter databases based on cloud provider.

[JsonPropertyName("provider")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public QueryCloudProvider? Provider { get; set; }

Property Value

QueryCloudProvider?

StartingAfter

See Limit. If getting an additional page of data, pass in the id of the last database in the previous page.

[JsonPropertyName("starting_after")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string StartingAfter { get; set; }

Property Value

string