Skip to content

Commit c1fdeae

Browse files
feat: feat(workers): WO-989 Adds Workers>Observability>Destinations resources
* feat(workers): WO-989 Adds Workers>Observability>Destinations resources
1 parent 559adb6 commit c1fdeae

14 files changed

Lines changed: 1377 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 2041
1+
configured_endpoints: 2045
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9ba099b7936091cc984d2a24fc4d32c3ffcb1d71d86412c8c9084d201e16b3ac.yml
33
openapi_spec_hash: 45edc9a107cf5a5e3b204b230b0d336d
4-
config_hash: 0768e14fdc9dec28e0031cf533c601e6
4+
config_hash: c8f6f451ad44a8349b1876f50735189a

api.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,6 +2672,26 @@ Methods:
26722672
- <code title="post /accounts/{account_id}/workers/observability/telemetry/query">client.workers.observability.telemetry.<a href="./src/cloudflare/resources/workers/observability/telemetry.py">query</a>(\*, account_id, \*\*<a href="src/cloudflare/types/workers/observability/telemetry_query_params.py">params</a>) -> <a href="./src/cloudflare/types/workers/observability/telemetry_query_response.py">TelemetryQueryResponse</a></code>
26732673
- <code title="post /accounts/{account_id}/workers/observability/telemetry/values">client.workers.observability.telemetry.<a href="./src/cloudflare/resources/workers/observability/telemetry.py">values</a>(\*, account_id, \*\*<a href="src/cloudflare/types/workers/observability/telemetry_values_params.py">params</a>) -> <a href="./src/cloudflare/types/workers/observability/telemetry_values_response.py">SyncSinglePage[TelemetryValuesResponse]</a></code>
26742674

2675+
### Destinations
2676+
2677+
Types:
2678+
2679+
```python
2680+
from cloudflare.types.workers.observability import (
2681+
DestinationCreateResponse,
2682+
DestinationUpdateResponse,
2683+
DestinationListResponse,
2684+
DestinationDeleteResponse,
2685+
)
2686+
```
2687+
2688+
Methods:
2689+
2690+
- <code title="post /accounts/{account_id}/workers/observability/destinations">client.workers.observability.destinations.<a href="./src/cloudflare/resources/workers/observability/destinations.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/workers/observability/destination_create_params.py">params</a>) -> <a href="./src/cloudflare/types/workers/observability/destination_create_response.py">DestinationCreateResponse</a></code>
2691+
- <code title="patch /accounts/{account_id}/workers/observability/destinations/{slug}">client.workers.observability.destinations.<a href="./src/cloudflare/resources/workers/observability/destinations.py">update</a>(slug, \*, account_id, \*\*<a href="src/cloudflare/types/workers/observability/destination_update_params.py">params</a>) -> <a href="./src/cloudflare/types/workers/observability/destination_update_response.py">DestinationUpdateResponse</a></code>
2692+
- <code title="get /accounts/{account_id}/workers/observability/destinations">client.workers.observability.destinations.<a href="./src/cloudflare/resources/workers/observability/destinations.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/workers/observability/destination_list_params.py">params</a>) -> <a href="./src/cloudflare/types/workers/observability/destination_list_response.py">SyncSinglePage[DestinationListResponse]</a></code>
2693+
- <code title="delete /accounts/{account_id}/workers/observability/destinations/{slug}">client.workers.observability.destinations.<a href="./src/cloudflare/resources/workers/observability/destinations.py">delete</a>(slug, \*, account_id) -> <a href="./src/cloudflare/types/workers/observability/destination_delete_response.py">Optional[DestinationDeleteResponse]</a></code>
2694+
26752695
# KV
26762696

26772697
## Namespaces

src/cloudflare/resources/workers/observability/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
TelemetryResourceWithStreamingResponse,
99
AsyncTelemetryResourceWithStreamingResponse,
1010
)
11+
from .destinations import (
12+
DestinationsResource,
13+
AsyncDestinationsResource,
14+
DestinationsResourceWithRawResponse,
15+
AsyncDestinationsResourceWithRawResponse,
16+
DestinationsResourceWithStreamingResponse,
17+
AsyncDestinationsResourceWithStreamingResponse,
18+
)
1119
from .observability import (
1220
ObservabilityResource,
1321
AsyncObservabilityResource,
@@ -24,6 +32,12 @@
2432
"AsyncTelemetryResourceWithRawResponse",
2533
"TelemetryResourceWithStreamingResponse",
2634
"AsyncTelemetryResourceWithStreamingResponse",
35+
"DestinationsResource",
36+
"AsyncDestinationsResource",
37+
"DestinationsResourceWithRawResponse",
38+
"AsyncDestinationsResourceWithRawResponse",
39+
"DestinationsResourceWithStreamingResponse",
40+
"AsyncDestinationsResourceWithStreamingResponse",
2741
"ObservabilityResource",
2842
"AsyncObservabilityResource",
2943
"ObservabilityResourceWithRawResponse",

0 commit comments

Comments
 (0)