pydo.monitoring.create_sink()
Generated on 7 Jul 2026
from pydo version
v0.39.0
Usage
client.monitoring.create_sink(
body={
"destination_uuid": "9df2b7e9-3fb2-4577-b60a-e9c0d53f9a99",
"resources": [...],
},
)Description
To create a new sink, send a POST request to /v2/monitoring/sinks. Forwards logs from the
resources identified in resources to the specified pre-existing destination.
Parameters
destination_uuidstring optionalExample:
9df2b7e9-3fb2-4577-b60a-e9c0d53f9a99A unique identifier for an already-existing destination.
resourcesarray of objects optionalList of resources identified by their URNs.
Show child properties
urnstring requiredExample:
do:kubernetes:f453aa14-646e-4cf8-8c62-75a19fb24ec2The uniform resource name (URN) for the resource in the format do:resource_type:resource_id.
namestring optionalExample:
managed_kubernetes_clusterresource name
Request Sample
More Information
See /v2/monitoring/sinks in the API reference for additional detail on responses, headers, parameters, and more.