@@ -78,12 +78,12 @@ def create(
7878 self ,
7979 * ,
8080 account_id : str ,
81- expected_codes : str ,
8281 allow_insecure : bool | NotGiven = NOT_GIVEN ,
8382 consecutive_down : int | NotGiven = NOT_GIVEN ,
8483 consecutive_up : int | NotGiven = NOT_GIVEN ,
8584 description : str | NotGiven = NOT_GIVEN ,
8685 expected_body : str | NotGiven = NOT_GIVEN ,
86+ expected_codes : str | NotGiven = NOT_GIVEN ,
8787 follow_redirects : bool | NotGiven = NOT_GIVEN ,
8888 header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
8989 interval : int | NotGiven = NOT_GIVEN ,
@@ -107,9 +107,6 @@ def create(
107107 Args:
108108 account_id: Identifier
109109
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-
113110 allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
114111 currently only valid for HTTP and HTTPS monitors.
115112
@@ -125,6 +122,9 @@ def create(
125122 is not found, the origin will be marked as unhealthy. This parameter is only
126123 valid for HTTP and HTTPS monitors.
127124
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+
128128 follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
129129 HTTP and HTTPS monitors.
130130
@@ -170,12 +170,12 @@ def create(
170170 f"/accounts/{ account_id } /load_balancers/monitors" ,
171171 body = maybe_transform (
172172 {
173- "expected_codes" : expected_codes ,
174173 "allow_insecure" : allow_insecure ,
175174 "consecutive_down" : consecutive_down ,
176175 "consecutive_up" : consecutive_up ,
177176 "description" : description ,
178177 "expected_body" : expected_body ,
178+ "expected_codes" : expected_codes ,
179179 "follow_redirects" : follow_redirects ,
180180 "header" : header ,
181181 "interval" : interval ,
@@ -204,12 +204,12 @@ def update(
204204 monitor_id : str ,
205205 * ,
206206 account_id : str ,
207- expected_codes : str ,
208207 allow_insecure : bool | NotGiven = NOT_GIVEN ,
209208 consecutive_down : int | NotGiven = NOT_GIVEN ,
210209 consecutive_up : int | NotGiven = NOT_GIVEN ,
211210 description : str | NotGiven = NOT_GIVEN ,
212211 expected_body : str | NotGiven = NOT_GIVEN ,
212+ expected_codes : str | NotGiven = NOT_GIVEN ,
213213 follow_redirects : bool | NotGiven = NOT_GIVEN ,
214214 header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
215215 interval : int | NotGiven = NOT_GIVEN ,
@@ -233,9 +233,6 @@ def update(
233233 Args:
234234 account_id: Identifier
235235
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-
239236 allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
240237 currently only valid for HTTP and HTTPS monitors.
241238
@@ -251,6 +248,9 @@ def update(
251248 is not found, the origin will be marked as unhealthy. This parameter is only
252249 valid for HTTP and HTTPS monitors.
253250
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+
254254 follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
255255 HTTP and HTTPS monitors.
256256
@@ -298,12 +298,12 @@ def update(
298298 f"/accounts/{ account_id } /load_balancers/monitors/{ monitor_id } " ,
299299 body = maybe_transform (
300300 {
301- "expected_codes" : expected_codes ,
302301 "allow_insecure" : allow_insecure ,
303302 "consecutive_down" : consecutive_down ,
304303 "consecutive_up" : consecutive_up ,
305304 "description" : description ,
306305 "expected_body" : expected_body ,
306+ "expected_codes" : expected_codes ,
307307 "follow_redirects" : follow_redirects ,
308308 "header" : header ,
309309 "interval" : interval ,
@@ -410,12 +410,12 @@ def edit(
410410 monitor_id : str ,
411411 * ,
412412 account_id : str ,
413- expected_codes : str ,
414413 allow_insecure : bool | NotGiven = NOT_GIVEN ,
415414 consecutive_down : int | NotGiven = NOT_GIVEN ,
416415 consecutive_up : int | NotGiven = NOT_GIVEN ,
417416 description : str | NotGiven = NOT_GIVEN ,
418417 expected_body : str | NotGiven = NOT_GIVEN ,
418+ expected_codes : str | NotGiven = NOT_GIVEN ,
419419 follow_redirects : bool | NotGiven = NOT_GIVEN ,
420420 header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
421421 interval : int | NotGiven = NOT_GIVEN ,
@@ -439,9 +439,6 @@ def edit(
439439 Args:
440440 account_id: Identifier
441441
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-
445442 allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
446443 currently only valid for HTTP and HTTPS monitors.
447444
@@ -457,6 +454,9 @@ def edit(
457454 is not found, the origin will be marked as unhealthy. This parameter is only
458455 valid for HTTP and HTTPS monitors.
459456
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+
460460 follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
461461 HTTP and HTTPS monitors.
462462
@@ -504,12 +504,12 @@ def edit(
504504 f"/accounts/{ account_id } /load_balancers/monitors/{ monitor_id } " ,
505505 body = maybe_transform (
506506 {
507- "expected_codes" : expected_codes ,
508507 "allow_insecure" : allow_insecure ,
509508 "consecutive_down" : consecutive_down ,
510509 "consecutive_up" : consecutive_up ,
511510 "description" : description ,
512511 "expected_body" : expected_body ,
512+ "expected_codes" : expected_codes ,
513513 "follow_redirects" : follow_redirects ,
514514 "header" : header ,
515515 "interval" : interval ,
@@ -608,12 +608,12 @@ async def create(
608608 self ,
609609 * ,
610610 account_id : str ,
611- expected_codes : str ,
612611 allow_insecure : bool | NotGiven = NOT_GIVEN ,
613612 consecutive_down : int | NotGiven = NOT_GIVEN ,
614613 consecutive_up : int | NotGiven = NOT_GIVEN ,
615614 description : str | NotGiven = NOT_GIVEN ,
616615 expected_body : str | NotGiven = NOT_GIVEN ,
616+ expected_codes : str | NotGiven = NOT_GIVEN ,
617617 follow_redirects : bool | NotGiven = NOT_GIVEN ,
618618 header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
619619 interval : int | NotGiven = NOT_GIVEN ,
@@ -637,9 +637,6 @@ async def create(
637637 Args:
638638 account_id: Identifier
639639
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-
643640 allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
644641 currently only valid for HTTP and HTTPS monitors.
645642
@@ -655,6 +652,9 @@ async def create(
655652 is not found, the origin will be marked as unhealthy. This parameter is only
656653 valid for HTTP and HTTPS monitors.
657654
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+
658658 follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
659659 HTTP and HTTPS monitors.
660660
@@ -700,12 +700,12 @@ async def create(
700700 f"/accounts/{ account_id } /load_balancers/monitors" ,
701701 body = await async_maybe_transform (
702702 {
703- "expected_codes" : expected_codes ,
704703 "allow_insecure" : allow_insecure ,
705704 "consecutive_down" : consecutive_down ,
706705 "consecutive_up" : consecutive_up ,
707706 "description" : description ,
708707 "expected_body" : expected_body ,
708+ "expected_codes" : expected_codes ,
709709 "follow_redirects" : follow_redirects ,
710710 "header" : header ,
711711 "interval" : interval ,
@@ -734,12 +734,12 @@ async def update(
734734 monitor_id : str ,
735735 * ,
736736 account_id : str ,
737- expected_codes : str ,
738737 allow_insecure : bool | NotGiven = NOT_GIVEN ,
739738 consecutive_down : int | NotGiven = NOT_GIVEN ,
740739 consecutive_up : int | NotGiven = NOT_GIVEN ,
741740 description : str | NotGiven = NOT_GIVEN ,
742741 expected_body : str | NotGiven = NOT_GIVEN ,
742+ expected_codes : str | NotGiven = NOT_GIVEN ,
743743 follow_redirects : bool | NotGiven = NOT_GIVEN ,
744744 header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
745745 interval : int | NotGiven = NOT_GIVEN ,
@@ -763,9 +763,6 @@ async def update(
763763 Args:
764764 account_id: Identifier
765765
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-
769766 allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
770767 currently only valid for HTTP and HTTPS monitors.
771768
@@ -781,6 +778,9 @@ async def update(
781778 is not found, the origin will be marked as unhealthy. This parameter is only
782779 valid for HTTP and HTTPS monitors.
783780
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+
784784 follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
785785 HTTP and HTTPS monitors.
786786
@@ -828,12 +828,12 @@ async def update(
828828 f"/accounts/{ account_id } /load_balancers/monitors/{ monitor_id } " ,
829829 body = await async_maybe_transform (
830830 {
831- "expected_codes" : expected_codes ,
832831 "allow_insecure" : allow_insecure ,
833832 "consecutive_down" : consecutive_down ,
834833 "consecutive_up" : consecutive_up ,
835834 "description" : description ,
836835 "expected_body" : expected_body ,
836+ "expected_codes" : expected_codes ,
837837 "follow_redirects" : follow_redirects ,
838838 "header" : header ,
839839 "interval" : interval ,
@@ -940,12 +940,12 @@ async def edit(
940940 monitor_id : str ,
941941 * ,
942942 account_id : str ,
943- expected_codes : str ,
944943 allow_insecure : bool | NotGiven = NOT_GIVEN ,
945944 consecutive_down : int | NotGiven = NOT_GIVEN ,
946945 consecutive_up : int | NotGiven = NOT_GIVEN ,
947946 description : str | NotGiven = NOT_GIVEN ,
948947 expected_body : str | NotGiven = NOT_GIVEN ,
948+ expected_codes : str | NotGiven = NOT_GIVEN ,
949949 follow_redirects : bool | NotGiven = NOT_GIVEN ,
950950 header : Dict [str , List [str ]] | NotGiven = NOT_GIVEN ,
951951 interval : int | NotGiven = NOT_GIVEN ,
@@ -969,9 +969,6 @@ async def edit(
969969 Args:
970970 account_id: Identifier
971971
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-
975972 allow_insecure: Do not validate the certificate when monitor use HTTPS. This parameter is
976973 currently only valid for HTTP and HTTPS monitors.
977974
@@ -987,6 +984,9 @@ async def edit(
987984 is not found, the origin will be marked as unhealthy. This parameter is only
988985 valid for HTTP and HTTPS monitors.
989986
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+
990990 follow_redirects: Follow redirects if returned by the origin. This parameter is only valid for
991991 HTTP and HTTPS monitors.
992992
@@ -1034,12 +1034,12 @@ async def edit(
10341034 f"/accounts/{ account_id } /load_balancers/monitors/{ monitor_id } " ,
10351035 body = await async_maybe_transform (
10361036 {
1037- "expected_codes" : expected_codes ,
10381037 "allow_insecure" : allow_insecure ,
10391038 "consecutive_down" : consecutive_down ,
10401039 "consecutive_up" : consecutive_up ,
10411040 "description" : description ,
10421041 "expected_body" : expected_body ,
1042+ "expected_codes" : expected_codes ,
10431043 "follow_redirects" : follow_redirects ,
10441044 "header" : header ,
10451045 "interval" : interval ,
0 commit comments