CreateCloudDbSystemConnectorDetails

class oci.database_management.models.CreateCloudDbSystemConnectorDetails(**kwargs)

Bases: object

The details required to create a cloud DB system connector.

Attributes

CONNECTOR_TYPE_MACS A constant which can be used with the connector_type property of a CreateCloudDbSystemConnectorDetails.
cloud_db_system_id [Required] Gets the cloud_db_system_id of this CreateCloudDbSystemConnectorDetails.
connector_type [Required] Gets the connector_type of this CreateCloudDbSystemConnectorDetails.
display_name Gets the display_name of this CreateCloudDbSystemConnectorDetails.

Methods

__init__(**kwargs) Initializes a new CreateCloudDbSystemConnectorDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
CONNECTOR_TYPE_MACS = 'MACS'

A constant which can be used with the connector_type property of a CreateCloudDbSystemConnectorDetails. This constant has a value of “MACS”

__init__(**kwargs)

Initializes a new CreateCloudDbSystemConnectorDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • connector_type (str) – The value to assign to the connector_type property of this CreateCloudDbSystemConnectorDetails. Allowed values for this property are: “MACS”
  • display_name (str) – The value to assign to the display_name property of this CreateCloudDbSystemConnectorDetails.
  • cloud_db_system_id (str) – The value to assign to the cloud_db_system_id property of this CreateCloudDbSystemConnectorDetails.
cloud_db_system_id

[Required] Gets the cloud_db_system_id of this CreateCloudDbSystemConnectorDetails. The OCID of the cloud DB system.

Returns:The cloud_db_system_id of this CreateCloudDbSystemConnectorDetails.
Return type:str
connector_type

[Required] Gets the connector_type of this CreateCloudDbSystemConnectorDetails. The type of connector.

Allowed values for this property are: “MACS”

Returns:The connector_type of this CreateCloudDbSystemConnectorDetails.
Return type:str
display_name

Gets the display_name of this CreateCloudDbSystemConnectorDetails. The user-friendly name for the cloud connector. The name does not have to be unique.

Returns:The display_name of this CreateCloudDbSystemConnectorDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.