RegistrationPolicyTargetDatabaseSummary¶
- class oci.data_safe.models.RegistrationPolicyTargetDatabaseSummary(**kwargs)¶
Bases:
objectSummary of a discovered database resource and its Data Safe target registered via a registration policy.
Attributes:
A constant which can be used with the discovered_resource_type property of a RegistrationPolicyTargetDatabaseSummary.
A constant which can be used with the discovered_resource_type property of a RegistrationPolicyTargetDatabaseSummary.
[Required] Gets the discovered_resource_id of this RegistrationPolicyTargetDatabaseSummary.
[Required] Gets the discovered_resource_type of this RegistrationPolicyTargetDatabaseSummary.
[Required] Gets the system_tags of this RegistrationPolicyTargetDatabaseSummary.
[Required] Gets the target_database_id of this RegistrationPolicyTargetDatabaseSummary.
Methods:
__init__(**kwargs)Initializes a new RegistrationPolicyTargetDatabaseSummary object with values from keyword arguments.
- DISCOVERED_RESOURCE_TYPE_DATABASE = 'DATABASE'¶
A constant which can be used with the discovered_resource_type property of a RegistrationPolicyTargetDatabaseSummary. This constant has a value of “DATABASE”
- DISCOVERED_RESOURCE_TYPE_PLUGGABLE_DATABASE = 'PLUGGABLE_DATABASE'¶
A constant which can be used with the discovered_resource_type property of a RegistrationPolicyTargetDatabaseSummary. This constant has a value of “PLUGGABLE_DATABASE”
- __init__(**kwargs)¶
Initializes a new RegistrationPolicyTargetDatabaseSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
discovered_resource_id (str) – The value to assign to the discovered_resource_id property of this RegistrationPolicyTargetDatabaseSummary.
discovered_resource_type (str) – The value to assign to the discovered_resource_type property of this RegistrationPolicyTargetDatabaseSummary. Allowed values for this property are: “DATABASE”, “PLUGGABLE_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
target_database_id (str) – The value to assign to the target_database_id property of this RegistrationPolicyTargetDatabaseSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this RegistrationPolicyTargetDatabaseSummary.
- property discovered_resource_id¶
[Required] Gets the discovered_resource_id of this RegistrationPolicyTargetDatabaseSummary. The ID of the discovered database resource (for example, a Database or Pluggable Database) that is part of discovery.
- Returns
The discovered_resource_id of this RegistrationPolicyTargetDatabaseSummary.
- Return type
str
- property discovered_resource_type¶
[Required] Gets the discovered_resource_type of this RegistrationPolicyTargetDatabaseSummary. The type of the discovered database resource.
Allowed values for this property are: “DATABASE”, “PLUGGABLE_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The discovered_resource_type of this RegistrationPolicyTargetDatabaseSummary.
- Return type
str
- property system_tags¶
[Required] Gets the system_tags of this RegistrationPolicyTargetDatabaseSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this RegistrationPolicyTargetDatabaseSummary.
- Return type
dict(str, dict(str, object))
- property target_database_id¶
[Required] Gets the target_database_id of this RegistrationPolicyTargetDatabaseSummary. The ID of the Data Safe Target Database associated with the discovered resource.
- Returns
The target_database_id of this RegistrationPolicyTargetDatabaseSummary.
- Return type
str