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
- 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
- Security Groups
- 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
Video Streaming
- Streams
- Overlays
- Broadcasts
- Restreams
- Videos
- Subtitles
- Directories
- Playlists
- QualitySets
- Players
- AI
- Streaming Statistics
Object Storage
- Notifications
- Key
- Location
- Storage
- Storage Statistics
Reservations
Get reservation price features
Response all price features for reservation from active billing plat current user or use query filter.
For calculate discount of reservation compare price and over_commit_price
POST
/
cloud
/
v1
/
pricing
/
{region_id}
/
billing_reservation
Copy
Ask AI
curl --request POST \
--url https://api.gcore.com/cloud/v1/pricing/{region_id}/billing_reservation \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"has_windows": false,
"period": "MONTHS12",
"resources": [
{
"resource_name": "bm1-hf-medium",
"resource_type": "flavor",
"resource_value": 2
}
]
}'
Copy
Ask AI
{
"activity_period": "month",
"activity_period_length": 12,
"amount_prices": {
"commit_price_per_month": "117.00000000",
"commit_price_per_unit": "0.15725878",
"commit_price_total": "1404.000000",
"currency_code": "EUR",
"overcommit_price_per_month": "22154.92500000",
"overcommit_price_per_unit": "29.77812578",
"overcommit_price_total": "265859.100000"
},
"price_status": "SHOW",
"region_id": 7,
"region_name": "ED-10",
"resources": [
{
"activity_period": "month",
"activity_period_length": 12,
"commit_price_per_month": "117.00000000",
"commit_price_per_unit": "0.15725878",
"commit_price_total": "1404.000000",
"overcommit_price_per_month": "22154.92500000",
"overcommit_price_per_unit": "29.77812578",
"overcommit_price_total": "265859.100000",
"resource_name": "bm1-hf-medium_min",
"unit_name": "PC*Hour",
"unit_size_month": 744,
"unit_size_total": 8928
}
]
}
Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Region ID
Examples:
1
Body
application/json
Response
200 - application/json
OK
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://api.gcore.com/cloud/v1/pricing/{region_id}/billing_reservation \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"has_windows": false,
"period": "MONTHS12",
"resources": [
{
"resource_name": "bm1-hf-medium",
"resource_type": "flavor",
"resource_value": 2
}
]
}'
Copy
Ask AI
{
"activity_period": "month",
"activity_period_length": 12,
"amount_prices": {
"commit_price_per_month": "117.00000000",
"commit_price_per_unit": "0.15725878",
"commit_price_total": "1404.000000",
"currency_code": "EUR",
"overcommit_price_per_month": "22154.92500000",
"overcommit_price_per_unit": "29.77812578",
"overcommit_price_total": "265859.100000"
},
"price_status": "SHOW",
"region_id": 7,
"region_name": "ED-10",
"resources": [
{
"activity_period": "month",
"activity_period_length": 12,
"commit_price_per_month": "117.00000000",
"commit_price_per_unit": "0.15725878",
"commit_price_total": "1404.000000",
"overcommit_price_per_month": "22154.92500000",
"overcommit_price_per_unit": "29.77812578",
"overcommit_price_total": "265859.100000",
"resource_name": "bm1-hf-medium_min",
"unit_name": "PC*Hour",
"unit_size_month": 744,
"unit_size_total": 8928
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.