Class ExternalDatabaseConnector
An Oracle Cloud Infrastructure resource used to connect to an external Oracle Database. This resource stores the database connection string, user credentials, and related details that allow you to manage your external database using the Oracle Cloud Infrastructure Console and API interfaces.
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
[JsonConverter(typeof(ExternalDatabaseConnectorModelConverter))]
public class ExternalDatabaseConnectorProperties
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. | 
Remarks
Required
ConnectionStatus
Declaration
[Required(ErrorMessage = "ConnectionStatus is required.")]
[JsonProperty(PropertyName = "connectionStatus")]
public string ConnectionStatus { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The status of connectivity to the external database. | 
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. For more information, see Resource Tags. | 
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The user-friendly name for the {@link #createExternalDatabaseConnectorDetails(CreateExternalDatabaseConnectorDetailsRequest) createExternalDatabaseConnectorDetails}. The name does not have to be unique. | 
Remarks
Required
ExternalDatabaseId
Declaration
[Required(ErrorMessage = "ExternalDatabaseId is required.")]
[JsonProperty(PropertyName = "externalDatabaseId")]
public string ExternalDatabaseId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the external database resource. | 
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
 | 
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the {@link #createExternalDatabaseConnectorDetails(CreateExternalDatabaseConnectorDetailsRequest) createExternalDatabaseConnectorDetails}. | 
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Additional information about the current lifecycle state. | 
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ExternalDatabaseConnector.LifecycleStateEnum? LifecycleState { get; set; }Property Value
| Type | Description | 
|---|---|
| ExternalDatabaseConnector.LifecycleStateEnum? | The current lifecycle state of the external database connector resource. | 
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. | 
TimeConnectionStatusLastUpdated
Declaration
[Required(ErrorMessage = "TimeConnectionStatusLastUpdated is required.")]
[JsonProperty(PropertyName = "timeConnectionStatusLastUpdated")]
public DateTime? TimeConnectionStatusLastUpdated { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The date and time the connectionStatus of this external connector was last updated. | 
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The date and time the external connector was created. | 
Remarks
Required