Class AttachLoadBalancerDetails
Represents a load balancer that is to be attached to an instance pool.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class AttachLoadBalancerDetails
Properties
BackendSetName
Declaration
[Required(ErrorMessage = "BackendSetName is required.")]
[JsonProperty(PropertyName = "backendSetName")]
public string BackendSetName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the backend set on the load balancer to add instances to. |
Remarks
Required
LoadBalancerId
Declaration
[Required(ErrorMessage = "LoadBalancerId is required.")]
[JsonProperty(PropertyName = "loadBalancerId")]
public string LoadBalancerId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the load balancer to attach to the instance pool. |
Remarks
Required
Port
Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
int? | The port value to use when creating the backend set. |
Remarks
Required
VnicSelection
Declaration
[Required(ErrorMessage = "VnicSelection is required.")]
[JsonProperty(PropertyName = "vnicSelection")]
public string VnicSelection { get; set; }
Property Value
Type | Description |
---|---|
string | Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool. |
Remarks
Required