NetworkLoadBalancerSummary

class oci.network_load_balancer.models.NetworkLoadBalancerSummary(**kwargs)

Bases: object

Network load balancer object to be used for list operations.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary.
NLB_IP_VERSION_IPV4 A constant which can be used with the nlb_ip_version property of a NetworkLoadBalancerSummary.
NLB_IP_VERSION_IPV4_AND_IPV6 A constant which can be used with the nlb_ip_version property of a NetworkLoadBalancerSummary.
NLB_IP_VERSION_IPV6 A constant which can be used with the nlb_ip_version property of a NetworkLoadBalancerSummary.
backend_sets Gets the backend_sets of this NetworkLoadBalancerSummary.
compartment_id [Required] Gets the compartment_id of this NetworkLoadBalancerSummary.
defined_tags Gets the defined_tags of this NetworkLoadBalancerSummary.
display_name [Required] Gets the display_name of this NetworkLoadBalancerSummary.
freeform_tags Gets the freeform_tags of this NetworkLoadBalancerSummary.
id [Required] Gets the id of this NetworkLoadBalancerSummary.
ip_addresses [Required] Gets the ip_addresses of this NetworkLoadBalancerSummary.
is_preserve_source_destination Gets the is_preserve_source_destination of this NetworkLoadBalancerSummary.
is_private Gets the is_private of this NetworkLoadBalancerSummary.
is_symmetric_hash_enabled Gets the is_symmetric_hash_enabled of this NetworkLoadBalancerSummary.
lifecycle_details Gets the lifecycle_details of this NetworkLoadBalancerSummary.
lifecycle_state [Required] Gets the lifecycle_state of this NetworkLoadBalancerSummary.
listeners Gets the listeners of this NetworkLoadBalancerSummary.
network_security_group_ids Gets the network_security_group_ids of this NetworkLoadBalancerSummary.
nlb_ip_version Gets the nlb_ip_version of this NetworkLoadBalancerSummary.
subnet_id [Required] Gets the subnet_id of this NetworkLoadBalancerSummary.
system_tags Gets the system_tags of this NetworkLoadBalancerSummary.
time_created [Required] Gets the time_created of this NetworkLoadBalancerSummary.
time_updated Gets the time_updated of this NetworkLoadBalancerSummary.

Methods

__init__(**kwargs) Initializes a new NetworkLoadBalancerSummary object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a NetworkLoadBalancerSummary. This constant has a value of “UPDATING”

NLB_IP_VERSION_IPV4 = 'IPV4'

A constant which can be used with the nlb_ip_version property of a NetworkLoadBalancerSummary. This constant has a value of “IPV4”

NLB_IP_VERSION_IPV4_AND_IPV6 = 'IPV4_AND_IPV6'

A constant which can be used with the nlb_ip_version property of a NetworkLoadBalancerSummary. This constant has a value of “IPV4_AND_IPV6”

NLB_IP_VERSION_IPV6 = 'IPV6'

A constant which can be used with the nlb_ip_version property of a NetworkLoadBalancerSummary. This constant has a value of “IPV6”

__init__(**kwargs)

Initializes a new NetworkLoadBalancerSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this NetworkLoadBalancerSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this NetworkLoadBalancerSummary.
  • display_name (str) – The value to assign to the display_name property of this NetworkLoadBalancerSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this NetworkLoadBalancerSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this NetworkLoadBalancerSummary.
  • nlb_ip_version (str) – The value to assign to the nlb_ip_version property of this NetworkLoadBalancerSummary. Allowed values for this property are: “IPV4”, “IPV4_AND_IPV6”, “IPV6”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this NetworkLoadBalancerSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this NetworkLoadBalancerSummary.
  • ip_addresses (list[oci.network_load_balancer.models.IpAddress]) – The value to assign to the ip_addresses property of this NetworkLoadBalancerSummary.
  • is_private (bool) – The value to assign to the is_private property of this NetworkLoadBalancerSummary.
  • is_preserve_source_destination (bool) – The value to assign to the is_preserve_source_destination property of this NetworkLoadBalancerSummary.
  • is_symmetric_hash_enabled (bool) – The value to assign to the is_symmetric_hash_enabled property of this NetworkLoadBalancerSummary.
  • subnet_id (str) – The value to assign to the subnet_id property of this NetworkLoadBalancerSummary.
  • network_security_group_ids (list[str]) – The value to assign to the network_security_group_ids property of this NetworkLoadBalancerSummary.
  • listeners (dict(str, Listener)) – The value to assign to the listeners property of this NetworkLoadBalancerSummary.
  • backend_sets (dict(str, BackendSet)) – The value to assign to the backend_sets property of this NetworkLoadBalancerSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this NetworkLoadBalancerSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this NetworkLoadBalancerSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this NetworkLoadBalancerSummary.
backend_sets

