catocli 2.0.0__py3-none-any.whl → 2.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of catocli might be problematic. Click here for more details.

Files changed (104) hide show
  1. catocli/Utils/clidriver.py +37 -5
  2. catocli/__init__.py +1 -1
  3. catocli/parsers/custom/__init__.py +3 -2
  4. catocli/parsers/custom/customLib.py +252 -1
  5. catocli/parsers/custom/export_rules/__init__.py +5 -1
  6. catocli/parsers/custom/export_rules/export_rules.py +31 -182
  7. catocli/parsers/custom/export_sites/__init__.py +20 -0
  8. catocli/parsers/custom/export_sites/export_sites.py +233 -0
  9. catocli/parsers/custom/import_rules_to_tf/__init__.py +2 -2
  10. catocli/parsers/custom/import_rules_to_tf/import_rules_to_tf.py +21 -11
  11. catocli/parsers/mutation_accountManagement/__init__.py +15 -18
  12. catocli/parsers/mutation_admin/__init__.py +15 -18
  13. catocli/parsers/mutation_container/__init__.py +5 -6
  14. catocli/parsers/mutation_hardware/__init__.py +5 -6
  15. catocli/parsers/mutation_policy/__init__.py +582 -504
  16. catocli/parsers/mutation_policy_terminalServer/README.md +7 -0
  17. catocli/parsers/mutation_policy_terminalServer_addRule/README.md +18 -0
  18. catocli/parsers/mutation_policy_terminalServer_addSection/README.md +18 -0
  19. catocli/parsers/mutation_policy_terminalServer_createPolicyRevision/README.md +18 -0
  20. catocli/parsers/mutation_policy_terminalServer_discardPolicyRevision/README.md +18 -0
  21. catocli/parsers/mutation_policy_terminalServer_moveRule/README.md +18 -0
  22. catocli/parsers/mutation_policy_terminalServer_moveSection/README.md +18 -0
  23. catocli/parsers/mutation_policy_terminalServer_publishPolicyRevision/README.md +18 -0
  24. catocli/parsers/mutation_policy_terminalServer_removeRule/README.md +18 -0
  25. catocli/parsers/mutation_policy_terminalServer_removeSection/README.md +18 -0
  26. catocli/parsers/mutation_policy_terminalServer_updatePolicy/README.md +18 -0
  27. catocli/parsers/mutation_policy_terminalServer_updateRule/README.md +18 -0
  28. catocli/parsers/mutation_policy_terminalServer_updateSection/README.md +18 -0
  29. catocli/parsers/mutation_sandbox/__init__.py +10 -12
  30. catocli/parsers/mutation_site/__init__.py +164 -150
  31. catocli/parsers/mutation_site_addSocketAddOnCard/README.md +17 -0
  32. catocli/parsers/mutation_site_removeSocketAddOnCard/README.md +17 -0
  33. catocli/parsers/mutation_site_startSiteUpgrade/README.md +17 -0
  34. catocli/parsers/mutation_sites/__init__.py +164 -150
  35. catocli/parsers/mutation_sites_addSocketAddOnCard/README.md +17 -0
  36. catocli/parsers/mutation_sites_removeSocketAddOnCard/README.md +17 -0
  37. catocli/parsers/mutation_sites_startSiteUpgrade/README.md +17 -0
  38. catocli/parsers/mutation_xdr/__init__.py +15 -18
  39. catocli/parsers/query_accountBySubdomain/__init__.py +5 -6
  40. catocli/parsers/query_accountManagement/__init__.py +5 -6
  41. catocli/parsers/query_accountMetrics/__init__.py +5 -6
  42. catocli/parsers/query_accountRoles/__init__.py +5 -6
  43. catocli/parsers/query_accountSnapshot/__init__.py +5 -6
  44. catocli/parsers/query_admin/__init__.py +5 -6
  45. catocli/parsers/query_admins/__init__.py +5 -6
  46. catocli/parsers/query_appStats/__init__.py +5 -6
  47. catocli/parsers/query_appStatsTimeSeries/__init__.py +5 -6
  48. catocli/parsers/query_auditFeed/__init__.py +5 -6
  49. catocli/parsers/query_catalogs/__init__.py +5 -6
  50. catocli/parsers/query_container/__init__.py +5 -6
  51. catocli/parsers/query_devices/README.md +2 -1
  52. catocli/parsers/query_devices/__init__.py +5 -6
  53. catocli/parsers/query_entityLookup/__init__.py +5 -6
  54. catocli/parsers/query_events/__init__.py +5 -6
  55. catocli/parsers/query_eventsFeed/README.md +1 -1
  56. catocli/parsers/query_eventsFeed/__init__.py +5 -6
  57. catocli/parsers/query_eventsTimeSeries/__init__.py +5 -6
  58. catocli/parsers/query_hardware/__init__.py +5 -6
  59. catocli/parsers/query_hardwareManagement/__init__.py +5 -6
  60. catocli/parsers/query_licensing/__init__.py +5 -6
  61. catocli/parsers/query_policy/README.md +2 -1
  62. catocli/parsers/query_policy/__init__.py +5 -6
  63. catocli/parsers/query_sandbox/__init__.py +5 -6
  64. catocli/parsers/query_site/README.md +2 -1
  65. catocli/parsers/query_site/__init__.py +5 -6
  66. catocli/parsers/query_siteLocation/__init__.py +3 -7
  67. catocli/parsers/query_subDomains/__init__.py +5 -6
  68. catocli/parsers/query_xdr/__init__.py +10 -12
  69. catocli/parsers/raw/__init__.py +2 -0
  70. {catocli-2.0.0.dist-info → catocli-2.0.2.dist-info}/METADATA +1 -1
  71. {catocli-2.0.0.dist-info → catocli-2.0.2.dist-info}/RECORD +104 -65
  72. graphql_client/api/call_api.py +12 -6
  73. models/mutation.policy.remotePortFwd.updateRule.json +6 -6
  74. models/mutation.policy.terminalServer.addRule.json +2403 -0
  75. models/mutation.policy.terminalServer.addSection.json +1358 -0
  76. models/mutation.policy.terminalServer.createPolicyRevision.json +1873 -0
  77. models/mutation.policy.terminalServer.discardPolicyRevision.json +1807 -0
  78. models/mutation.policy.terminalServer.moveRule.json +1605 -0
  79. models/mutation.policy.terminalServer.moveSection.json +1259 -0
  80. models/mutation.policy.terminalServer.publishPolicyRevision.json +1864 -0
  81. models/mutation.policy.terminalServer.removeRule.json +1253 -0
  82. models/mutation.policy.terminalServer.removeSection.json +958 -0
  83. models/mutation.policy.terminalServer.updatePolicy.json +1883 -0
  84. models/mutation.policy.terminalServer.updateRule.json +2096 -0
  85. models/mutation.policy.terminalServer.updateSection.json +1111 -0
  86. models/mutation.site.addSocketAddOnCard.json +1050 -0
  87. models/mutation.site.removeSocketAddOnCard.json +786 -0
  88. models/mutation.site.startSiteUpgrade.json +802 -0
  89. models/mutation.sites.addSocketAddOnCard.json +1050 -0
  90. models/mutation.sites.removeSocketAddOnCard.json +786 -0
  91. models/mutation.sites.startSiteUpgrade.json +802 -0
  92. models/query.devices.json +311 -2
  93. models/query.events.json +48 -0
  94. models/query.eventsFeed.json +12 -0
  95. models/query.eventsTimeSeries.json +36 -0
  96. models/query.licensing.json +21815 -10093
  97. models/query.policy.json +1898 -305
  98. models/query.site.json +225 -0
  99. models/query.siteLocation.json +97190 -295396
  100. schema/catolib.py +52 -24
  101. {catocli-2.0.0.dist-info → catocli-2.0.2.dist-info}/LICENSE +0 -0
  102. {catocli-2.0.0.dist-info → catocli-2.0.2.dist-info}/WHEEL +0 -0
  103. {catocli-2.0.0.dist-info → catocli-2.0.2.dist-info}/entry_points.txt +0 -0
  104. {catocli-2.0.0.dist-info → catocli-2.0.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1605 @@
1
+ {
2
+ "args": {
3
+ "accountId": {
4
+ "defaultValue": null,
5
+ "description": null,
6
+ "id_str": "accountId",
7
+ "name": "accountId",
8
+ "path": "accountId",
9
+ "requestStr": "$accountId:ID! ",
10
+ "required": true,
11
+ "responseStr": "accountId:$accountId ",
12
+ "type": {
13
+ "kind": [
14
+ "NON_NULL",
15
+ "SCALAR"
16
+ ],
17
+ "name": "ID",
18
+ "non_null": false
19
+ },
20
+ "varName": "accountId"
21
+ }
22
+ },
23
+ "childOperations": {
24
+ "moveRule": {
25
+ "args": {
26
+ "moveRule___input": {
27
+ "defaultValue": null,
28
+ "description": null,
29
+ "id_str": "moveRule___input",
30
+ "name": "input",
31
+ "path": "moveRule.input",
32
+ "requestStr": "$policyMoveRuleInput:PolicyMoveRuleInput! ",
33
+ "required": true,
34
+ "responseStr": "input:$policyMoveRuleInput ",
35
+ "type": {
36
+ "definition": {
37
+ "description": "Move the rule to a different position in the policy",
38
+ "enumValues": null,
39
+ "fields": null,
40
+ "inputFields": {
41
+ "id": {
42
+ "defaultValue": null,
43
+ "description": null,
44
+ "id_str": "moveRule___input___id",
45
+ "name": "id",
46
+ "path": "moveRule.input.id",
47
+ "requestStr": "$id:ID! ",
48
+ "required": true,
49
+ "responseStr": "id:$id ",
50
+ "type": {
51
+ "kind": [
52
+ "NON_NULL",
53
+ "SCALAR"
54
+ ],
55
+ "name": "ID",
56
+ "non_null": false
57
+ },
58
+ "varName": "id"
59
+ },
60
+ "to": {
61
+ "defaultValue": null,
62
+ "description": null,
63
+ "id_str": "moveRule___input___to",
64
+ "name": "to",
65
+ "path": "moveRule.input.to",
66
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
67
+ "required": false,
68
+ "responseStr": "to:$policyRulePositionInput ",
69
+ "type": {
70
+ "definition": {
71
+ "description": "Parameters required to define the rule position",
72
+ "enumValues": null,
73
+ "fields": null,
74
+ "inputFields": {
75
+ "position": {
76
+ "defaultValue": null,
77
+ "description": "Position relative to a policy, a section or another rule",
78
+ "id_str": "moveRule___input___to___position",
79
+ "name": "position",
80
+ "path": "moveRule.input.to.position",
81
+ "requestStr": "$position:PolicyRulePositionEnum ",
82
+ "required": false,
83
+ "responseStr": "position:$position ",
84
+ "type": {
85
+ "definition": {
86
+ "description": "Enum for the position of a rule within a policy",
87
+ "enumValues": [
88
+ {
89
+ "deprecationReason": null,
90
+ "description": "The rule position is after the pre-existing specified rule",
91
+ "isDeprecated": false,
92
+ "name": "AFTER_RULE"
93
+ },
94
+ {
95
+ "deprecationReason": null,
96
+ "description": "The rule position is before the pre-existing specified rule",
97
+ "isDeprecated": false,
98
+ "name": "BEFORE_RULE"
99
+ },
100
+ {
101
+ "deprecationReason": null,
102
+ "description": "The rule position is first in the specified section",
103
+ "isDeprecated": false,
104
+ "name": "FIRST_IN_SECTION"
105
+ },
106
+ {
107
+ "deprecationReason": null,
108
+ "description": "The rule position is last in the specified section",
109
+ "isDeprecated": false,
110
+ "name": "LAST_IN_SECTION"
111
+ },
112
+ {
113
+ "deprecationReason": null,
114
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
115
+ "isDeprecated": false,
116
+ "name": "FIRST_IN_POLICY"
117
+ },
118
+ {
119
+ "deprecationReason": null,
120
+ "description": "The rule position is last in the policy",
121
+ "isDeprecated": false,
122
+ "name": "LAST_IN_POLICY"
123
+ }
124
+ ],
125
+ "fields": null,
126
+ "inputFields": null,
127
+ "interfaces": null,
128
+ "kind": "ENUM",
129
+ "name": "PolicyRulePositionEnum",
130
+ "possibleTypes": null
131
+ },
132
+ "indexType": "enum",
133
+ "kind": [
134
+ "ENUM"
135
+ ],
136
+ "name": "PolicyRulePositionEnum",
137
+ "non_null": false
138
+ },
139
+ "varName": "position"
140
+ },
141
+ "ref": {
142
+ "defaultValue": null,
143
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
144
+ "id_str": "moveRule___input___to___ref",
145
+ "name": "ref",
146
+ "path": "moveRule.input.to.ref",
147
+ "requestStr": "$ref:ID ",
148
+ "required": false,
149
+ "responseStr": "ref:$ref ",
150
+ "type": {
151
+ "kind": [
152
+ "SCALAR"
153
+ ],
154
+ "name": "ID",
155
+ "non_null": false
156
+ },
157
+ "varName": "ref"
158
+ }
159
+ },
160
+ "interfaces": null,
161
+ "kind": "INPUT_OBJECT",
162
+ "name": "PolicyRulePositionInput",
163
+ "possibleTypes": null
164
+ },
165
+ "indexType": "input_object",
166
+ "kind": [
167
+ "INPUT_OBJECT"
168
+ ],
169
+ "name": "PolicyRulePositionInput",
170
+ "non_null": false
171
+ },
172
+ "varName": "policyRulePositionInput"
173
+ }
174
+ },
175
+ "interfaces": null,
176
+ "kind": "INPUT_OBJECT",
177
+ "name": "PolicyMoveRuleInput",
178
+ "possibleTypes": null
179
+ },
180
+ "indexType": "input_object",
181
+ "kind": [
182
+ "NON_NULL",
183
+ "INPUT_OBJECT"
184
+ ],
185
+ "name": "PolicyMoveRuleInput",
186
+ "non_null": false
187
+ },
188
+ "varName": "policyMoveRuleInput"
189
+ }
190
+ },
191
+ "deprecationReason": null,
192
+ "description": null,
193
+ "isDeprecated": false,
194
+ "name": "moveRule",
195
+ "type": {
196
+ "kind": "NON_NULL",
197
+ "name": null,
198
+ "ofType": {
199
+ "kind": "OBJECT",
200
+ "name": "TerminalServerRuleMutationPayload",
201
+ "ofType": null
202
+ }
203
+ }
204
+ },
205
+ "terminalServer": {
206
+ "args": {
207
+ "terminalServer___input": {
208
+ "defaultValue": null,
209
+ "description": null,
210
+ "id_str": "terminalServer___input",
211
+ "name": "input",
212
+ "path": "terminalServer.input",
213
+ "requestStr": "$terminalServerPolicyMutationInput:TerminalServerPolicyMutationInput ",
214
+ "required": false,
215
+ "responseStr": "input:$terminalServerPolicyMutationInput ",
216
+ "type": {
217
+ "definition": {
218
+ "description": null,
219
+ "enumValues": null,
220
+ "fields": null,
221
+ "inputFields": {
222
+ "revision": {
223
+ "defaultValue": null,
224
+ "description": null,
225
+ "id_str": "terminalServer___input___revision",
226
+ "name": "revision",
227
+ "path": "terminalServer.input.revision",
228
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
229
+ "required": false,
230
+ "responseStr": "revision:$policyMutationRevisionInput ",
231
+ "type": {
232
+ "definition": {
233
+ "description": null,
234
+ "enumValues": null,
235
+ "fields": null,
236
+ "inputFields": {
237
+ "id": {
238
+ "defaultValue": null,
239
+ "description": null,
240
+ "id_str": "terminalServer___input___revision___id",
241
+ "name": "id",
242
+ "path": "terminalServer.input.revision.id",
243
+ "requestStr": "$id:ID ",
244
+ "required": false,
245
+ "responseStr": "id:$id ",
246
+ "type": {
247
+ "kind": [
248
+ "SCALAR"
249
+ ],
250
+ "name": "ID",
251
+ "non_null": false
252
+ },
253
+ "varName": "id"
254
+ }
255
+ },
256
+ "interfaces": null,
257
+ "kind": "INPUT_OBJECT",
258
+ "name": "PolicyMutationRevisionInput",
259
+ "possibleTypes": null
260
+ },
261
+ "indexType": "input_object",
262
+ "kind": [
263
+ "INPUT_OBJECT"
264
+ ],
265
+ "name": "PolicyMutationRevisionInput",
266
+ "non_null": false
267
+ },
268
+ "varName": "policyMutationRevisionInput"
269
+ }
270
+ },
271
+ "interfaces": null,
272
+ "kind": "INPUT_OBJECT",
273
+ "name": "TerminalServerPolicyMutationInput",
274
+ "possibleTypes": null
275
+ },
276
+ "indexType": "input_object",
277
+ "kind": [
278
+ "INPUT_OBJECT"
279
+ ],
280
+ "name": "TerminalServerPolicyMutationInput",
281
+ "non_null": false
282
+ },
283
+ "varName": "terminalServerPolicyMutationInput"
284
+ }
285
+ },
286
+ "deprecationReason": null,
287
+ "description": null,
288
+ "isDeprecated": false,
289
+ "name": "terminalServer",
290
+ "type": {
291
+ "kind": "OBJECT",
292
+ "name": "TerminalServerPolicyMutations",
293
+ "ofType": null
294
+ }
295
+ }
296
+ },
297
+ "deprecationReason": null,
298
+ "description": null,
299
+ "fieldTypes": {
300
+ "GlobalIpRangeRef": true,
301
+ "PolicyElementAudit": true,
302
+ "PolicyElementPropertiesEnum": true,
303
+ "PolicyMutationError": true,
304
+ "PolicyMutationRevisionInput": true,
305
+ "PolicyMutationStatus": true,
306
+ "PolicyRulePositionEnum": true,
307
+ "PolicyRulePositionInput": true,
308
+ "PolicySectionInfo": true,
309
+ "TerminalServerPolicyMutations": true,
310
+ "TerminalServerRule": true,
311
+ "TerminalServerRuleMutationPayload": true,
312
+ "TerminalServerRulePayload": true
313
+ },
314
+ "isDeprecated": false,
315
+ "name": "policy",
316
+ "operationArgs": {
317
+ "accountId": {
318
+ "defaultValue": null,
319
+ "description": null,
320
+ "id_str": "accountId",
321
+ "name": "accountId",
322
+ "path": "accountId",
323
+ "requestStr": "$accountId:ID! ",
324
+ "required": true,
325
+ "responseStr": "accountId:$accountId ",
326
+ "type": {
327
+ "kind": [
328
+ "NON_NULL",
329
+ "SCALAR"
330
+ ],
331
+ "name": "ID",
332
+ "non_null": false
333
+ },
334
+ "varName": "accountId"
335
+ },
336
+ "policyMoveRuleInput": {
337
+ "defaultValue": null,
338
+ "description": null,
339
+ "id_str": "moveRule___input",
340
+ "name": "input",
341
+ "path": "moveRule.input",
342
+ "requestStr": "$policyMoveRuleInput:PolicyMoveRuleInput! ",
343
+ "required": true,
344
+ "responseStr": "input:$policyMoveRuleInput ",
345
+ "type": {
346
+ "definition": {
347
+ "description": "Move the rule to a different position in the policy",
348
+ "enumValues": null,
349
+ "fields": null,
350
+ "inputFields": {
351
+ "id": {
352
+ "defaultValue": null,
353
+ "description": null,
354
+ "id_str": "moveRule___input___id",
355
+ "name": "id",
356
+ "path": "moveRule.input.id",
357
+ "requestStr": "$id:ID! ",
358
+ "required": true,
359
+ "responseStr": "id:$id ",
360
+ "type": {
361
+ "kind": [
362
+ "NON_NULL",
363
+ "SCALAR"
364
+ ],
365
+ "name": "ID",
366
+ "non_null": false
367
+ },
368
+ "varName": "id"
369
+ },
370
+ "to": {
371
+ "defaultValue": null,
372
+ "description": null,
373
+ "id_str": "moveRule___input___to",
374
+ "name": "to",
375
+ "path": "moveRule.input.to",
376
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
377
+ "required": false,
378
+ "responseStr": "to:$policyRulePositionInput ",
379
+ "type": {
380
+ "definition": {
381
+ "description": "Parameters required to define the rule position",
382
+ "enumValues": null,
383
+ "fields": null,
384
+ "inputFields": {
385
+ "position": {
386
+ "defaultValue": null,
387
+ "description": "Position relative to a policy, a section or another rule",
388
+ "id_str": "moveRule___input___to___position",
389
+ "name": "position",
390
+ "path": "moveRule.input.to.position",
391
+ "requestStr": "$position:PolicyRulePositionEnum ",
392
+ "required": false,
393
+ "responseStr": "position:$position ",
394
+ "type": {
395
+ "definition": {
396
+ "description": "Enum for the position of a rule within a policy",
397
+ "enumValues": [
398
+ {
399
+ "deprecationReason": null,
400
+ "description": "The rule position is after the pre-existing specified rule",
401
+ "isDeprecated": false,
402
+ "name": "AFTER_RULE"
403
+ },
404
+ {
405
+ "deprecationReason": null,
406
+ "description": "The rule position is before the pre-existing specified rule",
407
+ "isDeprecated": false,
408
+ "name": "BEFORE_RULE"
409
+ },
410
+ {
411
+ "deprecationReason": null,
412
+ "description": "The rule position is first in the specified section",
413
+ "isDeprecated": false,
414
+ "name": "FIRST_IN_SECTION"
415
+ },
416
+ {
417
+ "deprecationReason": null,
418
+ "description": "The rule position is last in the specified section",
419
+ "isDeprecated": false,
420
+ "name": "LAST_IN_SECTION"
421
+ },
422
+ {
423
+ "deprecationReason": null,
424
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
425
+ "isDeprecated": false,
426
+ "name": "FIRST_IN_POLICY"
427
+ },
428
+ {
429
+ "deprecationReason": null,
430
+ "description": "The rule position is last in the policy",
431
+ "isDeprecated": false,
432
+ "name": "LAST_IN_POLICY"
433
+ }
434
+ ],
435
+ "fields": null,
436
+ "inputFields": null,
437
+ "interfaces": null,
438
+ "kind": "ENUM",
439
+ "name": "PolicyRulePositionEnum",
440
+ "possibleTypes": null
441
+ },
442
+ "indexType": "enum",
443
+ "kind": [
444
+ "ENUM"
445
+ ],
446
+ "name": "PolicyRulePositionEnum",
447
+ "non_null": false
448
+ },
449
+ "varName": "position"
450
+ },
451
+ "ref": {
452
+ "defaultValue": null,
453
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
454
+ "id_str": "moveRule___input___to___ref",
455
+ "name": "ref",
456
+ "path": "moveRule.input.to.ref",
457
+ "requestStr": "$ref:ID ",
458
+ "required": false,
459
+ "responseStr": "ref:$ref ",
460
+ "type": {
461
+ "kind": [
462
+ "SCALAR"
463
+ ],
464
+ "name": "ID",
465
+ "non_null": false
466
+ },
467
+ "varName": "ref"
468
+ }
469
+ },
470
+ "interfaces": null,
471
+ "kind": "INPUT_OBJECT",
472
+ "name": "PolicyRulePositionInput",
473
+ "possibleTypes": null
474
+ },
475
+ "indexType": "input_object",
476
+ "kind": [
477
+ "INPUT_OBJECT"
478
+ ],
479
+ "name": "PolicyRulePositionInput",
480
+ "non_null": false
481
+ },
482
+ "varName": "policyRulePositionInput"
483
+ }
484
+ },
485
+ "interfaces": null,
486
+ "kind": "INPUT_OBJECT",
487
+ "name": "PolicyMoveRuleInput",
488
+ "possibleTypes": null
489
+ },
490
+ "indexType": "input_object",
491
+ "kind": [
492
+ "NON_NULL",
493
+ "INPUT_OBJECT"
494
+ ],
495
+ "name": "PolicyMoveRuleInput",
496
+ "non_null": false
497
+ },
498
+ "varName": "policyMoveRuleInput"
499
+ },
500
+ "terminalServerPolicyMutationInput": {
501
+ "defaultValue": null,
502
+ "description": null,
503
+ "id_str": "terminalServer___input",
504
+ "name": "input",
505
+ "path": "terminalServer.input",
506
+ "requestStr": "$terminalServerPolicyMutationInput:TerminalServerPolicyMutationInput ",
507
+ "required": false,
508
+ "responseStr": "input:$terminalServerPolicyMutationInput ",
509
+ "type": {
510
+ "definition": {
511
+ "description": null,
512
+ "enumValues": null,
513
+ "fields": null,
514
+ "inputFields": {
515
+ "revision": {
516
+ "defaultValue": null,
517
+ "description": null,
518
+ "id_str": "terminalServer___input___revision",
519
+ "name": "revision",
520
+ "path": "terminalServer.input.revision",
521
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
522
+ "required": false,
523
+ "responseStr": "revision:$policyMutationRevisionInput ",
524
+ "type": {
525
+ "definition": {
526
+ "description": null,
527
+ "enumValues": null,
528
+ "fields": null,
529
+ "inputFields": {
530
+ "id": {
531
+ "defaultValue": null,
532
+ "description": null,
533
+ "id_str": "terminalServer___input___revision___id",
534
+ "name": "id",
535
+ "path": "terminalServer.input.revision.id",
536
+ "requestStr": "$id:ID ",
537
+ "required": false,
538
+ "responseStr": "id:$id ",
539
+ "type": {
540
+ "kind": [
541
+ "SCALAR"
542
+ ],
543
+ "name": "ID",
544
+ "non_null": false
545
+ },
546
+ "varName": "id"
547
+ }
548
+ },
549
+ "interfaces": null,
550
+ "kind": "INPUT_OBJECT",
551
+ "name": "PolicyMutationRevisionInput",
552
+ "possibleTypes": null
553
+ },
554
+ "indexType": "input_object",
555
+ "kind": [
556
+ "INPUT_OBJECT"
557
+ ],
558
+ "name": "PolicyMutationRevisionInput",
559
+ "non_null": false
560
+ },
561
+ "varName": "policyMutationRevisionInput"
562
+ }
563
+ },
564
+ "interfaces": null,
565
+ "kind": "INPUT_OBJECT",
566
+ "name": "TerminalServerPolicyMutationInput",
567
+ "possibleTypes": null
568
+ },
569
+ "indexType": "input_object",
570
+ "kind": [
571
+ "INPUT_OBJECT"
572
+ ],
573
+ "name": "TerminalServerPolicyMutationInput",
574
+ "non_null": false
575
+ },
576
+ "varName": "terminalServerPolicyMutationInput"
577
+ }
578
+ },
579
+ "path": "mutation.policy.terminalServer.moveRule",
580
+ "type": {
581
+ "definition": {
582
+ "description": "Policies that can be configured with mutation APIs.",
583
+ "enumValues": null,
584
+ "fields": {
585
+ "terminalServer": {
586
+ "args": {
587
+ "terminalServer___input": {
588
+ "defaultValue": null,
589
+ "description": null,
590
+ "id_str": "terminalServer___input",
591
+ "name": "input",
592
+ "path": "terminalServer.input",
593
+ "requestStr": "$terminalServerPolicyMutationInput:TerminalServerPolicyMutationInput ",
594
+ "required": false,
595
+ "responseStr": "input:$terminalServerPolicyMutationInput ",
596
+ "type": {
597
+ "definition": {
598
+ "description": null,
599
+ "enumValues": null,
600
+ "fields": null,
601
+ "inputFields": {
602
+ "revision": {
603
+ "defaultValue": null,
604
+ "description": null,
605
+ "id_str": "terminalServer___input___revision",
606
+ "name": "revision",
607
+ "path": "terminalServer.input.revision",
608
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
609
+ "required": false,
610
+ "responseStr": "revision:$policyMutationRevisionInput ",
611
+ "type": {
612
+ "definition": {
613
+ "description": null,
614
+ "enumValues": null,
615
+ "fields": null,
616
+ "inputFields": {
617
+ "id": {
618
+ "defaultValue": null,
619
+ "description": null,
620
+ "id_str": "terminalServer___input___revision___id",
621
+ "name": "id",
622
+ "path": "terminalServer.input.revision.id",
623
+ "requestStr": "$id:ID ",
624
+ "required": false,
625
+ "responseStr": "id:$id ",
626
+ "type": {
627
+ "kind": [
628
+ "SCALAR"
629
+ ],
630
+ "name": "ID",
631
+ "non_null": false
632
+ },
633
+ "varName": "id"
634
+ }
635
+ },
636
+ "interfaces": null,
637
+ "kind": "INPUT_OBJECT",
638
+ "name": "PolicyMutationRevisionInput",
639
+ "possibleTypes": null
640
+ },
641
+ "indexType": "input_object",
642
+ "kind": [
643
+ "INPUT_OBJECT"
644
+ ],
645
+ "name": "PolicyMutationRevisionInput",
646
+ "non_null": false
647
+ },
648
+ "varName": "policyMutationRevisionInput"
649
+ }
650
+ },
651
+ "interfaces": null,
652
+ "kind": "INPUT_OBJECT",
653
+ "name": "TerminalServerPolicyMutationInput",
654
+ "possibleTypes": null
655
+ },
656
+ "indexType": "input_object",
657
+ "kind": [
658
+ "INPUT_OBJECT"
659
+ ],
660
+ "name": "TerminalServerPolicyMutationInput",
661
+ "non_null": false
662
+ },
663
+ "varName": "terminalServerPolicyMutationInput"
664
+ }
665
+ },
666
+ "deprecationReason": null,
667
+ "description": null,
668
+ "id_str": "terminalServer",
669
+ "isDeprecated": false,
670
+ "name": "terminalServer",
671
+ "path": "terminalServer",
672
+ "requestStr": "$terminalServerPolicyMutations:TerminalServerPolicyMutations ",
673
+ "required": false,
674
+ "responseStr": "terminalServer:$terminalServerPolicyMutations ",
675
+ "type": {
676
+ "definition": {
677
+ "description": null,
678
+ "enumValues": null,
679
+ "fields": {
680
+ "moveRule": {
681
+ "args": {
682
+ "moveRule___input": {
683
+ "defaultValue": null,
684
+ "description": null,
685
+ "id_str": "moveRule___input",
686
+ "name": "input",
687
+ "path": "moveRule.input",
688
+ "requestStr": "$policyMoveRuleInput:PolicyMoveRuleInput! ",
689
+ "required": true,
690
+ "responseStr": "input:$policyMoveRuleInput ",
691
+ "type": {
692
+ "definition": {
693
+ "description": "Move the rule to a different position in the policy",
694
+ "enumValues": null,
695
+ "fields": null,
696
+ "inputFields": {
697
+ "id": {
698
+ "defaultValue": null,
699
+ "description": null,
700
+ "id_str": "moveRule___input___id",
701
+ "name": "id",
702
+ "path": "moveRule.input.id",
703
+ "requestStr": "$id:ID! ",
704
+ "required": true,
705
+ "responseStr": "id:$id ",
706
+ "type": {
707
+ "kind": [
708
+ "NON_NULL",
709
+ "SCALAR"
710
+ ],
711
+ "name": "ID",
712
+ "non_null": false
713
+ },
714
+ "varName": "id"
715
+ },
716
+ "to": {
717
+ "defaultValue": null,
718
+ "description": null,
719
+ "id_str": "moveRule___input___to",
720
+ "name": "to",
721
+ "path": "moveRule.input.to",
722
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
723
+ "required": false,
724
+ "responseStr": "to:$policyRulePositionInput ",
725
+ "type": {
726
+ "definition": {
727
+ "description": "Parameters required to define the rule position",
728
+ "enumValues": null,
729
+ "fields": null,
730
+ "inputFields": {
731
+ "position": {
732
+ "defaultValue": null,
733
+ "description": "Position relative to a policy, a section or another rule",
734
+ "id_str": "moveRule___input___to___position",
735
+ "name": "position",
736
+ "path": "moveRule.input.to.position",
737
+ "requestStr": "$position:PolicyRulePositionEnum ",
738
+ "required": false,
739
+ "responseStr": "position:$position ",
740
+ "type": {
741
+ "definition": {
742
+ "description": "Enum for the position of a rule within a policy",
743
+ "enumValues": [
744
+ {
745
+ "deprecationReason": null,
746
+ "description": "The rule position is after the pre-existing specified rule",
747
+ "isDeprecated": false,
748
+ "name": "AFTER_RULE"
749
+ },
750
+ {
751
+ "deprecationReason": null,
752
+ "description": "The rule position is before the pre-existing specified rule",
753
+ "isDeprecated": false,
754
+ "name": "BEFORE_RULE"
755
+ },
756
+ {
757
+ "deprecationReason": null,
758
+ "description": "The rule position is first in the specified section",
759
+ "isDeprecated": false,
760
+ "name": "FIRST_IN_SECTION"
761
+ },
762
+ {
763
+ "deprecationReason": null,
764
+ "description": "The rule position is last in the specified section",
765
+ "isDeprecated": false,
766
+ "name": "LAST_IN_SECTION"
767
+ },
768
+ {
769
+ "deprecationReason": null,
770
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
771
+ "isDeprecated": false,
772
+ "name": "FIRST_IN_POLICY"
773
+ },
774
+ {
775
+ "deprecationReason": null,
776
+ "description": "The rule position is last in the policy",
777
+ "isDeprecated": false,
778
+ "name": "LAST_IN_POLICY"
779
+ }
780
+ ],
781
+ "fields": null,
782
+ "inputFields": null,
783
+ "interfaces": null,
784
+ "kind": "ENUM",
785
+ "name": "PolicyRulePositionEnum",
786
+ "possibleTypes": null
787
+ },
788
+ "indexType": "enum",
789
+ "kind": [
790
+ "ENUM"
791
+ ],
792
+ "name": "PolicyRulePositionEnum",
793
+ "non_null": false
794
+ },
795
+ "varName": "position"
796
+ },
797
+ "ref": {
798
+ "defaultValue": null,
799
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
800
+ "id_str": "moveRule___input___to___ref",
801
+ "name": "ref",
802
+ "path": "moveRule.input.to.ref",
803
+ "requestStr": "$ref:ID ",
804
+ "required": false,
805
+ "responseStr": "ref:$ref ",
806
+ "type": {
807
+ "kind": [
808
+ "SCALAR"
809
+ ],
810
+ "name": "ID",
811
+ "non_null": false
812
+ },
813
+ "varName": "ref"
814
+ }
815
+ },
816
+ "interfaces": null,
817
+ "kind": "INPUT_OBJECT",
818
+ "name": "PolicyRulePositionInput",
819
+ "possibleTypes": null
820
+ },
821
+ "indexType": "input_object",
822
+ "kind": [
823
+ "INPUT_OBJECT"
824
+ ],
825
+ "name": "PolicyRulePositionInput",
826
+ "non_null": false
827
+ },
828
+ "varName": "policyRulePositionInput"
829
+ }
830
+ },
831
+ "interfaces": null,
832
+ "kind": "INPUT_OBJECT",
833
+ "name": "PolicyMoveRuleInput",
834
+ "possibleTypes": null
835
+ },
836
+ "indexType": "input_object",
837
+ "kind": [
838
+ "NON_NULL",
839
+ "INPUT_OBJECT"
840
+ ],
841
+ "name": "PolicyMoveRuleInput",
842
+ "non_null": false
843
+ },
844
+ "varName": "policyMoveRuleInput"
845
+ }
846
+ },
847
+ "deprecationReason": null,
848
+ "description": null,
849
+ "id_str": "terminalServer___moveRule",
850
+ "isDeprecated": false,
851
+ "name": "moveRule",
852
+ "path": "terminalServer.moveRule",
853
+ "requestStr": "$terminalServerRuleMutationPayload:TerminalServerRuleMutationPayload! ",
854
+ "required": true,
855
+ "responseStr": "moveRule:$terminalServerRuleMutationPayload ",
856
+ "type": {
857
+ "definition": {
858
+ "description": null,
859
+ "enumValues": null,
860
+ "fields": {
861
+ "errors": {
862
+ "alias": "policyMutationErrorErrors: errors",
863
+ "args": {},
864
+ "deprecationReason": null,
865
+ "description": null,
866
+ "id_str": "terminalServer___moveRule___errors",
867
+ "isDeprecated": false,
868
+ "name": "errors",
869
+ "path": "terminalServer.moveRule.errors",
870
+ "requestStr": "$policyMutationError:[PolicyMutationError]! ",
871
+ "required": true,
872
+ "responseStr": "errors:$policyMutationError ",
873
+ "type": {
874
+ "definition": {
875
+ "description": "The `PolicyMutationError` enum defines various error messages related to policy publishing in the policy platform service.\n\n## Policy Errors\n\n### `ConcurrentPolicyPublish`\n- **Error Message:** \"Another policy is currently publishing\"\n\n### `PolicyRevisionMismatch`\n- **Error Message:** \"Revision is not owned by the admin\"\n\n### `PolicyRevisionNotFound`\n- **Error Message:** \"Revision was not found\"\n\n### `PolicyInvalidEntity`\n- **Error Message:** \"Invalid entity\"\n\n### `DuplicateRuleName`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `DuplicateSectionName`\n- **Error Message:** \"Section with the same name already exists\"\n\n### `PolicyFailure`\n- **Error Message:** \"Can\u2019t publish policy due to an internal error. Please try again in a few minutes\"\n\n\n## Rule Errors\n\n### `ruleIsLocked`\n- **Error Message:** \"Rule is locked by another revision\"\n\n### `ruleWasRemoved`\n- **Error Message:** \"Rule was already removed\"\n\n### `ruleNotExist`\n- **Error Message:** \"Rule does not exist\"\n\n### `ruleSectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `ruleSectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `rulePositionInvalid`\n- **Error Message:** \"Rule position is invalid\"\n\n### `ruleNameIsEmpty`\n- **Error Message:** \"Rule name can't be empty\"\n\n### `ruleNameAlreadyExists`\n- **Error Message:** \"Rule with the same name already exists\"\n\n### `ruleSystemModification`\n- **Error Message:** \"Can't modify a system rule\"\n\n### `ruleSystemMove`\n- **Error Message:** \"Can't add a rule above the system rules\"\n\n### `ruleHasInvalidEntity`\n- **Error Message:** \"Rule has an invalid entity\"\n\n### `failedValidatingRule`\n- **Error Message:** \"Something went wrong, couldn't validate rule\"\n\n\n## Section Errors\n\n### `sectionIsLocked`\n- **Error Message:** \"Section is locked by another revision\"\n\n### `sectionSystemMove`\n- **Error Message:** \"Section with system rules cannot be moved or removed\"\n\n### `sectionNotExist`\n- **Error Message:** \"Section does not exist\"\n\n### `sectionPositionInvalid`\n- **Error Message:** \"Section position is invalid\"",
876
+ "enumValues": null,
877
+ "fields": {
878
+ "errorCode": {
879
+ "args": {},
880
+ "deprecationReason": null,
881
+ "description": null,
882
+ "id_str": "terminalServer___moveRule___errors___errorCode",
883
+ "isDeprecated": false,
884
+ "name": "errorCode",
885
+ "path": "terminalServer.moveRule.errors.errorCode",
886
+ "requestStr": "$errorCode:String ",
887
+ "required": false,
888
+ "responseStr": "errorCode:$errorCode ",
889
+ "type": {
890
+ "kind": [
891
+ "SCALAR"
892
+ ],
893
+ "name": "String",
894
+ "non_null": false
895
+ },
896
+ "varName": "errorCode"
897
+ },
898
+ "errorMessage": {
899
+ "args": {},
900
+ "deprecationReason": null,
901
+ "description": null,
902
+ "id_str": "terminalServer___moveRule___errors___errorMessage",
903
+ "isDeprecated": false,
904
+ "name": "errorMessage",
905
+ "path": "terminalServer.moveRule.errors.errorMessage",
906
+ "requestStr": "$errorMessage:String ",
907
+ "required": false,
908
+ "responseStr": "errorMessage:$errorMessage ",
909
+ "type": {
910
+ "kind": [
911
+ "SCALAR"
912
+ ],
913
+ "name": "String",
914
+ "non_null": false
915
+ },
916
+ "varName": "errorMessage"
917
+ }
918
+ },
919
+ "inputFields": null,
920
+ "interfaces": {},
921
+ "kind": "OBJECT",
922
+ "name": "PolicyMutationError",
923
+ "possibleTypes": null
924
+ },
925
+ "indexType": "object",
926
+ "kind": [
927
+ "NON_NULL",
928
+ "LIST",
929
+ "NON_NULL",
930
+ "OBJECT"
931
+ ],
932
+ "name": "PolicyMutationError",
933
+ "non_null": false
934
+ },
935
+ "varName": "policyMutationError"
936
+ },
937
+ "rule": {
938
+ "alias": "terminalServerRulePayloadRule: rule",
939
+ "args": {},
940
+ "deprecationReason": null,
941
+ "description": null,
942
+ "id_str": "terminalServer___moveRule___rule",
943
+ "isDeprecated": false,
944
+ "name": "rule",
945
+ "path": "terminalServer.moveRule.rule",
946
+ "requestStr": "$terminalServerRulePayload:TerminalServerRulePayload ",
947
+ "required": false,
948
+ "responseStr": "rule:$terminalServerRulePayload ",
949
+ "type": {
950
+ "definition": {
951
+ "description": null,
952
+ "enumValues": null,
953
+ "fields": {
954
+ "audit": {
955
+ "args": {},
956
+ "deprecationReason": null,
957
+ "description": null,
958
+ "id_str": "terminalServer___moveRule___rule___audit",
959
+ "isDeprecated": false,
960
+ "name": "audit",
961
+ "path": "terminalServer.moveRule.rule.audit",
962
+ "requestStr": "$policyElementAudit:PolicyElementAudit! ",
963
+ "required": true,
964
+ "responseStr": "audit:$policyElementAudit ",
965
+ "type": {
966
+ "definition": {
967
+ "description": null,
968
+ "enumValues": null,
969
+ "fields": {
970
+ "updatedBy": {
971
+ "args": {},
972
+ "deprecationReason": null,
973
+ "description": "The admin, or the API-key, that performed the last update",
974
+ "id_str": "terminalServer___moveRule___rule___audit___updatedBy",
975
+ "isDeprecated": false,
976
+ "name": "updatedBy",
977
+ "path": "terminalServer.moveRule.rule.audit.updatedBy",
978
+ "requestStr": "$updatedBy:String! ",
979
+ "required": true,
980
+ "responseStr": "updatedBy:$updatedBy ",
981
+ "type": {
982
+ "kind": [
983
+ "NON_NULL",
984
+ "SCALAR"
985
+ ],
986
+ "name": "String",
987
+ "non_null": false
988
+ },
989
+ "varName": "updatedBy"
990
+ },
991
+ "updatedTime": {
992
+ "args": {},
993
+ "deprecationReason": null,
994
+ "description": "The last date and time the rule was updated",
995
+ "id_str": "terminalServer___moveRule___rule___audit___updatedTime",
996
+ "isDeprecated": false,
997
+ "name": "updatedTime",
998
+ "path": "terminalServer.moveRule.rule.audit.updatedTime",
999
+ "requestStr": "$updatedTime:DateTime! ",
1000
+ "required": true,
1001
+ "responseStr": "updatedTime:$updatedTime ",
1002
+ "type": {
1003
+ "kind": [
1004
+ "NON_NULL",
1005
+ "SCALAR"
1006
+ ],
1007
+ "name": "DateTime",
1008
+ "non_null": false
1009
+ },
1010
+ "varName": "updatedTime"
1011
+ }
1012
+ },
1013
+ "inputFields": null,
1014
+ "interfaces": {},
1015
+ "kind": "OBJECT",
1016
+ "name": "PolicyElementAudit",
1017
+ "possibleTypes": null
1018
+ },
1019
+ "indexType": "object",
1020
+ "kind": [
1021
+ "NON_NULL",
1022
+ "OBJECT"
1023
+ ],
1024
+ "name": "PolicyElementAudit",
1025
+ "non_null": false
1026
+ },
1027
+ "varName": "policyElementAudit"
1028
+ },
1029
+ "properties": {
1030
+ "args": {},
1031
+ "deprecationReason": null,
1032
+ "description": null,
1033
+ "id_str": "terminalServer___moveRule___rule___properties",
1034
+ "isDeprecated": false,
1035
+ "name": "properties",
1036
+ "path": "terminalServer.moveRule.rule.properties",
1037
+ "requestStr": "$properties:[PolicyElementPropertiesEnum]! ",
1038
+ "required": true,
1039
+ "responseStr": "properties:$properties ",
1040
+ "type": {
1041
+ "definition": {
1042
+ "description": "Attributes describing the rule state or type",
1043
+ "enumValues": [
1044
+ {
1045
+ "deprecationReason": null,
1046
+ "description": "New (added) rule",
1047
+ "isDeprecated": false,
1048
+ "name": "ADDED"
1049
+ },
1050
+ {
1051
+ "deprecationReason": null,
1052
+ "description": "Updated (modified) existing rule",
1053
+ "isDeprecated": false,
1054
+ "name": "UPDATED"
1055
+ },
1056
+ {
1057
+ "deprecationReason": null,
1058
+ "description": "Removed (deleted) rule",
1059
+ "isDeprecated": false,
1060
+ "name": "REMOVED"
1061
+ },
1062
+ {
1063
+ "deprecationReason": null,
1064
+ "description": "A rule moved to a different position",
1065
+ "isDeprecated": false,
1066
+ "name": "MOVED"
1067
+ },
1068
+ {
1069
+ "deprecationReason": null,
1070
+ "description": "A rule locked for changes by other admins",
1071
+ "isDeprecated": false,
1072
+ "name": "LOCKED"
1073
+ },
1074
+ {
1075
+ "deprecationReason": null,
1076
+ "description": "An object can not be moved, or referenced when moving other objects.\nHowever its properties and content can be modified.",
1077
+ "isDeprecated": false,
1078
+ "name": "ANCHORED"
1079
+ },
1080
+ {
1081
+ "deprecationReason": null,
1082
+ "description": "A pre-defined (system) rule that cannot be modified or removed",
1083
+ "isDeprecated": false,
1084
+ "name": "SYSTEM"
1085
+ }
1086
+ ],
1087
+ "fields": null,
1088
+ "inputFields": null,
1089
+ "interfaces": null,
1090
+ "kind": "ENUM",
1091
+ "name": "PolicyElementPropertiesEnum",
1092
+ "possibleTypes": null
1093
+ },
1094
+ "indexType": "enum",
1095
+ "kind": [
1096
+ "NON_NULL",
1097
+ "LIST",
1098
+ "NON_NULL",
1099
+ "ENUM"
1100
+ ],
1101
+ "name": "PolicyElementPropertiesEnum",
1102
+ "non_null": false
1103
+ },
1104
+ "varName": "properties"
1105
+ },
1106
+ "rule": {
1107
+ "args": {},
1108
+ "deprecationReason": null,
1109
+ "description": null,
1110
+ "id_str": "terminalServer___moveRule___rule___rule",
1111
+ "isDeprecated": false,
1112
+ "name": "rule",
1113
+ "path": "terminalServer.moveRule.rule.rule",
1114
+ "requestStr": "$terminalServerRule:TerminalServerRule! ",
1115
+ "required": true,
1116
+ "responseStr": "rule:$terminalServerRule ",
1117
+ "type": {
1118
+ "definition": {
1119
+ "description": null,
1120
+ "enumValues": null,
1121
+ "fields": {
1122
+ "allowedHostIP": {
1123
+ "alias": "globalIpRangeRefAllowedHostIP: allowedHostIP",
1124
+ "args": {},
1125
+ "deprecationReason": null,
1126
+ "description": "Allowed Host IP range.\nall the other IPs will be blocked by the pop.\nGlobally defined IP range",
1127
+ "id_str": "terminalServer___moveRule___rule___rule___allowedHostIP",
1128
+ "isDeprecated": false,
1129
+ "name": "allowedHostIP",
1130
+ "path": "terminalServer.moveRule.rule.rule.allowedHostIP",
1131
+ "requestStr": "$globalIpRangeRef:GlobalIpRangeRef! ",
1132
+ "required": true,
1133
+ "responseStr": "allowedHostIP:$globalIpRangeRef ",
1134
+ "type": {
1135
+ "definition": {
1136
+ "description": "A reference identifying the GlobalIpRange object. ID: Unique GlobalIpRange Identifier, Name: The GlobalIpRange Name",
1137
+ "enumValues": null,
1138
+ "fields": {
1139
+ "id": {
1140
+ "args": {},
1141
+ "deprecationReason": null,
1142
+ "description": null,
1143
+ "id_str": "terminalServer___moveRule___rule___rule___allowedHostIP___id",
1144
+ "isDeprecated": false,
1145
+ "name": "id",
1146
+ "path": "terminalServer.moveRule.rule.rule.allowedHostIP.id",
1147
+ "requestStr": "$id:ID! ",
1148
+ "required": true,
1149
+ "responseStr": "id:$id ",
1150
+ "type": {
1151
+ "kind": [
1152
+ "NON_NULL",
1153
+ "SCALAR"
1154
+ ],
1155
+ "name": "ID",
1156
+ "non_null": false
1157
+ },
1158
+ "varName": "id"
1159
+ },
1160
+ "name": {
1161
+ "args": {},
1162
+ "deprecationReason": null,
1163
+ "description": null,
1164
+ "id_str": "terminalServer___moveRule___rule___rule___allowedHostIP___name",
1165
+ "isDeprecated": false,
1166
+ "name": "name",
1167
+ "path": "terminalServer.moveRule.rule.rule.allowedHostIP.name",
1168
+ "requestStr": "$name:String! ",
1169
+ "required": true,
1170
+ "responseStr": "name:$name ",
1171
+ "type": {
1172
+ "kind": [
1173
+ "NON_NULL",
1174
+ "SCALAR"
1175
+ ],
1176
+ "name": "String",
1177
+ "non_null": false
1178
+ },
1179
+ "varName": "name"
1180
+ }
1181
+ },
1182
+ "inputFields": null,
1183
+ "interfaces": {},
1184
+ "kind": "OBJECT",
1185
+ "name": "GlobalIpRangeRef",
1186
+ "possibleTypes": null
1187
+ },
1188
+ "indexType": "object",
1189
+ "kind": [
1190
+ "NON_NULL",
1191
+ "OBJECT"
1192
+ ],
1193
+ "name": "GlobalIpRangeRef",
1194
+ "non_null": false
1195
+ },
1196
+ "varName": "globalIpRangeRef"
1197
+ },
1198
+ "description": {
1199
+ "args": {},
1200
+ "deprecationReason": null,
1201
+ "description": "Description for the rule",
1202
+ "id_str": "terminalServer___moveRule___rule___rule___description",
1203
+ "isDeprecated": false,
1204
+ "name": "description",
1205
+ "path": "terminalServer.moveRule.rule.rule.description",
1206
+ "requestStr": "$description:String! ",
1207
+ "required": true,
1208
+ "responseStr": "description:$description ",
1209
+ "type": {
1210
+ "kind": [
1211
+ "NON_NULL",
1212
+ "SCALAR"
1213
+ ],
1214
+ "name": "String",
1215
+ "non_null": false
1216
+ },
1217
+ "varName": "description"
1218
+ },
1219
+ "enabled": {
1220
+ "args": {},
1221
+ "deprecationReason": null,
1222
+ "description": "TRUE = Rule is enabled \n FALSE = Rule is disabled",
1223
+ "id_str": "terminalServer___moveRule___rule___rule___enabled",
1224
+ "isDeprecated": false,
1225
+ "name": "enabled",
1226
+ "path": "terminalServer.moveRule.rule.rule.enabled",
1227
+ "requestStr": "$enabled:Boolean! ",
1228
+ "required": true,
1229
+ "responseStr": "enabled:$enabled ",
1230
+ "type": {
1231
+ "kind": [
1232
+ "NON_NULL",
1233
+ "SCALAR"
1234
+ ],
1235
+ "name": "Boolean",
1236
+ "non_null": false
1237
+ },
1238
+ "varName": "enabled"
1239
+ },
1240
+ "excludeTraffic": {
1241
+ "alias": "globalIpRangeRefExcludeTraffic: excludeTraffic",
1242
+ "args": {},
1243
+ "deprecationReason": null,
1244
+ "description": "Exclude traffic IP Range.\nall traffic to those Ips will be excluded from the GRE tunnel.\nGlobally defined IP range",
1245
+ "id_str": "terminalServer___moveRule___rule___rule___excludeTraffic",
1246
+ "isDeprecated": false,
1247
+ "name": "excludeTraffic",
1248
+ "path": "terminalServer.moveRule.rule.rule.excludeTraffic",
1249
+ "requestStr": "$globalIpRangeRef:[GlobalIpRangeRef]! ",
1250
+ "required": true,
1251
+ "responseStr": "excludeTraffic:$globalIpRangeRef ",
1252
+ "type": {
1253
+ "definition": {
1254
+ "description": "A reference identifying the GlobalIpRange object. ID: Unique GlobalIpRange Identifier, Name: The GlobalIpRange Name",
1255
+ "enumValues": null,
1256
+ "fields": {
1257
+ "id": {
1258
+ "args": {},
1259
+ "deprecationReason": null,
1260
+ "description": null,
1261
+ "id_str": "terminalServer___moveRule___rule___rule___excludeTraffic___id",
1262
+ "isDeprecated": false,
1263
+ "name": "id",
1264
+ "path": "terminalServer.moveRule.rule.rule.excludeTraffic.id",
1265
+ "requestStr": "$id:ID! ",
1266
+ "required": true,
1267
+ "responseStr": "id:$id ",
1268
+ "type": {
1269
+ "kind": [
1270
+ "NON_NULL",
1271
+ "SCALAR"
1272
+ ],
1273
+ "name": "ID",
1274
+ "non_null": false
1275
+ },
1276
+ "varName": "id"
1277
+ },
1278
+ "name": {
1279
+ "args": {},
1280
+ "deprecationReason": null,
1281
+ "description": null,
1282
+ "id_str": "terminalServer___moveRule___rule___rule___excludeTraffic___name",
1283
+ "isDeprecated": false,
1284
+ "name": "name",
1285
+ "path": "terminalServer.moveRule.rule.rule.excludeTraffic.name",
1286
+ "requestStr": "$name:String! ",
1287
+ "required": true,
1288
+ "responseStr": "name:$name ",
1289
+ "type": {
1290
+ "kind": [
1291
+ "NON_NULL",
1292
+ "SCALAR"
1293
+ ],
1294
+ "name": "String",
1295
+ "non_null": false
1296
+ },
1297
+ "varName": "name"
1298
+ }
1299
+ },
1300
+ "inputFields": null,
1301
+ "interfaces": {},
1302
+ "kind": "OBJECT",
1303
+ "name": "GlobalIpRangeRef",
1304
+ "possibleTypes": null
1305
+ },
1306
+ "indexType": "object",
1307
+ "kind": [
1308
+ "NON_NULL",
1309
+ "LIST",
1310
+ "NON_NULL",
1311
+ "OBJECT"
1312
+ ],
1313
+ "name": "GlobalIpRangeRef",
1314
+ "non_null": false
1315
+ },
1316
+ "varName": "globalIpRangeRef"
1317
+ },
1318
+ "id": {
1319
+ "args": {},
1320
+ "deprecationReason": null,
1321
+ "description": "Rule ID",
1322
+ "id_str": "terminalServer___moveRule___rule___rule___id",
1323
+ "isDeprecated": false,
1324
+ "name": "id",
1325
+ "path": "terminalServer.moveRule.rule.rule.id",
1326
+ "requestStr": "$id:ID! ",
1327
+ "required": true,
1328
+ "responseStr": "id:$id ",
1329
+ "type": {
1330
+ "kind": [
1331
+ "NON_NULL",
1332
+ "SCALAR"
1333
+ ],
1334
+ "name": "ID",
1335
+ "non_null": false
1336
+ },
1337
+ "varName": "id"
1338
+ },
1339
+ "index": {
1340
+ "args": {},
1341
+ "deprecationReason": null,
1342
+ "description": "Position / priority of rule",
1343
+ "id_str": "terminalServer___moveRule___rule___rule___index",
1344
+ "isDeprecated": false,
1345
+ "name": "index",
1346
+ "path": "terminalServer.moveRule.rule.rule.index",
1347
+ "requestStr": "$index:Int! ",
1348
+ "required": true,
1349
+ "responseStr": "index:$index ",
1350
+ "type": {
1351
+ "kind": [
1352
+ "NON_NULL",
1353
+ "SCALAR"
1354
+ ],
1355
+ "name": "Int",
1356
+ "non_null": false
1357
+ },
1358
+ "varName": "index"
1359
+ },
1360
+ "name": {
1361
+ "args": {},
1362
+ "deprecationReason": null,
1363
+ "description": "Name of the rule",
1364
+ "id_str": "terminalServer___moveRule___rule___rule___name",
1365
+ "isDeprecated": false,
1366
+ "name": "name",
1367
+ "path": "terminalServer.moveRule.rule.rule.name",
1368
+ "requestStr": "$name:String! ",
1369
+ "required": true,
1370
+ "responseStr": "name:$name ",
1371
+ "type": {
1372
+ "kind": [
1373
+ "NON_NULL",
1374
+ "SCALAR"
1375
+ ],
1376
+ "name": "String",
1377
+ "non_null": false
1378
+ },
1379
+ "varName": "name"
1380
+ },
1381
+ "section": {
1382
+ "alias": "policySectionInfoSection: section",
1383
+ "args": {},
1384
+ "deprecationReason": null,
1385
+ "description": "Policy section where the rule is located",
1386
+ "id_str": "terminalServer___moveRule___rule___rule___section",
1387
+ "isDeprecated": false,
1388
+ "name": "section",
1389
+ "path": "terminalServer.moveRule.rule.rule.section",
1390
+ "requestStr": "$policySectionInfo:PolicySectionInfo! ",
1391
+ "required": true,
1392
+ "responseStr": "section:$policySectionInfo ",
1393
+ "type": {
1394
+ "definition": {
1395
+ "description": "Define settings for a policy section",
1396
+ "enumValues": null,
1397
+ "fields": {
1398
+ "id": {
1399
+ "args": {},
1400
+ "deprecationReason": null,
1401
+ "description": null,
1402
+ "id_str": "terminalServer___moveRule___rule___rule___section___id",
1403
+ "isDeprecated": false,
1404
+ "name": "id",
1405
+ "path": "terminalServer.moveRule.rule.rule.section.id",
1406
+ "requestStr": "$id:ID! ",
1407
+ "required": true,
1408
+ "responseStr": "id:$id ",
1409
+ "type": {
1410
+ "kind": [
1411
+ "NON_NULL",
1412
+ "SCALAR"
1413
+ ],
1414
+ "name": "ID",
1415
+ "non_null": false
1416
+ },
1417
+ "varName": "id"
1418
+ },
1419
+ "name": {
1420
+ "args": {},
1421
+ "deprecationReason": null,
1422
+ "description": null,
1423
+ "id_str": "terminalServer___moveRule___rule___rule___section___name",
1424
+ "isDeprecated": false,
1425
+ "name": "name",
1426
+ "path": "terminalServer.moveRule.rule.rule.section.name",
1427
+ "requestStr": "$name:String! ",
1428
+ "required": true,
1429
+ "responseStr": "name:$name ",
1430
+ "type": {
1431
+ "kind": [
1432
+ "NON_NULL",
1433
+ "SCALAR"
1434
+ ],
1435
+ "name": "String",
1436
+ "non_null": false
1437
+ },
1438
+ "varName": "name"
1439
+ }
1440
+ },
1441
+ "inputFields": null,
1442
+ "interfaces": {},
1443
+ "kind": "OBJECT",
1444
+ "name": "PolicySectionInfo",
1445
+ "possibleTypes": null
1446
+ },
1447
+ "indexType": "object",
1448
+ "kind": [
1449
+ "NON_NULL",
1450
+ "OBJECT"
1451
+ ],
1452
+ "name": "PolicySectionInfo",
1453
+ "non_null": false
1454
+ },
1455
+ "varName": "policySectionInfo"
1456
+ }
1457
+ },
1458
+ "inputFields": null,
1459
+ "interfaces": {},
1460
+ "kind": "OBJECT",
1461
+ "name": "TerminalServerRule",
1462
+ "possibleTypes": null
1463
+ },
1464
+ "indexType": "object",
1465
+ "kind": [
1466
+ "NON_NULL",
1467
+ "OBJECT"
1468
+ ],
1469
+ "name": "TerminalServerRule",
1470
+ "non_null": false
1471
+ },
1472
+ "varName": "terminalServerRule"
1473
+ }
1474
+ },
1475
+ "inputFields": null,
1476
+ "interfaces": {},
1477
+ "kind": "OBJECT",
1478
+ "name": "TerminalServerRulePayload",
1479
+ "possibleTypes": null
1480
+ },
1481
+ "indexType": "object",
1482
+ "kind": [
1483
+ "OBJECT"
1484
+ ],
1485
+ "name": "TerminalServerRulePayload",
1486
+ "non_null": false
1487
+ },
1488
+ "varName": "terminalServerRulePayload"
1489
+ },
1490
+ "status": {
1491
+ "alias": "policyMutationStatusStatus: status",
1492
+ "args": {},
1493
+ "deprecationReason": null,
1494
+ "description": null,
1495
+ "id_str": "terminalServer___moveRule___status",
1496
+ "isDeprecated": false,
1497
+ "name": "status",
1498
+ "path": "terminalServer.moveRule.status",
1499
+ "requestStr": "$status:PolicyMutationStatus! ",
1500
+ "required": true,
1501
+ "responseStr": "status:$status ",
1502
+ "type": {
1503
+ "definition": {
1504
+ "description": "Enum for the status of a policy mutation",
1505
+ "enumValues": [
1506
+ {
1507
+ "deprecationReason": null,
1508
+ "description": null,
1509
+ "isDeprecated": false,
1510
+ "name": "SUCCESS"
1511
+ },
1512
+ {
1513
+ "deprecationReason": null,
1514
+ "description": null,
1515
+ "isDeprecated": false,
1516
+ "name": "FAILURE"
1517
+ }
1518
+ ],
1519
+ "fields": null,
1520
+ "inputFields": null,
1521
+ "interfaces": null,
1522
+ "kind": "ENUM",
1523
+ "name": "PolicyMutationStatus",
1524
+ "possibleTypes": null
1525
+ },
1526
+ "indexType": "enum",
1527
+ "kind": [
1528
+ "NON_NULL",
1529
+ "ENUM"
1530
+ ],
1531
+ "name": "PolicyMutationStatus",
1532
+ "non_null": false
1533
+ },
1534
+ "varName": "status"
1535
+ }
1536
+ },
1537
+ "inputFields": null,
1538
+ "interfaces": {},
1539
+ "kind": "OBJECT",
1540
+ "name": "TerminalServerRuleMutationPayload",
1541
+ "possibleTypes": null
1542
+ },
1543
+ "indexType": "object",
1544
+ "kind": [
1545
+ "NON_NULL",
1546
+ "OBJECT"
1547
+ ],
1548
+ "name": "TerminalServerRuleMutationPayload",
1549
+ "non_null": false
1550
+ },
1551
+ "varName": "terminalServerRuleMutationPayload"
1552
+ }
1553
+ },
1554
+ "inputFields": null,
1555
+ "interfaces": {},
1556
+ "kind": "OBJECT",
1557
+ "name": "TerminalServerPolicyMutations",
1558
+ "possibleTypes": null
1559
+ },
1560
+ "indexType": "object",
1561
+ "kind": [
1562
+ "OBJECT"
1563
+ ],
1564
+ "name": "TerminalServerPolicyMutations",
1565
+ "non_null": false
1566
+ },
1567
+ "varName": "terminalServerPolicyMutations"
1568
+ }
1569
+ },
1570
+ "inputFields": null,
1571
+ "interfaces": [],
1572
+ "kind": "OBJECT",
1573
+ "name": "PolicyMutations",
1574
+ "possibleTypes": null
1575
+ },
1576
+ "indexType": "object",
1577
+ "kind": [
1578
+ "OBJECT"
1579
+ ],
1580
+ "name": "PolicyMutations",
1581
+ "non_null": false
1582
+ },
1583
+ "variablesPayload": {
1584
+ "policyMoveRuleInput": {
1585
+ "id": {
1586
+ "id": "ID"
1587
+ },
1588
+ "policyRulePositionInput": {
1589
+ "position": {
1590
+ "position": "enum(PolicyRulePositionEnum)"
1591
+ },
1592
+ "ref": {
1593
+ "ref": "ID"
1594
+ }
1595
+ }
1596
+ },
1597
+ "terminalServerPolicyMutationInput": {
1598
+ "policyMutationRevisionInput": {
1599
+ "id": {
1600
+ "id": "ID"
1601
+ }
1602
+ }
1603
+ }
1604
+ }
1605
+ }