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,2403 @@
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
+ "addRule": {
25
+ "args": {
26
+ "addRule___input": {
27
+ "defaultValue": null,
28
+ "description": null,
29
+ "id_str": "addRule___input",
30
+ "name": "input",
31
+ "path": "addRule.input",
32
+ "requestStr": "$terminalServerAddRuleInput:TerminalServerAddRuleInput! ",
33
+ "required": true,
34
+ "responseStr": "input:$terminalServerAddRuleInput ",
35
+ "type": {
36
+ "definition": {
37
+ "description": null,
38
+ "enumValues": null,
39
+ "fields": null,
40
+ "inputFields": {
41
+ "at": {
42
+ "defaultValue": null,
43
+ "description": "Position of the rule in the policy",
44
+ "id_str": "addRule___input___at",
45
+ "name": "at",
46
+ "path": "addRule.input.at",
47
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
48
+ "required": false,
49
+ "responseStr": "at:$policyRulePositionInput ",
50
+ "type": {
51
+ "definition": {
52
+ "description": "Parameters required to define the rule position",
53
+ "enumValues": null,
54
+ "fields": null,
55
+ "inputFields": {
56
+ "position": {
57
+ "defaultValue": null,
58
+ "description": "Position relative to a policy, a section or another rule",
59
+ "id_str": "addRule___input___at___position",
60
+ "name": "position",
61
+ "path": "addRule.input.at.position",
62
+ "requestStr": "$position:PolicyRulePositionEnum ",
63
+ "required": false,
64
+ "responseStr": "position:$position ",
65
+ "type": {
66
+ "definition": {
67
+ "description": "Enum for the position of a rule within a policy",
68
+ "enumValues": [
69
+ {
70
+ "deprecationReason": null,
71
+ "description": "The rule position is after the pre-existing specified rule",
72
+ "isDeprecated": false,
73
+ "name": "AFTER_RULE"
74
+ },
75
+ {
76
+ "deprecationReason": null,
77
+ "description": "The rule position is before the pre-existing specified rule",
78
+ "isDeprecated": false,
79
+ "name": "BEFORE_RULE"
80
+ },
81
+ {
82
+ "deprecationReason": null,
83
+ "description": "The rule position is first in the specified section",
84
+ "isDeprecated": false,
85
+ "name": "FIRST_IN_SECTION"
86
+ },
87
+ {
88
+ "deprecationReason": null,
89
+ "description": "The rule position is last in the specified section",
90
+ "isDeprecated": false,
91
+ "name": "LAST_IN_SECTION"
92
+ },
93
+ {
94
+ "deprecationReason": null,
95
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
96
+ "isDeprecated": false,
97
+ "name": "FIRST_IN_POLICY"
98
+ },
99
+ {
100
+ "deprecationReason": null,
101
+ "description": "The rule position is last in the policy",
102
+ "isDeprecated": false,
103
+ "name": "LAST_IN_POLICY"
104
+ }
105
+ ],
106
+ "fields": null,
107
+ "inputFields": null,
108
+ "interfaces": null,
109
+ "kind": "ENUM",
110
+ "name": "PolicyRulePositionEnum",
111
+ "possibleTypes": null
112
+ },
113
+ "indexType": "enum",
114
+ "kind": [
115
+ "ENUM"
116
+ ],
117
+ "name": "PolicyRulePositionEnum",
118
+ "non_null": false
119
+ },
120
+ "varName": "position"
121
+ },
122
+ "ref": {
123
+ "defaultValue": null,
124
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
125
+ "id_str": "addRule___input___at___ref",
126
+ "name": "ref",
127
+ "path": "addRule.input.at.ref",
128
+ "requestStr": "$ref:ID ",
129
+ "required": false,
130
+ "responseStr": "ref:$ref ",
131
+ "type": {
132
+ "kind": [
133
+ "SCALAR"
134
+ ],
135
+ "name": "ID",
136
+ "non_null": false
137
+ },
138
+ "varName": "ref"
139
+ }
140
+ },
141
+ "interfaces": null,
142
+ "kind": "INPUT_OBJECT",
143
+ "name": "PolicyRulePositionInput",
144
+ "possibleTypes": null
145
+ },
146
+ "indexType": "input_object",
147
+ "kind": [
148
+ "INPUT_OBJECT"
149
+ ],
150
+ "name": "PolicyRulePositionInput",
151
+ "non_null": false
152
+ },
153
+ "varName": "policyRulePositionInput"
154
+ },
155
+ "rule": {
156
+ "defaultValue": null,
157
+ "description": "Parameters for the rule you are adding",
158
+ "id_str": "addRule___input___rule",
159
+ "name": "rule",
160
+ "path": "addRule.input.rule",
161
+ "requestStr": "$terminalServerAddRuleDataInput:TerminalServerAddRuleDataInput! ",
162
+ "required": true,
163
+ "responseStr": "rule:$terminalServerAddRuleDataInput ",
164
+ "type": {
165
+ "definition": {
166
+ "description": null,
167
+ "enumValues": null,
168
+ "fields": null,
169
+ "inputFields": {
170
+ "allowedHostIP": {
171
+ "defaultValue": null,
172
+ "description": "Allowed Host IP range.\nall the other IPs will be blocked by the pop.\nGlobally defined IP range",
173
+ "id_str": "addRule___input___rule___allowedHostIP",
174
+ "name": "allowedHostIP",
175
+ "path": "addRule.input.rule.allowedHostIP",
176
+ "requestStr": "$globalIpRangeRefInput:GlobalIpRangeRefInput! ",
177
+ "required": true,
178
+ "responseStr": "allowedHostIP:$globalIpRangeRefInput ",
179
+ "type": {
180
+ "definition": {
181
+ "description": null,
182
+ "enumValues": null,
183
+ "fields": null,
184
+ "inputFields": {
185
+ "by": {
186
+ "defaultValue": "ID",
187
+ "description": null,
188
+ "id_str": "addRule___input___rule___allowedHostIP___by",
189
+ "name": "by",
190
+ "path": "addRule.input.rule.allowedHostIP.by",
191
+ "requestStr": "$by:ObjectRefBy! ",
192
+ "required": true,
193
+ "responseStr": "by:$by ",
194
+ "type": {
195
+ "definition": {
196
+ "description": null,
197
+ "enumValues": [
198
+ {
199
+ "deprecationReason": null,
200
+ "description": null,
201
+ "isDeprecated": false,
202
+ "name": "ID"
203
+ },
204
+ {
205
+ "deprecationReason": null,
206
+ "description": null,
207
+ "isDeprecated": false,
208
+ "name": "NAME"
209
+ }
210
+ ],
211
+ "fields": null,
212
+ "inputFields": null,
213
+ "interfaces": null,
214
+ "kind": "ENUM",
215
+ "name": "ObjectRefBy",
216
+ "possibleTypes": null
217
+ },
218
+ "indexType": "enum",
219
+ "kind": [
220
+ "NON_NULL",
221
+ "ENUM"
222
+ ],
223
+ "name": "ObjectRefBy",
224
+ "non_null": false
225
+ },
226
+ "varName": "by"
227
+ },
228
+ "input": {
229
+ "defaultValue": null,
230
+ "description": null,
231
+ "id_str": "addRule___input___rule___allowedHostIP___input",
232
+ "name": "input",
233
+ "path": "addRule.input.rule.allowedHostIP.input",
234
+ "requestStr": "$input:String! ",
235
+ "required": true,
236
+ "responseStr": "input:$input ",
237
+ "type": {
238
+ "kind": [
239
+ "NON_NULL",
240
+ "SCALAR"
241
+ ],
242
+ "name": "String",
243
+ "non_null": false
244
+ },
245
+ "varName": "input"
246
+ }
247
+ },
248
+ "interfaces": null,
249
+ "kind": "INPUT_OBJECT",
250
+ "name": "GlobalIpRangeRefInput",
251
+ "possibleTypes": null
252
+ },
253
+ "indexType": "input_object",
254
+ "kind": [
255
+ "NON_NULL",
256
+ "INPUT_OBJECT"
257
+ ],
258
+ "name": "GlobalIpRangeRefInput",
259
+ "non_null": false
260
+ },
261
+ "varName": "globalIpRangeRefInput"
262
+ },
263
+ "description": {
264
+ "defaultValue": "\"\"",
265
+ "description": null,
266
+ "id_str": "addRule___input___rule___description",
267
+ "name": "description",
268
+ "path": "addRule.input.rule.description",
269
+ "requestStr": "$description:String! ",
270
+ "required": true,
271
+ "responseStr": "description:$description ",
272
+ "type": {
273
+ "kind": [
274
+ "NON_NULL",
275
+ "SCALAR"
276
+ ],
277
+ "name": "String",
278
+ "non_null": false
279
+ },
280
+ "varName": "description"
281
+ },
282
+ "enabled": {
283
+ "defaultValue": null,
284
+ "description": null,
285
+ "id_str": "addRule___input___rule___enabled",
286
+ "name": "enabled",
287
+ "path": "addRule.input.rule.enabled",
288
+ "requestStr": "$enabled:Boolean! ",
289
+ "required": true,
290
+ "responseStr": "enabled:$enabled ",
291
+ "type": {
292
+ "kind": [
293
+ "NON_NULL",
294
+ "SCALAR"
295
+ ],
296
+ "name": "Boolean",
297
+ "non_null": false
298
+ },
299
+ "varName": "enabled"
300
+ },
301
+ "excludeTraffic": {
302
+ "defaultValue": "[]",
303
+ "description": "Exclude traffic IP Range.\nall traffic to those Ips will be excluded from the GRE tunnel.\nGlobally defined IP range",
304
+ "id_str": "addRule___input___rule___excludeTraffic",
305
+ "name": "excludeTraffic",
306
+ "path": "addRule.input.rule.excludeTraffic",
307
+ "requestStr": "$globalIpRangeRefInput:[GlobalIpRangeRefInput]! ",
308
+ "required": true,
309
+ "responseStr": "excludeTraffic:$globalIpRangeRefInput ",
310
+ "type": {
311
+ "definition": {
312
+ "description": null,
313
+ "enumValues": null,
314
+ "fields": null,
315
+ "inputFields": {
316
+ "by": {
317
+ "defaultValue": "ID",
318
+ "description": null,
319
+ "id_str": "addRule___input___rule___excludeTraffic___by",
320
+ "name": "by",
321
+ "path": "addRule.input.rule.excludeTraffic.by",
322
+ "requestStr": "$by:ObjectRefBy! ",
323
+ "required": true,
324
+ "responseStr": "by:$by ",
325
+ "type": {
326
+ "definition": {
327
+ "description": null,
328
+ "enumValues": [
329
+ {
330
+ "deprecationReason": null,
331
+ "description": null,
332
+ "isDeprecated": false,
333
+ "name": "ID"
334
+ },
335
+ {
336
+ "deprecationReason": null,
337
+ "description": null,
338
+ "isDeprecated": false,
339
+ "name": "NAME"
340
+ }
341
+ ],
342
+ "fields": null,
343
+ "inputFields": null,
344
+ "interfaces": null,
345
+ "kind": "ENUM",
346
+ "name": "ObjectRefBy",
347
+ "possibleTypes": null
348
+ },
349
+ "indexType": "enum",
350
+ "kind": [
351
+ "NON_NULL",
352
+ "ENUM"
353
+ ],
354
+ "name": "ObjectRefBy",
355
+ "non_null": false
356
+ },
357
+ "varName": "by"
358
+ },
359
+ "input": {
360
+ "defaultValue": null,
361
+ "description": null,
362
+ "id_str": "addRule___input___rule___excludeTraffic___input",
363
+ "name": "input",
364
+ "path": "addRule.input.rule.excludeTraffic.input",
365
+ "requestStr": "$input:String! ",
366
+ "required": true,
367
+ "responseStr": "input:$input ",
368
+ "type": {
369
+ "kind": [
370
+ "NON_NULL",
371
+ "SCALAR"
372
+ ],
373
+ "name": "String",
374
+ "non_null": false
375
+ },
376
+ "varName": "input"
377
+ }
378
+ },
379
+ "interfaces": null,
380
+ "kind": "INPUT_OBJECT",
381
+ "name": "GlobalIpRangeRefInput",
382
+ "possibleTypes": null
383
+ },
384
+ "indexType": "input_object",
385
+ "kind": [
386
+ "NON_NULL",
387
+ "LIST",
388
+ "NON_NULL",
389
+ "INPUT_OBJECT"
390
+ ],
391
+ "name": "GlobalIpRangeRefInput",
392
+ "non_null": false
393
+ },
394
+ "varName": "globalIpRangeRefInput"
395
+ },
396
+ "name": {
397
+ "defaultValue": null,
398
+ "description": null,
399
+ "id_str": "addRule___input___rule___name",
400
+ "name": "name",
401
+ "path": "addRule.input.rule.name",
402
+ "requestStr": "$name:String! ",
403
+ "required": true,
404
+ "responseStr": "name:$name ",
405
+ "type": {
406
+ "kind": [
407
+ "NON_NULL",
408
+ "SCALAR"
409
+ ],
410
+ "name": "String",
411
+ "non_null": false
412
+ },
413
+ "varName": "name"
414
+ }
415
+ },
416
+ "interfaces": null,
417
+ "kind": "INPUT_OBJECT",
418
+ "name": "TerminalServerAddRuleDataInput",
419
+ "possibleTypes": null
420
+ },
421
+ "indexType": "input_object",
422
+ "kind": [
423
+ "NON_NULL",
424
+ "INPUT_OBJECT"
425
+ ],
426
+ "name": "TerminalServerAddRuleDataInput",
427
+ "non_null": false
428
+ },
429
+ "varName": "terminalServerAddRuleDataInput"
430
+ }
431
+ },
432
+ "interfaces": null,
433
+ "kind": "INPUT_OBJECT",
434
+ "name": "TerminalServerAddRuleInput",
435
+ "possibleTypes": null
436
+ },
437
+ "indexType": "input_object",
438
+ "kind": [
439
+ "NON_NULL",
440
+ "INPUT_OBJECT"
441
+ ],
442
+ "name": "TerminalServerAddRuleInput",
443
+ "non_null": false
444
+ },
445
+ "varName": "terminalServerAddRuleInput"
446
+ }
447
+ },
448
+ "deprecationReason": null,
449
+ "description": null,
450
+ "isDeprecated": false,
451
+ "name": "addRule",
452
+ "type": {
453
+ "kind": "NON_NULL",
454
+ "name": null,
455
+ "ofType": {
456
+ "kind": "OBJECT",
457
+ "name": "TerminalServerRuleMutationPayload",
458
+ "ofType": null
459
+ }
460
+ }
461
+ },
462
+ "terminalServer": {
463
+ "args": {
464
+ "terminalServer___input": {
465
+ "defaultValue": null,
466
+ "description": null,
467
+ "id_str": "terminalServer___input",
468
+ "name": "input",
469
+ "path": "terminalServer.input",
470
+ "requestStr": "$terminalServerPolicyMutationInput:TerminalServerPolicyMutationInput ",
471
+ "required": false,
472
+ "responseStr": "input:$terminalServerPolicyMutationInput ",
473
+ "type": {
474
+ "definition": {
475
+ "description": null,
476
+ "enumValues": null,
477
+ "fields": null,
478
+ "inputFields": {
479
+ "revision": {
480
+ "defaultValue": null,
481
+ "description": null,
482
+ "id_str": "terminalServer___input___revision",
483
+ "name": "revision",
484
+ "path": "terminalServer.input.revision",
485
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
486
+ "required": false,
487
+ "responseStr": "revision:$policyMutationRevisionInput ",
488
+ "type": {
489
+ "definition": {
490
+ "description": null,
491
+ "enumValues": null,
492
+ "fields": null,
493
+ "inputFields": {
494
+ "id": {
495
+ "defaultValue": null,
496
+ "description": null,
497
+ "id_str": "terminalServer___input___revision___id",
498
+ "name": "id",
499
+ "path": "terminalServer.input.revision.id",
500
+ "requestStr": "$id:ID ",
501
+ "required": false,
502
+ "responseStr": "id:$id ",
503
+ "type": {
504
+ "kind": [
505
+ "SCALAR"
506
+ ],
507
+ "name": "ID",
508
+ "non_null": false
509
+ },
510
+ "varName": "id"
511
+ }
512
+ },
513
+ "interfaces": null,
514
+ "kind": "INPUT_OBJECT",
515
+ "name": "PolicyMutationRevisionInput",
516
+ "possibleTypes": null
517
+ },
518
+ "indexType": "input_object",
519
+ "kind": [
520
+ "INPUT_OBJECT"
521
+ ],
522
+ "name": "PolicyMutationRevisionInput",
523
+ "non_null": false
524
+ },
525
+ "varName": "policyMutationRevisionInput"
526
+ }
527
+ },
528
+ "interfaces": null,
529
+ "kind": "INPUT_OBJECT",
530
+ "name": "TerminalServerPolicyMutationInput",
531
+ "possibleTypes": null
532
+ },
533
+ "indexType": "input_object",
534
+ "kind": [
535
+ "INPUT_OBJECT"
536
+ ],
537
+ "name": "TerminalServerPolicyMutationInput",
538
+ "non_null": false
539
+ },
540
+ "varName": "terminalServerPolicyMutationInput"
541
+ }
542
+ },
543
+ "deprecationReason": null,
544
+ "description": null,
545
+ "isDeprecated": false,
546
+ "name": "terminalServer",
547
+ "type": {
548
+ "kind": "OBJECT",
549
+ "name": "TerminalServerPolicyMutations",
550
+ "ofType": null
551
+ }
552
+ }
553
+ },
554
+ "deprecationReason": null,
555
+ "description": null,
556
+ "fieldTypes": {
557
+ "GlobalIpRangeRef": true,
558
+ "GlobalIpRangeRefInput": true,
559
+ "ObjectRefBy": true,
560
+ "PolicyElementAudit": true,
561
+ "PolicyElementPropertiesEnum": true,
562
+ "PolicyMutationError": true,
563
+ "PolicyMutationRevisionInput": true,
564
+ "PolicyMutationStatus": true,
565
+ "PolicyRulePositionEnum": true,
566
+ "PolicyRulePositionInput": true,
567
+ "PolicySectionInfo": true,
568
+ "TerminalServerAddRuleDataInput": true,
569
+ "TerminalServerPolicyMutations": true,
570
+ "TerminalServerRule": true,
571
+ "TerminalServerRuleMutationPayload": true,
572
+ "TerminalServerRulePayload": true
573
+ },
574
+ "isDeprecated": false,
575
+ "name": "policy",
576
+ "operationArgs": {
577
+ "accountId": {
578
+ "defaultValue": null,
579
+ "description": null,
580
+ "id_str": "accountId",
581
+ "name": "accountId",
582
+ "path": "accountId",
583
+ "requestStr": "$accountId:ID! ",
584
+ "required": true,
585
+ "responseStr": "accountId:$accountId ",
586
+ "type": {
587
+ "kind": [
588
+ "NON_NULL",
589
+ "SCALAR"
590
+ ],
591
+ "name": "ID",
592
+ "non_null": false
593
+ },
594
+ "varName": "accountId"
595
+ },
596
+ "terminalServerAddRuleInput": {
597
+ "defaultValue": null,
598
+ "description": null,
599
+ "id_str": "addRule___input",
600
+ "name": "input",
601
+ "path": "addRule.input",
602
+ "requestStr": "$terminalServerAddRuleInput:TerminalServerAddRuleInput! ",
603
+ "required": true,
604
+ "responseStr": "input:$terminalServerAddRuleInput ",
605
+ "type": {
606
+ "definition": {
607
+ "description": null,
608
+ "enumValues": null,
609
+ "fields": null,
610
+ "inputFields": {
611
+ "at": {
612
+ "defaultValue": null,
613
+ "description": "Position of the rule in the policy",
614
+ "id_str": "addRule___input___at",
615
+ "name": "at",
616
+ "path": "addRule.input.at",
617
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
618
+ "required": false,
619
+ "responseStr": "at:$policyRulePositionInput ",
620
+ "type": {
621
+ "definition": {
622
+ "description": "Parameters required to define the rule position",
623
+ "enumValues": null,
624
+ "fields": null,
625
+ "inputFields": {
626
+ "position": {
627
+ "defaultValue": null,
628
+ "description": "Position relative to a policy, a section or another rule",
629
+ "id_str": "addRule___input___at___position",
630
+ "name": "position",
631
+ "path": "addRule.input.at.position",
632
+ "requestStr": "$position:PolicyRulePositionEnum ",
633
+ "required": false,
634
+ "responseStr": "position:$position ",
635
+ "type": {
636
+ "definition": {
637
+ "description": "Enum for the position of a rule within a policy",
638
+ "enumValues": [
639
+ {
640
+ "deprecationReason": null,
641
+ "description": "The rule position is after the pre-existing specified rule",
642
+ "isDeprecated": false,
643
+ "name": "AFTER_RULE"
644
+ },
645
+ {
646
+ "deprecationReason": null,
647
+ "description": "The rule position is before the pre-existing specified rule",
648
+ "isDeprecated": false,
649
+ "name": "BEFORE_RULE"
650
+ },
651
+ {
652
+ "deprecationReason": null,
653
+ "description": "The rule position is first in the specified section",
654
+ "isDeprecated": false,
655
+ "name": "FIRST_IN_SECTION"
656
+ },
657
+ {
658
+ "deprecationReason": null,
659
+ "description": "The rule position is last in the specified section",
660
+ "isDeprecated": false,
661
+ "name": "LAST_IN_SECTION"
662
+ },
663
+ {
664
+ "deprecationReason": null,
665
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
666
+ "isDeprecated": false,
667
+ "name": "FIRST_IN_POLICY"
668
+ },
669
+ {
670
+ "deprecationReason": null,
671
+ "description": "The rule position is last in the policy",
672
+ "isDeprecated": false,
673
+ "name": "LAST_IN_POLICY"
674
+ }
675
+ ],
676
+ "fields": null,
677
+ "inputFields": null,
678
+ "interfaces": null,
679
+ "kind": "ENUM",
680
+ "name": "PolicyRulePositionEnum",
681
+ "possibleTypes": null
682
+ },
683
+ "indexType": "enum",
684
+ "kind": [
685
+ "ENUM"
686
+ ],
687
+ "name": "PolicyRulePositionEnum",
688
+ "non_null": false
689
+ },
690
+ "varName": "position"
691
+ },
692
+ "ref": {
693
+ "defaultValue": null,
694
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
695
+ "id_str": "addRule___input___at___ref",
696
+ "name": "ref",
697
+ "path": "addRule.input.at.ref",
698
+ "requestStr": "$ref:ID ",
699
+ "required": false,
700
+ "responseStr": "ref:$ref ",
701
+ "type": {
702
+ "kind": [
703
+ "SCALAR"
704
+ ],
705
+ "name": "ID",
706
+ "non_null": false
707
+ },
708
+ "varName": "ref"
709
+ }
710
+ },
711
+ "interfaces": null,
712
+ "kind": "INPUT_OBJECT",
713
+ "name": "PolicyRulePositionInput",
714
+ "possibleTypes": null
715
+ },
716
+ "indexType": "input_object",
717
+ "kind": [
718
+ "INPUT_OBJECT"
719
+ ],
720
+ "name": "PolicyRulePositionInput",
721
+ "non_null": false
722
+ },
723
+ "varName": "policyRulePositionInput"
724
+ },
725
+ "rule": {
726
+ "defaultValue": null,
727
+ "description": "Parameters for the rule you are adding",
728
+ "id_str": "addRule___input___rule",
729
+ "name": "rule",
730
+ "path": "addRule.input.rule",
731
+ "requestStr": "$terminalServerAddRuleDataInput:TerminalServerAddRuleDataInput! ",
732
+ "required": true,
733
+ "responseStr": "rule:$terminalServerAddRuleDataInput ",
734
+ "type": {
735
+ "definition": {
736
+ "description": null,
737
+ "enumValues": null,
738
+ "fields": null,
739
+ "inputFields": {
740
+ "allowedHostIP": {
741
+ "defaultValue": null,
742
+ "description": "Allowed Host IP range.\nall the other IPs will be blocked by the pop.\nGlobally defined IP range",
743
+ "id_str": "addRule___input___rule___allowedHostIP",
744
+ "name": "allowedHostIP",
745
+ "path": "addRule.input.rule.allowedHostIP",
746
+ "requestStr": "$globalIpRangeRefInput:GlobalIpRangeRefInput! ",
747
+ "required": true,
748
+ "responseStr": "allowedHostIP:$globalIpRangeRefInput ",
749
+ "type": {
750
+ "definition": {
751
+ "description": null,
752
+ "enumValues": null,
753
+ "fields": null,
754
+ "inputFields": {
755
+ "by": {
756
+ "defaultValue": "ID",
757
+ "description": null,
758
+ "id_str": "addRule___input___rule___allowedHostIP___by",
759
+ "name": "by",
760
+ "path": "addRule.input.rule.allowedHostIP.by",
761
+ "requestStr": "$by:ObjectRefBy! ",
762
+ "required": true,
763
+ "responseStr": "by:$by ",
764
+ "type": {
765
+ "definition": {
766
+ "description": null,
767
+ "enumValues": [
768
+ {
769
+ "deprecationReason": null,
770
+ "description": null,
771
+ "isDeprecated": false,
772
+ "name": "ID"
773
+ },
774
+ {
775
+ "deprecationReason": null,
776
+ "description": null,
777
+ "isDeprecated": false,
778
+ "name": "NAME"
779
+ }
780
+ ],
781
+ "fields": null,
782
+ "inputFields": null,
783
+ "interfaces": null,
784
+ "kind": "ENUM",
785
+ "name": "ObjectRefBy",
786
+ "possibleTypes": null
787
+ },
788
+ "indexType": "enum",
789
+ "kind": [
790
+ "NON_NULL",
791
+ "ENUM"
792
+ ],
793
+ "name": "ObjectRefBy",
794
+ "non_null": false
795
+ },
796
+ "varName": "by"
797
+ },
798
+ "input": {
799
+ "defaultValue": null,
800
+ "description": null,
801
+ "id_str": "addRule___input___rule___allowedHostIP___input",
802
+ "name": "input",
803
+ "path": "addRule.input.rule.allowedHostIP.input",
804
+ "requestStr": "$input:String! ",
805
+ "required": true,
806
+ "responseStr": "input:$input ",
807
+ "type": {
808
+ "kind": [
809
+ "NON_NULL",
810
+ "SCALAR"
811
+ ],
812
+ "name": "String",
813
+ "non_null": false
814
+ },
815
+ "varName": "input"
816
+ }
817
+ },
818
+ "interfaces": null,
819
+ "kind": "INPUT_OBJECT",
820
+ "name": "GlobalIpRangeRefInput",
821
+ "possibleTypes": null
822
+ },
823
+ "indexType": "input_object",
824
+ "kind": [
825
+ "NON_NULL",
826
+ "INPUT_OBJECT"
827
+ ],
828
+ "name": "GlobalIpRangeRefInput",
829
+ "non_null": false
830
+ },
831
+ "varName": "globalIpRangeRefInput"
832
+ },
833
+ "description": {
834
+ "defaultValue": "\"\"",
835
+ "description": null,
836
+ "id_str": "addRule___input___rule___description",
837
+ "name": "description",
838
+ "path": "addRule.input.rule.description",
839
+ "requestStr": "$description:String! ",
840
+ "required": true,
841
+ "responseStr": "description:$description ",
842
+ "type": {
843
+ "kind": [
844
+ "NON_NULL",
845
+ "SCALAR"
846
+ ],
847
+ "name": "String",
848
+ "non_null": false
849
+ },
850
+ "varName": "description"
851
+ },
852
+ "enabled": {
853
+ "defaultValue": null,
854
+ "description": null,
855
+ "id_str": "addRule___input___rule___enabled",
856
+ "name": "enabled",
857
+ "path": "addRule.input.rule.enabled",
858
+ "requestStr": "$enabled:Boolean! ",
859
+ "required": true,
860
+ "responseStr": "enabled:$enabled ",
861
+ "type": {
862
+ "kind": [
863
+ "NON_NULL",
864
+ "SCALAR"
865
+ ],
866
+ "name": "Boolean",
867
+ "non_null": false
868
+ },
869
+ "varName": "enabled"
870
+ },
871
+ "excludeTraffic": {
872
+ "defaultValue": "[]",
873
+ "description": "Exclude traffic IP Range.\nall traffic to those Ips will be excluded from the GRE tunnel.\nGlobally defined IP range",
874
+ "id_str": "addRule___input___rule___excludeTraffic",
875
+ "name": "excludeTraffic",
876
+ "path": "addRule.input.rule.excludeTraffic",
877
+ "requestStr": "$globalIpRangeRefInput:[GlobalIpRangeRefInput]! ",
878
+ "required": true,
879
+ "responseStr": "excludeTraffic:$globalIpRangeRefInput ",
880
+ "type": {
881
+ "definition": {
882
+ "description": null,
883
+ "enumValues": null,
884
+ "fields": null,
885
+ "inputFields": {
886
+ "by": {
887
+ "defaultValue": "ID",
888
+ "description": null,
889
+ "id_str": "addRule___input___rule___excludeTraffic___by",
890
+ "name": "by",
891
+ "path": "addRule.input.rule.excludeTraffic.by",
892
+ "requestStr": "$by:ObjectRefBy! ",
893
+ "required": true,
894
+ "responseStr": "by:$by ",
895
+ "type": {
896
+ "definition": {
897
+ "description": null,
898
+ "enumValues": [
899
+ {
900
+ "deprecationReason": null,
901
+ "description": null,
902
+ "isDeprecated": false,
903
+ "name": "ID"
904
+ },
905
+ {
906
+ "deprecationReason": null,
907
+ "description": null,
908
+ "isDeprecated": false,
909
+ "name": "NAME"
910
+ }
911
+ ],
912
+ "fields": null,
913
+ "inputFields": null,
914
+ "interfaces": null,
915
+ "kind": "ENUM",
916
+ "name": "ObjectRefBy",
917
+ "possibleTypes": null
918
+ },
919
+ "indexType": "enum",
920
+ "kind": [
921
+ "NON_NULL",
922
+ "ENUM"
923
+ ],
924
+ "name": "ObjectRefBy",
925
+ "non_null": false
926
+ },
927
+ "varName": "by"
928
+ },
929
+ "input": {
930
+ "defaultValue": null,
931
+ "description": null,
932
+ "id_str": "addRule___input___rule___excludeTraffic___input",
933
+ "name": "input",
934
+ "path": "addRule.input.rule.excludeTraffic.input",
935
+ "requestStr": "$input:String! ",
936
+ "required": true,
937
+ "responseStr": "input:$input ",
938
+ "type": {
939
+ "kind": [
940
+ "NON_NULL",
941
+ "SCALAR"
942
+ ],
943
+ "name": "String",
944
+ "non_null": false
945
+ },
946
+ "varName": "input"
947
+ }
948
+ },
949
+ "interfaces": null,
950
+ "kind": "INPUT_OBJECT",
951
+ "name": "GlobalIpRangeRefInput",
952
+ "possibleTypes": null
953
+ },
954
+ "indexType": "input_object",
955
+ "kind": [
956
+ "NON_NULL",
957
+ "LIST",
958
+ "NON_NULL",
959
+ "INPUT_OBJECT"
960
+ ],
961
+ "name": "GlobalIpRangeRefInput",
962
+ "non_null": false
963
+ },
964
+ "varName": "globalIpRangeRefInput"
965
+ },
966
+ "name": {
967
+ "defaultValue": null,
968
+ "description": null,
969
+ "id_str": "addRule___input___rule___name",
970
+ "name": "name",
971
+ "path": "addRule.input.rule.name",
972
+ "requestStr": "$name:String! ",
973
+ "required": true,
974
+ "responseStr": "name:$name ",
975
+ "type": {
976
+ "kind": [
977
+ "NON_NULL",
978
+ "SCALAR"
979
+ ],
980
+ "name": "String",
981
+ "non_null": false
982
+ },
983
+ "varName": "name"
984
+ }
985
+ },
986
+ "interfaces": null,
987
+ "kind": "INPUT_OBJECT",
988
+ "name": "TerminalServerAddRuleDataInput",
989
+ "possibleTypes": null
990
+ },
991
+ "indexType": "input_object",
992
+ "kind": [
993
+ "NON_NULL",
994
+ "INPUT_OBJECT"
995
+ ],
996
+ "name": "TerminalServerAddRuleDataInput",
997
+ "non_null": false
998
+ },
999
+ "varName": "terminalServerAddRuleDataInput"
1000
+ }
1001
+ },
1002
+ "interfaces": null,
1003
+ "kind": "INPUT_OBJECT",
1004
+ "name": "TerminalServerAddRuleInput",
1005
+ "possibleTypes": null
1006
+ },
1007
+ "indexType": "input_object",
1008
+ "kind": [
1009
+ "NON_NULL",
1010
+ "INPUT_OBJECT"
1011
+ ],
1012
+ "name": "TerminalServerAddRuleInput",
1013
+ "non_null": false
1014
+ },
1015
+ "varName": "terminalServerAddRuleInput"
1016
+ },
1017
+ "terminalServerPolicyMutationInput": {
1018
+ "defaultValue": null,
1019
+ "description": null,
1020
+ "id_str": "terminalServer___input",
1021
+ "name": "input",
1022
+ "path": "terminalServer.input",
1023
+ "requestStr": "$terminalServerPolicyMutationInput:TerminalServerPolicyMutationInput ",
1024
+ "required": false,
1025
+ "responseStr": "input:$terminalServerPolicyMutationInput ",
1026
+ "type": {
1027
+ "definition": {
1028
+ "description": null,
1029
+ "enumValues": null,
1030
+ "fields": null,
1031
+ "inputFields": {
1032
+ "revision": {
1033
+ "defaultValue": null,
1034
+ "description": null,
1035
+ "id_str": "terminalServer___input___revision",
1036
+ "name": "revision",
1037
+ "path": "terminalServer.input.revision",
1038
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
1039
+ "required": false,
1040
+ "responseStr": "revision:$policyMutationRevisionInput ",
1041
+ "type": {
1042
+ "definition": {
1043
+ "description": null,
1044
+ "enumValues": null,
1045
+ "fields": null,
1046
+ "inputFields": {
1047
+ "id": {
1048
+ "defaultValue": null,
1049
+ "description": null,
1050
+ "id_str": "terminalServer___input___revision___id",
1051
+ "name": "id",
1052
+ "path": "terminalServer.input.revision.id",
1053
+ "requestStr": "$id:ID ",
1054
+ "required": false,
1055
+ "responseStr": "id:$id ",
1056
+ "type": {
1057
+ "kind": [
1058
+ "SCALAR"
1059
+ ],
1060
+ "name": "ID",
1061
+ "non_null": false
1062
+ },
1063
+ "varName": "id"
1064
+ }
1065
+ },
1066
+ "interfaces": null,
1067
+ "kind": "INPUT_OBJECT",
1068
+ "name": "PolicyMutationRevisionInput",
1069
+ "possibleTypes": null
1070
+ },
1071
+ "indexType": "input_object",
1072
+ "kind": [
1073
+ "INPUT_OBJECT"
1074
+ ],
1075
+ "name": "PolicyMutationRevisionInput",
1076
+ "non_null": false
1077
+ },
1078
+ "varName": "policyMutationRevisionInput"
1079
+ }
1080
+ },
1081
+ "interfaces": null,
1082
+ "kind": "INPUT_OBJECT",
1083
+ "name": "TerminalServerPolicyMutationInput",
1084
+ "possibleTypes": null
1085
+ },
1086
+ "indexType": "input_object",
1087
+ "kind": [
1088
+ "INPUT_OBJECT"
1089
+ ],
1090
+ "name": "TerminalServerPolicyMutationInput",
1091
+ "non_null": false
1092
+ },
1093
+ "varName": "terminalServerPolicyMutationInput"
1094
+ }
1095
+ },
1096
+ "path": "mutation.policy.terminalServer.addRule",
1097
+ "type": {
1098
+ "definition": {
1099
+ "description": "Policies that can be configured with mutation APIs.",
1100
+ "enumValues": null,
1101
+ "fields": {
1102
+ "terminalServer": {
1103
+ "args": {
1104
+ "terminalServer___input": {
1105
+ "defaultValue": null,
1106
+ "description": null,
1107
+ "id_str": "terminalServer___input",
1108
+ "name": "input",
1109
+ "path": "terminalServer.input",
1110
+ "requestStr": "$terminalServerPolicyMutationInput:TerminalServerPolicyMutationInput ",
1111
+ "required": false,
1112
+ "responseStr": "input:$terminalServerPolicyMutationInput ",
1113
+ "type": {
1114
+ "definition": {
1115
+ "description": null,
1116
+ "enumValues": null,
1117
+ "fields": null,
1118
+ "inputFields": {
1119
+ "revision": {
1120
+ "defaultValue": null,
1121
+ "description": null,
1122
+ "id_str": "terminalServer___input___revision",
1123
+ "name": "revision",
1124
+ "path": "terminalServer.input.revision",
1125
+ "requestStr": "$policyMutationRevisionInput:PolicyMutationRevisionInput ",
1126
+ "required": false,
1127
+ "responseStr": "revision:$policyMutationRevisionInput ",
1128
+ "type": {
1129
+ "definition": {
1130
+ "description": null,
1131
+ "enumValues": null,
1132
+ "fields": null,
1133
+ "inputFields": {
1134
+ "id": {
1135
+ "defaultValue": null,
1136
+ "description": null,
1137
+ "id_str": "terminalServer___input___revision___id",
1138
+ "name": "id",
1139
+ "path": "terminalServer.input.revision.id",
1140
+ "requestStr": "$id:ID ",
1141
+ "required": false,
1142
+ "responseStr": "id:$id ",
1143
+ "type": {
1144
+ "kind": [
1145
+ "SCALAR"
1146
+ ],
1147
+ "name": "ID",
1148
+ "non_null": false
1149
+ },
1150
+ "varName": "id"
1151
+ }
1152
+ },
1153
+ "interfaces": null,
1154
+ "kind": "INPUT_OBJECT",
1155
+ "name": "PolicyMutationRevisionInput",
1156
+ "possibleTypes": null
1157
+ },
1158
+ "indexType": "input_object",
1159
+ "kind": [
1160
+ "INPUT_OBJECT"
1161
+ ],
1162
+ "name": "PolicyMutationRevisionInput",
1163
+ "non_null": false
1164
+ },
1165
+ "varName": "policyMutationRevisionInput"
1166
+ }
1167
+ },
1168
+ "interfaces": null,
1169
+ "kind": "INPUT_OBJECT",
1170
+ "name": "TerminalServerPolicyMutationInput",
1171
+ "possibleTypes": null
1172
+ },
1173
+ "indexType": "input_object",
1174
+ "kind": [
1175
+ "INPUT_OBJECT"
1176
+ ],
1177
+ "name": "TerminalServerPolicyMutationInput",
1178
+ "non_null": false
1179
+ },
1180
+ "varName": "terminalServerPolicyMutationInput"
1181
+ }
1182
+ },
1183
+ "deprecationReason": null,
1184
+ "description": null,
1185
+ "id_str": "terminalServer",
1186
+ "isDeprecated": false,
1187
+ "name": "terminalServer",
1188
+ "path": "terminalServer",
1189
+ "requestStr": "$terminalServerPolicyMutations:TerminalServerPolicyMutations ",
1190
+ "required": false,
1191
+ "responseStr": "terminalServer:$terminalServerPolicyMutations ",
1192
+ "type": {
1193
+ "definition": {
1194
+ "description": null,
1195
+ "enumValues": null,
1196
+ "fields": {
1197
+ "addRule": {
1198
+ "args": {
1199
+ "addRule___input": {
1200
+ "defaultValue": null,
1201
+ "description": null,
1202
+ "id_str": "addRule___input",
1203
+ "name": "input",
1204
+ "path": "addRule.input",
1205
+ "requestStr": "$terminalServerAddRuleInput:TerminalServerAddRuleInput! ",
1206
+ "required": true,
1207
+ "responseStr": "input:$terminalServerAddRuleInput ",
1208
+ "type": {
1209
+ "definition": {
1210
+ "description": null,
1211
+ "enumValues": null,
1212
+ "fields": null,
1213
+ "inputFields": {
1214
+ "at": {
1215
+ "defaultValue": null,
1216
+ "description": "Position of the rule in the policy",
1217
+ "id_str": "addRule___input___at",
1218
+ "name": "at",
1219
+ "path": "addRule.input.at",
1220
+ "requestStr": "$policyRulePositionInput:PolicyRulePositionInput ",
1221
+ "required": false,
1222
+ "responseStr": "at:$policyRulePositionInput ",
1223
+ "type": {
1224
+ "definition": {
1225
+ "description": "Parameters required to define the rule position",
1226
+ "enumValues": null,
1227
+ "fields": null,
1228
+ "inputFields": {
1229
+ "position": {
1230
+ "defaultValue": null,
1231
+ "description": "Position relative to a policy, a section or another rule",
1232
+ "id_str": "addRule___input___at___position",
1233
+ "name": "position",
1234
+ "path": "addRule.input.at.position",
1235
+ "requestStr": "$position:PolicyRulePositionEnum ",
1236
+ "required": false,
1237
+ "responseStr": "position:$position ",
1238
+ "type": {
1239
+ "definition": {
1240
+ "description": "Enum for the position of a rule within a policy",
1241
+ "enumValues": [
1242
+ {
1243
+ "deprecationReason": null,
1244
+ "description": "The rule position is after the pre-existing specified rule",
1245
+ "isDeprecated": false,
1246
+ "name": "AFTER_RULE"
1247
+ },
1248
+ {
1249
+ "deprecationReason": null,
1250
+ "description": "The rule position is before the pre-existing specified rule",
1251
+ "isDeprecated": false,
1252
+ "name": "BEFORE_RULE"
1253
+ },
1254
+ {
1255
+ "deprecationReason": null,
1256
+ "description": "The rule position is first in the specified section",
1257
+ "isDeprecated": false,
1258
+ "name": "FIRST_IN_SECTION"
1259
+ },
1260
+ {
1261
+ "deprecationReason": null,
1262
+ "description": "The rule position is last in the specified section",
1263
+ "isDeprecated": false,
1264
+ "name": "LAST_IN_SECTION"
1265
+ },
1266
+ {
1267
+ "deprecationReason": null,
1268
+ "description": "The rule position is immediately after the system rules (first non-system rule)",
1269
+ "isDeprecated": false,
1270
+ "name": "FIRST_IN_POLICY"
1271
+ },
1272
+ {
1273
+ "deprecationReason": null,
1274
+ "description": "The rule position is last in the policy",
1275
+ "isDeprecated": false,
1276
+ "name": "LAST_IN_POLICY"
1277
+ }
1278
+ ],
1279
+ "fields": null,
1280
+ "inputFields": null,
1281
+ "interfaces": null,
1282
+ "kind": "ENUM",
1283
+ "name": "PolicyRulePositionEnum",
1284
+ "possibleTypes": null
1285
+ },
1286
+ "indexType": "enum",
1287
+ "kind": [
1288
+ "ENUM"
1289
+ ],
1290
+ "name": "PolicyRulePositionEnum",
1291
+ "non_null": false
1292
+ },
1293
+ "varName": "position"
1294
+ },
1295
+ "ref": {
1296
+ "defaultValue": null,
1297
+ "description": "The identifier of the object (e.g. a rule, a section) relative to which the position of the added rule is defined",
1298
+ "id_str": "addRule___input___at___ref",
1299
+ "name": "ref",
1300
+ "path": "addRule.input.at.ref",
1301
+ "requestStr": "$ref:ID ",
1302
+ "required": false,
1303
+ "responseStr": "ref:$ref ",
1304
+ "type": {
1305
+ "kind": [
1306
+ "SCALAR"
1307
+ ],
1308
+ "name": "ID",
1309
+ "non_null": false
1310
+ },
1311
+ "varName": "ref"
1312
+ }
1313
+ },
1314
+ "interfaces": null,
1315
+ "kind": "INPUT_OBJECT",
1316
+ "name": "PolicyRulePositionInput",
1317
+ "possibleTypes": null
1318
+ },
1319
+ "indexType": "input_object",
1320
+ "kind": [
1321
+ "INPUT_OBJECT"
1322
+ ],
1323
+ "name": "PolicyRulePositionInput",
1324
+ "non_null": false
1325
+ },
1326
+ "varName": "policyRulePositionInput"
1327
+ },
1328
+ "rule": {
1329
+ "defaultValue": null,
1330
+ "description": "Parameters for the rule you are adding",
1331
+ "id_str": "addRule___input___rule",
1332
+ "name": "rule",
1333
+ "path": "addRule.input.rule",
1334
+ "requestStr": "$terminalServerAddRuleDataInput:TerminalServerAddRuleDataInput! ",
1335
+ "required": true,
1336
+ "responseStr": "rule:$terminalServerAddRuleDataInput ",
1337
+ "type": {
1338
+ "definition": {
1339
+ "description": null,
1340
+ "enumValues": null,
1341
+ "fields": null,
1342
+ "inputFields": {
1343
+ "allowedHostIP": {
1344
+ "defaultValue": null,
1345
+ "description": "Allowed Host IP range.\nall the other IPs will be blocked by the pop.\nGlobally defined IP range",
1346
+ "id_str": "addRule___input___rule___allowedHostIP",
1347
+ "name": "allowedHostIP",
1348
+ "path": "addRule.input.rule.allowedHostIP",
1349
+ "requestStr": "$globalIpRangeRefInput:GlobalIpRangeRefInput! ",
1350
+ "required": true,
1351
+ "responseStr": "allowedHostIP:$globalIpRangeRefInput ",
1352
+ "type": {
1353
+ "definition": {
1354
+ "description": null,
1355
+ "enumValues": null,
1356
+ "fields": null,
1357
+ "inputFields": {
1358
+ "by": {
1359
+ "defaultValue": "ID",
1360
+ "description": null,
1361
+ "id_str": "addRule___input___rule___allowedHostIP___by",
1362
+ "name": "by",
1363
+ "path": "addRule.input.rule.allowedHostIP.by",
1364
+ "requestStr": "$by:ObjectRefBy! ",
1365
+ "required": true,
1366
+ "responseStr": "by:$by ",
1367
+ "type": {
1368
+ "definition": {
1369
+ "description": null,
1370
+ "enumValues": [
1371
+ {
1372
+ "deprecationReason": null,
1373
+ "description": null,
1374
+ "isDeprecated": false,
1375
+ "name": "ID"
1376
+ },
1377
+ {
1378
+ "deprecationReason": null,
1379
+ "description": null,
1380
+ "isDeprecated": false,
1381
+ "name": "NAME"
1382
+ }
1383
+ ],
1384
+ "fields": null,
1385
+ "inputFields": null,
1386
+ "interfaces": null,
1387
+ "kind": "ENUM",
1388
+ "name": "ObjectRefBy",
1389
+ "possibleTypes": null
1390
+ },
1391
+ "indexType": "enum",
1392
+ "kind": [
1393
+ "NON_NULL",
1394
+ "ENUM"
1395
+ ],
1396
+ "name": "ObjectRefBy",
1397
+ "non_null": false
1398
+ },
1399
+ "varName": "by"
1400
+ },
1401
+ "input": {
1402
+ "defaultValue": null,
1403
+ "description": null,
1404
+ "id_str": "addRule___input___rule___allowedHostIP___input",
1405
+ "name": "input",
1406
+ "path": "addRule.input.rule.allowedHostIP.input",
1407
+ "requestStr": "$input:String! ",
1408
+ "required": true,
1409
+ "responseStr": "input:$input ",
1410
+ "type": {
1411
+ "kind": [
1412
+ "NON_NULL",
1413
+ "SCALAR"
1414
+ ],
1415
+ "name": "String",
1416
+ "non_null": false
1417
+ },
1418
+ "varName": "input"
1419
+ }
1420
+ },
1421
+ "interfaces": null,
1422
+ "kind": "INPUT_OBJECT",
1423
+ "name": "GlobalIpRangeRefInput",
1424
+ "possibleTypes": null
1425
+ },
1426
+ "indexType": "input_object",
1427
+ "kind": [
1428
+ "NON_NULL",
1429
+ "INPUT_OBJECT"
1430
+ ],
1431
+ "name": "GlobalIpRangeRefInput",
1432
+ "non_null": false
1433
+ },
1434
+ "varName": "globalIpRangeRefInput"
1435
+ },
1436
+ "description": {
1437
+ "defaultValue": "\"\"",
1438
+ "description": null,
1439
+ "id_str": "addRule___input___rule___description",
1440
+ "name": "description",
1441
+ "path": "addRule.input.rule.description",
1442
+ "requestStr": "$description:String! ",
1443
+ "required": true,
1444
+ "responseStr": "description:$description ",
1445
+ "type": {
1446
+ "kind": [
1447
+ "NON_NULL",
1448
+ "SCALAR"
1449
+ ],
1450
+ "name": "String",
1451
+ "non_null": false
1452
+ },
1453
+ "varName": "description"
1454
+ },
1455
+ "enabled": {
1456
+ "defaultValue": null,
1457
+ "description": null,
1458
+ "id_str": "addRule___input___rule___enabled",
1459
+ "name": "enabled",
1460
+ "path": "addRule.input.rule.enabled",
1461
+ "requestStr": "$enabled:Boolean! ",
1462
+ "required": true,
1463
+ "responseStr": "enabled:$enabled ",
1464
+ "type": {
1465
+ "kind": [
1466
+ "NON_NULL",
1467
+ "SCALAR"
1468
+ ],
1469
+ "name": "Boolean",
1470
+ "non_null": false
1471
+ },
1472
+ "varName": "enabled"
1473
+ },
1474
+ "excludeTraffic": {
1475
+ "defaultValue": "[]",
1476
+ "description": "Exclude traffic IP Range.\nall traffic to those Ips will be excluded from the GRE tunnel.\nGlobally defined IP range",
1477
+ "id_str": "addRule___input___rule___excludeTraffic",
1478
+ "name": "excludeTraffic",
1479
+ "path": "addRule.input.rule.excludeTraffic",
1480
+ "requestStr": "$globalIpRangeRefInput:[GlobalIpRangeRefInput]! ",
1481
+ "required": true,
1482
+ "responseStr": "excludeTraffic:$globalIpRangeRefInput ",
1483
+ "type": {
1484
+ "definition": {
1485
+ "description": null,
1486
+ "enumValues": null,
1487
+ "fields": null,
1488
+ "inputFields": {
1489
+ "by": {
1490
+ "defaultValue": "ID",
1491
+ "description": null,
1492
+ "id_str": "addRule___input___rule___excludeTraffic___by",
1493
+ "name": "by",
1494
+ "path": "addRule.input.rule.excludeTraffic.by",
1495
+ "requestStr": "$by:ObjectRefBy! ",
1496
+ "required": true,
1497
+ "responseStr": "by:$by ",
1498
+ "type": {
1499
+ "definition": {
1500
+ "description": null,
1501
+ "enumValues": [
1502
+ {
1503
+ "deprecationReason": null,
1504
+ "description": null,
1505
+ "isDeprecated": false,
1506
+ "name": "ID"
1507
+ },
1508
+ {
1509
+ "deprecationReason": null,
1510
+ "description": null,
1511
+ "isDeprecated": false,
1512
+ "name": "NAME"
1513
+ }
1514
+ ],
1515
+ "fields": null,
1516
+ "inputFields": null,
1517
+ "interfaces": null,
1518
+ "kind": "ENUM",
1519
+ "name": "ObjectRefBy",
1520
+ "possibleTypes": null
1521
+ },
1522
+ "indexType": "enum",
1523
+ "kind": [
1524
+ "NON_NULL",
1525
+ "ENUM"
1526
+ ],
1527
+ "name": "ObjectRefBy",
1528
+ "non_null": false
1529
+ },
1530
+ "varName": "by"
1531
+ },
1532
+ "input": {
1533
+ "defaultValue": null,
1534
+ "description": null,
1535
+ "id_str": "addRule___input___rule___excludeTraffic___input",
1536
+ "name": "input",
1537
+ "path": "addRule.input.rule.excludeTraffic.input",
1538
+ "requestStr": "$input:String! ",
1539
+ "required": true,
1540
+ "responseStr": "input:$input ",
1541
+ "type": {
1542
+ "kind": [
1543
+ "NON_NULL",
1544
+ "SCALAR"
1545
+ ],
1546
+ "name": "String",
1547
+ "non_null": false
1548
+ },
1549
+ "varName": "input"
1550
+ }
1551
+ },
1552
+ "interfaces": null,
1553
+ "kind": "INPUT_OBJECT",
1554
+ "name": "GlobalIpRangeRefInput",
1555
+ "possibleTypes": null
1556
+ },
1557
+ "indexType": "input_object",
1558
+ "kind": [
1559
+ "NON_NULL",
1560
+ "LIST",
1561
+ "NON_NULL",
1562
+ "INPUT_OBJECT"
1563
+ ],
1564
+ "name": "GlobalIpRangeRefInput",
1565
+ "non_null": false
1566
+ },
1567
+ "varName": "globalIpRangeRefInput"
1568
+ },
1569
+ "name": {
1570
+ "defaultValue": null,
1571
+ "description": null,
1572
+ "id_str": "addRule___input___rule___name",
1573
+ "name": "name",
1574
+ "path": "addRule.input.rule.name",
1575
+ "requestStr": "$name:String! ",
1576
+ "required": true,
1577
+ "responseStr": "name:$name ",
1578
+ "type": {
1579
+ "kind": [
1580
+ "NON_NULL",
1581
+ "SCALAR"
1582
+ ],
1583
+ "name": "String",
1584
+ "non_null": false
1585
+ },
1586
+ "varName": "name"
1587
+ }
1588
+ },
1589
+ "interfaces": null,
1590
+ "kind": "INPUT_OBJECT",
1591
+ "name": "TerminalServerAddRuleDataInput",
1592
+ "possibleTypes": null
1593
+ },
1594
+ "indexType": "input_object",
1595
+ "kind": [
1596
+ "NON_NULL",
1597
+ "INPUT_OBJECT"
1598
+ ],
1599
+ "name": "TerminalServerAddRuleDataInput",
1600
+ "non_null": false
1601
+ },
1602
+ "varName": "terminalServerAddRuleDataInput"
1603
+ }
1604
+ },
1605
+ "interfaces": null,
1606
+ "kind": "INPUT_OBJECT",
1607
+ "name": "TerminalServerAddRuleInput",
1608
+ "possibleTypes": null
1609
+ },
1610
+ "indexType": "input_object",
1611
+ "kind": [
1612
+ "NON_NULL",
1613
+ "INPUT_OBJECT"
1614
+ ],
1615
+ "name": "TerminalServerAddRuleInput",
1616
+ "non_null": false
1617
+ },
1618
+ "varName": "terminalServerAddRuleInput"
1619
+ }
1620
+ },
1621
+ "deprecationReason": null,
1622
+ "description": null,
1623
+ "id_str": "terminalServer___addRule",
1624
+ "isDeprecated": false,
1625
+ "name": "addRule",
1626
+ "path": "terminalServer.addRule",
1627
+ "requestStr": "$terminalServerRuleMutationPayload:TerminalServerRuleMutationPayload! ",
1628
+ "required": true,
1629
+ "responseStr": "addRule:$terminalServerRuleMutationPayload ",
1630
+ "type": {
1631
+ "definition": {
1632
+ "description": null,
1633
+ "enumValues": null,
1634
+ "fields": {
1635
+ "errors": {
1636
+ "alias": "policyMutationErrorErrors: errors",
1637
+ "args": {},
1638
+ "deprecationReason": null,
1639
+ "description": null,
1640
+ "id_str": "terminalServer___addRule___errors",
1641
+ "isDeprecated": false,
1642
+ "name": "errors",
1643
+ "path": "terminalServer.addRule.errors",
1644
+ "requestStr": "$policyMutationError:[PolicyMutationError]! ",
1645
+ "required": true,
1646
+ "responseStr": "errors:$policyMutationError ",
1647
+ "type": {
1648
+ "definition": {
1649
+ "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\"",
1650
+ "enumValues": null,
1651
+ "fields": {
1652
+ "errorCode": {
1653
+ "args": {},
1654
+ "deprecationReason": null,
1655
+ "description": null,
1656
+ "id_str": "terminalServer___addRule___errors___errorCode",
1657
+ "isDeprecated": false,
1658
+ "name": "errorCode",
1659
+ "path": "terminalServer.addRule.errors.errorCode",
1660
+ "requestStr": "$errorCode:String ",
1661
+ "required": false,
1662
+ "responseStr": "errorCode:$errorCode ",
1663
+ "type": {
1664
+ "kind": [
1665
+ "SCALAR"
1666
+ ],
1667
+ "name": "String",
1668
+ "non_null": false
1669
+ },
1670
+ "varName": "errorCode"
1671
+ },
1672
+ "errorMessage": {
1673
+ "args": {},
1674
+ "deprecationReason": null,
1675
+ "description": null,
1676
+ "id_str": "terminalServer___addRule___errors___errorMessage",
1677
+ "isDeprecated": false,
1678
+ "name": "errorMessage",
1679
+ "path": "terminalServer.addRule.errors.errorMessage",
1680
+ "requestStr": "$errorMessage:String ",
1681
+ "required": false,
1682
+ "responseStr": "errorMessage:$errorMessage ",
1683
+ "type": {
1684
+ "kind": [
1685
+ "SCALAR"
1686
+ ],
1687
+ "name": "String",
1688
+ "non_null": false
1689
+ },
1690
+ "varName": "errorMessage"
1691
+ }
1692
+ },
1693
+ "inputFields": null,
1694
+ "interfaces": {},
1695
+ "kind": "OBJECT",
1696
+ "name": "PolicyMutationError",
1697
+ "possibleTypes": null
1698
+ },
1699
+ "indexType": "object",
1700
+ "kind": [
1701
+ "NON_NULL",
1702
+ "LIST",
1703
+ "NON_NULL",
1704
+ "OBJECT"
1705
+ ],
1706
+ "name": "PolicyMutationError",
1707
+ "non_null": false
1708
+ },
1709
+ "varName": "policyMutationError"
1710
+ },
1711
+ "rule": {
1712
+ "alias": "terminalServerRulePayloadRule: rule",
1713
+ "args": {},
1714
+ "deprecationReason": null,
1715
+ "description": null,
1716
+ "id_str": "terminalServer___addRule___rule",
1717
+ "isDeprecated": false,
1718
+ "name": "rule",
1719
+ "path": "terminalServer.addRule.rule",
1720
+ "requestStr": "$terminalServerRulePayload:TerminalServerRulePayload ",
1721
+ "required": false,
1722
+ "responseStr": "rule:$terminalServerRulePayload ",
1723
+ "type": {
1724
+ "definition": {
1725
+ "description": null,
1726
+ "enumValues": null,
1727
+ "fields": {
1728
+ "audit": {
1729
+ "args": {},
1730
+ "deprecationReason": null,
1731
+ "description": null,
1732
+ "id_str": "terminalServer___addRule___rule___audit",
1733
+ "isDeprecated": false,
1734
+ "name": "audit",
1735
+ "path": "terminalServer.addRule.rule.audit",
1736
+ "requestStr": "$policyElementAudit:PolicyElementAudit! ",
1737
+ "required": true,
1738
+ "responseStr": "audit:$policyElementAudit ",
1739
+ "type": {
1740
+ "definition": {
1741
+ "description": null,
1742
+ "enumValues": null,
1743
+ "fields": {
1744
+ "updatedBy": {
1745
+ "args": {},
1746
+ "deprecationReason": null,
1747
+ "description": "The admin, or the API-key, that performed the last update",
1748
+ "id_str": "terminalServer___addRule___rule___audit___updatedBy",
1749
+ "isDeprecated": false,
1750
+ "name": "updatedBy",
1751
+ "path": "terminalServer.addRule.rule.audit.updatedBy",
1752
+ "requestStr": "$updatedBy:String! ",
1753
+ "required": true,
1754
+ "responseStr": "updatedBy:$updatedBy ",
1755
+ "type": {
1756
+ "kind": [
1757
+ "NON_NULL",
1758
+ "SCALAR"
1759
+ ],
1760
+ "name": "String",
1761
+ "non_null": false
1762
+ },
1763
+ "varName": "updatedBy"
1764
+ },
1765
+ "updatedTime": {
1766
+ "args": {},
1767
+ "deprecationReason": null,
1768
+ "description": "The last date and time the rule was updated",
1769
+ "id_str": "terminalServer___addRule___rule___audit___updatedTime",
1770
+ "isDeprecated": false,
1771
+ "name": "updatedTime",
1772
+ "path": "terminalServer.addRule.rule.audit.updatedTime",
1773
+ "requestStr": "$updatedTime:DateTime! ",
1774
+ "required": true,
1775
+ "responseStr": "updatedTime:$updatedTime ",
1776
+ "type": {
1777
+ "kind": [
1778
+ "NON_NULL",
1779
+ "SCALAR"
1780
+ ],
1781
+ "name": "DateTime",
1782
+ "non_null": false
1783
+ },
1784
+ "varName": "updatedTime"
1785
+ }
1786
+ },
1787
+ "inputFields": null,
1788
+ "interfaces": {},
1789
+ "kind": "OBJECT",
1790
+ "name": "PolicyElementAudit",
1791
+ "possibleTypes": null
1792
+ },
1793
+ "indexType": "object",
1794
+ "kind": [
1795
+ "NON_NULL",
1796
+ "OBJECT"
1797
+ ],
1798
+ "name": "PolicyElementAudit",
1799
+ "non_null": false
1800
+ },
1801
+ "varName": "policyElementAudit"
1802
+ },
1803
+ "properties": {
1804
+ "args": {},
1805
+ "deprecationReason": null,
1806
+ "description": null,
1807
+ "id_str": "terminalServer___addRule___rule___properties",
1808
+ "isDeprecated": false,
1809
+ "name": "properties",
1810
+ "path": "terminalServer.addRule.rule.properties",
1811
+ "requestStr": "$properties:[PolicyElementPropertiesEnum]! ",
1812
+ "required": true,
1813
+ "responseStr": "properties:$properties ",
1814
+ "type": {
1815
+ "definition": {
1816
+ "description": "Attributes describing the rule state or type",
1817
+ "enumValues": [
1818
+ {
1819
+ "deprecationReason": null,
1820
+ "description": "New (added) rule",
1821
+ "isDeprecated": false,
1822
+ "name": "ADDED"
1823
+ },
1824
+ {
1825
+ "deprecationReason": null,
1826
+ "description": "Updated (modified) existing rule",
1827
+ "isDeprecated": false,
1828
+ "name": "UPDATED"
1829
+ },
1830
+ {
1831
+ "deprecationReason": null,
1832
+ "description": "Removed (deleted) rule",
1833
+ "isDeprecated": false,
1834
+ "name": "REMOVED"
1835
+ },
1836
+ {
1837
+ "deprecationReason": null,
1838
+ "description": "A rule moved to a different position",
1839
+ "isDeprecated": false,
1840
+ "name": "MOVED"
1841
+ },
1842
+ {
1843
+ "deprecationReason": null,
1844
+ "description": "A rule locked for changes by other admins",
1845
+ "isDeprecated": false,
1846
+ "name": "LOCKED"
1847
+ },
1848
+ {
1849
+ "deprecationReason": null,
1850
+ "description": "An object can not be moved, or referenced when moving other objects.\nHowever its properties and content can be modified.",
1851
+ "isDeprecated": false,
1852
+ "name": "ANCHORED"
1853
+ },
1854
+ {
1855
+ "deprecationReason": null,
1856
+ "description": "A pre-defined (system) rule that cannot be modified or removed",
1857
+ "isDeprecated": false,
1858
+ "name": "SYSTEM"
1859
+ }
1860
+ ],
1861
+ "fields": null,
1862
+ "inputFields": null,
1863
+ "interfaces": null,
1864
+ "kind": "ENUM",
1865
+ "name": "PolicyElementPropertiesEnum",
1866
+ "possibleTypes": null
1867
+ },
1868
+ "indexType": "enum",
1869
+ "kind": [
1870
+ "NON_NULL",
1871
+ "LIST",
1872
+ "NON_NULL",
1873
+ "ENUM"
1874
+ ],
1875
+ "name": "PolicyElementPropertiesEnum",
1876
+ "non_null": false
1877
+ },
1878
+ "varName": "properties"
1879
+ },
1880
+ "rule": {
1881
+ "args": {},
1882
+ "deprecationReason": null,
1883
+ "description": null,
1884
+ "id_str": "terminalServer___addRule___rule___rule",
1885
+ "isDeprecated": false,
1886
+ "name": "rule",
1887
+ "path": "terminalServer.addRule.rule.rule",
1888
+ "requestStr": "$terminalServerRule:TerminalServerRule! ",
1889
+ "required": true,
1890
+ "responseStr": "rule:$terminalServerRule ",
1891
+ "type": {
1892
+ "definition": {
1893
+ "description": null,
1894
+ "enumValues": null,
1895
+ "fields": {
1896
+ "allowedHostIP": {
1897
+ "alias": "globalIpRangeRefAllowedHostIP: allowedHostIP",
1898
+ "args": {},
1899
+ "deprecationReason": null,
1900
+ "description": "Allowed Host IP range.\nall the other IPs will be blocked by the pop.\nGlobally defined IP range",
1901
+ "id_str": "terminalServer___addRule___rule___rule___allowedHostIP",
1902
+ "isDeprecated": false,
1903
+ "name": "allowedHostIP",
1904
+ "path": "terminalServer.addRule.rule.rule.allowedHostIP",
1905
+ "requestStr": "$globalIpRangeRef:GlobalIpRangeRef! ",
1906
+ "required": true,
1907
+ "responseStr": "allowedHostIP:$globalIpRangeRef ",
1908
+ "type": {
1909
+ "definition": {
1910
+ "description": "A reference identifying the GlobalIpRange object. ID: Unique GlobalIpRange Identifier, Name: The GlobalIpRange Name",
1911
+ "enumValues": null,
1912
+ "fields": {
1913
+ "id": {
1914
+ "args": {},
1915
+ "deprecationReason": null,
1916
+ "description": null,
1917
+ "id_str": "terminalServer___addRule___rule___rule___allowedHostIP___id",
1918
+ "isDeprecated": false,
1919
+ "name": "id",
1920
+ "path": "terminalServer.addRule.rule.rule.allowedHostIP.id",
1921
+ "requestStr": "$id:ID! ",
1922
+ "required": true,
1923
+ "responseStr": "id:$id ",
1924
+ "type": {
1925
+ "kind": [
1926
+ "NON_NULL",
1927
+ "SCALAR"
1928
+ ],
1929
+ "name": "ID",
1930
+ "non_null": false
1931
+ },
1932
+ "varName": "id"
1933
+ },
1934
+ "name": {
1935
+ "args": {},
1936
+ "deprecationReason": null,
1937
+ "description": null,
1938
+ "id_str": "terminalServer___addRule___rule___rule___allowedHostIP___name",
1939
+ "isDeprecated": false,
1940
+ "name": "name",
1941
+ "path": "terminalServer.addRule.rule.rule.allowedHostIP.name",
1942
+ "requestStr": "$name:String! ",
1943
+ "required": true,
1944
+ "responseStr": "name:$name ",
1945
+ "type": {
1946
+ "kind": [
1947
+ "NON_NULL",
1948
+ "SCALAR"
1949
+ ],
1950
+ "name": "String",
1951
+ "non_null": false
1952
+ },
1953
+ "varName": "name"
1954
+ }
1955
+ },
1956
+ "inputFields": null,
1957
+ "interfaces": {},
1958
+ "kind": "OBJECT",
1959
+ "name": "GlobalIpRangeRef",
1960
+ "possibleTypes": null
1961
+ },
1962
+ "indexType": "object",
1963
+ "kind": [
1964
+ "NON_NULL",
1965
+ "OBJECT"
1966
+ ],
1967
+ "name": "GlobalIpRangeRef",
1968
+ "non_null": false
1969
+ },
1970
+ "varName": "globalIpRangeRef"
1971
+ },
1972
+ "description": {
1973
+ "args": {},
1974
+ "deprecationReason": null,
1975
+ "description": "Description for the rule",
1976
+ "id_str": "terminalServer___addRule___rule___rule___description",
1977
+ "isDeprecated": false,
1978
+ "name": "description",
1979
+ "path": "terminalServer.addRule.rule.rule.description",
1980
+ "requestStr": "$description:String! ",
1981
+ "required": true,
1982
+ "responseStr": "description:$description ",
1983
+ "type": {
1984
+ "kind": [
1985
+ "NON_NULL",
1986
+ "SCALAR"
1987
+ ],
1988
+ "name": "String",
1989
+ "non_null": false
1990
+ },
1991
+ "varName": "description"
1992
+ },
1993
+ "enabled": {
1994
+ "args": {},
1995
+ "deprecationReason": null,
1996
+ "description": "TRUE = Rule is enabled \n FALSE = Rule is disabled",
1997
+ "id_str": "terminalServer___addRule___rule___rule___enabled",
1998
+ "isDeprecated": false,
1999
+ "name": "enabled",
2000
+ "path": "terminalServer.addRule.rule.rule.enabled",
2001
+ "requestStr": "$enabled:Boolean! ",
2002
+ "required": true,
2003
+ "responseStr": "enabled:$enabled ",
2004
+ "type": {
2005
+ "kind": [
2006
+ "NON_NULL",
2007
+ "SCALAR"
2008
+ ],
2009
+ "name": "Boolean",
2010
+ "non_null": false
2011
+ },
2012
+ "varName": "enabled"
2013
+ },
2014
+ "excludeTraffic": {
2015
+ "alias": "globalIpRangeRefExcludeTraffic: excludeTraffic",
2016
+ "args": {},
2017
+ "deprecationReason": null,
2018
+ "description": "Exclude traffic IP Range.\nall traffic to those Ips will be excluded from the GRE tunnel.\nGlobally defined IP range",
2019
+ "id_str": "terminalServer___addRule___rule___rule___excludeTraffic",
2020
+ "isDeprecated": false,
2021
+ "name": "excludeTraffic",
2022
+ "path": "terminalServer.addRule.rule.rule.excludeTraffic",
2023
+ "requestStr": "$globalIpRangeRef:[GlobalIpRangeRef]! ",
2024
+ "required": true,
2025
+ "responseStr": "excludeTraffic:$globalIpRangeRef ",
2026
+ "type": {
2027
+ "definition": {
2028
+ "description": "A reference identifying the GlobalIpRange object. ID: Unique GlobalIpRange Identifier, Name: The GlobalIpRange Name",
2029
+ "enumValues": null,
2030
+ "fields": {
2031
+ "id": {
2032
+ "args": {},
2033
+ "deprecationReason": null,
2034
+ "description": null,
2035
+ "id_str": "terminalServer___addRule___rule___rule___excludeTraffic___id",
2036
+ "isDeprecated": false,
2037
+ "name": "id",
2038
+ "path": "terminalServer.addRule.rule.rule.excludeTraffic.id",
2039
+ "requestStr": "$id:ID! ",
2040
+ "required": true,
2041
+ "responseStr": "id:$id ",
2042
+ "type": {
2043
+ "kind": [
2044
+ "NON_NULL",
2045
+ "SCALAR"
2046
+ ],
2047
+ "name": "ID",
2048
+ "non_null": false
2049
+ },
2050
+ "varName": "id"
2051
+ },
2052
+ "name": {
2053
+ "args": {},
2054
+ "deprecationReason": null,
2055
+ "description": null,
2056
+ "id_str": "terminalServer___addRule___rule___rule___excludeTraffic___name",
2057
+ "isDeprecated": false,
2058
+ "name": "name",
2059
+ "path": "terminalServer.addRule.rule.rule.excludeTraffic.name",
2060
+ "requestStr": "$name:String! ",
2061
+ "required": true,
2062
+ "responseStr": "name:$name ",
2063
+ "type": {
2064
+ "kind": [
2065
+ "NON_NULL",
2066
+ "SCALAR"
2067
+ ],
2068
+ "name": "String",
2069
+ "non_null": false
2070
+ },
2071
+ "varName": "name"
2072
+ }
2073
+ },
2074
+ "inputFields": null,
2075
+ "interfaces": {},
2076
+ "kind": "OBJECT",
2077
+ "name": "GlobalIpRangeRef",
2078
+ "possibleTypes": null
2079
+ },
2080
+ "indexType": "object",
2081
+ "kind": [
2082
+ "NON_NULL",
2083
+ "LIST",
2084
+ "NON_NULL",
2085
+ "OBJECT"
2086
+ ],
2087
+ "name": "GlobalIpRangeRef",
2088
+ "non_null": false
2089
+ },
2090
+ "varName": "globalIpRangeRef"
2091
+ },
2092
+ "id": {
2093
+ "args": {},
2094
+ "deprecationReason": null,
2095
+ "description": "Rule ID",
2096
+ "id_str": "terminalServer___addRule___rule___rule___id",
2097
+ "isDeprecated": false,
2098
+ "name": "id",
2099
+ "path": "terminalServer.addRule.rule.rule.id",
2100
+ "requestStr": "$id:ID! ",
2101
+ "required": true,
2102
+ "responseStr": "id:$id ",
2103
+ "type": {
2104
+ "kind": [
2105
+ "NON_NULL",
2106
+ "SCALAR"
2107
+ ],
2108
+ "name": "ID",
2109
+ "non_null": false
2110
+ },
2111
+ "varName": "id"
2112
+ },
2113
+ "index": {
2114
+ "args": {},
2115
+ "deprecationReason": null,
2116
+ "description": "Position / priority of rule",
2117
+ "id_str": "terminalServer___addRule___rule___rule___index",
2118
+ "isDeprecated": false,
2119
+ "name": "index",
2120
+ "path": "terminalServer.addRule.rule.rule.index",
2121
+ "requestStr": "$index:Int! ",
2122
+ "required": true,
2123
+ "responseStr": "index:$index ",
2124
+ "type": {
2125
+ "kind": [
2126
+ "NON_NULL",
2127
+ "SCALAR"
2128
+ ],
2129
+ "name": "Int",
2130
+ "non_null": false
2131
+ },
2132
+ "varName": "index"
2133
+ },
2134
+ "name": {
2135
+ "args": {},
2136
+ "deprecationReason": null,
2137
+ "description": "Name of the rule",
2138
+ "id_str": "terminalServer___addRule___rule___rule___name",
2139
+ "isDeprecated": false,
2140
+ "name": "name",
2141
+ "path": "terminalServer.addRule.rule.rule.name",
2142
+ "requestStr": "$name:String! ",
2143
+ "required": true,
2144
+ "responseStr": "name:$name ",
2145
+ "type": {
2146
+ "kind": [
2147
+ "NON_NULL",
2148
+ "SCALAR"
2149
+ ],
2150
+ "name": "String",
2151
+ "non_null": false
2152
+ },
2153
+ "varName": "name"
2154
+ },
2155
+ "section": {
2156
+ "alias": "policySectionInfoSection: section",
2157
+ "args": {},
2158
+ "deprecationReason": null,
2159
+ "description": "Policy section where the rule is located",
2160
+ "id_str": "terminalServer___addRule___rule___rule___section",
2161
+ "isDeprecated": false,
2162
+ "name": "section",
2163
+ "path": "terminalServer.addRule.rule.rule.section",
2164
+ "requestStr": "$policySectionInfo:PolicySectionInfo! ",
2165
+ "required": true,
2166
+ "responseStr": "section:$policySectionInfo ",
2167
+ "type": {
2168
+ "definition": {
2169
+ "description": "Define settings for a policy section",
2170
+ "enumValues": null,
2171
+ "fields": {
2172
+ "id": {
2173
+ "args": {},
2174
+ "deprecationReason": null,
2175
+ "description": null,
2176
+ "id_str": "terminalServer___addRule___rule___rule___section___id",
2177
+ "isDeprecated": false,
2178
+ "name": "id",
2179
+ "path": "terminalServer.addRule.rule.rule.section.id",
2180
+ "requestStr": "$id:ID! ",
2181
+ "required": true,
2182
+ "responseStr": "id:$id ",
2183
+ "type": {
2184
+ "kind": [
2185
+ "NON_NULL",
2186
+ "SCALAR"
2187
+ ],
2188
+ "name": "ID",
2189
+ "non_null": false
2190
+ },
2191
+ "varName": "id"
2192
+ },
2193
+ "name": {
2194
+ "args": {},
2195
+ "deprecationReason": null,
2196
+ "description": null,
2197
+ "id_str": "terminalServer___addRule___rule___rule___section___name",
2198
+ "isDeprecated": false,
2199
+ "name": "name",
2200
+ "path": "terminalServer.addRule.rule.rule.section.name",
2201
+ "requestStr": "$name:String! ",
2202
+ "required": true,
2203
+ "responseStr": "name:$name ",
2204
+ "type": {
2205
+ "kind": [
2206
+ "NON_NULL",
2207
+ "SCALAR"
2208
+ ],
2209
+ "name": "String",
2210
+ "non_null": false
2211
+ },
2212
+ "varName": "name"
2213
+ }
2214
+ },
2215
+ "inputFields": null,
2216
+ "interfaces": {},
2217
+ "kind": "OBJECT",
2218
+ "name": "PolicySectionInfo",
2219
+ "possibleTypes": null
2220
+ },
2221
+ "indexType": "object",
2222
+ "kind": [
2223
+ "NON_NULL",
2224
+ "OBJECT"
2225
+ ],
2226
+ "name": "PolicySectionInfo",
2227
+ "non_null": false
2228
+ },
2229
+ "varName": "policySectionInfo"
2230
+ }
2231
+ },
2232
+ "inputFields": null,
2233
+ "interfaces": {},
2234
+ "kind": "OBJECT",
2235
+ "name": "TerminalServerRule",
2236
+ "possibleTypes": null
2237
+ },
2238
+ "indexType": "object",
2239
+ "kind": [
2240
+ "NON_NULL",
2241
+ "OBJECT"
2242
+ ],
2243
+ "name": "TerminalServerRule",
2244
+ "non_null": false
2245
+ },
2246
+ "varName": "terminalServerRule"
2247
+ }
2248
+ },
2249
+ "inputFields": null,
2250
+ "interfaces": {},
2251
+ "kind": "OBJECT",
2252
+ "name": "TerminalServerRulePayload",
2253
+ "possibleTypes": null
2254
+ },
2255
+ "indexType": "object",
2256
+ "kind": [
2257
+ "OBJECT"
2258
+ ],
2259
+ "name": "TerminalServerRulePayload",
2260
+ "non_null": false
2261
+ },
2262
+ "varName": "terminalServerRulePayload"
2263
+ },
2264
+ "status": {
2265
+ "alias": "policyMutationStatusStatus: status",
2266
+ "args": {},
2267
+ "deprecationReason": null,
2268
+ "description": null,
2269
+ "id_str": "terminalServer___addRule___status",
2270
+ "isDeprecated": false,
2271
+ "name": "status",
2272
+ "path": "terminalServer.addRule.status",
2273
+ "requestStr": "$status:PolicyMutationStatus! ",
2274
+ "required": true,
2275
+ "responseStr": "status:$status ",
2276
+ "type": {
2277
+ "definition": {
2278
+ "description": "Enum for the status of a policy mutation",
2279
+ "enumValues": [
2280
+ {
2281
+ "deprecationReason": null,
2282
+ "description": null,
2283
+ "isDeprecated": false,
2284
+ "name": "SUCCESS"
2285
+ },
2286
+ {
2287
+ "deprecationReason": null,
2288
+ "description": null,
2289
+ "isDeprecated": false,
2290
+ "name": "FAILURE"
2291
+ }
2292
+ ],
2293
+ "fields": null,
2294
+ "inputFields": null,
2295
+ "interfaces": null,
2296
+ "kind": "ENUM",
2297
+ "name": "PolicyMutationStatus",
2298
+ "possibleTypes": null
2299
+ },
2300
+ "indexType": "enum",
2301
+ "kind": [
2302
+ "NON_NULL",
2303
+ "ENUM"
2304
+ ],
2305
+ "name": "PolicyMutationStatus",
2306
+ "non_null": false
2307
+ },
2308
+ "varName": "status"
2309
+ }
2310
+ },
2311
+ "inputFields": null,
2312
+ "interfaces": {},
2313
+ "kind": "OBJECT",
2314
+ "name": "TerminalServerRuleMutationPayload",
2315
+ "possibleTypes": null
2316
+ },
2317
+ "indexType": "object",
2318
+ "kind": [
2319
+ "NON_NULL",
2320
+ "OBJECT"
2321
+ ],
2322
+ "name": "TerminalServerRuleMutationPayload",
2323
+ "non_null": false
2324
+ },
2325
+ "varName": "terminalServerRuleMutationPayload"
2326
+ }
2327
+ },
2328
+ "inputFields": null,
2329
+ "interfaces": {},
2330
+ "kind": "OBJECT",
2331
+ "name": "TerminalServerPolicyMutations",
2332
+ "possibleTypes": null
2333
+ },
2334
+ "indexType": "object",
2335
+ "kind": [
2336
+ "OBJECT"
2337
+ ],
2338
+ "name": "TerminalServerPolicyMutations",
2339
+ "non_null": false
2340
+ },
2341
+ "varName": "terminalServerPolicyMutations"
2342
+ }
2343
+ },
2344
+ "inputFields": null,
2345
+ "interfaces": [],
2346
+ "kind": "OBJECT",
2347
+ "name": "PolicyMutations",
2348
+ "possibleTypes": null
2349
+ },
2350
+ "indexType": "object",
2351
+ "kind": [
2352
+ "OBJECT"
2353
+ ],
2354
+ "name": "PolicyMutations",
2355
+ "non_null": false
2356
+ },
2357
+ "variablesPayload": {
2358
+ "terminalServerAddRuleInput": {
2359
+ "policyRulePositionInput": {
2360
+ "position": {
2361
+ "position": "enum(PolicyRulePositionEnum)"
2362
+ },
2363
+ "ref": {
2364
+ "ref": "ID"
2365
+ }
2366
+ },
2367
+ "terminalServerAddRuleDataInput": {
2368
+ "allowedHostIP": {
2369
+ "by": {
2370
+ "by": "enum(ObjectRefBy)"
2371
+ },
2372
+ "input": {
2373
+ "input": "String"
2374
+ }
2375
+ },
2376
+ "description": {
2377
+ "description": "String"
2378
+ },
2379
+ "enabled": {
2380
+ "enabled": "Boolean"
2381
+ },
2382
+ "excludeTraffic": {
2383
+ "by": {
2384
+ "by": "enum(ObjectRefBy)"
2385
+ },
2386
+ "input": {
2387
+ "input": "String"
2388
+ }
2389
+ },
2390
+ "name": {
2391
+ "name": "String"
2392
+ }
2393
+ }
2394
+ },
2395
+ "terminalServerPolicyMutationInput": {
2396
+ "policyMutationRevisionInput": {
2397
+ "id": {
2398
+ "id": "ID"
2399
+ }
2400
+ }
2401
+ }
2402
+ }
2403
+ }