cURL
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}" ] }
Get the naming restrictions applied to instances in the specified project and region. This endpoint is deprecated.
Was this page helpful?