CloudAsmConnectionCredentialsByDetails¶
-
class
oci.database_management.models.
CloudAsmConnectionCredentialsByDetails
(**kwargs)¶ Bases:
oci.database_management.models.cloud_asm_connection_credentials.CloudAsmConnectionCredentials
The credentials used to connect to the ASM instance.
Attributes
CREDENTIAL_TYPE_DETAILS
str(object=’’) -> str CREDENTIAL_TYPE_NAME_REFERENCE
str(object=’’) -> str ROLE_SYSASM
A constant which can be used with the role property of a CloudAsmConnectionCredentialsByDetails. ROLE_SYSDBA
A constant which can be used with the role property of a CloudAsmConnectionCredentialsByDetails. ROLE_SYSOPER
A constant which can be used with the role property of a CloudAsmConnectionCredentialsByDetails. credential_name
Gets the credential_name of this CloudAsmConnectionCredentialsByDetails. credential_type
Gets the credential_type of this CloudAsmConnectionCredentials. password_secret_id
[Required] Gets the password_secret_id of this CloudAsmConnectionCredentialsByDetails. role
[Required] Gets the role of this CloudAsmConnectionCredentialsByDetails. user_name
[Required] Gets the user_name of this CloudAsmConnectionCredentialsByDetails. Methods
__init__
(**kwargs)Initializes a new CloudAsmConnectionCredentialsByDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
CREDENTIAL_TYPE_DETAILS
= 'DETAILS'¶
-
CREDENTIAL_TYPE_NAME_REFERENCE
= 'NAME_REFERENCE'¶
-
ROLE_SYSASM
= 'SYSASM'¶ A constant which can be used with the role property of a CloudAsmConnectionCredentialsByDetails. This constant has a value of “SYSASM”
-
ROLE_SYSDBA
= 'SYSDBA'¶ A constant which can be used with the role property of a CloudAsmConnectionCredentialsByDetails. This constant has a value of “SYSDBA”
-
ROLE_SYSOPER
= 'SYSOPER'¶ A constant which can be used with the role property of a CloudAsmConnectionCredentialsByDetails. This constant has a value of “SYSOPER”
-
__init__
(**kwargs)¶ Initializes a new CloudAsmConnectionCredentialsByDetails object with values from keyword arguments. The default value of the
credential_type
attribute of this class isDETAILS
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - credential_type (str) – The value to assign to the credential_type property of this CloudAsmConnectionCredentialsByDetails. Allowed values for this property are: “NAME_REFERENCE”, “DETAILS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- credential_name (str) – The value to assign to the credential_name property of this CloudAsmConnectionCredentialsByDetails.
- user_name (str) – The value to assign to the user_name property of this CloudAsmConnectionCredentialsByDetails.
- password_secret_id (str) – The value to assign to the password_secret_id property of this CloudAsmConnectionCredentialsByDetails.
- role (str) – The value to assign to the role property of this CloudAsmConnectionCredentialsByDetails. Allowed values for this property are: “SYSASM”, “SYSDBA”, “SYSOPER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
credential_name
¶ Gets the credential_name of this CloudAsmConnectionCredentialsByDetails. The name of the credential information that used to connect to the DB system resource. The name should be in “x.y” format, where the length of “x” has a maximum of 64 characters, and length of “y” has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the “.” character that separates the “x” and “y” portions of the name. IMPORTANT - The name must be unique within the OCI region the credential is being created in. If you specify a name that duplicates the name of another credential within the same OCI region, you may overwrite or corrupt the credential that is already using the name.
For example: inventorydb.abc112233445566778899
Returns: The credential_name of this CloudAsmConnectionCredentialsByDetails. Return type: str
-
credential_type
¶ Gets the credential_type of this CloudAsmConnectionCredentials. The type of credential used to connect to the ASM instance.
Allowed values for this property are: “NAME_REFERENCE”, “DETAILS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The credential_type of this CloudAsmConnectionCredentials. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
password_secret_id
¶ [Required] Gets the password_secret_id of this CloudAsmConnectionCredentialsByDetails. The OCID of the secret containing the user password.
Returns: The password_secret_id of this CloudAsmConnectionCredentialsByDetails. Return type: str
-
role
¶ [Required] Gets the role of this CloudAsmConnectionCredentialsByDetails. The role of the user connecting to the ASM instance.
Allowed values for this property are: “SYSASM”, “SYSDBA”, “SYSOPER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The role of this CloudAsmConnectionCredentialsByDetails. Return type: str
-
user_name
¶ [Required] Gets the user_name of this CloudAsmConnectionCredentialsByDetails. The user name used to connect to the ASM instance.
Returns: The user_name of this CloudAsmConnectionCredentialsByDetails. Return type: str
-