LbVirtualServerWithRule
{
"rules": [
{
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"_revision": 0,
"_system_owned": false,
"display_name": "string",
"description": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"_create_user": "string",
"_protection": "string",
"_create_time": 0,
"_last_modified_time": 0,
"_last_modified_user": "string",
"id": "string",
"resource_type": "string",
"phase": "string",
"match_conditions": [
{
"inverse": false,
"type": "string"
}
],
"actions": [
{
"type": "string"
}
],
"match_strategy": "string"
}
],
"virtual_server": {
"ip_protocol": "string",
"server_tcp_profile_id": "string",
"sorry_pool_id": "string",
"port": "string",
"server_ssl_profile_binding": {
"server_auth_crl_ids": [
"string"
],
"server_auth": "string",
"certificate_chain_depth": 0,
"client_certificate_id": "string",
"server_auth_ca_ids": [
"string"
],
"ssl_profile_id": "string"
},
"pool_id": "string",
"client_tcp_profile_id": "string",
"default_pool_member_port": "string",
"access_log_enabled": false,
"application_profile_id": "string",
"max_concurrent_connections": 0,
"rule_ids": [
"string"
],
"max_new_connection_rate": 0,
"persistence_profile_id": "string",
"client_ssl_profile_binding": {
"client_auth": "string",
"ssl_profile_id": "string",
"certificate_chain_depth": 0,
"client_auth_ca_ids": [
"string"
],
"default_certificate_id": "string",
"sni_certificate_ids": [
"string"
],
"client_auth_crl_ids": [
"string"
]
},
"default_pool_member_ports": [
"string"
],
"ip_address": "string",
"ports": [
"string"
],
"enabled": false
}
}
It is used to add rules, update rules and bind rules to the virtual server. To add new rules, make sure that the rules have no identifier specified, the new rules are automatically generated and associated to the virtual server. If the virtual server need to consume some existed rules without change, those rules should not be specified in the list, otherwise, the rules are updated. For update_with_rules action, it supports rules delete and update. To delete old rules, the rules should not be configured in new action, the UUID of deleted rules should be removed from rule_ids. To update rules, the rules should be specified with new change and configured with identifier. If there are some rules which are not modified, those rule should not be specified in the rules list, the UUID list of rules should be specified in rule_ids of LbVirtualServer.