curl --request GET \
--url https://api.gcore.com/cloud/v1/ddos/profiles/{project_id}/{region_id} \
--header 'Authorization: <api-key>'{
"count": 1,
"results": [
{
"fields": [
{
"base_field": 10,
"default": null,
"description": "ARK server ports. Valid port values are in range 1000-65535",
"field_name": "ARK Ports",
"field_type": null,
"field_value": "<unknown>",
"id": 123,
"name": "<string>",
"required": true,
"validation_schema": "<unknown>",
"value": null
}
],
"id": 123,
"ip_address": "203.0.113.1",
"options": {
"active": true,
"bgp": true
},
"profile_template": {
"description": "description",
"fields": [
{
"default": null,
"description": "ARK server ports. Valid port values are in range 1000-65535",
"field_type": null,
"id": 123,
"name": "<string>",
"required": true,
"validation_schema": "<unknown>"
}
],
"id": 123,
"name": "<string>"
},
"profile_template_description": "ARK server ports. Valid port values are in range 1000-65535",
"protocols": [
{
"port": "80",
"protocols": [
"TCP",
"HTTP"
]
},
{
"port": "53",
"protocols": [
"UDP"
]
}
],
"site": "ED",
"status": {
"error_description": "",
"status": "Updated"
}
}
]
}This endpoint returns a comprehensive list of all DDoS protection profiles associated with the specified project and region. Each profile contains detailed information about the protection configuration including IP addresses, profile templates, field values, activation status, and current operational state.
curl --request GET \
--url https://api.gcore.com/cloud/v1/ddos/profiles/{project_id}/{region_id} \
--header 'Authorization: <api-key>'{
"count": 1,
"results": [
{
"fields": [
{
"base_field": 10,
"default": null,
"description": "ARK server ports. Valid port values are in range 1000-65535",
"field_name": "ARK Ports",
"field_type": null,
"field_value": "<unknown>",
"id": 123,
"name": "<string>",
"required": true,
"validation_schema": "<unknown>",
"value": null
}
],
"id": 123,
"ip_address": "203.0.113.1",
"options": {
"active": true,
"bgp": true
},
"profile_template": {
"description": "description",
"fields": [
{
"default": null,
"description": "ARK server ports. Valid port values are in range 1000-65535",
"field_type": null,
"id": 123,
"name": "<string>",
"required": true,
"validation_schema": "<unknown>"
}
],
"id": 123,
"name": "<string>"
},
"profile_template_description": "ARK server ports. Valid port values are in range 1000-65535",
"protocols": [
{
"port": "80",
"protocols": [
"TCP",
"HTTP"
]
},
{
"port": "53",
"protocols": [
"UDP"
]
}
],
"site": "ED",
"status": {
"error_description": "",
"status": "Updated"
}
}
]
}API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Unique identifier of the cloud project that owns the DDoS protection resources
Unique identifier of the cloud region where DDoS protection operations will be performed
OK
Number of objects
x >= 0Objects
Show child attributes
List of configured field values for the protection profile
Show child attributes
ID of DDoS profile field
10
Predefined default value for the field if not specified
100null
Detailed description explaining the field's purpose and usage guidelines
255"ARK server ports. Valid port values are in range 1000-65535"
Name of DDoS profile field
"ARK Ports"
Data type classification of the field (e.g., string, integer, array)
null
Complex value. Only one of 'value' or 'field_value' must be specified.
Unique identifier for the DDoS protection field
Human-readable name of the protection field
30Indicates whether this field must be provided when creating a protection profile
true
JSON schema defining validation rules and constraints for the field value
Basic type value. Only one of 'value' or 'field_value' must be specified.
null
Unique identifier for the DDoS protection profile
IP address or network range (CIDR) that is protected by this DDoS profile
"203.0.113.1"
Configuration options controlling profile activation and BGP routing
Complete template configuration data used for this profile
Show child attributes
Detailed description explaining the template's purpose and use cases
"description"
List of configurable fields that define the template's protection parameters
Show child attributes
Predefined default value for the field if not specified
100null
Detailed description explaining the field's purpose and usage guidelines
255"ARK server ports. Valid port values are in range 1000-65535"
Data type classification of the field (e.g., string, integer, array)
null
Unique identifier for the DDoS protection field
Human-readable name of the protection field
30Indicates whether this field must be provided when creating a protection profile
true
JSON schema defining validation rules and constraints for the field value
Unique identifier for the DDoS protection template
Human-readable name of the protection template
100Detailed description of the protection template used for this profile
"ARK server ports. Valid port values are in range 1000-65535"
List of network protocols and ports configured for protection
[
{
"port": "80",
"protocols": ["TCP", "HTTP"]
},
{ "port": "53", "protocols": ["UDP"] }
]Geographic site identifier where the protection is deployed
50"ED"
Current operational status and any error information for the profile
{
"error_description": "",
"status": "Updated"
}Was this page helpful?