NSX-T Data Center REST API
Create or Update PolicyUrlCategorizationConfig
Creates/Updates a PolicyUrlCategorizationConfig. Creating or updating thePolicyUrlCategorizationConfig will enable or disable URL categorization for
the given edge cluster. If the context_profiles field is empty, the edge
cluster will detect all the categories of URLs. If context_profiles field
has any context profiles, the edge cluster will detect only the categories
listed within those context profiles. The context profiles should have
attribute type URL_CATEGORY. The update_frequency specifies how frequently
in minutes, the edge cluster will get updates about the URL data from the
URL categorization cloud service. If the update_frequency is not specified,
the default update frequency will be 30 min.
Request:
Method:
              PATCH
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/sites/<site-id>/enforcement-points/<enforcement-point-id>/edge-clusters/<edge-cluster-id>/url-categorization-configs/<url-categorization-config-id>
                  
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    PolicyUrlCategorizationConfig+
  Example Request:
PATCH https://<policy-mgr>/api/v1/infra/sites/default/enforcement-points/enforcement-point-id/edge-clusters/edge-cluster-id/edge-node-id/url-categorization-configs/default { "enabled" : true, "context_profiles"; [ "/infra/context-profiles/policy-context-profile-1", "/infra/context-profiles/policy-context-profile-2" ], "update_frequency": 10 }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    PolicyUrlCategorizationConfig+
  