-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpatch.dcim.power_ports.yaml
172 lines (171 loc) · 4.58 KB
/
patch.dcim.power_ports.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
# This action was auto generated from the NetBox API Swagger Spec
# NetBox API version: 4.0
description: "Patch a power port object."
enabled: true
entry_point: run.py
name: patch.dcim.power_ports
parameters:
endpoint_uri:
default: "/dcim/power-ports/{{ id }}/"
immutable: true
type: string
http_verb:
default: patch
immutable: true
type: string
get_detail_route_eligible:
default: true
immutable: true
type: boolean
device:
required: false
type: object
description: "Device"
module:
required: false
type: object
description: "Module"
name:
required: false
type: string
description: "Name"
label:
required: false
type: string
description: "Physical label"
type:
required: false
type: string
description: "Physical port type
* `iec-60320-c6` - C6
* `iec-60320-c8` - C8
* `iec-60320-c14` - C14
* `iec-60320-c16` - C16
* `iec-60320-c20` - C20
* `iec-60320-c22` - C22
* `iec-60309-p-n-e-4h` - P+N+E 4H
* `iec-60309-p-n-e-6h` - P+N+E 6H
* `iec-60309-p-n-e-9h` - P+N+E 9H
* `iec-60309-2p-e-4h` - 2P+E 4H
* `iec-60309-2p-e-6h` - 2P+E 6H
* `iec-60309-2p-e-9h` - 2P+E 9H
* `iec-60309-3p-e-4h` - 3P+E 4H
* `iec-60309-3p-e-6h` - 3P+E 6H
* `iec-60309-3p-e-9h` - 3P+E 9H
* `iec-60309-3p-n-e-4h` - 3P+N+E 4H
* `iec-60309-3p-n-e-6h` - 3P+N+E 6H
* `iec-60309-3p-n-e-9h` - 3P+N+E 9H
* `iec-60906-1` - IEC 60906-1
* `nbr-14136-10a` - 2P+T 10A (NBR 14136)
* `nbr-14136-20a` - 2P+T 20A (NBR 14136)
* `nema-1-15p` - NEMA 1-15P
* `nema-5-15p` - NEMA 5-15P
* `nema-5-20p` - NEMA 5-20P
* `nema-5-30p` - NEMA 5-30P
* `nema-5-50p` - NEMA 5-50P
* `nema-6-15p` - NEMA 6-15P
* `nema-6-20p` - NEMA 6-20P
* `nema-6-30p` - NEMA 6-30P
* `nema-6-50p` - NEMA 6-50P
* `nema-10-30p` - NEMA 10-30P
* `nema-10-50p` - NEMA 10-50P
* `nema-14-20p` - NEMA 14-20P
* `nema-14-30p` - NEMA 14-30P
* `nema-14-50p` - NEMA 14-50P
* `nema-14-60p` - NEMA 14-60P
* `nema-15-15p` - NEMA 15-15P
* `nema-15-20p` - NEMA 15-20P
* `nema-15-30p` - NEMA 15-30P
* `nema-15-50p` - NEMA 15-50P
* `nema-15-60p` - NEMA 15-60P
* `nema-l1-15p` - NEMA L1-15P
* `nema-l5-15p` - NEMA L5-15P
* `nema-l5-20p` - NEMA L5-20P
* `nema-l5-30p` - NEMA L5-30P
* `nema-l5-50p` - NEMA L5-50P
* `nema-l6-15p` - NEMA L6-15P
* `nema-l6-20p` - NEMA L6-20P
* `nema-l6-30p` - NEMA L6-30P
* `nema-l6-50p` - NEMA L6-50P
* `nema-l10-30p` - NEMA L10-30P
* `nema-l14-20p` - NEMA L14-20P
* `nema-l14-30p` - NEMA L14-30P
* `nema-l14-50p` - NEMA L14-50P
* `nema-l14-60p` - NEMA L14-60P
* `nema-l15-20p` - NEMA L15-20P
* `nema-l15-30p` - NEMA L15-30P
* `nema-l15-50p` - NEMA L15-50P
* `nema-l15-60p` - NEMA L15-60P
* `nema-l21-20p` - NEMA L21-20P
* `nema-l21-30p` - NEMA L21-30P
* `nema-l22-30p` - NEMA L22-30P
* `cs6361c` - CS6361C
* `cs6365c` - CS6365C
* `cs8165c` - CS8165C
* `cs8265c` - CS8265C
* `cs8365c` - CS8365C
* `cs8465c` - CS8465C
* `ita-c` - ITA Type C (CEE 7/16)
* `ita-e` - ITA Type E (CEE 7/6)
* `ita-f` - ITA Type F (CEE 7/4)
* `ita-ef` - ITA Type E/F (CEE 7/7)
* `ita-g` - ITA Type G (BS 1363)
* `ita-h` - ITA Type H
* `ita-i` - ITA Type I
* `ita-j` - ITA Type J
* `ita-k` - ITA Type K
* `ita-l` - ITA Type L (CEI 23-50)
* `ita-m` - ITA Type M (BS 546)
* `ita-n` - ITA Type N
* `ita-o` - ITA Type O
* `usb-a` - USB Type A
* `usb-b` - USB Type B
* `usb-c` - USB Type C
* `usb-mini-a` - USB Mini A
* `usb-mini-b` - USB Mini B
* `usb-micro-a` - USB Micro A
* `usb-micro-b` - USB Micro B
* `usb-micro-ab` - USB Micro AB
* `usb-3-b` - USB 3.0 Type B
* `usb-3-micro-b` - USB 3.0 Micro B
* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2
* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2
* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4
* `dc-terminal` - DC Terminal
* `saf-d-grid` - Saf-D-Grid
* `neutrik-powercon-20` - Neutrik powerCON (20A)
* `neutrik-powercon-32` - Neutrik powerCON (32A)
* `neutrik-powercon-true1` - Neutrik powerCON TRUE1
* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP
* `ubiquiti-smartpower` - Ubiquiti SmartPower
* `hardwired` - Hardwired
* `other` - Other"
maximum_draw:
required: false
type: integer
description: "Maximum power draw (watts)"
allocated_draw:
required: false
type: integer
description: "Allocated power draw (watts)"
description:
required: false
type: string
description: "Description"
mark_connected:
required: false
type: boolean
description: "Treat as if a cable is connected"
tags:
required: false
type: array
description: "Array of tag strings"
custom_fields:
required: false
type: object
description: "Custom fields"
id:
required: true
type: integer
description: "ID of the object to patch."
runner_type: python-script