ModifyBudgetPolicy

更新时间:
复制 MD 格式

Modifies a budget policy.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

GwClusterId

string

Yes

The ID of the gateway instance.

pg-xxxxxxxx

ResetDayOfMonth

string

No

The day of the month when the budget is reset. Valid values: 1 to 28.

2

BudgetPoints

string

No

The budget amount in points.

10000

BudgetPolicyId

string

Yes

The ID of the budget policy.

023aacc1effc4b56bb154bfbec6ba9**

AlertThresholdPct

string

No

The budget usage percentage that triggers an alert. Valid values: 0 to 100.

80

RegionId

string

No

The ID of the region.

cn-beijing

Response elements

Element

Type

Description

Example

object

The response data.

RequestId

string

The ID of the request.

925B84D9-CA72-432C-95CF-738C22******

GwClusterId

string

The ID of the gateway instance.

pg-xxxxxxxx

Examples

Success response

JSON format

{
  "RequestId": "925B84D9-CA72-432C-95CF-738C22******",
  "GwClusterId": "pg-xxxxxxxx"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.