Skip to content

Commit f171c1a

Browse files
feat(api): api update (#2637)
1 parent fef07c2 commit f171c1a

File tree

72 files changed

+744
-312
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+744
-312
lines changed

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1702
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ae6d08a787c9bb7cc1fefdb375350c8f75dbbf59efd0d2760d3b6349f485dae4.yml
3-
openapi_spec_hash: 7c0fc309d2633439585c482564467012
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5e7359f00c6538a0d443ebf2221fc176cf96d8a6e8a8818f6331414ffdab1dcc.yml
3+
openapi_spec_hash: 7d56264fa48a9fc85c5f69a6e7f15b29
44
config_hash: 02efc0b488a456e69c13dc4a934c658a

src/cloudflare/resources/zero_trust/access/applications/applications.py

+178-26
Large diffs are not rendered by default.

src/cloudflare/resources/zero_trust/access/applications/cas.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def create(
6161
Generates a new short-lived certificate CA and public key.
6262
6363
Args:
64-
app_id: UUID
64+
app_id: UUID.
6565
6666
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
6767
@@ -167,7 +167,7 @@ def delete(
167167
Deletes a short-lived certificate CA.
168168
169169
Args:
170-
app_id: UUID
170+
app_id: UUID.
171171
172172
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
173173
@@ -224,7 +224,7 @@ def get(
224224
Fetches a short-lived certificate CA and its public key.
225225
226226
Args:
227-
app_id: UUID
227+
app_id: UUID.
228228
229229
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
230230
@@ -302,7 +302,7 @@ async def create(
302302
Generates a new short-lived certificate CA and public key.
303303
304304
Args:
305-
app_id: UUID
305+
app_id: UUID.
306306
307307
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
308308
@@ -408,7 +408,7 @@ async def delete(
408408
Deletes a short-lived certificate CA.
409409
410410
Args:
411-
app_id: UUID
411+
app_id: UUID.
412412
413413
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
414414
@@ -465,7 +465,7 @@ async def get(
465465
Fetches a short-lived certificate CA and its public key.
466466
467467
Args:
468-
app_id: UUID
468+
app_id: UUID.
469469
470470
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
471471

src/cloudflare/resources/zero_trust/access/applications/policies.py

+16-16
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def create(
8080
array.
8181
8282
Args:
83-
app_id: UUID
83+
app_id: UUID.
8484
8585
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
8686
@@ -179,9 +179,9 @@ def update(
179179
policy, use the /account or zones/{account or zone_id}/policies/{uid} endpoint.
180180
181181
Args:
182-
app_id: UUID
182+
app_id: UUID.
183183
184-
policy_id: UUID
184+
policy_id: UUID.
185185
186186
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
187187
@@ -274,7 +274,7 @@ def list(
274274
scoped and reusable policies used by the application.
275275
276276
Args:
277-
app_id: UUID
277+
app_id: UUID.
278278
279279
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
280280
@@ -331,9 +331,9 @@ def delete(
331331
policy, use the /account or zones/{account or zone_id}/policies/{uid} endpoint.
332332
333333
Args:
334-
app_id: UUID
334+
app_id: UUID.
335335
336-
policy_id: UUID
336+
policy_id: UUID.
337337
338338
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
339339
@@ -395,9 +395,9 @@ def get(
395395
exclusively owned and reusable policies used by the application.
396396
397397
Args:
398-
app_id: UUID
398+
app_id: UUID.
399399
400-
policy_id: UUID
400+
policy_id: UUID.
401401
402402
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
403403
@@ -487,7 +487,7 @@ async def create(
487487
array.
488488
489489
Args:
490-
app_id: UUID
490+
app_id: UUID.
491491
492492
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
493493
@@ -586,9 +586,9 @@ async def update(
586586
policy, use the /account or zones/{account or zone_id}/policies/{uid} endpoint.
587587
588588
Args:
589-
app_id: UUID
589+
app_id: UUID.
590590
591-
policy_id: UUID
591+
policy_id: UUID.
592592
593593
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
594594
@@ -681,7 +681,7 @@ def list(
681681
scoped and reusable policies used by the application.
682682
683683
Args:
684-
app_id: UUID
684+
app_id: UUID.
685685
686686
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
687687
@@ -738,9 +738,9 @@ async def delete(
738738
policy, use the /account or zones/{account or zone_id}/policies/{uid} endpoint.
739739
740740
Args:
741-
app_id: UUID
741+
app_id: UUID.
742742
743-
policy_id: UUID
743+
policy_id: UUID.
744744
745745
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
746746
@@ -802,9 +802,9 @@ async def get(
802802
exclusively owned and reusable policies used by the application.
803803
804804
Args:
805-
app_id: UUID
805+
app_id: UUID.
806806
807-
policy_id: UUID
807+
policy_id: UUID.
808808
809809
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
810810

src/cloudflare/resources/zero_trust/access/applications/policy_tests/policy_tests.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def create(
7676
Starts an Access policy test.
7777
7878
Args:
79-
account_id: Identifier
79+
account_id: Identifier.
8080
8181
extra_headers: Send extra headers
8282
@@ -118,7 +118,7 @@ def get(
118118
Fetches the current status of a given Access policy test.
119119
120120
Args:
121-
account_id: Identifier
121+
account_id: Identifier.
122122
123123
policy_test_id: The UUID of the policy test.
124124
@@ -188,7 +188,7 @@ async def create(
188188
Starts an Access policy test.
189189
190190
Args:
191-
account_id: Identifier
191+
account_id: Identifier.
192192
193193
extra_headers: Send extra headers
194194
@@ -230,7 +230,7 @@ async def get(
230230
Fetches the current status of a given Access policy test.
231231
232232
Args:
233-
account_id: Identifier
233+
account_id: Identifier.
234234
235235
policy_test_id: The UUID of the policy test.
236236

src/cloudflare/resources/zero_trust/access/applications/policy_tests/users.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def list(
6161
Fetches a single page of user results from an Access policy test.
6262
6363
Args:
64-
account_id: Identifier
64+
account_id: Identifier.
6565
6666
policy_test_id: The UUID of the policy test.
6767
@@ -130,7 +130,7 @@ def list(
130130
Fetches a single page of user results from an Access policy test.
131131
132132
Args:
133-
account_id: Identifier
133+
account_id: Identifier.
134134
135135
policy_test_id: The UUID of the policy test.
136136

src/cloudflare/resources/zero_trust/access/applications/user_policy_checks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def list(
6161
Tests if a specific user has permission to access an application.
6262
6363
Args:
64-
app_id: Identifier
64+
app_id: Identifier.
6565
6666
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
6767
@@ -139,7 +139,7 @@ async def list(
139139
Tests if a specific user has permission to access an application.
140140
141141
Args:
142-
app_id: Identifier
142+
app_id: Identifier.
143143
144144
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
145145

src/cloudflare/resources/zero_trust/access/bookmarks.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def create(
6666
Create a new Bookmark application.
6767
6868
Args:
69-
bookmark_id: UUID
69+
bookmark_id: UUID.
7070
7171
extra_headers: Send extra headers
7272
@@ -110,7 +110,7 @@ def update(
110110
Updates a configured Bookmark application.
111111
112112
Args:
113-
bookmark_id: UUID
113+
bookmark_id: UUID.
114114
115115
extra_headers: Send extra headers
116116
@@ -187,7 +187,7 @@ def delete(
187187
Deletes a Bookmark application.
188188
189189
Args:
190-
bookmark_id: UUID
190+
bookmark_id: UUID.
191191
192192
extra_headers: Send extra headers
193193
@@ -229,7 +229,7 @@ def get(
229229
Fetches a single Bookmark application.
230230
231231
Args:
232-
bookmark_id: UUID
232+
bookmark_id: UUID.
233233
234234
extra_headers: Send extra headers
235235
@@ -293,7 +293,7 @@ async def create(
293293
Create a new Bookmark application.
294294
295295
Args:
296-
bookmark_id: UUID
296+
bookmark_id: UUID.
297297
298298
extra_headers: Send extra headers
299299
@@ -337,7 +337,7 @@ async def update(
337337
Updates a configured Bookmark application.
338338
339339
Args:
340-
bookmark_id: UUID
340+
bookmark_id: UUID.
341341
342342
extra_headers: Send extra headers
343343
@@ -414,7 +414,7 @@ async def delete(
414414
Deletes a Bookmark application.
415415
416416
Args:
417-
bookmark_id: UUID
417+
bookmark_id: UUID.
418418
419419
extra_headers: Send extra headers
420420
@@ -456,7 +456,7 @@ async def get(
456456
Fetches a single Bookmark application.
457457
458458
Args:
459-
bookmark_id: UUID
459+
bookmark_id: UUID.
460460
461461
extra_headers: Send extra headers
462462

src/cloudflare/resources/zero_trust/access/certificates/certificates.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def update(
150150
Updates a configured mTLS certificate.
151151
152152
Args:
153-
certificate_id: UUID
153+
certificate_id: UUID.
154154
155155
associated_hostnames: The hostnames of the applications that will use this certificate.
156156
@@ -267,7 +267,7 @@ def delete(
267267
Deletes an mTLS certificate.
268268
269269
Args:
270-
certificate_id: UUID
270+
certificate_id: UUID.
271271
272272
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
273273
@@ -324,7 +324,7 @@ def get(
324324
Fetches a single mTLS certificate.
325325
326326
Args:
327-
certificate_id: UUID
327+
certificate_id: UUID.
328328
329329
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
330330
@@ -477,7 +477,7 @@ async def update(
477477
Updates a configured mTLS certificate.
478478
479479
Args:
480-
certificate_id: UUID
480+
certificate_id: UUID.
481481
482482
associated_hostnames: The hostnames of the applications that will use this certificate.
483483
@@ -594,7 +594,7 @@ async def delete(
594594
Deletes an mTLS certificate.
595595
596596
Args:
597-
certificate_id: UUID
597+
certificate_id: UUID.
598598
599599
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
600600
@@ -651,7 +651,7 @@ async def get(
651651
Fetches a single mTLS certificate.
652652
653653
Args:
654-
certificate_id: UUID
654+
certificate_id: UUID.
655655
656656
account_id: The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
657657

0 commit comments

Comments
 (0)