全部產品
Search
文件中心

OpenSearch:ModifyAppGroupQuota

更新時間:Aug 04, 2026

修改 OpenSearch 應用程式配額。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

opensearch:ModifyAppGroup

update

*AppGroup

acs:opensearch:{#regionId}:{#accountId}:app-groups/{#AppGroupId}

無 無

請求文法

PUT /v4/openapi/app-groups/{appGroupIdentity}/quota HTTP/1.1

路徑參數

名稱

類型

必填

描述

樣本值

appGroupIdentity

string

是

應用程式名稱。

my_app_group_name

請求參數

名稱

類型

必填

描述

樣本值

clientToken

string

否

用於保證請求的冪等性。由用戶端產生該參數值,要保證在不同請求間唯一,最大不超過 64 個 ASCII 字元。

74db41d8cd3c784209093aa76afbe89e

dryRun

boolean

否

是否校驗輸入參數資料合法性,預設為 false。

取值:

  • true:只校驗參數合法性。

  • false:校驗參數合法性,建立歸因設定。

false

body

Quota

否

請求體。

請求體

欄位類型是否必要範例值描述
docSizeInteger是1儲存容量(單位:GB) 共用通用型(1~300G)
computeResourceInteger是20運算資源(單位:LCU) 共用通用型(20~5000LCU)
specString是"opensearch.share.common"規格
orderTypeString否"UPGRADE"變更設定類型
- UPGRADE 升級設定
- DOWNGRADE 降級設定






參考: Quota

返回參數

名稱

類型

描述

樣本值

object

回應體。

requestId

string

請求 ID。

0A6EB64B-B4C8-CF02-810F-E660812972FF

result

object

應用程式資訊。

beaconAppCreated

integer

chargeType

string

付費類型。

  • POSTPAY 後付費(按量付費)

  • PREPAY 預付費(包年包月)

POSTPAY

chargingWay

integer

計費類型。

  • 1:運算資源

  • 2:QPS

1

commodityCode

string

商品 CODE。

opensearch

created

integer

建立時間戳記。

1590139542

currentVersion

string

目前線上版本。

100302903

description

string

應用程式描述。

1

domain

string

domainName

string

engineType

string

引擎類型。

枚舉值:

  • ha3 :

    ha3

ha3

hasPendingQuotaReviewTask

integer

是否正在進行配額審批。

  • 0:正常

  • 1:配額審批中

0

id

string

應用程式 ID。

100302881

inDebt

boolean

instanceId

string

執行個體 ID。

1

lockMode

string

鎖定狀態。

  • Unlock 正常

  • LockByExpiration 執行個體過期自動鎖定

  • ManualLock 手動觸發鎖定

Unlock

name

string

應用程式名稱。

lsh_test_1

produced

integer

是否生產完成。

  • 0:生產中

  • 1:生產完成

1

quota

object

應用程式配額資訊。

computeResource

integer

計算資源(單位:LCU)

20

docSize

integer

儲存容量(單位:GB)

1

spec

string

規格

  • opensearch.share.junior 入門型

  • opensearch.share.common 共用通用型

  • opensearch.share.compute 共用計算型

  • opensearch.share.storage 共用儲存型

  • opensearch.private.common 獨享通用型

  • opensearch.private.compute 獨享計算型

  • opensearch.private.storage 獨享儲存型

opensearch.share.common

resourceGroupId

string

執行個體所屬的資源群組 ID。

rg-acfmoiyerh6nzly

status

string

應用程式狀態。

  • producing 生產中

  • review_pending 生產審批中

  • config_pending 待設定

  • normal 正常

  • frozen 已凍結

normal

switchedTime

integer

線上版本切換時間戳記。

1590486386

type

string

應用程式類型。

  • standard 標準版

  • advance 舊進階版(新應用程式不支援此類型)

  • enhanced 新進階版

enhanced

updated

integer

更新時間戳記。

1590978265

zoneId

string

components

array<object>

object

code

string

value

string

tags

array<object>

object

key

string

value

string

versions

array

string

樣本

正常返回樣本

JSON格式

{
  "requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
  "result": {
    "beaconAppCreated": 0,
    "chargeType": "POSTPAY",
    "chargingWay": 1,
    "commodityCode": "opensearch",
    "created": 1590139542,
    "currentVersion": "100302903",
    "description": " 1",
    "domain": "",
    "domainName": "",
    "engineType": "ha3",
    "hasPendingQuotaReviewTask": 0,
    "id": "100302881",
    "inDebt": false,
    "instanceId": "1",
    "lockMode": "Unlock",
    "name": "lsh_test_1",
    "produced": 1,
    "quota": {
      "computeResource": 20,
      "docSize": 1,
      "spec": "opensearch.share.common"
    },
    "resourceGroupId": "rg-acfmoiyerh6nzly",
    "status": "normal",
    "switchedTime": 1590486386,
    "type": "enhanced",
    "updated": 1590978265,
    "zoneId": "",
    "components": [
      {
        "code": "",
        "value": ""
      }
    ],
    "tags": [
      {
        "key": "",
        "value": ""
      }
    ],
    "versions": [
      ""
    ]
  }
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情。