Limit Availability to Time/Days Assertion

The Limit Availability to Time/Days assertion allows you to restrict service access by a time and/or day interval. When this assertion is encountered in a policy, it checks the time and/or day restrictions before allowing the message to proceed.
gateway90
The 
Limit Availability to Time/Days 
assertion allows you to restrict service access by a
API Gateway
time and/or day interval. When this assertion is encountered in a policy, it checks the time and/or day restrictions before allowing the message to proceed.
All time and/or day restrictions are based on the time zone of the
API Gateway
.
Using the Assertion
  1. Do one of the following:
    • To add the assertion to the Policy Development window, see Add an Assertion.
    • To change the configuration of an existing assertion, proceed to step 2 below.
  2. When adding the assertion, the 
    Time/Day Availability Properties
     automatically appear; when modifying the assertion, right-click 
    Limit Availability to... 
    in the policy window and select 
    Time/Day Availability Properties
     or double-click the assertion in the policy window. The assertion properties are displayed. 
  3. Configure the properties as follows:
    Restriction
    Description
    Restrict access by time
    Select the
    Restrict Time of Day
    check box and then specify the time period when access is permitted. The time period entered is automatically converted to UTC (Coordinated Universal Time) and displayed on the dialog.
    Restrict access by day
    Select the
    Restrict Day of Week
    check box and then specify the day range when access is permitted. Selecting the same day in both fields will allow access only for that day.
    The
    API Gateway
    uses UTC so take that into account when implementing day restrictions. For example, the access after 17:00 local time on Friday will be disallowed because it will already be Saturday UTC time.
    You can restrict access by time and/or day.
  4. Click [
    OK
    ] when done.