Overview
IAM
- Account
- Users
- API Tokens
CDN
- IP addresses list
- CDN service
- Origins
- CDN resources
- CDN activity logs
- Log forwarding
- Log viewer
- Logs uploader
- Tools
- Rules
- Rule templates
- Purge history
- SSL certificates
- CA certificates
- CDN Statistics
- Advanced analytics
- Origin shielding
- Let's Encrypt certificates
Managed DNS
- Analyze
- Locations
- Lookup
- Metrics
- Pickers
- DNS Clients
- Zones
- DNSSEC
- RRsets
Cloud
- Bare Metal
- Container as a Service
- Cost Reports
- DDOS Protection
- File Shares
- Firewalls
- Floating IPs
- Function as a Service
- GPU Cloud
- IP Ranges
- Images
- Inference Instances
- Instances
- Load Balancers
- GETList load balancer L7 policies
- POSTCreate load balancer L7 policy
- GETGet load balancer L7 policy
- PUTReplace load balancer L7 policy properties
- DELDelete load balancer L7 policy
- GETList load balancer L7 policy rules
- POSTCreate load balancer L7 rule
- GETGet load balancer L7 rule
- PUTReplace load balancer L7 rule properties
- DELDelete load balancer L7 rule
- GETList load balancer flavors
- GETList load balancer listeners
- POSTCreate load balancer listener
- GETGet listener
- DELDelete load balancer listener
- PATCHRename listener
- GETList load balancer pools
- POSTCreate load balancer pool
- GETGet load balancer pool
- DELDelete load balancer pool
- PATCHPatch load balancer pool
- POSTCreate Load Balancer Pool Health Monitor
- DELDelete load balancer pool health monitor
- POSTCreate load balancer pool member
- DELDelete load balancer pool member
- GETList load balancers
- POSTCreate load balancer
- POSTCheck quota for load balancer creation
- GETList load balancers statuses
- GETGet load balancer
- DELDelete load balancer
- PATCHRename load balancer, activate/deactivate logs or update preferred connectivity for load balancer
- POSTFailover loadbalancer
- GETList loadbalancer tags
- PUTDeprecated. Replace loadbalancer tagsdeprecated
- POSTDeprecated. Create or update loadbalancer tagsdeprecated
- GETGet loadbalancer tag by key
- DELDeprecated. Delete loadbalancer tag by keydeprecated
- POSTGet loadbalancer metrics
- POSTResize loadbalancer
- GETGet load balancer status
- POSTPreview load balancer pricedeprecated
- PATCHUpdate listener
- PUTReplace loadbalancer tags V2
- POSTCreate or update loadbalancer tags V2
- DELDelete loadbalancer tag by key V2
- POSTPreview load balancer price
- GET
- Logging
- Managed Kubernetes
- Managed PostgreSQL
- Networks
- Placement Groups
- Projects
- Quotas
- Regions
- Registry
- Reservations
- Reserved IPs
- Routers
- SSH Keys
- Secrets
- Service Endpoints
- Snapshot Schedules
- Snapshots
- Tasks
- User Actions
- User Role Assignments
- Volumes
Security
- Event Logs
- BGP announces
- Security Templates
- Profiles
FastEdge
- Apps
- Binaries
- FastEdge Clients
- FastEdge Secrets
- Stats
- FastEdge Templates
WAAP
- WAAP Service
- Domains
- Policies
- Analytics
- Custom Page Sets
- Custom Rules
- Firewall Rules
- Advanced Rules
- Tags
- Network Organizations
- API Discovery
- IP Spotlight
- Security Insights
Web Security
- Billing Statistics
- Resources
Video Streaming
- Streams
- Overlays
- Broadcasts
- Restreams
- Videos
- Subtitles
- Directories
- Playlists
- QualitySets
- Players
- AI
- Streaming Statistics
Object Storage
- Notifications
- Key
- Location
- Storage
- Storage Statistics
Load Balancers
Get load balancer pool
GET
/
cloud
/
v1
/
lbpools
/
{project_id}
/
{region_id}
/
{pool_id}
Copy
Ask AI
import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
load_balancer_pool = client.cloud.load_balancers.pools.get(
pool_id="00000000-0000-4000-8000-000000000000",
project_id=1,
region_id=1,
)
print(load_balancer_pool.id)
Copy
Ask AI
{
"ca_secret_id": "<string>",
"creator_task_id": "d8334c12-2881-4c4a-84ad-1b21fea73ad1",
"crl_secret_id": "<string>",
"healthmonitor": {
"delay": 10,
"http_method": "GET",
"max_retries": 3,
"max_retries_down": 3,
"timeout": 5,
"type": "HTTP",
"url_path": "/"
},
"id": "9fccf0a3-c0de-441d-9afd-2b9b58b08b9f",
"lb_algorithm": "ROUND_ROBIN",
"listeners": [
{
"id": "c63341da-ea44-4027-bbf6-1f1939c783da"
}
],
"loadbalancers": [
{
"id": "79943b39-5e67-47e1-8878-85044b39667a"
}
],
"members": [
{
"address": "192.168.40.33",
"admin_state_up": false,
"id": "a7e7e8d6-0bf7-4ac9-8170-831b47ee2ba9",
"monitor_address": null,
"monitor_port": null,
"operating_status": "ONLINE",
"protocol_port": 80,
"provisioning_status": "ACTIVE",
"subnet_id": "32283b0b-b560-4690-810c-f672cbb2e28d",
"weight": 1
}
],
"name": "lbaas_test_pool",
"operating_status": "ONLINE",
"protocol": "TCP",
"provisioning_status": "ACTIVE",
"secret_id": "<string>",
"session_persistence": {
"cookie_name": "cookie_name",
"persistence_granularity": "<string>",
"persistence_timeout": 123,
"type": "APP_COOKIE"
},
"task_id": null,
"timeout_client_data": 50000,
"timeout_member_connect": 50000,
"timeout_member_data": null
}
Authorizations
API key for authentication.
Path Parameters
Project ID
Examples:
1
Region ID
Required range:
x > 0
Examples:
1
Pool ID
Examples:
"00000000-0000-4000-8000-000000000000"
Response
200 - application/json
OK
The response is of type object
.
Was this page helpful?
Copy
Ask AI
import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
load_balancer_pool = client.cloud.load_balancers.pools.get(
pool_id="00000000-0000-4000-8000-000000000000",
project_id=1,
region_id=1,
)
print(load_balancer_pool.id)
Copy
Ask AI
{
"ca_secret_id": "<string>",
"creator_task_id": "d8334c12-2881-4c4a-84ad-1b21fea73ad1",
"crl_secret_id": "<string>",
"healthmonitor": {
"delay": 10,
"http_method": "GET",
"max_retries": 3,
"max_retries_down": 3,
"timeout": 5,
"type": "HTTP",
"url_path": "/"
},
"id": "9fccf0a3-c0de-441d-9afd-2b9b58b08b9f",
"lb_algorithm": "ROUND_ROBIN",
"listeners": [
{
"id": "c63341da-ea44-4027-bbf6-1f1939c783da"
}
],
"loadbalancers": [
{
"id": "79943b39-5e67-47e1-8878-85044b39667a"
}
],
"members": [
{
"address": "192.168.40.33",
"admin_state_up": false,
"id": "a7e7e8d6-0bf7-4ac9-8170-831b47ee2ba9",
"monitor_address": null,
"monitor_port": null,
"operating_status": "ONLINE",
"protocol_port": 80,
"provisioning_status": "ACTIVE",
"subnet_id": "32283b0b-b560-4690-810c-f672cbb2e28d",
"weight": 1
}
],
"name": "lbaas_test_pool",
"operating_status": "ONLINE",
"protocol": "TCP",
"provisioning_status": "ACTIVE",
"secret_id": "<string>",
"session_persistence": {
"cookie_name": "cookie_name",
"persistence_granularity": "<string>",
"persistence_timeout": 123,
"type": "APP_COOKIE"
},
"task_id": null,
"timeout_client_data": 50000,
"timeout_member_connect": 50000,
"timeout_member_data": null
}
Assistant
Responses are generated using AI and may contain mistakes.