Show / Hide Table of Contents

Class CloudListener

The details of a cloud listener.

Inheritance
object
CloudListener
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class CloudListener

Properties

AdditionalDetails

Declaration
[JsonProperty(PropertyName = "additionalDetails")]
public Dictionary<string, string> AdditionalDetails { get; set; }
Property Value
Type Description
Dictionary<string, string>

The additional details of the cloud listener defined in {\"key\": \"value\"} format. Example: {"bar-key": "value"}

AdrHomeDirectory

Declaration
[JsonProperty(PropertyName = "adrHomeDirectory")]
public string AdrHomeDirectory { get; set; }
Property Value
Type Description
string

The directory that stores tracing and logging incidents when Automatic Diagnostic Repository (ADR) is enabled.

CloudConnectorId

Declaration
[JsonProperty(PropertyName = "cloudConnectorId")]
public string CloudConnectorId { get; set; }
Property Value
Type Description
string

The OCID of the cloud connector.

CloudDbHomeId

Declaration
[JsonProperty(PropertyName = "cloudDbHomeId")]
public string CloudDbHomeId { get; set; }
Property Value
Type Description
string

The OCID of the cloud DB home.

CloudDbNodeId

Declaration
[JsonProperty(PropertyName = "cloudDbNodeId")]
public string CloudDbNodeId { get; set; }
Property Value
Type Description
string

The OCID of the cloud DB node.

CloudDbSystemId

Declaration
[Required(ErrorMessage = "CloudDbSystemId is required.")]
[JsonProperty(PropertyName = "cloudDbSystemId")]
public string CloudDbSystemId { get; set; }
Property Value
Type Description
string

The OCID of the cloud DB system that the listener is a part of.

Remarks

Required

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

ComponentName

Declaration
[Required(ErrorMessage = "ComponentName is required.")]
[JsonProperty(PropertyName = "componentName")]
public string ComponentName { get; set; }
Property Value
Type Description
string

The name of the cloud listener.

Remarks

Required

DbaasId

Declaration
[JsonProperty(PropertyName = "dbaasId")]
public string DbaasId { get; set; }
Property Value
Type Description
string

The OCID in DBaas service.

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. Example: {"Operations": {"CostCenter": "42"}}

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 cloud listener. The name does not have to be unique.

Remarks

Required

Endpoints

Declaration
[JsonProperty(PropertyName = "endpoints")]
public List<CloudListenerEndpoint> Endpoints { get; set; }
Property Value
Type Description
List<CloudListenerEndpoint>

The list of protocol addresses the listener is configured to listen on.

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. Example: {"Department": "Finance"}

HostName

Declaration
[JsonProperty(PropertyName = "hostName")]
public string HostName { get; set; }
Property Value
Type Description
string

The name of the host on which the cloud listener is running.

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the cloud listener.

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 CloudListener.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
CloudListener.LifecycleStateEnum?

The current lifecycle state of the cloud listener.

Remarks

Required

ListenerAlias

Declaration
[JsonProperty(PropertyName = "listenerAlias")]
public string ListenerAlias { get; set; }
Property Value
Type Description
string

The listener alias.

ListenerOraLocation

Declaration
[JsonProperty(PropertyName = "listenerOraLocation")]
public string ListenerOraLocation { get; set; }
Property Value
Type Description
string

The location of the listener configuration file listener.ora.

ListenerType

Declaration
[JsonProperty(PropertyName = "listenerType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CloudListener.ListenerTypeEnum? ListenerType { get; set; }
Property Value
Type Description
CloudListener.ListenerTypeEnum?

The type of listener.

LogDirectory

Declaration
[JsonProperty(PropertyName = "logDirectory")]
public string LogDirectory { get; set; }
Property Value
Type Description
string

The destination directory of the listener log file.

OracleHome

Declaration
[JsonProperty(PropertyName = "oracleHome")]
public string OracleHome { get; set; }
Property Value
Type Description
string

The Oracle home location of the listener.

ServicedAsms

Declaration
[JsonProperty(PropertyName = "servicedAsms")]
public List<CloudServicedAsm> ServicedAsms { get; set; }
Property Value
Type Description
List<CloudServicedAsm>

The list of ASMs that are serviced by the listener.

ServicedDatabases

Declaration
[JsonProperty(PropertyName = "servicedDatabases")]
public List<CloudListenerServicedDatabase> ServicedDatabases { get; set; }
Property Value
Type Description
List<CloudListenerServicedDatabase>

The list of databases that are serviced by the listener.

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. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}

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 cloud listener was created.

Remarks

Required

TimeUpdated

Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the cloud listener was last updated.

Remarks

Required

TraceDirectory

Declaration
[JsonProperty(PropertyName = "traceDirectory")]
public string TraceDirectory { get; set; }
Property Value
Type Description
string

The destination directory of the listener trace file.

Version

Declaration
[JsonProperty(PropertyName = "version")]
public string Version { get; set; }
Property Value
Type Description
string

The listener version.

In this article
Back to top