Class CreateNetworkLoadBalancerDetails
The properties that define a network load balancer. For more information, see
Managing a network load balancer.
To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, then
contact an administrator. If you are an administrator who writes policies to give users access, then see
Getting Started with Policies.
For information about endpoints and signing API requests, see
About the API. For information about available SDKs and tools, see
SDKS and Other Tools.
Inherited Members
Namespace: Oci.NetworkloadbalancerService.Models
Assembly: OCI.DotNetSDK.Networkloadbalancer.dll
Syntax
public class CreateNetworkLoadBalancerDetails
Properties
AssignedIpv6
Declaration
[JsonProperty(PropertyName = "assignedIpv6")]
public string AssignedIpv6 { get; set; }
Property Value
Type | Description |
---|---|
string | IPv6 address to be assigned to the network load balancer being created. This IP address has to be part of one of the prefixes supported by the subnet. Example: "2607:9b80:9a0a:9a7e:abcd:ef01:2345:6789" |
AssignedPrivateIpv4
Declaration
[JsonProperty(PropertyName = "assignedPrivateIpv4")]
public string AssignedPrivateIpv4 { get; set; }
Property Value
Type | Description |
---|---|
string | Private IP address to be assigned to the network load balancer being created. This IP address has to be in the CIDR range of the subnet where network load balancer is being created Example: "10.0.0.1" |
BackendSets
Declaration
[JsonProperty(PropertyName = "backendSets")]
public Dictionary<string, BackendSetDetails> BackendSets { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, BackendSetDetails> | Backend sets associated with the network load balancer. |
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 containing the network load balancer. |
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. Example: {"foo-namespace": {"bar-key": "value"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Network load balancer identifier, which can be renamed. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
IsPreserveSourceDestination
Declaration
[JsonProperty(PropertyName = "isPreserveSourceDestination")]
public bool? IsPreserveSourceDestination { get; set; }
Property Value
Type | Description |
---|---|
bool? | This parameter can be enabled only if backends are compute OCIDs. When enabled, the skipSourceDestinationCheck parameter is automatically enabled on the load balancer VNIC, and packets are sent to the backend with the entire IP header intact. |
IsPrivate
Declaration
[JsonProperty(PropertyName = "isPrivate")]
public bool? IsPrivate { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether the network load balancer has a virtual cloud network-local (private) IP address.
|
IsSymmetricHashEnabled
Declaration
[JsonProperty(PropertyName = "isSymmetricHashEnabled")]
public bool? IsSymmetricHashEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled. This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT. |
Listeners
Declaration
[JsonProperty(PropertyName = "listeners")]
public Dictionary<string, ListenerDetails> Listeners { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, ListenerDetails> | Listeners associated with the network load balancer. |
NetworkSecurityGroupIds
Declaration
[JsonProperty(PropertyName = "networkSecurityGroupIds")]
public List<string> NetworkSecurityGroupIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | An array of network security groups OCIDs associated with the network load
balancer.
|
NlbIpVersion
Declaration
[JsonProperty(PropertyName = "nlbIpVersion")]
[JsonConverter(typeof(StringEnumConverter))]
public NlbIpVersion? NlbIpVersion { get; set; }
Property Value
Type | Description |
---|---|
NlbIpVersion? | IP version associated with the NLB. |
ReservedIps
Declaration
[JsonProperty(PropertyName = "reservedIps")]
public List<ReservedIP> ReservedIps { get; set; }
Property Value
Type | Description |
---|---|
List<ReservedIP> | An array of reserved Ips. |
SecurityAttributes
Declaration
[JsonProperty(PropertyName = "securityAttributes")]
public Dictionary<string, Dictionary<string, object>> SecurityAttributes { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | ZPR 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.
|
SubnetId
Declaration
[Required(ErrorMessage = "SubnetId is required.")]
[JsonProperty(PropertyName = "subnetId")]
public string SubnetId { get; set; }
Property Value
Type | Description |
---|---|
string | The subnet in which the network load balancer is spawned OCIDs. |
Remarks
Required
SubnetIpv6Cidr
Declaration
[JsonProperty(PropertyName = "subnetIpv6Cidr")]
public string SubnetIpv6Cidr { get; set; }
Property Value
Type | Description |
---|---|
string | IPv6 subnet prefix selection. If Ipv6 subnet prefix is passed, Nlb Ipv6 Address would be assign within the cidr block. NLB has to be dual or single stack ipv6 to support this. |