CreateSshDetails¶
-
class
oci.database_migration.models.
CreateSshDetails
(**kwargs)¶ Bases:
object
Details of the SSH key that will be used. Required for source database Manual and UserManagerOci connection types. Not required for source container database connections.
Methods
__init__
(**kwargs)Initializes a new CreateSshDetails object with values from keyword arguments. Attributes
host
[Required] Gets the host of this CreateSshDetails. sshkey
[Required] Gets the sshkey of this CreateSshDetails. sudo_location
Gets the sudo_location of this CreateSshDetails. user
[Required] Gets the user of this CreateSshDetails. -
__init__
(**kwargs)¶ Initializes a new CreateSshDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - host (str) – The value to assign to the host property of this CreateSshDetails.
- sshkey (str) – The value to assign to the sshkey property of this CreateSshDetails.
- user (str) – The value to assign to the user property of this CreateSshDetails.
- sudo_location (str) – The value to assign to the sudo_location property of this CreateSshDetails.
-
host
¶ [Required] Gets the host of this CreateSshDetails. Name of the host the SSH key is valid for.
Returns: The host of this CreateSshDetails. Return type: str
-
sshkey
¶ [Required] Gets the sshkey of this CreateSshDetails. Private SSH key string.
Returns: The sshkey of this CreateSshDetails. Return type: str
-
sudo_location
¶ Gets the sudo_location of this CreateSshDetails. Sudo location
Returns: The sudo_location of this CreateSshDetails. Return type: str
-
user
¶ [Required] Gets the user of this CreateSshDetails. SSH user
Returns: The user of this CreateSshDetails. Return type: str
-