---
title: Load Balancer
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Load Balancer
---

# Load Balancer

An OCI Load Balancer distributes incoming traffic across multiple compute instances to improve availability, scalability, and reliability of applications. It supports both public and private load balancing, health checks, SSL termination, and automated failover to ensure consistent performance.

```gdscript3
oci.loadbalancing_load_balancer
```

## Fields

| Title                        | ID   | Type          | Data Type                                                                                                                                                                                                                                                                          | Description |
| ---------------------------- | ---- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                         | core | string        |
| cloud_account_id             | core | string        | The identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.                                                              |
| cloud_account_name           | core | string        | The name of the account this resource belongs to.                                                                                                                                                                                                                                  |
| cloud_provider               | core | string        | The name of the cloud provider.                                                                                                                                                                                                                                                    |
| cloud_tags                   | core | hstore        |
| compartment_id               | core | string        | The value to assign to the compartment_id property of this LoadBalancer.                                                                                                                                                                                                           |
| created_at                   | core | timestamp     | Time when the resource has been created.                                                                                                                                                                                                                                           |
| dns_name                     | core | string        | Public or private DNS name of the load balancer.                                                                                                                                                                                                                                   |
| freeform_tags                | core | hstore        | The value to assign to the freeform_tags property of this LoadBalancer.                                                                                                                                                                                                            |
| id                           | core | string        | The value to assign to the id property of this LoadBalancer.                                                                                                                                                                                                                       |
| ip_addresses                 | core | json          | The value to assign to the ip_addresses property of this LoadBalancer.                                                                                                                                                                                                             |
| ip_mode                      | core | string        | The value to assign to the ip_mode property of this LoadBalancer. Allowed values for this property are: "IPV4", "IPV6", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.                                                |
| is_delete_protection_enabled | core | bool          | The value to assign to the is_delete_protection_enabled property of this LoadBalancer.                                                                                                                                                                                             |
| is_private                   | core | bool          | The value to assign to the is_private property of this LoadBalancer.                                                                                                                                                                                                               |
| is_request_id_enabled        | core | bool          | The value to assign to the is_request_id_enabled property of this LoadBalancer.                                                                                                                                                                                                    |
| lifecycle_state              | core | string        | The value to assign to the lifecycle_state property of this LoadBalancer. Allowed values for this property are: "CREATING", "FAILED", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. |
| name                         | core | string        | The name of this resource.                                                                                                                                                                                                                                                         |
| network_security_group_ids   | core | array<string> | The value to assign to the network_security_group_ids property of this LoadBalancer.                                                                                                                                                                                               |
| oci_display_name             | core | string        |
| region_id                    | core | string        | The region this resource resides within.                                                                                                                                                                                                                                           |
| request_id_header            | core | string        | The value to assign to the request_id_header property of this LoadBalancer.                                                                                                                                                                                                        |
| resource_type                | core | string        | The name of the resource type.                                                                                                                                                                                                                                                     |
| scheme                       | core | string        | Exposure scheme of the LB (e.g., internet-facing or internal).                                                                                                                                                                                                                     |
| shape_details                | core | json          | The value to assign to the shape_details property of this LoadBalancer.                                                                                                                                                                                                            |
| shape_name                   | core | string        | The value to assign to the shape_name property of this LoadBalancer.                                                                                                                                                                                                               |
| subnet_ids                   | core | array<string> | The value to assign to the subnet_ids property of this LoadBalancer.                                                                                                                                                                                                               |
| tags                         | core | hstore_csv    |
| tenancy_ocid                 | core | string        | The OCID of the tenancy containing the resource.                                                                                                                                                                                                                                   |
| time_created                 | core | timestamp     | The value to assign to the time_created property of this LoadBalancer.                                                                                                                                                                                                             |
| type                         | core | string        | Load balancer type/class as reported by the provider.                                                                                                                                                                                                                              |
| updated_at                   | core | timestamp     | Time when the resource has been updated the last time.                                                                                                                                                                                                                             |
| zone_id                      | core | string        | The zone this resource resides within.                                                                                                                                                                                                                                             |
