-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathApplicationProfile.json
1961 lines (1961 loc) · 126 KB
/
ApplicationProfile.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"swagger": "2.0",
"info": {
"version": "31.1.1",
"title": "Avi ApplicationProfile Object API",
"contact": {
"name": "Avi Networks Inc.",
"url": "https://avinetworks.com/contact-us",
"email": "[email protected]"
},
"description": "CLI\n```\n- configure applicationprofile <key>\n- show applicationprofile <key>\n```\n"
},
"securityDefinitions": {
"basicAuth": {
"type": "basic",
"description": "basic authentication"
}
},
"basePath": "/api",
"paths": {
"/applicationprofile": {
"get": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "name",
"in": "query",
"description": "object name",
"required": false,
"type": "string"
},
{
"name": "refers_to",
"in": "query",
"description": "Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=<obj_type>:<obj_uuid>. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid",
"type": "string"
},
{
"name": "referred_by",
"in": "query",
"description": "Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=<obj_type>:<obj_uuid>. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid",
"type": "string"
},
{
"name": "fields",
"in": "query",
"description": "List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.",
"type": "string"
},
{
"name": "include_name",
"in": "query",
"description": "All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.",
"required": false,
"type": "boolean"
},
{
"name": "skip_default",
"in": "query",
"description": "Default values are not set.",
"required": false,
"type": "boolean"
},
{
"name": "join_subresources",
"in": "query",
"description": "It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.",
"type": "string"
},
{
"name": "X-Avi-Tenant",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Tenant Header"
},
{
"name": "X-Avi-Tenant-UUID",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Tenant Header UUID"
},
{
"name": "X-Avi-Version",
"in": "header",
"type": "string",
"required": true,
"description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version."
},
{
"name": "X-CSRFToken",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests."
}
],
"security": [
{
"basicAuth": []
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ApplicationProfileApiResponse"
}
},
"401": {
"description": "log in failed"
}
}
},
"post": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "X-Avi-Tenant",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Tenant Header"
},
{
"name": "X-Avi-Tenant-UUID",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Tenant Header UUID"
},
{
"name": "X-Avi-Version",
"in": "header",
"type": "string",
"required": true,
"description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version."
},
{
"name": "X-CSRFToken",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests."
},
{
"in": "body",
"name": "body",
"description": "ApplicationProfile object creation",
"required": true,
"schema": {
"$ref": "#/definitions/ApplicationProfile"
}
}
],
"security": [
{
"basicAuth": []
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ApplicationProfile"
}
},
"401": {
"description": "log in failed"
}
}
}
},
"/applicationprofile/{uuid}": {
"get": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "name",
"in": "query",
"description": "object name",
"required": false,
"type": "string"
},
{
"name": "X-Avi-Tenant",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Tenant Header"
},
{
"name": "X-Avi-Tenant-UUID",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Tenant Header UUID"
},
{
"name": "X-Avi-Version",
"in": "header",
"type": "string",
"required": true,
"description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version."
},
{
"name": "X-CSRFToken",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests."
},
{
"name": "uuid",
"in": "path",
"description": "UUID of the object to fetch",
"required": true,
"type": "string"
},
{
"name": "fields",
"in": "query",
"description": "List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.",
"type": "string"
},
{
"name": "include_name",
"in": "query",
"description": "All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.",
"required": false,
"type": "boolean"
},
{
"name": "skip_default",
"in": "query",
"description": "Default values are not set.",
"required": false,
"type": "boolean"
},
{
"name": "join_subresources",
"in": "query",
"description": "It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.",
"type": "string"
}
],
"security": [
{
"basicAuth": []
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ApplicationProfile"
}
},
"401": {
"description": "log in failed"
}
}
},
"put": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "query",
"name": "name",
"description": "object name",
"required": false,
"type": "string"
},
{
"in": "header",
"name": "X-Avi-Tenant",
"type": "string",
"required": false,
"description": "Avi Tenant Header"
},
{
"name": "X-Avi-Tenant-UUID",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Tenant Header UUID"
},
{
"name": "X-Avi-Version",
"in": "header",
"type": "string",
"required": true,
"description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version."
},
{
"name": "X-CSRFToken",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests."
},
{
"in": "body",
"name": "body",
"description": "ApplicationProfile object creation",
"required": true,
"schema": {
"$ref": "#/definitions/ApplicationProfile"
}
},
{
"in": "path",
"name": "uuid",
"description": "UUID of the object to fetch",
"required": true,
"type": "string"
}
],
"security": [
{
"basicAuth": []
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ApplicationProfile"
}
},
"401": {
"description": "log in failed"
}
}
},
"patch": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "query",
"name": "name",
"description": "object name",
"required": false,
"type": "string"
},
{
"in": "header",
"name": "X-Avi-Tenant",
"type": "string",
"required": false,
"description": "Avi Tenant Header"
},
{
"name": "X-Avi-Tenant-UUID",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Tenant Header UUID"
},
{
"name": "X-Avi-Version",
"in": "header",
"type": "string",
"required": true,
"description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version."
},
{
"name": "X-CSRFToken",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests."
},
{
"in": "body",
"name": "body",
"description": "ApplicationProfile object creation",
"required": true,
"schema": {
"$ref": "#/definitions/ApplicationProfile"
}
},
{
"in": "path",
"name": "uuid",
"description": "UUID of the object to fetch",
"required": true,
"type": "string"
}
],
"security": [
{
"basicAuth": []
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ApplicationProfile"
}
},
"401": {
"description": "log in failed"
}
}
},
"delete": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "query",
"name": "name",
"description": "object name",
"required": false,
"type": "string"
},
{
"in": "header",
"name": "X-Avi-Tenant",
"type": "string",
"required": false,
"description": "Avi Tenant Header"
},
{
"name": "X-Avi-Tenant-UUID",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Tenant Header UUID"
},
{
"name": "X-Avi-Version",
"in": "header",
"type": "string",
"required": true,
"description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version."
},
{
"name": "X-CSRFToken",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests."
},
{
"in": "path",
"name": "uuid",
"description": "UUID of the object to fetch",
"required": true,
"type": "string"
}
],
"security": [
{
"basicAuth": []
}
],
"responses": {
"204": {
"description": "object deleted",
"schema": {
"type": "string"
}
},
"404": {
"description": "not found"
}
}
}
},
"/applicationprofile/{uuid}/runtime/internal/": {
"get": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "X-Avi-Tenant",
"type": "string",
"required": false,
"description": "Avi Tenant Header"
},
{
"name": "X-Avi-Tenant-UUID",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Tenant Header UUID"
},
{
"name": "X-CSRFToken",
"in": "header",
"type": "string",
"required": false,
"description": "Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests."
},
{
"name": "X-Avi-Version",
"in": "header",
"type": "string",
"required": true,
"description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version."
},
{
"in": "path",
"name": "uuid",
"description": "UUID of the object to fetch",
"required": true,
"type": "string"
}
],
"security": [
{
"basicAuth": []
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
},
"401": {
"description": "log in failed"
}
}
}
}
},
"definitions": {
"ApplicationProfile": {
"type": "object",
"required": [
"name",
"type"
],
"properties": {
"_last_modified": {
"description": "UNIX time since epoch in microseconds. Units(MICROSECONDS).",
"readOnly": true,
"type": "string"
},
"app_service_type": {
"description": "Specifies app service type for an application. Enum options - APP_SERVICE_TYPE_L7_HORIZON, APP_SERVICE_TYPE_L4_BLAST, APP_SERVICE_TYPE_L4_PCOIP, APP_SERVICE_TYPE_L4_FTP. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "string"
},
"cloud_config_cksum": {
"description": "Checksum of application profiles. Internally set by cloud connector. Field introduced in 17.2.14, 18.1.5, 18.2.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"configpb_attributes": {
"description": "Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition.",
"$ref": "#/definitions/ConfigPbAttributes"
},
"created_by": {
"description": "Name of the application profile creator. Field introduced in 17.2.14, 18.1.5, 18.2.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"description": {
"description": " Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"dns_service_profile": {
"description": "Specifies various DNS service related controls for virtual service. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"$ref": "#/definitions/DnsServiceApplicationProfile"
},
"dos_rl_profile": {
"description": "Specifies various security related controls for virtual service. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"$ref": "#/definitions/DosRateLimitProfile"
},
"http_profile": {
"description": "Specifies the HTTP application proxy profile parameters. Allowed in Enterprise edition with any value, Basic, Enterprise with Cloud Services edition.",
"$ref": "#/definitions/HTTPApplicationProfile"
},
"l4_ssl_profile": {
"description": "Specifies various L4 SSL service related controls for virtual service. Field introduced in 22.1.2. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"$ref": "#/definitions/L4SSLApplicationProfile"
},
"markers": {
"description": "List of labels to be used for granular RBAC. Field introduced in 20.1.5. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition.",
"type": "array",
"items": {
"$ref": "#/definitions/RoleFilterMatchLabel"
}
},
"name": {
"description": "The name of the application profile. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"preserve_client_ip": {
"description": "Specifies if client IP needs to be preserved for backend connection. Not compatible with Connection Multiplexing. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "boolean"
},
"preserve_client_port": {
"description": "Specifies if we need to preserve client port while preserving client IP for backend connections. Field introduced in 17.2.7. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "boolean"
},
"preserve_dest_ip_port": {
"description": "Specifies if destination IP and port needs to be preserved for backend connection. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- false), Basic edition(Allowed values- false), Enterprise with Cloud Services edition.",
"type": "boolean"
},
"sip_service_profile": {
"description": "Specifies various SIP service related controls for virtual service. Field introduced in 17.2.8, 18.1.3, 18.2.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"$ref": "#/definitions/SipServiceApplicationProfile"
},
"tcp_app_profile": {
"description": "Specifies the TCP application proxy profile parameters. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"$ref": "#/definitions/TCPApplicationProfile"
},
"tenant_ref": {
"description": " It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"type": {
"description": "Specifies which application layer proxy is enabled for the virtual service. Enum options - APPLICATION_PROFILE_TYPE_L4, APPLICATION_PROFILE_TYPE_HTTP, APPLICATION_PROFILE_TYPE_SYSLOG, APPLICATION_PROFILE_TYPE_DNS, APPLICATION_PROFILE_TYPE_SSL, APPLICATION_PROFILE_TYPE_SIP. Allowed in Enterprise edition with any value, Essentials edition(Allowed values- APPLICATION_PROFILE_TYPE_L4), Basic edition(Allowed values- APPLICATION_PROFILE_TYPE_L4,APPLICATION_PROFILE_TYPE_HTTP), Enterprise with Cloud Services edition.",
"type": "string"
},
"url": {
"description": "url",
"readOnly": true,
"type": "string"
},
"uuid": {
"description": "UUID of the application profile. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
}
}
},
"ApplicationProfileApiResponse": {
"type": "object",
"required": [
"count",
"results"
],
"properties": {
"count": {
"type": "integer",
"format": "int32"
},
"results": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationProfile"
}
},
"next": {
"type": "string"
}
}
},
"CompressionFilter": {
"type": "object",
"required": [
"index",
"level",
"name"
],
"properties": {
"devices_ref": {
"description": " It is a reference to an object of type StringGroup. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"index": {
"description": " Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "integer",
"format": "int32"
},
"ip_addr_prefixes": {
"description": " Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "array",
"items": {
"$ref": "#/definitions/IpAddrPrefix"
}
},
"ip_addr_ranges": {
"description": " Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "array",
"items": {
"$ref": "#/definitions/IpAddrRange"
}
},
"ip_addrs": {
"description": " Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "array",
"items": {
"$ref": "#/definitions/IpAddr"
}
},
"ip_addrs_ref": {
"description": " It is a reference to an object of type IpAddrGroup. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"level": {
"description": " Enum options - AGGRESSIVE_COMPRESSION, NORMAL_COMPRESSION, NO_COMPRESSION. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string",
"default": "NORMAL_COMPRESSION"
},
"match": {
"description": "Whether to apply Filter when group criteria is matched or not. Enum options - IS_IN, IS_NOT_IN. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string",
"default": "IS_IN"
},
"name": {
"description": " Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"user_agent": {
"description": " Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"CompressionProfile": {
"type": "object",
"required": [
"compression",
"remove_accept_encoding_header",
"type"
],
"properties": {
"buf_num": {
"description": "Number of buffers to use for compression output. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 128,
"format": "int32"
},
"buf_size": {
"description": "Size of each buffer used for compression output, this should ideally be a multiple of pagesize. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 4096,
"format": "int32"
},
"compressible_content_ref": {
"description": "Compress only content types listed in this string group. Content types not present in this list are not compressed. It is a reference to an object of type StringGroup. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"compression": {
"description": "Compress HTTP response content if it wasn't already compressed. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "boolean"
},
"filter": {
"description": "Custom filters used when auto compression is not selected. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "array",
"items": {
"$ref": "#/definitions/CompressionFilter"
}
},
"hash_size": {
"description": "hash size used by compression, rounded to the last power of 2. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 16384,
"format": "int32"
},
"level_aggressive": {
"description": "Level of compression to apply on content selected for aggressive compression. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 5,
"format": "int32"
},
"level_normal": {
"description": "Level of compression to apply on content selected for normal compression. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 1,
"format": "int32"
},
"max_low_rtt": {
"description": "If client RTT is higher than this threshold, enable normal compression on the response. Field introduced in 21.1.1. Unit is MILLISECONDS. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 10,
"format": "int32"
},
"min_high_rtt": {
"description": "If client RTT is higher than this threshold, enable aggressive compression on the response. . Field introduced in 21.1.1. Unit is MILLISECONDS. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 200,
"format": "int32"
},
"min_length": {
"description": "Minimum response content length to enable compression. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 128,
"format": "int32"
},
"mobile_str_ref": {
"description": "Values that identify mobile browsers in order to enable aggressive compression. It is a reference to an object of type StringGroup. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "string"
},
"remove_accept_encoding_header": {
"description": "Offload compression from the servers to AVI. Saves compute cycles on the servers. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "boolean",
"default": true
},
"type": {
"description": "Compress content automatically or add custom filters to define compressible content and compression levels. Enum options - AUTO_COMPRESSION, CUSTOM_COMPRESSION. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string",
"default": "AUTO_COMPRESSION"
},
"window_size": {
"description": "window size used by compression, rounded to the last power of 2. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 4096,
"format": "int32"
}
}
},
"ConfigPbAttributes": {
"type": "object",
"properties": {
"version": {
"description": "Protobuf version number. Gets incremented if there is se Diff of federated diff in config pbs.This field will be a monotonically increasing number indicating the number of Config Update operations. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 1,
"format": "uint32"
}
}
},
"DnsServiceApplicationProfile": {
"type": "object",
"properties": {
"aaaa_empty_response": {
"description": "Respond to AAAA queries with empty response when there are only IPV4 records. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "boolean",
"default": true
},
"admin_email": {
"description": "Email address of the administrator responsible for this zone . This field is used in SOA records (rname) pertaining to all domain names specified as authoritative domain names. If not configured, the default value 'hostmaster' is used in SOA responses. Field introduced in 18.2.5. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string",
"default": "hostmaster"
},
"client_dns_tcp_request_timeout": {
"description": "The maximum time allowed for a client to transmit an entire DNS request over TCP. This helps mitigate various forms of SlowLoris attacks. Allowed values are 10-100000000. Field introduced in 22.1.5, 30.1.2, 30.2.1. Unit is MILLISECONDS. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 10000,
"format": "uint32"
},
"close_tcp_connection_post_response": {
"description": "If enabled, the Service Engine initiates closure of client TCP connections after the first DNS response, for pass-through/proxy cases. This behavior applies to all DNS request types other than AX-FR. Field introduced in 21.1.7, 22.1.4, 30.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.",
"type": "boolean"
},
"dns_over_tcp_enabled": {
"description": "Enable DNS query/response over TCP. This enables analytics for pass-through queries as well. Field introduced in 17.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "boolean",
"default": true
},
"dns_zones": {
"description": "DNS zones hosted on this Virtual Service. Field introduced in 18.2.6. Maximum of 100 items allowed. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "array",
"items": {
"$ref": "#/definitions/DnsZone"
}
},
"domain_names": {
"description": "Subdomain names serviced by this Virtual Service. These are configured as Ends-With semantics. Maximum of 100 items allowed. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "array",
"items": {
"type": "string"
}
},
"ecs_stripping_enabled": {
"description": "Enable stripping of EDNS client subnet (ecs) option towards client if DNS service inserts ecs option in the DNS query towards upstream servers. Field introduced in 17.1.5. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "boolean",
"default": true
},
"edns": {
"description": "Enable DNS service to be aware of EDNS (Extension mechanism for DNS). EDNS extensions are parsed and shown in logs. For GSLB services, the EDNS client subnet option can be used to influence Load Balancing. Field introduced in 17.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "boolean",
"default": true
},
"edns_client_subnet_prefix_len": {
"description": "Specifies the IP address prefix length to use in the EDNS client subnet (ECS) option. When the incoming request does not have any ECS option and the prefix length is specified, an ECS option is inserted in the request passed to upstream server. If the incoming request already has an ECS option, the prefix length (and correspondingly the address) in the ECS option is updated, with the minimum of the prefix length present in the incoming and the configured prefix length, before passing the request to upstream server. Allowed values are 1-32. Field introduced in 17.1.3. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "integer",
"format": "uint32"
},
"error_response": {
"description": "Drop or respond to client when the DNS service encounters an error processing a client query. By default, such a request is dropped without any response, or passed through to a passthrough pool, if configured. When set to respond, an appropriate response is sent to client, e.g. NXDOMAIN response for non-existent records, empty NOERROR response for unsupported queries, etc. Enum options - DNS_ERROR_RESPONSE_ERROR, DNS_ERROR_RESPONSE_NONE. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string",
"default": "DNS_ERROR_RESPONSE_NONE"
},
"name_server": {
"description": "The <domain-name> of the name server that was the original or primary source of data for this zone. This field is used in SOA records (mname) pertaining to all domain names specified as authoritative domain names. If not configured, domain name is used as name server in SOA response. Field introduced in 18.2.5. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"negative_caching_ttl": {
"description": "Specifies the TTL value (in seconds) for SOA (Start of Authority) (corresponding to a authoritative domain owned by this DNS Virtual Service) record's minimum TTL served by the DNS Virtual Service. Allowed values are 0-86400. Field introduced in 17.2.4. Unit is SEC. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 30,
"format": "uint32"
},
"num_dns_ip": {
"description": "Specifies the number of IP addresses returned by the DNS Service. Enter 0 to return all IP addresses. Allowed values are 1-20. Special values are 0- Return all IP addresses. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 1,
"format": "uint32"
},
"ttl": {
"description": "Specifies the TTL value (in seconds) for records served by DNS Service. Allowed values are 0-86400. Unit is SEC. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "integer",
"default": 30,
"format": "uint32"
}
}
},
"DnsZone": {
"type": "object",
"required": [
"domain_name"
],
"properties": {
"admin_email": {
"description": "Email address of the administrator responsible for this zone. This field is used in SOA records as rname (RFC 1035). If not configured, it is inherited from the DNS service profile. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"domain_name": {
"description": "Domain name authoritatively serviced by this Virtual Service. Queries for FQDNs that are sub domains of this domain and do not have any DNS record in Avi are dropped or NXDomain response sent. For domains which are present, SOA parameters are sent in answer section of response if query type is SOA. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"name_server": {
"description": "The primary name server for this zone. This field is used in SOA records as mname (RFC 1035). If not configured, it is inherited from the DNS service profile. If even that is not configured, the domain name is used instead. Field introduced in 18.2.6. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
}
}
},
"DosRateLimitProfile": {
"type": "object",
"properties": {
"dos_profile": {
"description": "Profile for DoS attack detection. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"$ref": "#/definitions/DosThresholdProfile"
},
"rl_profile": {
"description": "Profile for Connections/Requests rate limiting. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"$ref": "#/definitions/RateLimiterProfile"
}
}
},
"DosThreshold": {
"type": "object",
"required": [
"attack",
"max_value",
"min_value"
],
"properties": {
"attack": {
"description": "Attack type. Enum options - LAND, SMURF, ICMP_PING_FLOOD, UNKOWN_PROTOCOL, TEARDROP, IP_FRAG_OVERRUN, IP_FRAG_TOOSMALL, IP_FRAG_FULL, IP_FRAG_INCOMPLETE, PORT_SCAN, TCP_NON_SYN_FLOOD_OLD, SYN_FLOOD, BAD_RST_FLOOD, MALFORMED_FLOOD, FAKE_SESSION, ZERO_WINDOW_STRESS, SMALL_WINDOW_STRESS, DOS_HTTP_TIMEOUT, DOS_HTTP_ERROR, DOS_HTTP_ABORT, DOS_SSL_ERROR, DOS_APP_ERROR, DOS_REQ_IP_RL_DROP, DOS_REQ_URI_RL_DROP, DOS_REQ_URI_SCAN_BAD_RL_DROP, DOS_REQ_URI_SCAN_UNKNOWN_RL_DROP, DOS_REQ_IP_URI_RL_DROP, DOS_CONN_IP_RL_DROP, DOS_SLOW_URL, TCP_NON_SYN_FLOOD, DOS_REQ_CIP_SCAN_BAD_RL_DROP, DOS_REQ_CIP_SCAN_UNKNOWN_RL_DROP, DOS_REQ_IP_RL_DROP_BAD, DOS_REQ_URI_RL_DROP_BAD, DOS_REQ_IP_URI_RL_DROP_BAD, POLICY_DROPS, DOS_CONN_RL_DROP, DOS_REQ_RL_DROP, DOS_REQ_HDR_RL_DROP, DOS_REQ_CUSTOM_RL_DROP, DNS_ATTACK_REFLECTION, DNS_ATTACK_AMPLIFICATION_EGRESS, TCP_SLOW_AND_LOW, DNS_ATTACK_NXDOMAIN. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "string"
},
"max_value": {
"description": "Maximum number of packets or connections or requests in a given interval of time to be deemed as attack. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "integer",
"format": "int32"
},
"min_value": {
"description": "Minimum number of packets or connections or requests in a given interval of time to be deemed as attack. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.",
"type": "integer",
"format": "int32"
}
}
},
"DosThresholdProfile": {