SSL Interception Whitelist   /rest/apv/loadbalancing/slb/ssl/SSLWhiteList
  • Relational-instance Queries:
  • GET
    /rest/apv/loadbalancing/slb/ssl/SSLWhiteList/asso
    Query the Whitelist List info of the corresponding SSL Interception Whitelist.
    Normal response codes
    200(OK)
    Error response codes
    401(unauthorized), 403(access forbidden), 404(no such instance), 500(internal service error), 501(unimplemented)
    Request parameters
    Parameter Type Description
    instance_id URI ID of the instance
    Response format
    {
        "SSLWhiteList": {
            "instance_id":<instance_id>,
            "asso":[
               {
                <field1>:<value1>,
                <field2>:<value2>,
                ...
               }
            ]
        }
    }
                                
    Examples
  • POST
    /rest/apv/loadbalancing/slb/ssl/SSLWhiteList/asso
    Create a Whitelist List for corresponding SSL Interception Whitelist
    Normal response codes
    200(successfully created)
    Error response codes
    401(unauthorized), 403(access forbidden), 500(internal service error), 501(unimplemented)
    Request format
            {
                <param1>:<value1>,
                <param2>:<value2>,
                ...
            }
                                        
    Request parameters
    Parameter Type Description
    name string
    Response format
            {
                "WhiteListName": {
                    "instance_id":<instance_id>,
                    <param1>:<value1>,
                    <param2>:<value2>,
                    ...
                }
            }
                                        
    Response parameters
    Same as request parameters.
    Examples
  • DELETE
    /rest/apv/loadbalancing/slb/ssl/SSLWhiteList/asso/<whitelistname_id>
    Delete a specific Whitelist List of corresponding sslwhitelist
    Normal response codes
    200(OK)
    Error response codes
    401(unauthorized), 403(access forbidden), 404(no such instance), 500(internal service error), 501(unimplemented)
    Response format
            {
                "msg": <success-or-error-msg>
            }
                                        
    Examples
  • GET
    /rest/apv/loadbalancing/slb/ssl/SSLWhiteList/list_apply
    Query the Apply Whitelist List info of the corresponding SSL Interception Whitelist.
    Normal response codes
    200(OK)
    Error response codes
    401(unauthorized), 403(access forbidden), 404(no such instance), 500(internal service error), 501(unimplemented)
    Request parameters
    Parameter Type Description
    instance_id URI ID of the instance
    Response format
    {
        "SSLWhiteList": {
            "instance_id":<instance_id>,
            "list_apply":[
               {
                <field1>:<value1>,
                <field2>:<value2>,
                ...
               }
            ]
        }
    }
                                
    Examples
  • POST
    /rest/apv/loadbalancing/slb/ssl/SSLWhiteList/list_apply
    Create a Apply Whitelist List to Virtual Host for corresponding SSL Interception Whitelist
    Normal response codes
    200(successfully created)
    Error response codes
    401(unauthorized), 403(access forbidden), 500(internal service error), 501(unimplemented)
    Request format
            {
                <param1>:<value1>,
                <param2>:<value2>,
                ...
            }
                                        
    Request parameters
    Parameter Type Description
    Response format
            {
                "WhiteListApplyList": {
                    "instance_id":<instance_id>,
                    <param1>:<value1>,
                    <param2>:<value2>,
                    ...
                }
            }
                                        
    Response parameters
    Same as request parameters.
    Examples
  • DELETE
    /rest/apv/loadbalancing/slb/ssl/SSLWhiteList/list_apply/<whitelistapplylist_id>
    Delete a specific Apply Whitelist List to Virtual Host of corresponding sslwhitelist
    Normal response codes
    200(OK)
    Error response codes
    401(unauthorized), 403(access forbidden), 404(no such instance), 500(internal service error), 501(unimplemented)
    Response format
            {
                "msg": <success-or-error-msg>
            }
                                        
    Examples
  • GET
    /rest/apv/loadbalancing/slb/ssl/SSLWhiteList/item_apply
    Query the Apply Whitelist Item info of the corresponding SSL Interception Whitelist.
    Normal response codes
    200(OK)
    Error response codes
    401(unauthorized), 403(access forbidden), 404(no such instance), 500(internal service error), 501(unimplemented)
    Request parameters
    Parameter Type Description
    instance_id URI ID of the instance
    Response format
    {
        "SSLWhiteList": {
            "instance_id":<instance_id>,
            "item_apply":[
               {
                <field1>:<value1>,
                <field2>:<value2>,
                ...
               }
            ]
        }
    }
                                
    Examples
  • POST
    /rest/apv/loadbalancing/slb/ssl/SSLWhiteList/item_apply
    Create a Apply WhiteList Item to Virtual Host for corresponding SSL Interception Whitelist
    Normal response codes
    200(successfully created)
    Error response codes
    401(unauthorized), 403(access forbidden), 500(internal service error), 501(unimplemented)
    Request format
            {
                <param1>:<value1>,
                <param2>:<value2>,
                ...
            }
                                        
    Request parameters
    Parameter Type Description
    sni_regex string
    Response format
            {
                "WhiteListApplyItem": {
                    "instance_id":<instance_id>,
                    <param1>:<value1>,
                    <param2>:<value2>,
                    ...
                }
            }
                                        
    Response parameters
    Same as request parameters.
    Examples
  • DELETE
    /rest/apv/loadbalancing/slb/ssl/SSLWhiteList/item_apply/<whitelistapplyitem_id>
    Delete a specific Apply WhiteList Item to Virtual Host of corresponding sslwhitelist
    Normal response codes
    200(OK)
    Error response codes
    401(unauthorized), 403(access forbidden), 404(no such instance), 500(internal service error), 501(unimplemented)
    Response format
            {
                "msg": <success-or-error-msg>
            }
                                        
    Examples