Gets the backend_sets of this NetworkLoadBalancerSummary. Backend sets associated with the network load balancer.

Returns:The backend_sets of this NetworkLoadBalancerSummary.
Return type:dict(str, BackendSet)
compartment_id

[Required] Gets the compartment_id of this NetworkLoadBalancerSummary. The OCID of the compartment containing the network load balancer.

Returns:The compartment_id of this NetworkLoadBalancerSummary.
Return type:str
defined_tags

Gets the defined_tags of this NetworkLoadBalancerSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this NetworkLoadBalancerSummary.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this NetworkLoadBalancerSummary. A user-friendly name, which does not have to be unique, and can be changed.

Example: example_load_balancer

Returns:The display_name of this NetworkLoadBalancerSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this NetworkLoadBalancerSummary. 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”}

Returns:The freeform_tags of this NetworkLoadBalancerSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this NetworkLoadBalancerSummary. The OCID of the network load balancer.

Returns:The id of this NetworkLoadBalancerSummary.
Return type:str
ip_addresses

[Required] Gets the ip_addresses of this NetworkLoadBalancerSummary. An array of IP addresses.

Returns:The ip_addresses of this NetworkLoadBalancerSummary.
Return type:list[oci.network_load_balancer.models.IpAddress]
is_preserve_source_destination

Gets the is_preserve_source_destination of this NetworkLoadBalancerSummary. When enabled, the skipSourceDestinationCheck parameter is automatically enabled on the load balancer VNIC. Packets are sent to the backend set without any changes to the source and destination IP.

Returns:The is_preserve_source_destination of this NetworkLoadBalancerSummary.
Return type:bool
is_private

Gets the is_private of this NetworkLoadBalancerSummary. Whether the network load balancer has a virtual cloud network-local (private) IP address.

If “true”, then the service assigns a private IP address to the network load balancer.

If “false”, then the service assigns a public IP address to the network load balancer.

A public network load balancer is accessible from the internet, depending the security list rules for your virtual cloudn network. For more information about public and private network load balancers, see How Network Load Balancing Works. This value is true by default.

Example: true

Returns:The is_private of this NetworkLoadBalancerSummary.
Return type:bool
is_symmetric_hash_enabled

Gets the is_symmetric_hash_enabled of this NetworkLoadBalancerSummary. 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.

Returns:The is_symmetric_hash_enabled of this NetworkLoadBalancerSummary.
Return type:bool
lifecycle_details

Gets the lifecycle_details of this NetworkLoadBalancerSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Returns:The lifecycle_details of this NetworkLoadBalancerSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this NetworkLoadBalancerSummary. The current state of the network load balancer.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this NetworkLoadBalancerSummary.
Return type:str
listeners

Gets the listeners of this NetworkLoadBalancerSummary. Listeners associated with the network load balancer.

Returns:The listeners of this NetworkLoadBalancerSummary.
Return type:dict(str, Listener)
network_security_group_ids

Gets the network_security_group_ids of this NetworkLoadBalancerSummary. An array of network security groups OCIDs associated with the network load balancer.

During the creation of the network load balancer, the service adds the new load balancer to the specified network security groups.

The benefits of associating the network load balancer with network security groups include:

  • Network security groups define network security rules to govern ingress and egress traffic for the network load balancer.
  • The network security rules of other resources can reference the network security groups associated with the network load balancer to ensure access.

Example: [“ocid1.nsg.oc1.phx.unique_ID”]

Returns:The network_security_group_ids of this NetworkLoadBalancerSummary.
Return type:list[str]
nlb_ip_version

Gets the nlb_ip_version of this NetworkLoadBalancerSummary. IP version associated with the NLB.

Allowed values for this property are: “IPV4”, “IPV4_AND_IPV6”, “IPV6”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The nlb_ip_version of this NetworkLoadBalancerSummary.
Return type:str
subnet_id

[Required] Gets the subnet_id of this NetworkLoadBalancerSummary. The subnet in which the network load balancer is spawned OCIDs.”

Returns:The subnet_id of this NetworkLoadBalancerSummary.
Return type:str
system_tags

Gets the system_tags of this NetworkLoadBalancerSummary. Key-value pair representing system tags’ keys and values scoped to a namespace. Example: {“bar-key”: “value”}

Returns:The system_tags of this NetworkLoadBalancerSummary.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this NetworkLoadBalancerSummary. The date and time the network load balancer was created, in the format defined by RFC3339.

Example: 2020-05-01T21:10:29.600Z

Returns:The time_created of this NetworkLoadBalancerSummary.
Return type:datetime
time_updated

Gets the time_updated of this NetworkLoadBalancerSummary. The time the network load balancer was updated. An RFC3339 formatted date-time string.

Example: 2020-05-01T22:10:29.600Z

Returns:The time_updated of this NetworkLoadBalancerSummary.
Return type:datetime