NSX-T Data Center REST API
Create or Update PolicyFirewallScheduler
Creates/Updates a PolicyFirewallScheduler, which can be set at securitypolicy. Note that at least one property out of "days", "start_date",
"time_interval", "end_date" is required if "recurring" field is true. Also
"start_time" and "end_time" should not be present. And if "recurring"
field is false then "start_date" and "end_date" is mandatory, "start_time"
and "end_time" is optional. Also the fields "days" and "time_interval"
should not be present.
Request:
Method:
              PATCH
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/firewall-schedulers/<firewall-scheduler-id>
                  
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    PolicyFirewallScheduler+
  Example Request:
PATCH https://<policy-mgr>/api/v1/infra/firewall-schedulers/testPolicyFirewallScheduler { "resource_type":"PolicyFirewallScheduler", "display_name":"testPolicyFirewallScheduler", "description":"Test Policy Firewall Scheduler", "days": [ "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY" ], "start_date": "2/22/2019", "end_date": "12/22/2019", "timezone": "LOCAL", "recurring": true }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  n/a
                Response Body:
    n/a
  