Class CreateListenerDetails
The configuration details for adding a listener to a backend set.
For more information on listener configuration, see
Managing Load Balancer Listeners.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Inherited Members
Namespace: Oci.LoadbalancerService.Models
Assembly: OCI.DotNetSDK.Loadbalancer.dll
Syntax
public class CreateListenerDetails
Properties
ConnectionConfiguration
Declaration
[JsonProperty(PropertyName = "connectionConfiguration")]
public ConnectionConfiguration ConnectionConfiguration { get; set; }
Property Value
Type | Description |
---|---|
ConnectionConfiguration |
DefaultBackendSetName
Declaration
[Required(ErrorMessage = "DefaultBackendSetName is required.")]
[JsonProperty(PropertyName = "defaultBackendSetName")]
public string DefaultBackendSetName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the associated backend set.
|
Remarks
Required
HostnameNames
Declaration
[JsonProperty(PropertyName = "hostnameNames")]
public List<string> HostnameNames { get; set; }
Property Value
Type | Description |
---|---|
List<string> | An array of hostname resource names. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | A friendly name for the listener. It must be unique and it cannot be changed.
Avoid entering confidential information.
|
Remarks
Required
PathRouteSetName
Declaration
[JsonProperty(PropertyName = "pathRouteSetName")]
public string PathRouteSetName { get; set; }
Property Value
Type | Description |
---|---|
string | Deprecated. Please use |
Port
Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
int? | The communication port for the listener.
|
Remarks
Required
Protocol
Declaration
[Required(ErrorMessage = "Protocol is required.")]
[JsonProperty(PropertyName = "protocol")]
public string Protocol { get; set; }
Property Value
Type | Description |
---|---|
string | The protocol on which the listener accepts connection requests.
To get a list of valid protocols, use the {@link #listProtocols(ListProtocolsRequest) listProtocols}
operation.
|
Remarks
Required
RoutingPolicyName
Declaration
[JsonProperty(PropertyName = "routingPolicyName")]
public string RoutingPolicyName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the routing policy applied to this listener's traffic.
|
RuleSetNames
Declaration
[JsonProperty(PropertyName = "ruleSetNames")]
public List<string> RuleSetNames { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The names of the {@link RuleSet} to apply to the listener.
|
SslConfiguration
Declaration
[JsonProperty(PropertyName = "sslConfiguration")]
public SSLConfigurationDetails SslConfiguration { get; set; }
Property Value
Type | Description |
---|---|
SSLConfigurationDetails |