DatabaseToolsRelatedResource

class oci.database_tools.models.DatabaseToolsRelatedResource(**kwargs)

Bases: object

A related resource

Attributes

ENTITY_TYPE_AUTONOMOUSDATABASE A constant which can be used with the entity_type property of a DatabaseToolsRelatedResource.
ENTITY_TYPE_DATABASE A constant which can be used with the entity_type property of a DatabaseToolsRelatedResource.
ENTITY_TYPE_PLUGGABLEDATABASE A constant which can be used with the entity_type property of a DatabaseToolsRelatedResource.
entity_type [Required] Gets the entity_type of this DatabaseToolsRelatedResource.
identifier [Required] Gets the identifier of this DatabaseToolsRelatedResource.

Methods

__init__(**kwargs) Initializes a new DatabaseToolsRelatedResource object with values from keyword arguments.
ENTITY_TYPE_AUTONOMOUSDATABASE = 'AUTONOMOUSDATABASE'

A constant which can be used with the entity_type property of a DatabaseToolsRelatedResource. This constant has a value of “AUTONOMOUSDATABASE”

ENTITY_TYPE_DATABASE = 'DATABASE'

A constant which can be used with the entity_type property of a DatabaseToolsRelatedResource. This constant has a value of “DATABASE”

ENTITY_TYPE_PLUGGABLEDATABASE = 'PLUGGABLEDATABASE'

A constant which can be used with the entity_type property of a DatabaseToolsRelatedResource. This constant has a value of “PLUGGABLEDATABASE”

__init__(**kwargs)

Initializes a new DatabaseToolsRelatedResource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • entity_type (str) – The value to assign to the entity_type property of this DatabaseToolsRelatedResource. Allowed values for this property are: “AUTONOMOUSDATABASE”, “DATABASE”, “PLUGGABLEDATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • identifier (str) – The value to assign to the identifier property of this DatabaseToolsRelatedResource.
entity_type

[Required] Gets the entity_type of this DatabaseToolsRelatedResource. The resource entity type.

Allowed values for this property are: “AUTONOMOUSDATABASE”, “DATABASE”, “PLUGGABLEDATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The entity_type of this DatabaseToolsRelatedResource.
Return type:str
identifier

[Required] Gets the identifier of this DatabaseToolsRelatedResource. The OCID of the related resource.

Returns:The identifier of this DatabaseToolsRelatedResource.
Return type:str