-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpost.extras.event_rules.yaml
81 lines (81 loc) · 1.79 KB
/
post.extras.event_rules.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# This action was auto generated from the NetBox API Swagger Spec
# NetBox API version: 4.0
description: "Post a list of event rule objects."
enabled: true
entry_point: run.py
name: post.extras.event_rules
parameters:
endpoint_uri:
default: "/extras/event-rules/"
immutable: true
type: string
http_verb:
default: post
immutable: true
type: string
get_detail_route_eligible:
default: true
immutable: true
type: boolean
object_types:
required: false
type: array
description: "Object types"
name:
required: false
type: string
description: "Name"
type_create:
required: false
type: boolean
description: "On create"
type_update:
required: false
type: boolean
description: "On update"
type_delete:
required: false
type: boolean
description: "On delete"
type_job_start:
required: false
type: boolean
description: "On job start"
type_job_end:
required: false
type: boolean
description: "On job end"
enabled:
required: false
type: boolean
description: "Enabled"
conditions:
required: false
type: object
description: "A set of conditions which determine whether the event will be generated."
action_type:
required: false
type: string
description: "* `webhook` - Webhook
* `script` - Script"
action_object_type:
required: false
type: string
description: "Action object type"
action_object_id:
required: false
type: integer
description: "Action object id"
description:
required: false
type: string
description: "Description"
custom_fields:
required: false
type: object
description: "Custom fields"
tags:
required: false
type: array
description: "Array of tag strings"
runner_type: python-script