Moshe manov
Moshe manov

Reputation: 21

GCP create load balancer via api

I want to create a load balancer (TCP) via a REST API or Python SDK for GCP.

I haven't found any solutions so far.

Example from UI :

enter image description here

Upvotes: 1

Views: 1120

Answers (1)

Dustin Ingram
Dustin Ingram

Reputation: 21570

From the API's perspective, there is no "Load Balancer API", just the various compute components that make up a load balancer, such as forwarding rules and url maps.

More details on the APIs for those individual components here: https://cloud.google.com/load-balancing/docs/apis

Upvotes: 1

Related Questions