Method | URI | Description |
---|---|---|
PUT | /v2/{tenant_id}/os-services/disable-log-reason | Logs information to the service table about why a service was disabled. |
Normal response codes: 200
This table shows the URI parameters for the log disabled service information request:
Name | Type | Description |
---|---|---|
| String | The ID for the tenant or account in a multi-tenancy cloud. |
Example 3.326. Log disabled service information: JSON request
{ "host": "host1", "binary": "nova-compute", "disabled_reason": "test2" }
Example 3.327. Log disabled service information: XML request
<?xml version='1.0' encoding='UTF-8'?> <service host="host1" binary="nova-compute" disabled_reason="test2"/>
This operation does not require a request body.
Example 3.328. Log disabled service information: JSON response
{ "service": { "binary": "nova-compute", "host": "host1", "disabled_reason": "test2", "status": "disabled" } }
Example 3.329. Log disabled service information: XML response
<?xml version='1.0' encoding='UTF-8'?> <service host="host1" binary="nova-compute" status="disabled" disabled_reason="test2" />
This operation does not return a response body.