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
Reservations
Create reservation
POST
/
cloud
/
v1
/
reservations
Copy
Ask AI
curl --request POST \
--url https://api.gcore.com/cloud/v1/reservations \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"has_windows": false,
"name": "<string>",
"period": "MONTHS12",
"region_id": 123,
"resources": [
{
"resource_name": "bm1-hf-medium",
"resource_type": "flavor",
"resource_value": 2
}
]
}'
Copy
Ask AI
{
"active_from": "2024-12-02",
"active_to": "2025-12-02",
"activity_period": "month",
"activity_period_length": 12,
"amount_prices": {
"commit_price_per_month": "1302.45570000",
"commit_price_per_unit": "1.75061250",
"commit_price_total": "15629.46840000",
"currency_code": "EUR",
"overcommit_price_per_month": "3060.60768000",
"overcommit_price_per_unit": "4.11372000",
"overcommit_price_total": "36727.29216000"
},
"billing_plan_id": 1114,
"created_at": "2024-12-02T11:53:33.127371",
"error": null,
"eta": "2025-11-01",
"id": 10218,
"is_expiration_message_visible": true,
"name": "Test_name_TestReservation_1733140407.738675",
"next_statuses": [
"APPROVED",
"REJECTED"
],
"region_id": 4,
"region_name": "LUX-4",
"remind_expiration_message": null,
"resources": [
{
"activity_period": "month",
"activity_period_length": 12,
"billing_plan_item_id": 2584252,
"commit_price_per_month": "434.15190000",
"commit_price_per_unit": "0.58353750",
"commit_price_total": "5209.82280000",
"cpu": "2xIntel Xeon 8468",
"disk": "8 x 3.84 TB NVMe",
"overcommit_billing_plan_item_id": 2585397,
"overcommit_price_per_month": "1020.20256000",
"overcommit_price_per_unit": "1.37124000",
"overcommit_price_total": "12242.43072000",
"ram": "2TB RAM",
"resource_count": 3,
"resource_name": "bm0-infrastructure-small-fake_min",
"resource_type": "flavor",
"unit_name": "H",
"unit_size_month": "744.00000000",
"unit_size_total": "8928.00000000"
}
],
"status": "CREATED",
"user_status": "CREATED"
}
Authorizations
API key for authentication.
Body
application/json
Response
201 - application/json
Created
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://api.gcore.com/cloud/v1/reservations \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"has_windows": false,
"name": "<string>",
"period": "MONTHS12",
"region_id": 123,
"resources": [
{
"resource_name": "bm1-hf-medium",
"resource_type": "flavor",
"resource_value": 2
}
]
}'
Copy
Ask AI
{
"active_from": "2024-12-02",
"active_to": "2025-12-02",
"activity_period": "month",
"activity_period_length": 12,
"amount_prices": {
"commit_price_per_month": "1302.45570000",
"commit_price_per_unit": "1.75061250",
"commit_price_total": "15629.46840000",
"currency_code": "EUR",
"overcommit_price_per_month": "3060.60768000",
"overcommit_price_per_unit": "4.11372000",
"overcommit_price_total": "36727.29216000"
},
"billing_plan_id": 1114,
"created_at": "2024-12-02T11:53:33.127371",
"error": null,
"eta": "2025-11-01",
"id": 10218,
"is_expiration_message_visible": true,
"name": "Test_name_TestReservation_1733140407.738675",
"next_statuses": [
"APPROVED",
"REJECTED"
],
"region_id": 4,
"region_name": "LUX-4",
"remind_expiration_message": null,
"resources": [
{
"activity_period": "month",
"activity_period_length": 12,
"billing_plan_item_id": 2584252,
"commit_price_per_month": "434.15190000",
"commit_price_per_unit": "0.58353750",
"commit_price_total": "5209.82280000",
"cpu": "2xIntel Xeon 8468",
"disk": "8 x 3.84 TB NVMe",
"overcommit_billing_plan_item_id": 2585397,
"overcommit_price_per_month": "1020.20256000",
"overcommit_price_per_unit": "1.37124000",
"overcommit_price_total": "12242.43072000",
"ram": "2TB RAM",
"resource_count": 3,
"resource_name": "bm0-infrastructure-small-fake_min",
"resource_type": "flavor",
"unit_name": "H",
"unit_size_month": "744.00000000",
"unit_size_total": "8928.00000000"
}
],
"status": "CREATED",
"user_status": "CREATED"
}
Assistant
Responses are generated using AI and may contain mistakes.