Create WAF Resource
Parameters | Description | Type | Required |
---|---|---|---|
organization_uuid | The created organization in Medianova Cloud Panel unit ID value. | String | Yes |
resource_type | It is the type of the resource created in Medianova Cloud Panel. It can be “small, large, dynamic, vod, streaming” values. | String | Yes |
data_source | Determines the source of the resource. It can take “origin” and “storage” values. | String | Yes |
origin_url | It is the URL information of the resource created in the Medianova Cloud panel. | String, URL | Yes |
server_name | It is the URL information of the aksela resource created in the Medianova Cloud panel. | String, URL | Yes |
resource_name | It is the name given to the resource created in the Medianova cloud panel. It must be unique. | String | Yes |
extensions | It is the required parameter when creating a WAF resource. It takes the value "waf". | String | Yes |
Payload
{
"resource_type": "dynamic",
"data_source": "origin",
"protocol": "https",
"origin_url": "test.com",
"server_name": "domain.test.com",
"resource_name": "waf-213105900",
"extensions": "waf"
}
Response
{
"status": true,
"data": {
"resource_uuid": "****-****-****-****",
"resource_type": "dynamic",
"resource_name": "waf-213105900",
"cdn_url": "waf-213105900.mncdn.org",
"resource_label": null,
"ssl_certificate": "sni",
"created_at": "2023-12-15T18:31:06.000000Z",
"data_source": "origin",
"server_name": "domain.test.com",
"protocol": "https",
"origin_url": "test.com",
"gzip_text": false,
"gzip_image": false,
"brotli": false,
"image_optimization": false,
"webp": true,
"avif": null,
"http2": true,
"status_qs": false,
"status_secure_token": false
}
}