alertservice.create =================== Create an Alert Service of specified `type`. If `enabled`, it sends alerts to the configured `type` of Alert Service. .. examples(websocket):: Create an Alert Service of Mail `type` :::javascript { "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "method": "alertservice.create", "params": [{ "name": "Test Email Alert", "enabled": true, "type": "Mail", "attributes": { "email": "dev@ixsystems.com" }, "settings": { "VolumeVersion": "HOURLY" } }] } .. raw:: html
Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: alert_service_create

alert_service_create

Type: object
No Additional Properties

Name

Type: string

Must be at least 1 characters long

Type

Type: string

Attributes

Type: object

Level

Type: string

Enabled

Type: boolean Default: true

AlertServiceEntry

Type: object
No Additional Properties

Name

Type: string

Must be at least 1 characters long

Type

Type: string

Attributes

Type: object

Level

Type: string

Enabled

Type: boolean Default: true

Id

Type: integer

Type Title

Type: string


*Required roles:* ALERT_WRITE