Skip to main content
GET
/
cloud
/
v1
/
instances
/
{project_id}
/
{region_id}
/
available_names
Get instance naming restrictions
curl --request GET \
  --url https://api.gcore.com/cloud/v1/instances/{project_id}/{region_id}/available_names \
  --header 'Authorization: <api-key>'
{
  "allowed_bm_name_templates": [
    "ed-b9-{ip_octets}"
  ],
  "allowed_name_templates": [
    "ed-c4-{ip_octets}"
  ],
  "custom_name_allowed": false,
  "name_templates_limited": true,
  "allowed_name_win_templates": [
    "ed-b9-{one_ip_octet}"
  ],
  "allowed_bm_name_win_templates": [
    "ed-c4-{two_ip_octets}"
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

project_id
integer
required
region_id
integer
required

Response

200 - application/json
custom_name_allowed
boolean
required
name_templates_limited
boolean
required
allowed_bm_name_templates
string[]
allowed_bm_name_win_templates
string[]
allowed_name_templates
string[]
allowed_name_win_templates
string[]