File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
tests/api-resources/zones Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 1739
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-3f72477c7ad185b8412acc07b382363c57a1164b40ff37232ea8c0da9919f199 .yml
3
- openapi_spec_hash : 87b7c2287f19bf059b0cd6550a2b805d
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-3bcbff61e51911a9f7dc10e8d468a0848ecc706a1694d3b49433dd6b739b3665 .yml
3
+ openapi_spec_hash : 2fa4d4a482c9f2612ab00e57b9bad971
4
4
config_hash : 7e270b3449efce600e3469937a344c2d
Original file line number Diff line number Diff line change @@ -617,6 +617,12 @@ export interface ZoneEditParams {
617
617
*/
618
618
zone_id : string ;
619
619
620
+ /**
621
+ * Body param: Indicates whether the zone is only using Cloudflare DNS services. A
622
+ * true value means the zone will not receive security or performance benefits.
623
+ */
624
+ paused ?: boolean ;
625
+
620
626
/**
621
627
* Body param: A full zone implies that DNS is hosted with Cloudflare. A partial
622
628
* zone is typically a partner-hosted zone or a CNAME setup. This parameter is only
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ describe('resource zones', () => {
97
97
test ( 'edit: required and optional params' , async ( ) => {
98
98
const response = await client . zones . edit ( {
99
99
zone_id : '023e105f4ecef8ad9ca31a8372d0c353' ,
100
+ paused : true ,
100
101
type : 'full' ,
101
102
vanity_name_servers : [ 'ns1.example.com' , 'ns2.example.com' ] ,
102
103
} ) ;
You can’t perform that action at this time.
0 commit comments