Merge "update api-ref for audit start/end time"

This commit is contained in:
Zuul 2019-01-12 07:36:57 +00:00 committed by Gerrit Code Review
commit 30437fd929
2 changed files with 32 additions and 16 deletions

View File

@ -191,9 +191,17 @@ audit_autotrigger:
in: body
required: false
type: boolean
audit_endtime:
audit_endtime_req:
description: |
The time after which audit can't be executed.
The local time after which audit can't be executed.
It will be converted to UTC time by Watcher.
in: body
required: false
type: string
min_version: 1.1
audit_endtime_resp:
description: |
The UTC time after which audit can't be executed.
in: body
required: false
type: string
@ -236,9 +244,17 @@ audit_parameters:
in: body
required: false
type: JSON
audit_starttime:
audit_starttime_req:
description: |
The time after which audit can be executed in accordance with interval.
The local time after which audit can be executed in accordance
with interval. It will be converted to UTC time by Watcher.
in: body
required: false
type: string
min_version: 1.1
audit_starttime_resp:
description: |
The UTC time after which audit can be executed in accordance with interval.
in: body
required: false
type: string

View File

@ -45,8 +45,8 @@ Request
- parameters: audit_parameters
- interval: audit_interval
- auto_trigger: audit_autotrigger
- start_time: audit_starttime
- end_time: audit_endtime
- start_time: audit_starttime_req
- end_time: audit_endtime_req
**Example ONESHOT Audit creation request:**
@ -81,8 +81,8 @@ version 1:
- scope: audittemplate_scope
- links: links
- hostname: audit_hostname
- start_time: audit_starttime
- end_time: audit_endtime
- start_time: audit_starttime_resp
- end_time: audit_endtime_resp
**Example JSON representation of an Audit:**
@ -179,8 +179,8 @@ Response
- scope: audittemplate_scope
- links: links
- hostname: audit_hostname
- start_time: audit_starttime
- end_time: audit_endtime
- start_time: audit_starttime_resp
- end_time: audit_endtime_resp
**Example JSON representation of an Audit:**
@ -225,8 +225,8 @@ Response
- scope: audittemplate_scope
- links: links
- hostname: audit_hostname
- start_time: audit_starttime
- end_time: audit_endtime
- start_time: audit_starttime_resp
- end_time: audit_endtime_resp
**Example JSON representation of an Audit:**
@ -279,8 +279,8 @@ version 1:
- scope: audittemplate_scope
- links: links
- hostname: audit_hostname
- start_time: audit_starttime
- end_time: audit_endtime
- start_time: audit_starttime_resp
- end_time: audit_endtime_resp
**Example JSON representation of an Audit:**
@ -333,8 +333,8 @@ Response
- scope: audittemplate_scope
- links: links
- hostname: audit_hostname
- start_time: audit_starttime
- end_time: audit_endtime
- start_time: audit_starttime_resp
- end_time: audit_endtime_resp
**Example JSON representation of an Audit:**