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
- GETList inference deployments
- POSTCreate inference deployment
- GETGet inference deployment
- DELDelete inference deployment
- PATCHUpdate inference deployment
- GETGet inference deployment API key
- GETGet inference deployment logs
- POSTStart inference deployment
- POSTStop inference deployment
- GETList inference registry credentials
- POSTCreate inference registry credential
- GETGet inference registry credential
- PUTReplace inference registry credential
- DELDelete inference registry credential
- GETList inference secrets
- POSTCreate inference secret
- GETGet inference secret
- PUTReplace inference secret
- DELDelete Inference Secret
- GETGet inference capacity by region
- GETList inference flavors
- GETGet inference flavor
- GETList models from catalog
- GETGet model from catalog
- POSTPreview inference deployment price
- GETList API Keysdeprecated
- POSTCreate API Keydeprecated
- GETGet API Keydeprecated
- DELDelete API Keydeprecated
- PATCHUpdate API Keydeprecated
- GETGet Capacity for regionsdeprecated
- GETList Inference Instancesdeprecated
- POSTCreate Inference Instancedeprecated
- GETGet Inference Instancedeprecated
- PUTUpdate Inference Instancedeprecated
- DELDelete Inference Instancedeprecated
- GETGet Inference Instance Logsdeprecated
- GETGet Inference Instance Logs by Regiondeprecated
- POSTStart Inference Instancedeprecated
- POSTStop Inference Instancedeprecated
- GETList inference instance flavorsdeprecated
- GETGet inference instance flavor Detailsdeprecated
- GETList ML Model Catalogdeprecated
- GETGet ML Model Catalog Detailsdeprecated
- GETList Registriesdeprecated
- POSTCreate Registrydeprecated
- GETGet Registrydeprecated
- DELDelete Registrydeprecated
- PATCHUpdate Registrydeprecated
- POSTPreview inference deployment pricedeprecated
- GET
- 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
Inference Instances
Create inference registry credential
POST
/
cloud
/
v3
/
inference
/
{project_id}
/
registry_credentials
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
)
inference_registry_credential_full = client.cloud.inference.registry_credentials.create(
project_id=1,
name="docker-io",
password="password",
registry_url="registry.example.com",
username="username",
)
print(inference_registry_credential_full.project_id)
Copy
Ask AI
{
"name": "docker-io",
"password": "password",
"project_id": 1,
"registry_url": "registry.example.com",
"username": "username"
}
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
Project ID
Examples:
1
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
)
inference_registry_credential_full = client.cloud.inference.registry_credentials.create(
project_id=1,
name="docker-io",
password="password",
registry_url="registry.example.com",
username="username",
)
print(inference_registry_credential_full.project_id)
Copy
Ask AI
{
"name": "docker-io",
"password": "password",
"project_id": 1,
"registry_url": "registry.example.com",
"username": "username"
}
Assistant
Responses are generated using AI and may contain mistakes.