Class ConsoleConnection
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class ConsoleConnection
Properties
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 to contain the console connection. |
Remarks
Required
ConnectionString
Declaration
[Required(ErrorMessage = "ConnectionString is required.")]
[JsonProperty(PropertyName = "connectionString")]
public string ConnectionString { get; set; }
Property Value
Type | Description |
---|---|
string | The SSH connection string for the console connection. |
Remarks
Required
DbNodeId
Declaration
[Required(ErrorMessage = "DbNodeId is required.")]
[JsonProperty(PropertyName = "dbNodeId")]
public string DbNodeId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the database node. |
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. |
Fingerprint
Declaration
[Required(ErrorMessage = "Fingerprint is required.")]
[JsonProperty(PropertyName = "fingerprint")]
public string Fingerprint { get; set; }
Property Value
Type | Description |
---|---|
string | The SSH public key fingerprint for the console connection. |
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 console connection. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Information about the current lifecycle state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConsoleConnection.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
ConsoleConnection.LifecycleStateEnum? | The current state of the console connection. |
Remarks
Required
ServiceHostKeyFingerprint
Declaration
[JsonProperty(PropertyName = "serviceHostKeyFingerprint")]
public string ServiceHostKeyFingerprint { get; set; }
Property Value
Type | Description |
---|---|
string | The SSH public key's fingerprint for the console connection service host. |