{
"count": 1,
"waf_instance": {
"__meta__": {
"user:rd": "op"
},
"CloudResources": [
{
"CanDissociate": true,
"Id": "string",
"Name": "string",
"Port": 0,
"Type": "string"
}
],
"DefaultAction": {
"action": "string",
"insert_headers": {
"property1": "string",
"property2": "string"
},
"response": "string",
"response_code": 0,
"response_headers": {
"property1": "string",
"property2": "string"
}
},
"Type": "string",
"cloudprovider_id": "string",
"cloudregion_id": "string",
"description": "test create network",
"disabled": true,
"dry_run": false,
"enabled": true,
"generate_name": "test###",
"is_emulated": true,
"is_public": true,
"name": "test-network",
"project_domain_id": "string",
"public_scope": "string",
"source_ips": [
"string"
],
"status": "string"
}
}
curl --location --request POST 'https://example.com:30888/waf_instances' \
--header 'Content-Type: application/json' \
--data-raw '{
"count": 1,
"waf_instance": {
"__meta__": {
"user:rd": "op"
},
"CloudResources": [
{
"CanDissociate": true,
"Id": "string",
"Name": "string",
"Port": 0,
"Type": "string"
}
],
"DefaultAction": {
"action": "string",
"insert_headers": {
"property1": "string",
"property2": "string"
},
"response": "string",
"response_code": 0,
"response_headers": {
"property1": "string",
"property2": "string"
}
},
"Type": "string",
"cloudprovider_id": "string",
"cloudregion_id": "string",
"description": "test create network",
"disabled": true,
"dry_run": false,
"enabled": true,
"generate_name": "test###",
"is_emulated": true,
"is_public": true,
"name": "test-network",
"project_domain_id": "string",
"public_scope": "string",
"source_ips": [
"string"
],
"status": "string"
}
}'
{
"waf_instance": {
"Rules": [
{
"action": {
"action": "string",
"insert_headers": {
"property1": "string",
"property2": "string"
},
"response": "string",
"response_code": 0,
"response_headers": {
"property1": "string",
"property2": "string"
}
},
"created_at": "2019-08-24T14:15:22Z",
"deleted": true,
"deleted_at": "2019-08-24T14:15:22Z",
"description": "string",
"external_id": "string",
"id": "string",
"imported_at": "2019-08-24T14:15:22Z",
"is_emulated": true,
"name": "string",
"priority": 0,
"progress": 0,
"source": "string",
"statement_conditon": "string",
"status": "string",
"update_version": 0,
"updated_at": "2019-08-24T14:15:22Z",
"waf_instance_id": "string",
"waf_rule_group_id": "string"
}
],
"access_headers": [
"string"
],
"account": "google-account",
"account_health_status": "string",
"account_id": "4d3c8979-9dd0-439b-8d78-36fe1ab1666c",
"account_read_only": true,
"account_status": "string",
"brand": "Google",
"can_delete": true,
"can_update": true,
"cc_list": [
"string"
],
"cert_id": "string",
"cert_name": "string",
"cloud_env": "public",
"cloudregion": "string",
"cloudregion_id": "string",
"cname": "string",
"created_at": "2019-08-24T14:15:22Z",
"default_action": {
"action": "string",
"insert_headers": {
"property1": "string",
"property2": "string"
},
"response": "string",
"response_code": 0,
"response_headers": {
"property1": "string",
"property2": "string"
}
},
"delete_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"deleted": true,
"deleted_at": "2019-08-24T14:15:22Z",
"description": "string",
"domain_id": "string",
"domain_src": "local",
"enabled": true,
"environment": "string",
"external_id": "string",
"http_ports": [
0
],
"https_ports": [
0
],
"id": "string",
"imported_at": "2019-08-24T14:15:22Z",
"is_access_product": true,
"is_emulated": true,
"is_public": true,
"manager": "google-account",
"manager_domain": "Default",
"manager_domain_id": "default",
"manager_id": "string",
"manager_project": "system",
"manager_project_id": "4d3c8979-9dd0-439b-8d78-36fe1ab1666c",
"metadata": {
"property1": "string",
"property2": "string"
},
"name": "string",
"progress": 0,
"project_domain": "string",
"provider": "Google",
"public_scope": "string",
"public_src": "local",
"region": "Default",
"region_ext_id": "59e7bc87-a6b3-4c39-8f02-c68e8243d4e4",
"region_external_id": "ZStack/59e7bc87-a6b3-4c39-8f02-c68e8243d4e4",
"region_id": "default",
"shared_domains": [
{
"id": "string",
"name": "string"
}
],
"shared_projects": [
{
"domain": "string",
"domain_id": "string",
"id": "string",
"name": "string"
}
],
"source": "string",
"source_ips": [
"string"
],
"status": "string",
"type": "string",
"update_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"update_version": 0,
"updated_at": "2019-08-24T14:15:22Z",
"upstream_port": 0,
"upstream_scheme": "string"
}
}