Cost Insights
Retrieve the Cost Insights Settings.
Responses
200
Success
application/json; api-version=1.0
RAS Cost Insights Settings
enabledbooleanOptional
Enable or disable RAS Cost Insights.
portinteger · int32Optional
Connection Port to the Server hosting RAS Cost Insights.
certificateIdinteger · int32Optional
Certificate ID used by the Server hosting RAS Cost Insights. Default is 0 (Automatic).
401
Unauthorized
application/json; api-version=1.0
get/api/CostInsights
GET /api/CostInsights HTTP/1.1
Accept: */*
{
"enabled": true,
"port": 1,
"certificateId": 1
}Modify the Cost Insights Settings.
Body
Update Cost Insights settings
enabledboolean · nullableOptional
Enable or disable RAS Cost Insights.
portinteger · int32 · nullableOptional
Connection Port to the Server hosting RAS Cost Insights.
certificateIdinteger · int32 · nullableOptional
Certificate ID used by the Server hosting RAS Cost Insights. Default is 0 (Automatic).
Responses
204
No Content
No content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
put/api/CostInsights
PUT /api/CostInsights HTTP/1.1
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 43
{
"enabled": true,
"port": 1,
"certificateId": 1
}No content
Last updated