Defines the configuration options for connecting to Astra DB, DataStax's cloud-native Cassandra-as-a-Service.
This interface specifies the necessary parameters required to establish a connection with an Astra DB instance,
including authentication and targeting specific data centers or regions.
Properties:
token: The authentication token required for accessing the Astra DB instance. Essential for establishing a secure connection.
endpoint: Optional. The URL or network address of the Astra DB instance. Can be used to directly specify the connection endpoint.
datacenterID: Optional. The unique identifier of the data center to connect to. Used to compute the endpoint.
regionName: Optional. The region name of the Astra DB instance. Used to compute the endpoint. Default to the primary region.
Either endpoint or datacenterID must be provided to establish a connection to Astra DB.
Defines the configuration options for connecting to Astra DB, DataStax's cloud-native Cassandra-as-a-Service. This interface specifies the necessary parameters required to establish a connection with an Astra DB instance, including authentication and targeting specific data centers or regions.
Properties:
token
: The authentication token required for accessing the Astra DB instance. Essential for establishing a secure connection.endpoint
: Optional. The URL or network address of the Astra DB instance. Can be used to directly specify the connection endpoint.datacenterID
: Optional. The unique identifier of the data center to connect to. Used to compute the endpoint.regionName
: Optional. The region name of the Astra DB instance. Used to compute the endpoint. Default to the primary region.Either
endpoint
ordatacenterID
must be provided to establish a connection to Astra DB.