ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult¶
- class oci.database_tools.models.ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult(**kwargs)¶
Bases:
ValidateDatabaseToolsIdentityCredentialResultThe Database Tools identity validate credentials result for the Oracle Database resource principal identity type.
Attributes:
A constant which can be used with the type property of a ValidateDatabaseToolsIdentityCredentialResult.
Gets the action of this ValidateDatabaseToolsIdentityCredentialResult.
Gets the cause of this ValidateDatabaseToolsIdentityCredentialResult.
[Required] Gets the code of this ValidateDatabaseToolsIdentityCredentialResult.
[Required] Gets the message of this ValidateDatabaseToolsIdentityCredentialResult.
[Required] Gets the type of this ValidateDatabaseToolsIdentityCredentialResult.
Methods:
__init__(**kwargs)Initializes a new ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult 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.
- TYPE_ORACLE_DATABASE_RESOURCE_PRINCIPAL = 'ORACLE_DATABASE_RESOURCE_PRINCIPAL'¶
A constant which can be used with the type property of a ValidateDatabaseToolsIdentityCredentialResult. This constant has a value of “ORACLE_DATABASE_RESOURCE_PRINCIPAL”
- __init__(**kwargs)¶
Initializes a new ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult object with values from keyword arguments. The default value of the
typeattribute of this class isORACLE_DATABASE_RESOURCE_PRINCIPALand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
type (str) – The value to assign to the type property of this ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult. Allowed values for this property are: “ORACLE_DATABASE_RESOURCE_PRINCIPAL”
code (str) – The value to assign to the code property of this ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult.
message (str) – The value to assign to the message property of this ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult.
cause (str) – The value to assign to the cause property of this ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult.
action (str) – The value to assign to the action property of this ValidateDatabaseToolsIdentityCredentialOracleDatabaseResourcePrincipalResult.
- property action¶
Gets the action of this ValidateDatabaseToolsIdentityCredentialResult. A human-readable message that suggests a remedial action to resolve the validation error.
- Returns
The action of this ValidateDatabaseToolsIdentityCredentialResult.
- Return type
str
- property cause¶
Gets the cause of this ValidateDatabaseToolsIdentityCredentialResult. A human-readable message that describes possible causes for the validation error.
- Returns
The cause of this ValidateDatabaseToolsIdentityCredentialResult.
- Return type
str
- property code¶
[Required] Gets the code of this ValidateDatabaseToolsIdentityCredentialResult. A short code that defines the result of the validation, meant for programmatic parsing. The value OK indicates that the validation was successful.
- Returns
The code of this ValidateDatabaseToolsIdentityCredentialResult.
- 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.
- property message¶
[Required] Gets the message of this ValidateDatabaseToolsIdentityCredentialResult. A human-readable message that describes the result of the validation.
- Returns
The message of this ValidateDatabaseToolsIdentityCredentialResult.
- Return type
str
- property type¶
[Required] Gets the type of this ValidateDatabaseToolsIdentityCredentialResult. The Database Tools identity type.
Allowed values for this property are: “ORACLE_DATABASE_RESOURCE_PRINCIPAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this ValidateDatabaseToolsIdentityCredentialResult.
- Return type
str