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
- GETGet all policies
- POSTCreate a policy
- POSTGet maximum usage quota of resources if all snapshots create by the policy
- GETGet the policy by id
- DELDelete the policy
- PATCHUpdate the policy
- POSTAdd new schedules to the policy
- PUTAdd volumes to the policy if not present
- POSTRemove schedules from the policy
- PUTRemove volumes from the policy
- POSTGet maximum usage cost of resources if all snapshots are created by the policy
- GETGet a schedule by id
- PATCHPatch the schedule
- GET
- 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
Snapshot Schedules
Get maximum usage quota of resources if all snapshots create by the policy
POST
/
cloud
/
v1
/
lifecycle_policy
/
{project_id}
/
{region_id}
/
estimate_max_policy_usage
Copy
Ask AI
curl --request POST \
--url https://api.gcore.com/cloud/v1/lifecycle_policy/{project_id}/{region_id}/estimate_max_policy_usage \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"action": "volume_snapshot",
"name": "schedule_1",
"schedules": [],
"status": "active",
"volume_ids": [
"3ed9e2ce-f906-47fb-ba32-c25a3f63df4f"
]
}'
Copy
Ask AI
{
"max_cost": {
"currency_code": "USD",
"price_per_hour": 0.01,
"price_per_month": 7.2,
"price_status": "show"
},
"max_volume_snapshot_count_usage": 2,
"max_volume_snapshot_sequence_length": 2,
"max_volume_snapshot_size_usage": 20
}
Authorizations
API key for authentication.
Path Parameters
Project ID
Examples:
1
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/lifecycle_policy/{project_id}/{region_id}/estimate_max_policy_usage \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"action": "volume_snapshot",
"name": "schedule_1",
"schedules": [],
"status": "active",
"volume_ids": [
"3ed9e2ce-f906-47fb-ba32-c25a3f63df4f"
]
}'
Copy
Ask AI
{
"max_cost": {
"currency_code": "USD",
"price_per_hour": 0.01,
"price_per_month": 7.2,
"price_status": "show"
},
"max_volume_snapshot_count_usage": 2,
"max_volume_snapshot_sequence_length": 2,
"max_volume_snapshot_size_usage": 20
}
Assistant
Responses are generated using AI and may contain mistakes.