Cloud Cost AutoStopping Rules V2

This contains Autostopping v2 APIs that support the usage of Autostopping Proxy for managing cloud resources.

Create an AutoStopping Rule

Creates a new AutoStopping Rule.

Securityx-api-key
Request
path Parameters
account_id
required
string

Account Identifier for the Entity

query Parameters
accountIdentifier
required
string

Account Identifier for the Entity

Request Body schema: */*
required

Service definition of an AutoStopping rule

deps
Array of objects (ServiceDep)
object (ServiceV2)
apply_now
boolean
Responses
200

successful operation

400

Invalid status value

post/gateway/lw/api/accounts/{account_id}/autostopping/v2/rules
Request samples
Response samples
application/json
{
  • "response": {
    }
}

Update an existing AutoStopping Rule

Updates an existing AutoStopping Rule.

Securityx-api-key
Request
path Parameters
account_id
required
string

Account Identifier for the Entity

rule_id
required
string

ID of the AutoStopping rule to be enabled/disabled

query Parameters
accountIdentifier
required
string

Account Identifier for the Entity

Request Body schema: */*
required

Service definition of an AutoStopping rule

deps
Array of objects (ServiceDep)
object (ServiceV2)
apply_now
boolean
Responses
200

successful operation

400

Invalid status value

put/gateway/lw/api/accounts/{account_id}/autostopping/v2/rules/{rule_id}
Request samples
Response samples
application/json
{
  • "response": {
    }
}