Creates DDoS protection profile to safeguard a specific resource (instance, bare metal, or load balancer) against DDoS attacks. The process involves comprehensive validation including profile field validation, IP address verification, and resource ownership confirmation.
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
1
Unique identifier of the cloud region where DDoS protection operations will be performed
1
IP address that will be protected by the DDoS protection profile
"11.111.111.1"
Unique identifier of the DDoS protection template to use for this profile
123
Deprecated. Use resource_id field.
null
List of field configurations that customize the protection parameters for this profile
[
{
"base_field": 10,
"field_value": [45046, 45047]
}
]Unique identifier of the cloud resource (bare metal, load balancer, or instance) to be protected
null
Type of cloud resource that will be protected by the DDoS profile
instance, loadbalancer "instance"
OK
List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
GET /v1/tasks/{task_id} - Check individual task status and details
Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.["d478ae29-dedc-4869-82f0-96104425f565"]