models_v2.register_cassandra_source_request_parameters module¶
-
class
models_v2.register_cassandra_source_request_parameters.
RegisterCassandraSourceRequestParameters
(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, jmx_credentials=None, cassandra_credentials=None, data_center_names=None, commit_log_backup_location=None, kerberos_principal=None, dse_solr_info=None)[source]¶ Bases:
object
Implementation of the ‘Register cassandra source request parameters.’ model.
Specifies parameters to register cassandra source.
- 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.
- jmx_credentials (JmxCredentials): JMX Credentials for this cluster.
These should be the same for all the nodes
- cassandra_credentials (CassandraCredentials): Cassandra Credentials
for this cluster.
data_center_names (list of string): Data centers for this cluster. commit_log_backup_location (string): Commit Logs backup location on
cassandra nodes.
- kerberos_principal (string): Principal for the kerberos connection.
(This is required only if your Cassandra has Kerberos authentication. Please refer to the user guide.)
- dse_solr_info (AuthenticationDetailsForDSESolr): Contains details
about DSE Solr.
-
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.