8000 feat(api): api update (#2247) · cloudflare/cloudflare-python@38a93e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 38a93e7

Browse files
feat(api): api update (#2247)
1 parent e2f5e1b commit 38a93e7

14 files changed

+36
-24
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1450
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-0530d6510c5b139af850d24a4f932d5139c8d321a955ffa101b0debafbd75465.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4dc0e42c684fd5bb1470f8d6251d3d4a5194297e87606215b60d9a6ba5a5f7eb.yml

src/cloudflare/resources/zero_trust/gateway/rules.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ def create(
7070
"override",
7171
"l4_override",
7272
"egress",
73-
"audit_ssh",
7473
"resolve",
7574
"quarantine",
7675
],
@@ -186,7 +185,6 @@ def update(
186185
"override",
187186
"l4_override",
188187
"egress",
189-
"audit_ssh",
190188
"resolve",
191189
"quarantine",
192190
],
@@ -490,7 +488,6 @@ async def create(
490488
"override",
491489
"l4_override",
492490
"egress",
493-
"audit_ssh",
494491
"resolve",
495492
"quarantine",
496493
],
@@ -606,7 +603,6 @@ async def update(
606603
"override",
607604
"l4_override",
608605
"egress",
609-
"audit_ssh",
610606
"resolve",
611607
"quarantine",
612608
],

src/cloudflare/types/zero_trust/gateway/certificate_activate_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ class CertificateActivateResponse(BaseModel):
1313
id: Optional[str] = None
1414
"""Certificate UUID tag."""
1515

16-
binding_status: Optional[Literal["pending_deployment", "active", "pending_deletion", "inactive"]] = None
16+
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
1717
"""The deployment status of the certificate on Cloudflare's edge.
1818
19-
Certificates in the 'active' state may be used for Gateway TLS interception.
19+
Certificates in the 'available' (previously called 'active') state may be used
20+
for Gateway TLS interception.
2021
"""
2122

2223
certificate: Optional[str] = None

src/cloudflare/types/zero_trust/gateway/certificate_create_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ class CertificateCreateResponse(BaseModel):
1313
id: Optional[str] = None
1414
"""Certificate UUID tag."""
1515

16-
binding_status: Optional[Literal["pending_deployment", "active", "pending_deletion", "inactive"]] = None
16+
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
1717
"""The deployment status of the certificate on Cloudflare's edge.
1818
19-
Certificates in the 'active' state may be used for Gateway TLS interception.
19+
Certificates in the 'available' (previously called 'active') state may be used
20+
for Gateway TLS interception.
2021
"""
2122

2223
certificate: Optional[str] = None

src/cloudflare/types/zero_trust/gateway/certificate_deactivate_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ class CertificateDeactivateResponse(BaseModel):
1313
id: Optional[str] = None
1414
"""Certificate UUID tag."""
1515

16-
binding_status: Optional[Literal["pending_deployment", "active", "pending_deletion", "inactive"]] = None
16+
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
1717
"""The deployment status of the certificate on Cloudflare's edge.
1818
19-
Certificates in the 'active' state may be used for Gateway TLS interception.
19+
Certificates in the 'available' (previously called 'active') state may be used
20+
for Gateway TLS interception.
2021
"""
2122

2223
certificate: Optional[str] = None

src/cloudflare/types/zero_trust/gateway/certificate_delete_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ class CertificateDeleteResponse(BaseModel):
1313
id: Optional[str] = None
1414
"""Certificate UUID tag."""
1515

16-
binding_status: Optional[Literal["pending_deployment", "active", "pending_deletion", "inactive"]] = None
16+
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
1717
"""The deployment status of the certificate on Cloudflare's edge.
1818
19-
Certificates in the 'active' state may be used for Gateway TLS interception.
19+
Certificates in the 'available' (previously called 'active') state may be used
20+
for Gateway TLS interception.
2021
"""
2122

2223
certificate: Optional[str] = None

src/cloudflare/types/zero_trust/gateway/certificate_get_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ class CertificateGetResponse(BaseModel):
1313
id: Optional[str] = None
1414
"""Certificate UUID tag."""
1515

16-
binding_status: Optional[Literal["pending_deployment", "active", "pending_deletion", "inactive"]] = None
16+
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
1717
"""The deployment status of the certificate on Cloudflare's edge.
1818
19-
Certificates in the 'active' state may be used for Gateway TLS interception.
19+
Certificates in the 'available' (previously called 'active') state may be used
20+
for Gateway TLS interception.
2021
"""
2122

2223
certificate: Optional[str] = None

src/cloudflare/types/zero_trust/gateway/certificate_list_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ class CertificateListResponse(BaseModel):
1313
id: Optional[str] = None
1414
"""Certificate UUID tag."""
1515

16-
binding_status: Optional[Literal["pending_deployment", "active", "pending_deletion", "inactive"]] = None
16+
binding_status: Optional[Literal["pending_deployment", "available", "pending_deletion", "inactive"]] = None
1717
"""The deployment status of the certificate on Cloudflare's edge.
1818
19-
Certificates in the 'active' state may be used for Gateway TLS interception.
19+
Certificates in the 'available' (previously called 'active') state may be used
20+
for Gateway TLS interception.
2021
"""
2122

2223
certificate: Optional[str] = None

src/cloudflare/types/zero_trust/gateway/gateway_configuration_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class Certificate(BaseModel):
2222
id: str
2323
"""UUID of certificate to be used for interception.
2424
25-
Certificate must be active on the edge. A nil UUID will indicate the Cloudflare
26-
Root CA should be used.
25+
Certificate must be available (previously called 'active') on the edge. A nil
26+
UUID will indicate the Cloudflare Root CA should be used.
2727
"""
2828

2929

src/cloudflare/types/zero_trust/gateway/gateway_configuration_settings_param.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class Certificate(TypedDict, total=False):
2222
id: Required[str]
2323
"""UUID of certificate to be used for interception.
2424
25-
Certificate must be active on the edge. A nil UUID will indicate the Cloudflare
26-
Root CA should be used.
25+
Certificate must be available (previously called 'active') on the edge. A nil
26+
UUID will indicate the Cloudflare Root CA should be used.
2727
"""
2828

2929

0 commit comments

Comments
 (0)
0