@@ -78,12 +78,12 @@ def create(
78
78
self ,
79
79
* ,
80
80
account_id : str ,
81
- expected_codes : str ,
82
81
allow_insecure : bool | NotGiven = NOT_GIVEN ,
83
82
consecutive_down : int | NotGiven = NOT_GIVEN ,
84
83
consecutive_up : int | NotGiven = NOT_GIVEN ,
85
84
description : str | NotGiven = NOT_GIVEN ,
86
85
expected_body : str | NotGiven = NOT_GIVEN ,
86
+ expected_codes : str | NotGiven = NOT_GIVEN ,
87
87
follow_redirects : bool | NotGiven = NOT_GIVEN ,
88
88
header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
89
89
interval : int | NotGiven = NOT_GIVEN ,
@@ -107,9 +107,6 @@ def create(
107
107
Args:
108
108
account_id: Identifier
109
109
110
- expected_codes: The expected HTTP response code or code range of the health check. This
111
- parameter is only valid for HTTP and HTTPS monitors.
112
-
113
110
allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
114
111
currently only valid for HTTP and HTTPS monitors.
115
112
@@ -125,6 +122,9 @@ def create(
125
122
is not found, the origin will be marked as unhealthy. This parameter is only
126
123
valid for HTTP and HTTPS monitors.
127
124
125
+ expected_codes: The expected HTTP response code or code range of the health check. This
126
+ parameter is only valid for HTTP and HTTPS monitors.
127
+
128
128
follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
129
129
HTTP and HTTPS monitors.
130
130
@@ -170,12 +170,12 @@ def create(
170
170
f"/accounts/{ account_id } /load_balancers/monitors" ,
171
171
body = maybe_transform (
172
172
{
173
- "expected_codes" : expected_codes ,
174
173
"allow_insecure" : allow_insecure ,
175
174
"consecutive_down" : consecutive_down ,
176
175
"consecutive_up" : consecutive_up ,
177
176
"description" : description ,
178
177
"expected_body" : expected_body ,
178
+ "expected_codes" : expected_codes ,
179
179
"follow_redirects" : follow_redirects ,
180
180
"header" : header ,
181
181
"interval" : interval ,
@@ -204,12 +204,12 @@ def update(
204
204
monitor_id : str ,
205
205
* ,
206
206
account_id : str ,
207
- expected_codes : str ,
208
207
allow_insecure : bool | NotGiven = NOT_GIVEN ,
209
208
consecutive_down : int | NotGiven = NOT_GIVEN ,
210
209
consecutive_up : int | NotGiven = NOT_GIVEN ,
211
210
description : str | NotGiven = NOT_GIVEN ,
212
211
expected_body : str | NotGiven = NOT_GIVEN ,
212
+ expected_codes : str | NotGiven = NOT_GIVEN ,
213
213
follow_redirects : bool | NotGiven = NOT_GIVEN ,
214
214
header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
215
215
interval : int | NotGiven = NOT_GIVEN ,
@@ -233,9 +233,6 @@ def update(
233
233
Args:
234
234
account_id: Identifier
235
235
236
- expected_codes: The expected HTTP response code or code range of the health check. This
237
- parameter is only valid for HTTP and HTTPS monitors.
238
-
239
236
allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
240
237
currently only valid for HTTP and HTTPS monitors.
241
238
@@ -251,6 +248,9 @@ def update(
251
248
is not found, the origin will be marked as unhealthy. This parameter is only
252
249
valid for HTTP and HTTPS monitors.
253
250
251
+ expected_codes: The expected HTTP response code or code range of the health check. This
252
+ parameter is only valid for HTTP and HTTPS monitors.
253
+
254
254
follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
255
255
HTTP and HTTPS monitors.
256
256
@@ -298,12 +298,12 @@ def update(
298
298
f"/accounts/{ account_id } /load_balancers/monitors/{ monitor_id } " ,
299
299
body = maybe_transform (
300
300
{
301
- "expected_codes" : expected_codes ,
302
301
"allow_insecure" : allow_insecure ,
303
302
"consecutive_down" : consecutive_down ,
304
303
"consecutive_up" : consecutive_up ,
305
304
"description" : description ,
306
305
"expected_body" : expected_body ,
306
+ "expected_codes" : expected_codes ,
307
307
"follow_redirects" : follow_redirects ,
308
308
"header" : header ,
309
309
"interval" : interval ,
@@ -410,12 +410,12 @@ def edit(
410
410
monitor_id : str ,
411
411
* ,
412
412
account_id : str ,
413
- expected_codes : str ,
414
413
allow_insecure : bool | NotGiven = NOT_GIVEN ,
415
414
consecutive_down : int | NotGiven = NOT_GIVEN ,
416
415
consecutive_up : int | NotGiven = NOT_GIVEN ,
417
416
description : str | NotGiven = NOT_GIVEN ,
418
417
expected_body : str | NotGiven = NOT_GIVEN ,
418
+ expected_codes : str | NotGiven = NOT_GIVEN ,
419
419
follow_redirects : bool | NotGiven = NOT_GIVEN ,
420
420
header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
421
421
interval : int | NotGiven = NOT_GIVEN ,
@@ -439,9 +439,6 @@ def edit(
439
439
Args:
440
440
account_id: Identifier
441
441
442
- expected_codes: The expected HTTP response code or code range of the health check. This
443
- parameter is only valid for HTTP and HTTPS monitors.
444
-
445
442
allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
446
443
currently only valid for HTTP and HTTPS monitors.
447
444
@@ -457,6 +454,9 @@ def edit(
457
454
is not found, the origin will be marked as unhealthy. This parameter is only
458
455
valid for HTTP and HTTPS monitors.
459
456
457
+ expected_codes: The expected HTTP response code or code range of the health check. This
458
+ parameter is only valid for HTTP and HTTPS monitors.
459
+
460
460
follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
461
461
HTTP and HTTPS monitors.
462
462
@@ -504,12 +504,12 @@ def edit(
504
504
f"/accounts/{ account_id } /load_balancers/monitors/{ monitor_id } " ,
505
505
body = maybe_transform (
506
506
{
507
- "expected_codes" : expected_codes ,
508
507
"allow_insecure" : allow_insecure ,
509
508
"consecutive_down" : consecutive_down ,
510
509
"consecutive_up" : consecutive_up ,
511
510
"description" : description ,
512
511
"expected_body" : expected_body ,
512
+ "expected_codes" : expected_codes ,
513
513
"follow_redirects" : follow_redirects ,
514
514
"header" : header ,
515
515
"interval" : interval ,
@@ -608,12 +608,12 @@ async def create(
608
608
self ,
609
609
* ,
610
610
account_id : str ,
611
- expected_codes : str ,
612
611
allow_insecure : bool | NotGiven = NOT_GIVEN ,
613
612
consecutive_down : int | NotGiven = NOT_GIVEN ,
614
613
consecutive_up : int | NotGiven = NOT_GIVEN ,
615
614
description : str | NotGiven = NOT_GIVEN ,
616
615
expected_body : str | NotGiven = NOT_GIVEN ,
616
+ expected_codes : str | NotGiven = NOT_GIVEN ,
617
617
follow_redirects : bool | NotGiven = NOT_GIVEN ,
618
618
header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
619
619
interval : int | NotGiven = NOT_GIVEN ,
@@ -637,9 +637,6 @@ async def create(
637
637
Args:
638
638
account_id: Identifier
639
639
640
- expected_codes: The expected HTTP response code or code range of the health check. This
641
- parameter is only valid for HTTP and HTTPS monitors.
642
-
643
640
allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
644
641
currently only valid for HTTP and HTTPS monitors.
645
642
@@ -655,6 +652,9 @@ async def create(
655
652
is not found, the origin will be marked as unhealthy. This parameter is only
656
653
valid for HTTP and HTTPS monitors.
657
654
655
+ expected_codes: The expected HTTP response code or code range of the health check. This
656
+ parameter is only valid for HTTP and HTTPS monitors.
657
+
658
658
follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
659
659
HTTP and HTTPS monitors.
660
660
@@ -700,12 +700,12 @@ async def create(
700
700
f"/accounts/{ account_id } /load_balancers/monitors" ,
701
701
body = await async_maybe_transform (
702
702
{
703
- "expected_codes" : expected_codes ,
704
703
"allow_insecure" : allow_insecure ,
705
704
"consecutive_down" : consecutive_down ,
706
705
"consecutive_up" : consecutive_up ,
707
706
"description" : description ,
708
707
"expected_body" : expected_body ,
708
+ "expected_codes" : expected_codes ,
709
709
"follow_redirects" : follow_redirects ,
710
710
"header" : header ,
711
711
"interval" : interval ,
@@ -734,12 +734,12 @@ async def update(
734
734
monitor_id : str ,
735
735
* ,
736
736
account_id : str ,
737
- expected_codes : str ,
738
737
allow_insecure : bool | NotGiven = NOT_GIVEN ,
739
738
consecutive_down : int | NotGiven = NOT_GIVEN ,
740
739
consecutive_up : int | NotGiven = NOT_GIVEN ,
741
740
description : str | NotGiven = NOT_GIVEN ,
742
741
expected_body : str | NotGiven = NOT_GIVEN ,
742
+ expected_codes : str | NotGiven = NOT_GIVEN ,
743
743
follow_redirects : bool | NotGiven = NOT_GIVEN ,
744
744
header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
745
745
interval : int | NotGiven = NOT_GIVEN ,
@@ -763,9 +763,6 @@ async def update(
763
763
Args:
764
764
account_id: Identifier
765
765
766
- expected_codes: The expected HTTP response code or code range of the health check. This
767
- parameter is only valid for HTTP and HTTPS monitors.
768
-
769
766
allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
770
767
currently only valid for HTTP and HTTPS monitors.
771
768
@@ -781,6 +778,9 @@ async def update(
781
778
is not found, the origin will be marked as unhealthy. This parameter is only
782
779
valid for HTTP and HTTPS monitors.
783
780
781
+ expected_codes: The expected HTTP response code or code range of the health check. This
782
+ parameter is only valid for HTTP and HTTPS monitors.
783
+
784
784
follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
785
785
HTTP and HTTPS monitors.
786
786
@@ -828,12 +828,12 @@ async def update(
828
828
f"/accounts/{ account_id } /load_balancers/monitors/{ monitor_id } " ,
829
829
body = await async_maybe_transform (
830
830
{
831
- "expected_codes" : expected_codes ,
832
831
"allow_insecure" : allow_insecure ,
833
832
"consecutive_down" : consecutive_down ,
834
833
"consecutive_up" : consecutive_up ,
835
834
"description" : description ,
836
835
"expected_body" : expected_body ,
836
+ "expected_codes" : expected_codes ,
837
837
"follow_redirects" : follow_redirects ,
838
838
"header" : header ,
839
839
"interval" : interval ,
@@ -940,12 +940,12 @@ async def edit(
940
940
monitor_id : str ,
941
941
* ,
942
942
account_id : str ,
943
- expected_codes : str ,
944
943
allow_insecure : bool | NotGiven = NOT_GIVEN ,
945
944
consecutive_down : int | NotGiven = NOT_GIVEN ,
946
945
consecutive_up : int | NotGiven = NOT_GIVEN ,
947
946
description : str | NotGiven = NOT_GIVEN ,
948
947
expected_body : str | NotGiven = NOT_GIVEN ,
948
+ expected_codes : str | NotGiven = NOT_GIVEN ,
949
949
follow_redirects : bool | NotGiven = NOT_GIVEN ,
950
950
header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
951
951
interval : int | NotGiven = NOT_GIVEN ,
@@ -969,9 +969,6 @@ async def edit(
969
969
Args:
970
970
account_id: Identifier
971
971
972
- expected_codes: The expected HTTP response code or code range of the health check. This
973
- parameter is only valid for HTTP and HTTPS monitors.
974
-
975
972
allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
976
973
currently only valid for HTTP and HTTPS monitors.
977
974
@@ -987,6 +984,9 @@ async def edit(
987
984
is not found, the origin will be marked as unhealthy. This parameter is only
988
985
valid for HTTP and HTTPS monitors.
989
986
987
+ expected_codes: The expected HTTP response code or code range of the health check. This
988
+ parameter is only valid for HTTP and HTTPS monitors.
989
+
990
990
follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
991
991
HTTP and HTTPS monitors.
992
992
@@ -1034,12 +1034,12 @@ async def edit(
1034
1034
f"/accounts/{ account_id } /load_balancers/monitors/{ monitor_id } " ,
1035
1035
body = await async_maybe_transform (
1036
1036
{
1037
- "expected_codes" : expected_codes ,
1038
1037
"allow_insecure" : allow_insecure ,
1039
1038
"consecutive_down" : consecutive_down ,
1040
1039
"consecutive_up" : consecutive_up ,
1041
1040
"description" : description ,
1042
1041
"expected_body" : expected_body ,
1042
+ "expected_codes" : expected_codes ,
1043
1043
"follow_redirects" : follow_redirects ,
1044
1044
"header" : header ,
1045
1045
"interval" : interval ,
0 commit comments