Endpoints
Endpoint Methods Rule
------------------ ------- -----------------------
prometheus_metrics GET /metrics
static GET /static/<path:filename>
- noclouddotnet.instance.routes.debug()[source]
Show debug info; from request.
- Returns
yaml of request and application configuration
- noclouddotnet.instance.routes.fetch()[source]
Return all registered instance records.
- Returns
yaml instance data responding to query
- noclouddotnet.instance.routes.meta_data()[source]
Respond to meta-data request; either returning previously associated record or generating a new one.
- Returns
yaml instance/host information
- noclouddotnet.instance.routes.phone_home()[source]
A cloud-init phone-home data/save. The phone-home url should be /phone-home?instance_id=$INSTANCE_ID Note that a phone-home call only happens once per cloud-instance.
- Returns
http return code