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
- 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
Regions
Get region
GET
/
cloud
/
v1
/
regions
/
{region_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
)
region = client.cloud.regions.get(
region_id=11,
)
print(region.id)
Copy
Ask AI
{
"access_level": "core",
"ai_service_endpoint_id": 6,
"available_volume_types": [
"standard",
"ssd_hiiops",
"cold"
],
"coordinates": {
"latitude": 41.40338,
"longitude": 2.17403
},
"country": "LU",
"created_at": "2019-12-31T23:59:59",
"created_on": "2019-12-31T23:59:59",
"ddos_endpoint_id": 3,
"display_name": "Luxembourg",
"endpoint_type": "public",
"external_network_id": "c843c3e6-ef4d-4b92-8db2-e16ac05c5650",
"file_share_types": [
"standard",
"vast"
],
"has_ai": true,
"has_ai_gpu": true,
"has_baremetal": false,
"has_basic_vm": false,
"has_dbaas": false,
"has_k8s": true,
"has_kvm": true,
"has_sfs": false,
"id": 1,
"keystone_id": 1,
"keystone_name": "ED-9",
"metrics_database_id": 1,
"state": "NEW",
"task_id": null,
"vlan_physical_network": "br-ex",
"zone": "EMEA"
}
Authorizations
API key for authentication.
Path Parameters
Region ID
Examples:
11
Query Parameters
If true, null available_volume_type
is replaced with a list of available volume types.
Examples:
false
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
)
region = client.cloud.regions.get(
region_id=11,
)
print(region.id)
Copy
Ask AI
{
"access_level": "core",
"ai_service_endpoint_id": 6,
"available_volume_types": [
"standard",
"ssd_hiiops",
"cold"
],
"coordinates": {
"latitude": 41.40338,
"longitude": 2.17403
},
"country": "LU",
"created_at": "2019-12-31T23:59:59",
"created_on": "2019-12-31T23:59:59",
"ddos_endpoint_id": 3,
"display_name": "Luxembourg",
"endpoint_type": "public",
"external_network_id": "c843c3e6-ef4d-4b92-8db2-e16ac05c5650",
"file_share_types": [
"standard",
"vast"
],
"has_ai": true,
"has_ai_gpu": true,
"has_baremetal": false,
"has_basic_vm": false,
"has_dbaas": false,
"has_k8s": true,
"has_kvm": true,
"has_sfs": false,
"id": 1,
"keystone_id": 1,
"keystone_name": "ED-9",
"metrics_database_id": 1,
"state": "NEW",
"task_id": null,
"vlan_physical_network": "br-ex",
"zone": "EMEA"
}
Assistant
Responses are generated using AI and may contain mistakes.