APIs.io Engineering Platform · Schema
zero-trust-gateway_schedule
The schedule for activating DNS policies. This does not apply to HTTP or network policies.
APIs.ioEngineeringPlatform
Properties
| Name | Type | Description |
|---|---|---|
| fri | string | The time intervals when the rule will be active on Fridays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Fridays. |
| mon | string | The time intervals when the rule will be active on Mondays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Mondays. |
| sat | string | The time intervals when the rule will be active on Saturdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Saturdays. |
| sun | string | The time intervals when the rule will be active on Sundays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Sundays. |
| thu | string | The time intervals when the rule will be active on Thursdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Thursdays. |
| time_zone | string | The time zone the rule will be evaluated against. If a [valid time zone city name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) is provided, Gateway will always use the current t |
| tue | string | The time intervals when the rule will be active on Tuesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Tuesdays. |
| wed | string | The time intervals when the rule will be active on Wednesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Wednesdays. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/zero-trust-gateway_schedule",
"title": "zero-trust-gateway_schedule",
"description": "The schedule for activating DNS policies. This does not apply to HTTP or network policies.",
"properties": {
"fri": {
"description": "The time intervals when the rule will be active on Fridays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Fridays.",
"example": "08:00-12:30,13:30-17:00",
"type": "string"
},
"mon": {
"description": "The time intervals when the rule will be active on Mondays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Mondays.",
"example": "08:00-12:30,13:30-17:00",
"type": "string"
},
"sat": {
"description": "The time intervals when the rule will be active on Saturdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Saturdays.",
"example": "08:00-12:30,13:30-17:00",
"type": "string"
},
"sun": {
"description": "The time intervals when the rule will be active on Sundays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Sundays.",
"example": "08:00-12:30,13:30-17:00",
"type": "string"
},
"thu": {
"description": "The time intervals when the rule will be active on Thursdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Thursdays.",
"example": "08:00-12:30,13:30-17:00",
"type": "string"
},
"time_zone": {
"description": "The time zone the rule will be evaluated against. If a [valid time zone city name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) is provided, Gateway will always use the current time at that time zone. If this parameter is omitted, then Gateway will use the time zone inferred from the user's source IP to evaluate the rule. If Gateway cannot determine the time zone from the IP, we will fall back to the time zone of the user's connected data center.",
"example": "America/New York",
"type": "string"
},
"tue": {
"description": "The time intervals when the rule will be active on Tuesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Tuesdays.",
"example": "08:00-12:30,13:30-17:00",
"type": "string"
},
"wed": {
"description": "The time intervals when the rule will be active on Wednesdays, in increasing order from 00:00-24:00. If this parameter is omitted, the rule will be deactivated on Wednesdays.",
"example": "08:00-12:30,13:30-17:00",
"type": "string"
}
},
"type": "object"
}