Authorizations
Path Parameters
Example:
Example:
Response
Example:
curl --request POST \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/postgres/{postgres_database_reference}/metric-destination \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"password": "<string>",
"url": "<string>",
"username": "<string>"
}'{
"flavor": "<string>",
"ha_type": "<string>",
"id": "pgn30gjk1d1e2jj34v9x0dq4rp",
"location": "<string>",
"name": "<string>",
"state": "<string>",
"storage_size_gib": 123,
"target_storage_size_gib": 123,
"version": "<string>",
"target_version": "<string>",
"vm_size": "<string>",
"target_vm_size": "<string>",
"ca_certificates": "<string>",
"maintenance_window_start_at": 123,
"read_replica": true,
"parent": "<string>",
"tags": [
{
"key": "<string>",
"value": "<string>"
}
],
"connection_string": "<string>",
"username": "<string>",
"password": "<string>",
"hostname": "<string>",
"earliest_restore_time": "<string>",
"firewall_rules": [
{
"cidr": "<string>",
"description": "<string>",
"id": "frmjgkgbktw62k53005jpx8tt7",
"port": 123
}
],
"latest_restore_time": "<string>",
"primary": true
}curl --request POST \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/postgres/{postgres_database_reference}/metric-destination \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"password": "<string>",
"url": "<string>",
"username": "<string>"
}'{
"flavor": "<string>",
"ha_type": "<string>",
"id": "pgn30gjk1d1e2jj34v9x0dq4rp",
"location": "<string>",
"name": "<string>",
"state": "<string>",
"storage_size_gib": 123,
"target_storage_size_gib": 123,
"version": "<string>",
"target_version": "<string>",
"vm_size": "<string>",
"target_vm_size": "<string>",
"ca_certificates": "<string>",
"maintenance_window_start_at": 123,
"read_replica": true,
"parent": "<string>",
"tags": [
{
"key": "<string>",
"value": "<string>"
}
],
"connection_string": "<string>",
"username": "<string>",
"password": "<string>",
"hostname": "<string>",
"earliest_restore_time": "<string>",
"firewall_rules": [
{
"cidr": "<string>",
"description": "<string>",
"id": "frmjgkgbktw62k53005jpx8tt7",
"port": 123
}
],
"latest_restore_time": "<string>",
"primary": true
}Show child attributes
Show child attributes