DatabaseToolsRelatedResourceMySql

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

Bases: object

A related resource

Attributes

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

Methods

__init__(**kwargs) Initializes a new DatabaseToolsRelatedResourceMySql object with values from keyword arguments.
ENTITY_TYPE_MYSQLDBSYSTEM = 'MYSQLDBSYSTEM'

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

__init__(**kwargs)

Initializes a new DatabaseToolsRelatedResourceMySql 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 DatabaseToolsRelatedResourceMySql. Allowed values for this property are: “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 DatabaseToolsRelatedResourceMySql.
entity_type

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

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

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

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

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