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
- GETList flavors for k8s
- GETList k8s clusters
- POSTCreate k8s cluster
- POSTCheck quota for cluster creation
- GETGet k8s cluster
- DELDelete k8s cluster
- PATCHUpdate k8s cluster
- GETGet k8s cluster CA certificate
- GETGet k8s cluster kubeconfig
- GETList instances in k8s cluster
- GETList k8s cluster pools
- POSTCreate k8s cluster pool
- GETGet k8s cluster pool details
- DELDelete k8s cluster pool
- PATCHUpdate k8s cluster pool
- GETList instances in k8s cluster pool
- POSTResize k8s cluster pool
- POSTUpgrade k8s cluster
- GETList available k8s cluster versions for upgrade
- GETList available k8s cluster versions for cluster creation
- POSTPreview cluster price
- GETGet cluster price
- GET
- 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
Managed Kubernetes
Preview cluster price
Preview billing price of the cluster based on the provided configuration.
POST
/
cloud
/
v2
/
pricing
/
{project_id}
/
{region_id}
/
k8s
/
clusters
Copy
Ask AI
curl --request POST \
--url https://api.gcore.com/cloud/v2/pricing/{project_id}/{region_id}/k8s/clusters \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"pools": [
{
"flavor_id": "g0-standard-1-2",
"node_count": 1
}
]
}'
Copy
Ask AI
{
"instances": [
{
"currency_code": "USD",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "show",
"price_without_discount_per_month": 604.8
}
],
"publicips": [
{
"currency_code": "USD",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "show",
"price_without_discount_per_month": 604.8
}
],
"total_price": {
"currency_code": "USD",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "show",
"price_without_discount_per_month": 604.8
},
"volumes": [
{
"currency_code": "USD",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "show",
"price_without_discount_per_month": 604.8
}
]
}
Authorizations
API key for authentication.
Path Parameters
Project ID
Examples:
1
Region ID
Examples:
1
Body
application/json
Response
200 - application/json
OK
Pricing scheme for various resources
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://api.gcore.com/cloud/v2/pricing/{project_id}/{region_id}/k8s/clusters \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"pools": [
{
"flavor_id": "g0-standard-1-2",
"node_count": 1
}
]
}'
Copy
Ask AI
{
"instances": [
{
"currency_code": "USD",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "show",
"price_without_discount_per_month": 604.8
}
],
"publicips": [
{
"currency_code": "USD",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "show",
"price_without_discount_per_month": 604.8
}
],
"total_price": {
"currency_code": "USD",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "show",
"price_without_discount_per_month": 604.8
},
"volumes": [
{
"currency_code": "USD",
"discount_percent": 0.16,
"price_per_hour": 1,
"price_per_month": 720,
"price_status": "show",
"price_without_discount_per_month": 604.8
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.