-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathget.dcim.power_outlets.yaml
492 lines (492 loc) · 11.9 KB
/
get.dcim.power_outlets.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
# This action was auto generated from the NetBox API Swagger Spec
# NetBox API version: 4.0
description: "Get a list of power outlet objects."
enabled: true
entry_point: run.py
name: get.dcim.power_outlets
parameters:
endpoint_uri:
default: "/dcim/power-outlets/"
immutable: true
type: string
http_verb:
default: get
immutable: true
type: string
get_detail_route_eligible:
default: true
immutable: true
type: boolean
cable_end:
required: false
type: string
description: "* `A` - A
* `B` - B"
cable_end__n:
required: false
type: string
description: "Cable_end not equal to"
cable_id:
required: false
type: array
description: "Cable (ID)"
cable_id__n:
required: false
type: array
description: "Cable_id not equal to"
cabled:
required: false
type: boolean
description: "Cabled"
connected:
required: false
type: boolean
description: "Connected"
created:
required: false
type: array
description: "Created"
created__empty:
required: false
type: array
description: "Created is empty/null (boolean)"
created__gt:
required: false
type: array
description: "Created greater than"
created__gte:
required: false
type: array
description: "Created greater than or equal to"
created__lt:
required: false
type: array
description: "Created less than"
created__lte:
required: false
type: array
description: "Created less than or equal to"
created__n:
required: false
type: array
description: "Created not equal to"
created_by_request:
required: false
type: string
description: "Created_by_request"
description:
required: false
type: array
description: "Description"
description__empty:
required: false
type: boolean
description: "Description is empty/null (boolean)"
description__ic:
required: false
type: array
description: "Description contains (case-insensitive)"
description__ie:
required: false
type: array
description: "Description exact match (case-insensitive)"
description__iew:
required: false
type: array
description: "Description ends with (case-insensitive)"
description__isw:
required: false
type: array
description: "Description starts with (case-sensitive)"
description__n:
required: false
type: array
description: "Description not equal to"
description__nic:
required: false
type: array
description: "Description does not contain (case-insensitive)"
description__nie:
required: false
type: array
description: "Description inverse exact match (case-insensitive)"
description__niew:
required: false
type: array
description: "Description does not end with (case-insensitive)"
description__nisw:
required: false
type: array
description: "Description does not start with (case-sensitive)"
device:
required: false
type: array
description: "Device (name)"
device__n:
required: false
type: array
description: "Device not equal to"
device_id:
required: false
type: array
description: "Device (ID)"
device_id__n:
required: false
type: array
description: "Device_id not equal to"
device_type:
required: false
type: array
description: "Device type (model)"
device_type__n:
required: false
type: array
description: "Device_type not equal to"
device_type_id:
required: false
type: array
description: "Device type (ID)"
device_type_id__n:
required: false
type: array
description: "Device_type_id not equal to"
feed_leg:
required: false
type: array
description: "Phase (for three-phase feeds)"
feed_leg__n:
required: false
type: array
description: "Feed_leg not equal to"
id:
required: false
type: array
description: "Id"
id__empty:
required: false
type: boolean
description: "Id is empty/null (boolean)"
id__gt:
required: false
type: array
description: "Id greater than"
id__gte:
required: false
type: array
description: "Id greater than or equal to"
id__lt:
required: false
type: array
description: "Id less than"
id__lte:
required: false
type: array
description: "Id less than or equal to"
id__n:
required: false
type: array
description: "Id not equal to"
label:
required: false
type: array
description: "Label"
label__empty:
required: false
type: boolean
description: "Label is empty/null (boolean)"
label__ic:
required: false
type: array
description: "Label contains (case-insensitive)"
label__ie:
required: false
type: array
description: "Label exact match (case-insensitive)"
label__iew:
required: false
type: array
description: "Label ends with (case-insensitive)"
label__isw:
required: false
type: array
description: "Label starts with (case-sensitive)"
label__n:
required: false
type: array
description: "Label not equal to"
label__nic:
required: false
type: array
description: "Label does not contain (case-insensitive)"
label__nie:
required: false
type: array
description: "Label inverse exact match (case-insensitive)"
label__niew:
required: false
type: array
description: "Label does not end with (case-insensitive)"
label__nisw:
required: false
type: array
description: "Label does not start with (case-sensitive)"
last_updated:
required: false
type: array
description: "Last_updated"
last_updated__empty:
required: false
type: array
description: "Last_updated is empty/null (boolean)"
last_updated__gt:
required: false
type: array
description: "Last_updated greater than"
last_updated__gte:
required: false
type: array
description: "Last_updated greater than or equal to"
last_updated__lt:
required: false
type: array
description: "Last_updated less than"
last_updated__lte:
required: false
type: array
description: "Last_updated less than or equal to"
last_updated__n:
required: false
type: array
description: "Last_updated not equal to"
limit:
required: false
type: integer
description: "Number of results to return per page."
location:
required: false
type: array
description: "Location (slug)"
location__n:
required: false
type: array
description: "Location not equal to"
location_id:
required: false
type: array
description: "Location (ID)"
location_id__n:
required: false
type: array
description: "Location_id not equal to"
mark_connected:
required: false
type: boolean
description: "Mark_connected"
modified_by_request:
required: false
type: string
description: "Modified_by_request"
module_id:
required: false
type: array
description: "Module (ID)"
module_id__n:
required: false
type: array
description: "Module_id not equal to"
name:
required: false
type: array
description: "Name"
name__empty:
required: false
type: boolean
description: "Name is empty/null (boolean)"
name__ic:
required: false
type: array
description: "Name contains (case-insensitive)"
name__ie:
required: false
type: array
description: "Name exact match (case-insensitive)"
name__iew:
required: false
type: array
description: "Name ends with (case-insensitive)"
name__isw:
required: false
type: array
description: "Name starts with (case-sensitive)"
name__n:
required: false
type: array
description: "Name not equal to"
name__nic:
required: false
type: array
description: "Name does not contain (case-insensitive)"
name__nie:
required: false
type: array
description: "Name inverse exact match (case-insensitive)"
name__niew:
required: false
type: array
description: "Name does not end with (case-insensitive)"
name__nisw:
required: false
type: array
description: "Name does not start with (case-sensitive)"
occupied:
required: false
type: boolean
description: "Occupied"
offset:
required: false
type: integer
description: "The initial index from which to return the results."
ordering:
required: false
type: string
description: "Which field to use when ordering the results."
power_port_id:
required: false
type: array
description: "Power port (ID)"
power_port_id__n:
required: false
type: array
description: "Power_port_id not equal to"
q:
required: false
type: string
description: "Search"
rack:
required: false
type: array
description: "Rack (name)"
rack__n:
required: false
type: array
description: "Rack not equal to"
rack_id:
required: false
type: array
description: "Rack (ID)"
rack_id__n:
required: false
type: array
description: "Rack_id not equal to"
region:
required: false
type: array
description: "Region (slug)"
region__n:
required: false
type: array
description: "Region not equal to"
region_id:
required: false
type: array
description: "Region (ID)"
region_id__n:
required: false
type: array
description: "Region_id not equal to"
role:
required: false
type: array
description: "Device role (slug)"
role__n:
required: false
type: array
description: "Role not equal to"
role_id:
required: false
type: array
description: "Device role (ID)"
role_id__n:
required: false
type: array
description: "Role_id not equal to"
site:
required: false
type: array
description: "Site name (slug)"
site__n:
required: false
type: array
description: "Site not equal to"
site_group:
required: false
type: array
description: "Site group (slug)"
site_group__n:
required: false
type: array
description: "Site_group not equal to"
site_group_id:
required: false
type: array
description: "Site group (ID)"
site_group_id__n:
required: false
type: array
description: "Site_group_id not equal to"
site_id:
required: false
type: array
description: "Site (ID)"
site_id__n:
required: false
type: array
description: "Site_id not equal to"
tag:
required: false
type: array
description: "Tag"
tag__n:
required: false
type: array
description: "Tag not equal to"
type:
required: false
type: array
description: "Physical port type"
type__n:
required: false
type: array
description: "Type not equal to"
updated_by_request:
required: false
type: string
description: "Updated_by_request"
virtual_chassis:
required: false
type: array
description: "Virtual Chassis"
virtual_chassis__n:
required: false
type: array
description: "Virtual_chassis not equal to"
virtual_chassis_id:
required: false
type: array
description: "Virtual Chassis (ID)"
virtual_chassis_id__n:
required: false
type: array
description: "Virtual_chassis_id not equal to"
save_in_key_store:
type: boolean
default: false
description: Save the result of the action as a json object in the st2 key store. Used when the expected result from Netbox is very large and the result will be piped to another action. You must also specify a save_in_key_store_keyname and an optional save_in_key_store_ttl.
save_in_key_store_key_name:
type: string
description: Name of the key to store the json result value in the st2 key store. Must be used with save_in_key_store and optionally save_in_key_store_ttl.
save_in_key_store_ttl:
type: integer
default: 60
description: TTL (seconds) of the saved json result in the st2 key store. Defaults to 60 seconds. Must be used with save_in_key_store and save_in_key_store_key_name.
runner_type: python-script