Os objetos a seguir estão diretamente relacionados à API sla
(Service Level Agreement).
The SLA object has the following properties.
Property | Type | Description |
---|---|---|
slaid | string | (readonly) ID of the SLA. |
name (required) |
string | Name of the SLA. |
period (required) |
integer | Reporting period of the SLA. Possible values: 0 - daily; 1 - weekly; 2 - monthly; 3 - quarterly; 4 - annually. |
slo (required) |
float | Minimum acceptable Service Level Objective expressed as a percent. If the Service Level Indicator (SLI) drops lower, the SLA is considered to be in problem/unfulfilled state. Possible values: 0-100 (up to 4 fractional digits). |
effective_date | integer | Effective date of the SLA. Possible values: date timestamp in UTC. |
timezone (required) |
string | Reporting time zone, for example: Europe/London , UTC .For the full list of supported time zones please refer to PHP documentation. |
status | integer | Status of the SLA. Possible values: 0 - (default) enabled SLA; 1 - disabled SLA. |
description | string | Description of the SLA. |
O objeto de agendamento SLA define os períodos em que os serviços conectados são agendados para funcionar. Tem as seguintes propriedades.
Property | Type | Description |
---|---|---|
period_from (required) |
integer | Starting time of the recurrent weekly period of time (inclusive). Possible values: number of seconds (counting from Sunday). |
period_to (required) |
integer | Ending time of the recurrent weekly period of time (exclusive). Possible values: number of seconds (counting from Sunday). |
The excluded downtime object defines periods where the connected service(s) are scheduled to be out of working order, without affecting SLI, e.g. undergoing planned maintenance.
Property | Type | Description |
---|---|---|
name (required) |
string | Name of the excluded downtime. |
period_from (required) |
integer | Starting time of the excluded downtime (inclusive). Possible values: timestamp. |
period_to (required) |
integer | Ending time of the excluded downtime (exclusive). Possible values: timestamp. |
O objeto da etiqueta de serviço do SLA vincula os serviços a serem incluídos nos cálculos do SLA. Tem as seguintes propriedades.
Property | Type | Description |
---|---|---|
tag (required) |
string | SLA service tag name. |
operator | integer | SLA service tag operator. Possible values: 0 - (default) equals; 2 - like |
value | string | SLA service tag value. |