CreateDatabaseToolsRelatedResourceDetails

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

Bases: object

The related resource

Attributes:

ENTITY_TYPE_AUTONOMOUSDATABASE

A constant which can be used with the entity_type property of a CreateDatabaseToolsRelatedResourceDetails.

ENTITY_TYPE_DATABASE

A constant which can be used with the entity_type property of a CreateDatabaseToolsRelatedResourceDetails.

ENTITY_TYPE_PLUGGABLEDATABASE

A constant which can be used with the entity_type property of a CreateDatabaseToolsRelatedResourceDetails.

entity_type

[Required] Gets the entity_type of this CreateDatabaseToolsRelatedResourceDetails.

identifier

[Required] Gets the identifier of this CreateDatabaseToolsRelatedResourceDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateDatabaseToolsRelatedResourceDetails object with values from keyword arguments.

ENTITY_TYPE_AUTONOMOUSDATABASE = 'AUTONOMOUSDATABASE'

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

ENTITY_TYPE_DATABASE = 'DATABASE'

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

ENTITY_TYPE_PLUGGABLEDATABASE = 'PLUGGABLEDATABASE'

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

__init__(**kwargs)

Initializes a new CreateDatabaseToolsRelatedResourceDetails 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 CreateDatabaseToolsRelatedResourceDetails. Allowed values for this property are: “AUTONOMOUSDATABASE”, “DATABASE”, “PLUGGABLEDATABASE”

  • identifier (str) – The value to assign to the identifier property of this CreateDatabaseToolsRelatedResourceDetails.

property entity_type

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

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

Returns

The entity_type of this CreateDatabaseToolsRelatedResourceDetails.

Return type

str

property identifier

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

Returns

The identifier of this CreateDatabaseToolsRelatedResourceDetails.

Return type

str