Class BackendDetails
The network network load balancing configuration details of a backend server.
Inherited Members
Namespace: Oci.NetworkloadbalancerService.Models
Assembly: OCI.DotNetSDK.Networkloadbalancer.dll
Syntax
public class BackendDetails
Properties
IpAddress
Declaration
[JsonProperty(PropertyName = "ipAddress")]
public string IpAddress { get; set; }
Property Value
Type | Description |
---|---|
string | The IP address of the backend server.
|
IsBackup
Declaration
[JsonProperty(PropertyName = "isBackup")]
public bool? IsBackup { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether the network load balancer should treat this server as a backup unit. If |
IsDrain
Declaration
[JsonProperty(PropertyName = "isDrain")]
public bool? IsDrain { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether the network load balancer should drain this server. Servers marked "isDrain" receive no
incoming traffic.
|
IsOffline
Declaration
[JsonProperty(PropertyName = "isOffline")]
public bool? IsOffline { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
traffic.
|
Name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | A read-only field showing the IP address/OCID and port that uniquely identify this backend server in the backend set.
|
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 backend server.
|
Remarks
Required
TargetId
Declaration
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string | The IP OCID/Instance OCID associated with the backend server. Example: ocid1.privateip..oc1.<unique_ID> |
Weight
Declaration
[JsonProperty(PropertyName = "weight")]
public int? Weight { get; set; }
Property Value
Type | Description |
---|---|
int? | The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections
as a server weighted '1'.
For more information about load balancing policies, see
How Network Load Balancing Policies Work.
|