DatabaseToolsMcpServerRelatedResource

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

Bases: object

A related resource

Attributes

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

Methods

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

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

ENTITY_TYPE_DATABASE = 'DATABASE'

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

ENTITY_TYPE_MYSQLDBSYSTEM = 'MYSQLDBSYSTEM'

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

ENTITY_TYPE_PLUGGABLEDATABASE = 'PLUGGABLEDATABASE'

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

__init__(**kwargs)

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

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

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

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

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

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