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
- GETGet registry list
- POSTCreate a registry
- GETGet a registry
- DELDelete a registry
- GETList repositories
- DELDelete a repository
- GETList artifacts
- DELDelete an artifact
- DELDelete a tag
- PATCHResize a registry
- GETGet user list
- POSTCreate a user
- POSTBatch create users
- DELDelete a user
- PATCHUpdate a user
- POSTRefresh a secret
- GET
- 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
Registry
Resize a registry
PATCH
/
cloud
/
v1
/
registries
/
{project_id}
/
{region_id}
/
{registry_id}
/
resize
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
)
registry = client.cloud.registries.resize(
registry_id=0,
project_id=0,
region_id=0,
)
print(registry.id)
Copy
Ask AI
{
"created_at": "2024-06-18T09:36:53.335000Z",
"id": 1,
"name": "company-name",
"repo_count": 1,
"storage_limit": 5,
"storage_used": 1000000000,
"updated_at": "2024-06-18T09:36:53.335000Z",
"url": "<string>"
}
Authorizations
API key for authentication.
Path Parameters
Project ID
Region ID
Registry ID
Body
application/json
Response
200
application/json
Registry has been updated
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
)
registry = client.cloud.registries.resize(
registry_id=0,
project_id=0,
region_id=0,
)
print(registry.id)
Copy
Ask AI
{
"created_at": "2024-06-18T09:36:53.335000Z",
"id": 1,
"name": "company-name",
"repo_count": 1,
"storage_limit": 5,
"storage_used": 1000000000,
"updated_at": "2024-06-18T09:36:53.335000Z",
"url": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.