CreateDatabaseToolsMcpToolsetToolDetails¶
-
class
oci.database_tools.models.CreateDatabaseToolsMcpToolsetToolDetails(**kwargs)¶ Bases:
objectMCP toolset tool configuration
Attributes
STATUS_DISABLEDA constant which can be used with the status property of a CreateDatabaseToolsMcpToolsetToolDetails. STATUS_ENABLEDA constant which can be used with the status property of a CreateDatabaseToolsMcpToolsetToolDetails. allowed_rolesGets the allowed_roles of this CreateDatabaseToolsMcpToolsetToolDetails. name[Required] Gets the name of this CreateDatabaseToolsMcpToolsetToolDetails. statusGets the status of this CreateDatabaseToolsMcpToolsetToolDetails. Methods
__init__(**kwargs)Initializes a new CreateDatabaseToolsMcpToolsetToolDetails object with values from keyword arguments. -
STATUS_DISABLED= 'DISABLED'¶ A constant which can be used with the status property of a CreateDatabaseToolsMcpToolsetToolDetails. This constant has a value of “DISABLED”
-
STATUS_ENABLED= 'ENABLED'¶ A constant which can be used with the status property of a CreateDatabaseToolsMcpToolsetToolDetails. This constant has a value of “ENABLED”
-
__init__(**kwargs)¶ Initializes a new CreateDatabaseToolsMcpToolsetToolDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this CreateDatabaseToolsMcpToolsetToolDetails.
- status (str) – The value to assign to the status property of this CreateDatabaseToolsMcpToolsetToolDetails. Allowed values for this property are: “ENABLED”, “DISABLED”
- allowed_roles (list[str]) – The value to assign to the allowed_roles property of this CreateDatabaseToolsMcpToolsetToolDetails.
-
allowed_roles¶ Gets the allowed_roles of this CreateDatabaseToolsMcpToolsetToolDetails. The roles granted access to this tool
Returns: The allowed_roles of this CreateDatabaseToolsMcpToolsetToolDetails. Return type: list[str]
-
name¶ [Required] Gets the name of this CreateDatabaseToolsMcpToolsetToolDetails. The name of the tool
Returns: The name of this CreateDatabaseToolsMcpToolsetToolDetails. Return type: str
-
status¶ Gets the status of this CreateDatabaseToolsMcpToolsetToolDetails. The status of the tool
Allowed values for this property are: “ENABLED”, “DISABLED”
Returns: The status of this CreateDatabaseToolsMcpToolsetToolDetails. Return type: str
-