CreateDatabaseToolsMcpServerDetails¶
- class oci.database_tools.models.CreateDatabaseToolsMcpServerDetails(**kwargs)¶
Bases:
objectDetails for the new Database Tools MCP server.
Attributes:
A constant which can be used with the runtime_identity property of a CreateDatabaseToolsMcpServerDetails.
A constant which can be used with the runtime_identity property of a CreateDatabaseToolsMcpServerDetails.
A constant which can be used with the type property of a CreateDatabaseToolsMcpServerDetails.
Gets the access_token_expiry_in_seconds of this CreateDatabaseToolsMcpServerDetails.
[Required] Gets the compartment_id of this CreateDatabaseToolsMcpServerDetails.
Gets the custom_roles of this CreateDatabaseToolsMcpServerDetails.
[Required] Gets the database_tools_connection_id of this CreateDatabaseToolsMcpServerDetails.
Gets the defined_tags of this CreateDatabaseToolsMcpServerDetails.
Gets the description of this CreateDatabaseToolsMcpServerDetails.
[Required] Gets the display_name of this CreateDatabaseToolsMcpServerDetails.
Gets the freeform_tags of this CreateDatabaseToolsMcpServerDetails.
Gets the locks of this CreateDatabaseToolsMcpServerDetails.
Gets the refresh_token_expiry_in_seconds of this CreateDatabaseToolsMcpServerDetails.
Gets the runtime_identity of this CreateDatabaseToolsMcpServerDetails.
[Required] Gets the type of this CreateDatabaseToolsMcpServerDetails.
Methods:
__init__(**kwargs)Initializes a new CreateDatabaseToolsMcpServerDetails 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'¶
A constant which can be used with the runtime_identity property of a CreateDatabaseToolsMcpServerDetails. This constant has a value of “AUTHENTICATED_PRINCIPAL”
- RUNTIME_IDENTITY_RESOURCE_PRINCIPAL = 'RESOURCE_PRINCIPAL'¶
A constant which can be used with the runtime_identity property of a CreateDatabaseToolsMcpServerDetails. This constant has a value of “RESOURCE_PRINCIPAL”
- TYPE_DEFAULT = 'DEFAULT'¶
A constant which can be used with the type property of a CreateDatabaseToolsMcpServerDetails. This constant has a value of “DEFAULT”
- __init__(**kwargs)¶
Initializes a new CreateDatabaseToolsMcpServerDetails 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
type (str) – The value to assign to the type property of this CreateDatabaseToolsMcpServerDetails. Allowed values for this property are: “DEFAULT”
compartment_id (str) – The value to assign to the compartment_id property of this CreateDatabaseToolsMcpServerDetails.
custom_roles (list[oci.database_tools.models.DatabaseToolsMcpServerCustomRole]) – The value to assign to the custom_roles property of this CreateDatabaseToolsMcpServerDetails.
display_name (str) – The value to assign to the display_name property of this CreateDatabaseToolsMcpServerDetails.
description (str) – The value to assign to the description property of this CreateDatabaseToolsMcpServerDetails.
database_tools_connection_id (str) – The value to assign to the database_tools_connection_id property of this CreateDatabaseToolsMcpServerDetails.
access_token_expiry_in_seconds (int) – The value to assign to the access_token_expiry_in_seconds property of this CreateDatabaseToolsMcpServerDetails.
refresh_token_expiry_in_seconds (int) – The value to assign to the refresh_token_expiry_in_seconds property of this CreateDatabaseToolsMcpServerDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDatabaseToolsMcpServerDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDatabaseToolsMcpServerDetails.
runtime_identity (str) – The value to assign to the runtime_identity property of this CreateDatabaseToolsMcpServerDetails. 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 CreateDatabaseToolsMcpServerDetails.
- property 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
- property 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
- property 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]
- property 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
- property defined_tags¶
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))
- property 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
- property 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
- property freeform_tags¶
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.
- property locks¶
Gets the locks of this CreateDatabaseToolsMcpServerDetails. Locks associated with this resource.
- Returns
The locks of this CreateDatabaseToolsMcpServerDetails.
- Return type
- property 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
- property 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
- property 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