Class CreateDatabaseToolsMcpServerDetails
Details for the new Database Tools MCP server.
Inherited Members
Namespace: Oci.DatabasetoolsService.Models
Assembly: OCI.DotNetSDK.Databasetools.dll
Syntax
[JsonConverter(typeof(CreateDatabaseToolsMcpServerDetailsModelConverter))]
public class CreateDatabaseToolsMcpServerDetails
Properties
AccessTokenExpiryInSeconds
Declaration
[JsonProperty(PropertyName = "accessTokenExpiryInSeconds")]
public int? AccessTokenExpiryInSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Access token expiry in seconds |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the compartment containing the Database Tools MCP server. |
Remarks
Required
CustomRoles
Declaration
[JsonProperty(PropertyName = "customRoles")]
public List<DatabaseToolsMcpServerCustomRole> CustomRoles { get; set; }
Property Value
| Type | Description |
|---|---|
| List<DatabaseToolsMcpServerCustomRole> | Custom Roles associated with the MCP Server. |
DatabaseToolsConnectionId
Declaration
[Required(ErrorMessage = "DatabaseToolsConnectionId is required.")]
[JsonProperty(PropertyName = "databaseToolsConnectionId")]
public string DatabaseToolsConnectionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the related Database Tools connection. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A human-readable description of the Database Tools MCP server. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | 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. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Locks
Declaration
[JsonProperty(PropertyName = "locks")]
public List<ResourceLock> Locks { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ResourceLock> | Locks associated with this resource. |
RefreshTokenExpiryInSeconds
Declaration
[JsonProperty(PropertyName = "refreshTokenExpiryInSeconds")]
public int? RefreshTokenExpiryInSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Refresh token expiry in seconds |
RuntimeIdentity
Declaration
[JsonProperty(PropertyName = "runtimeIdentity")]
[JsonConverter(typeof(StringEnumConverter))]
public DatabaseToolsMcpServerRuntimeIdentity? RuntimeIdentity { get; set; }
Property Value
| Type | Description |
|---|---|
| DatabaseToolsMcpServerRuntimeIdentity? | Specifies the identity used when accessing OCI resources at runtime. AUTHENTICATED_PRINCIPAL to use the caller\u2019s identity (On-Behalf-Of token), or RESOURCE_PRINCIPAL to use the MCP Server\u2019s resource principal (RPST). |