@@ -306,6 +306,7 @@ def edit(
306306 self ,
307307 * ,
308308 zone_id : str ,
309+ paused : bool | NotGiven = NOT_GIVEN ,
309310 type : Literal ["full" , "partial" , "secondary" , "internal" ] | NotGiven = NOT_GIVEN ,
310311 vanity_name_servers : List [str ] | NotGiven = NOT_GIVEN ,
311312 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -322,6 +323,9 @@ def edit(
322323 Args:
323324 zone_id: Identifier
324325
326+ paused: Indicates whether the zone is only using Cloudflare DNS services. A true value
327+ means the zone will not receive security or performance benefits.
328+
325329 type: A full zone implies that DNS is hosted with Cloudflare. A partial zone is
326330 typically a partner-hosted zone or a CNAME setup. This parameter is only
327331 available to Enterprise customers or if it has been explicitly enabled on a
@@ -344,6 +348,7 @@ def edit(
344348 f"/zones/{ zone_id } " ,
345349 body = maybe_transform (
346350 {
351+ "paused" : paused ,
347352 "type" : type ,
348353 "vanity_name_servers" : vanity_name_servers ,
349354 },
@@ -621,6 +626,7 @@ async def edit(
621626 self ,
622627 * ,
623628 zone_id : str ,
629+ paused : bool | NotGiven = NOT_GIVEN ,
624630 type : Literal ["full" , "partial" , "secondary" , "internal" ] | NotGiven = NOT_GIVEN ,
625631 vanity_name_servers : List [str ] | NotGiven = NOT_GIVEN ,
626632 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -637,6 +643,9 @@ async def edit(
637643 Args:
638644 zone_id: Identifier
639645
646+ paused: Indicates whether the zone is only using Cloudflare DNS services. A true value
647+ means the zone will not receive security or performance benefits.
648+
640649 type: A full zone implies that DNS is hosted with Cloudflare. A partial zone is
641650 typically a partner-hosted zone or a CNAME setup. This parameter is only
642651 available to Enterprise customers or if it has been explicitly enabled on a
@@ -659,6 +668,7 @@ async def edit(
659668 f"/zones/{ zone_id } " ,
660669 body = await async_maybe_transform (
661670 {
671+ "paused" : paused ,
662672 "type" : type ,
663673 "vanity_name_servers" : vanity_name_servers ,
664674 },
0 commit comments