CreateDatabaseToolsMcpServerDefaultDetails¶
-
class
oci.database_tools.models.CreateDatabaseToolsMcpServerDefaultDetails(**kwargs)¶ Bases:
oci.database_tools.models.create_database_tools_mcp_server_details.CreateDatabaseToolsMcpServerDetailsDetails for the new Database Tools MCP server.
Attributes
RUNTIME_IDENTITY_AUTHENTICATED_PRINCIPALstr(object=’’) -> str RUNTIME_IDENTITY_RESOURCE_PRINCIPALstr(object=’’) -> str TYPE_DEFAULTstr(object=’’) -> str access_token_expiry_in_secondsGets the access_token_expiry_in_seconds of this CreateDatabaseToolsMcpServerDetails. compartment_id[Required] Gets the compartment_id of this CreateDatabaseToolsMcpServerDetails. custom_rolesGets the custom_roles of this CreateDatabaseToolsMcpServerDetails. database_tools_connection_id[Required] Gets the database_tools_connection_id of this CreateDatabaseToolsMcpServerDetails. defined_tagsGets the defined_tags of this CreateDatabaseToolsMcpServerDetails. descriptionGets the description of this CreateDatabaseToolsMcpServerDetails. display_name[Required] Gets the display_name of this CreateDatabaseToolsMcpServerDetails. domain_id[Required] Gets the domain_id of this CreateDatabaseToolsMcpServerDefaultDetails. freeform_tagsGets the freeform_tags of this CreateDatabaseToolsMcpServerDetails. locksGets the locks of this CreateDatabaseToolsMcpServerDetails. refresh_token_expiry_in_secondsGets the refresh_token_expiry_in_seconds of this CreateDatabaseToolsMcpServerDetails. runtime_identityGets the runtime_identity of this CreateDatabaseToolsMcpServerDetails. storage[Required] Gets the storage of this CreateDatabaseToolsMcpServerDefaultDetails. type[Required] Gets the type of this CreateDatabaseToolsMcpServerDetails. Methods
__init__(**kwargs)Initializes a new CreateDatabaseToolsMcpServerDefaultDetails 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. -
RUNTIME_IDENTITY_AUTHENTICATED_PRINCIPAL= 'AUTHENTICATED_PRINCIPAL'¶
-
RUNTIME_IDENTITY_RESOURCE_PRINCIPAL= 'RESOURCE_PRINCIPAL'¶
-
TYPE_DEFAULT= 'DEFAULT'¶
-
__init__(**kwargs)¶ Initializes a new CreateDatabaseToolsMcpServerDefaultDetails object with values from keyword arguments. The default value of the
typeattribute of this class isDEFAULTand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this CreateDatabaseToolsMcpServerDefaultDetails. Allowed values for this property are: “DEFAULT”
- compartment_id (str) – The value to assign to the compartment_id property of this CreateDatabaseToolsMcpServerDefaultDetails.
- custom_roles (list[oci.database_tools.models.DatabaseToolsMcpServerCustomRole]) – The value to assign to the custom_roles property of this CreateDatabaseToolsMcpServerDefaultDetails.
- display_name (str) – The value to assign to the display_name property of this CreateDatabaseToolsMcpServerDefaultDetails.
- description (str) – The value to assign to the description property of this CreateDatabaseToolsMcpServerDefaultDetails.
- database_tools_connection_id (str) – The value to assign to the database_tools_connection_id property of this CreateDatabaseToolsMcpServerDefaultDetails.
- access_token_expiry_in_seconds (int) – The value to assign to the access_token_expiry_in_seconds property of this CreateDatabaseToolsMcpServerDefaultDetails.
- refresh_token_expiry_in_seconds (int) – The value to assign to the refresh_token_expiry_in_seconds property of this CreateDatabaseToolsMcpServerDefaultDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDatabaseToolsMcpServerDefaultDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDatabaseToolsMcpServerDefaultDetails.
- runtime_identity (str) – The value to assign to the runtime_identity property of this CreateDatabaseToolsMcpServerDefaultDetails. Allowed values for this property are: “AUTHENTICATED_PRINCIPAL”, “RESOURCE_PRINCIPAL”
- locks (list[oci.database_tools.models.ResourceLock]) – The value to assign to the locks property of this CreateDatabaseToolsMcpServerDefaultDetails.
- domain_id (str) – The value to assign to the domain_id property of this CreateDatabaseToolsMcpServerDefaultDetails.
- storage (oci.database_tools.models.DatabaseToolsMcpServerStorage) – The value to assign to the storage property of this CreateDatabaseToolsMcpServerDefaultDetails.
-
access_token_expiry_in_seconds¶ Gets the access_token_expiry_in_seconds of this CreateDatabaseToolsMcpServerDetails. Access token expiry in seconds
Returns: The access_token_expiry_in_seconds of this CreateDatabaseToolsMcpServerDetails. Return type: int
-
compartment_id¶ [Required] Gets the compartment_id of this CreateDatabaseToolsMcpServerDetails. The OCID of the compartment containing the Database Tools MCP server.
Returns: The compartment_id of this CreateDatabaseToolsMcpServerDetails. Return type: str
-
custom_roles¶ Gets the custom_roles of this CreateDatabaseToolsMcpServerDetails. Custom Roles associated with the MCP Server.
Returns: The custom_roles of this CreateDatabaseToolsMcpServerDetails. Return type: list[oci.database_tools.models.DatabaseToolsMcpServerCustomRole]
-
database_tools_connection_id¶ [Required] Gets the database_tools_connection_id of this CreateDatabaseToolsMcpServerDetails. The OCID of the related Database Tools connection.
Returns: The database_tools_connection_id of this CreateDatabaseToolsMcpServerDetails. Return type: str
Gets the defined_tags of this CreateDatabaseToolsMcpServerDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateDatabaseToolsMcpServerDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CreateDatabaseToolsMcpServerDetails. A human-readable description of the Database Tools MCP server.
Returns: The description of this CreateDatabaseToolsMcpServerDetails. Return type: str
-
display_name¶ [Required] Gets the display_name of this CreateDatabaseToolsMcpServerDetails. A meaningful, human-readable label displayed to end users. Not required to be unique and can be changed after creation. Do not include confidential information.
Returns: The display_name of this CreateDatabaseToolsMcpServerDetails. Return type: str
-
domain_id¶ [Required] Gets the domain_id of this CreateDatabaseToolsMcpServerDefaultDetails. The OCID of the associated identity domain.
Returns: The domain_id of this CreateDatabaseToolsMcpServerDefaultDetails. Return type: str
Gets the freeform_tags of this CreateDatabaseToolsMcpServerDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateDatabaseToolsMcpServerDetails. Return type: dict(str, 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.
-
locks¶ Gets the locks of this CreateDatabaseToolsMcpServerDetails. Locks associated with this resource.
Returns: The locks of this CreateDatabaseToolsMcpServerDetails. Return type: list[oci.database_tools.models.ResourceLock]
-
refresh_token_expiry_in_seconds¶ Gets the refresh_token_expiry_in_seconds of this CreateDatabaseToolsMcpServerDetails. Refresh token expiry in seconds
Returns: The refresh_token_expiry_in_seconds of this CreateDatabaseToolsMcpServerDetails. Return type: int
-
runtime_identity¶ Gets the runtime_identity of this CreateDatabaseToolsMcpServerDetails. Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller’s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the MCP Server’s resource principal (RPST).
Allowed values for this property are: “AUTHENTICATED_PRINCIPAL”, “RESOURCE_PRINCIPAL”
Returns: The runtime_identity of this CreateDatabaseToolsMcpServerDetails. Return type: str
-
storage¶ [Required] Gets the storage of this CreateDatabaseToolsMcpServerDefaultDetails.
Returns: The storage of this CreateDatabaseToolsMcpServerDefaultDetails. Return type: oci.database_tools.models.DatabaseToolsMcpServerStorage
-
type¶ [Required] Gets the type of this CreateDatabaseToolsMcpServerDetails. The Database Tools MCP server type.
Allowed values for this property are: “DEFAULT”
Returns: The type of this CreateDatabaseToolsMcpServerDetails. Return type: str
-