models_v2.update_registeration_of_hive_source module

class models_v2.update_registeration_of_hive_source.UpdateRegisterationOfHiveSource(host=None, configuration_directory=None, ssh_password_credentials=None, ssh_private_key_credentials=None, kerberos_principal=None)[source]

Bases: object

Implementation of the ‘Update Registeration of Hive source .’ model.

Specifies parameters to update registration of Hive source.

Attributes:
host (string): IP or hostname of any host from which the Hive

configuration file hive-site.xml can be read.

configuration_directory (string): The directory containing the

hive-site.xml.

ssh_password_credentials (SshPasswordCredentials3): SSH username +

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

ssh_private_key_credentials (SshPrivateKeyCredentials3): SSH userID +

privateKey required for reading configuration file.

kerberos_principal (string): The kerberos principal to be used to

connect to this Hive source.

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.