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
- POSTCreate bare metal GPU cluster
- DELDelete bare metal GPU server from cluster
- POSTRebuild one or more bare metal GPU cluster servers
- POSTResize bare metal GPU cluster
- POSTCheck quotas for bare metal GPU cluster creation
- GETList network interfaces for a bare metal GPU cluster
- GETList network ports for a bare metal GPU cluster
- POSTAttach interface to bare metal GPU cluster server
- POSTDetach interface from bare metal GPU cluster server
- GETGet bare metal GPU cluster server console URL
- POSTPowercycle one bare metal GPU cluster server
- POSTReboot one bare metal GPU cluster server
- GETDeprecated. List bare metal GPU flavorsdeprecated
- GETDeprecated. List bare metal GPU imagesdeprecated
- GETList regions with GPU cluster support
- POSTPreview GPU cluster price
- GETGet GPU cluster price
- GETList bare metal GPU clusters
- GETGet bare metal GPU cluster
- DELDelete bare metal GPU cluster
- POSTPowercycle all bare metal GPU cluster servers
- POSTReboot all bare metal GPU cluster servers
- POSTCheck quotas for bare metal GPU cluster creation
- GETList bare metal GPU clusters
- GETGet bare metal GPU cluster
- GETList bare metal GPU cluster servers
- GETList bare metal GPU flavors
- GETList bare metal GPU images
- POSTUpload new bare metal GPU image
- GETGet bare metal GPU image by ID
- DELDelete bare metal GPU image by ID
- POSTCheck quotas for virtual GPU cluster creation
- GETList virtual GPU clusters
- POSTCreate virtual GPU cluster
- GETGet info about a single virtual GPU cluster
- DELDelete virtual GPU cluster
- PATCHRename virtual GPU cluster
- POSTPerform a specific action on the virtual GPU cluster
- GETList network interfaces for virtual GPU cluster
- GETList virtual GPU cluster servers
- DELDelete virtual GPU server from cluster
- GETList volumes attached to servers in the virtual GPU cluster
- GETList virtual GPU flavors
- GETList virtual GPU images
- POSTUpload new virtual GPU image
- GETGet virtual GPU image by ID
- DELDelete virtual GPU image by ID
- POST
- 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
GPU Cloud
Upload new bare metal GPU image
POST
/
cloud
/
v3
/
gpu
/
baremetal
/
{project_id}
/
{region_id}
/
images
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
)
task_id_list = client.cloud.gpu_baremetal_clusters.images.upload(
project_id=1,
region_id=7,
name="ubuntu-23.10-x64",
url="http://mirror.noris.net/cirros/0.4.0/cirros-0.4.0-x86_64-disk.img",
)
print(task_id_list.tasks)
Copy
Ask AI
{
"tasks": [
"d478ae29-dedc-4869-82f0-96104425f565"
]
}
Authorizations
API key for authentication.
Path Parameters
Project ID
Examples:
1
Region ID
Examples:
7
Body
application/json
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
)
task_id_list = client.cloud.gpu_baremetal_clusters.images.upload(
project_id=1,
region_id=7,
name="ubuntu-23.10-x64",
url="http://mirror.noris.net/cirros/0.4.0/cirros-0.4.0-x86_64-disk.img",
)
print(task_id_list.tasks)
Copy
Ask AI
{
"tasks": [
"d478ae29-dedc-4869-82f0-96104425f565"
]
}
Assistant
Responses are generated using AI and may contain mistakes.