UpdateDatabaseToolsRelatedResourceDetails

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

Bases: object

The related resource

Attributes

ENTITY_TYPE_AUTONOMOUSDATABASE A constant which can be used with the entity_type property of a UpdateDatabaseToolsRelatedResourceDetails.
ENTITY_TYPE_DATABASE A constant which can be used with the entity_type property of a UpdateDatabaseToolsRelatedResourceDetails.
ENTITY_TYPE_PLUGGABLEDATABASE A constant which can be used with the entity_type property of a UpdateDatabaseToolsRelatedResourceDetails.
entity_type Gets the entity_type of this UpdateDatabaseToolsRelatedResourceDetails.
identifier Gets the identifier of this UpdateDatabaseToolsRelatedResourceDetails.

Methods

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

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

ENTITY_TYPE_DATABASE = 'DATABASE'

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

ENTITY_TYPE_PLUGGABLEDATABASE = 'PLUGGABLEDATABASE'

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

__init__(**kwargs)

Initializes a new UpdateDatabaseToolsRelatedResourceDetails 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 UpdateDatabaseToolsRelatedResourceDetails. Allowed values for this property are: “AUTONOMOUSDATABASE”, “DATABASE”, “PLUGGABLEDATABASE”
  • identifier (str) – The value to assign to the identifier property of this UpdateDatabaseToolsRelatedResourceDetails.
entity_type

Gets the entity_type of this UpdateDatabaseToolsRelatedResourceDetails. The resource entity type.

Allowed values for this property are: “AUTONOMOUSDATABASE”, “DATABASE”, “PLUGGABLEDATABASE”

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

Gets the identifier of this UpdateDatabaseToolsRelatedResourceDetails. The OCID of the related resource.

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