Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) registry = client.cloud.registries.create( project_id=0, region_id=0, name="reg-home1", ) print(registry.id)
{ "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>" }
Create a new container registry with the specified configuration.
1 <= x <= 1000
Was this page helpful?