models_v2.parameters_to_connect_and_query_cassandra_config_file module

class models_v2.parameters_to_connect_and_query_cassandra_config_file.ParametersToConnectAndQueryCassandraConfigFile(seed_node=None, config_directory=None, is_dse_tiered_storage=None, is_dse_authenticator=None, dse_configuration_directory=None, ssh_password_credentials=None, ssh_private_key_credentials=None)[source]

Bases: object

Implementation of the ‘Parameters to connect and query cassandra config file.’ model.

Specifies the parameters to connect to a Cassandra seed node and fetch information from its cassandra config file.

Attributes:

seed_node (string): Any one seed node of the Cassandra cluster. config_directory (string): Directory path containing Cassandra

configuration YAML file.

dse_configuration_directory (string): Directory from where DSE

specific configuration can be read. This should be set only when you are using the DSE distribution of Cassandra.

is_dse_tiered_storage (bool): Set to true if this cluster has DSE

tiered storage.

is_dse_authenticator (bool): Set to true if this cluster has DSE

Authenticator.

ssh_password_credentials (SshPasswordCredentials): SSH username +

password required for reading configuration file and for scp backup.Either ‘sshPasswordCredentials’ or ‘sshPrivateKeyCredentials’ are required.

ssh_private_key_credentials (SshPrivateKeyCredentials): SSH userID +

privateKey required for reading configuration file and for scp backup.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.