# Cloud Cost AutoStopping Load Balancers

This contains APIs to create and manage load balancers used for AutoStopping.

## Return all the load balancers

 - [GET /gateway/lw/api/accounts/{account_id}/autostopping/loadbalancers](https://apidocs.harness.io/cloud-cost-autostopping-load-balancers/listloadbalancers.md): Retrieves a list of all AutoStopping load balancers configured in your account. Load balancers act as proxy entry points that route traffic to your AutoStopping Rules.

## Update a load balancer

 - [PUT /gateway/lw/api/accounts/{account_id}/autostopping/loadbalancers](https://apidocs.harness.io/cloud-cost-autostopping-load-balancers/editloadbalancer.md): Updates the configuration of an existing AutoStopping load balancer.

## Create a load balancer

 - [POST /gateway/lw/api/accounts/{account_id}/autostopping/loadbalancers](https://apidocs.harness.io/cloud-cost-autostopping-load-balancers/createloadbalancer.md): Creates a new AutoStopping load balancer to act as a proxy entry point for routing traffic to AutoStopping Rules.

## Delete load balancers and the associated resources

 - [DELETE /gateway/lw/api/accounts/{account_id}/autostopping/loadbalancers](https://apidocs.harness.io/cloud-cost-autostopping-load-balancers/deleteloadbalancer.md): Permanently deletes one or more AutoStopping load balancers and their associated resources.

⚠️ CAUTION: This action is irreversible. Once deleted, the load balancer configuration cannot be recovered. Any AutoStopping Rules using this load balancer will lose their access point and may become inaccessible.

## Return details of a load balancer

 - [GET /gateway/lw/api/accounts/{account_id}/autostopping/loadbalancers/{lb_id}](https://apidocs.harness.io/cloud-cost-autostopping-load-balancers/describeloadbalancer.md): Retrieves detailed configuration and status information for a specific AutoStopping load balancer.

## Return all the AutoStopping Rules in a load balancer

 - [GET /gateway/lw/api/accounts/{account_id}/autostopping/loadbalancers/{lb_id}/rules](https://apidocs.harness.io/cloud-cost-autostopping-load-balancers/accesspointrules.md): Retrieves a list of all AutoStopping Rules that are configured to route traffic through a specific load balancer.

## Return last activity details of a load balancer

 - [GET /gateway/lw/api/accounts/{account_id}/autostopping/loadbalancers/{lb_id}/last_active_at](https://apidocs.harness.io/cloud-cost-autostopping-load-balancers/loadbalanceractivity.md): Retrieves the timestamp of the most recent activity (traffic) through the load balancer.

