OpenSearch アプリケーションのプロパティを変更するか、オンラインバージョンを設定します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
opensearch:ModifyAppGroup |
update |
*AppGroup
|
なし | なし |
リクエスト構文
PUT /v4/openapi/app-groups/{appGroupIdentity} HTTP/1.1
パスパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| appGroupIdentity |
string |
必須 |
アプリケーションの名前です。 |
my_app_group_name |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| body |
object |
任意 |
リクエストボディです。 |
|
| description |
string |
任意 |
アプリケーショングループの説明です。 |
"实例描述" |
| currentVersion |
string |
任意 |
アプリケーションのオンラインバージョンです。 |
1223232 |
| domain |
string |
任意 |
業界。有効な値:
|
"ecommerce" |
| resourceGroupId |
string |
任意 |
インスタンスが属するリソースグループの ID です。 |
rg-**** |
| dryRun |
boolean |
任意 |
ドライランを実行するかどうかを指定します。有効な値: true および false。 |
true |
リクエストボディ
| パラメーター | タイプ | 必須 | 例 | 説明 |
| chargingWay | Integer | いいえ | 1 | 課金モデル。 - 1: 計算リソース。 - 2: クエリ/秒 (QPS)。 |
| description | String | いいえ | "my_first_app" | アプリケーションの説明です。 |
| currentVersion | Integer | いいえ | 12345678 | アプリケーションバージョンの ID です。 |
注: この操作は、アプリケーションのオンラインバージョンの設定を優先します。リクエストに `currentVersion` パラメーターを含めると、他のパラメーターは無視されます。
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスボディです。 |
{} |
|
| requestId |
string |
リクエスト ID です。 |
D77D0DAF-790D-F5F5-A9C0-133738165014 |
| result |
object |
返されたデータです。 |
{} |
| created |
integer |
アプリケーションが作成されたときの UNIX タイムスタンプです。 |
159013954 |
| currentVersion |
string |
現在のオンラインバージョンの ID です。 |
100302903 |
| lockMode |
string |
インスタンスのロックモード。有効な値:
|
Unlock |
| updated |
integer |
アプリケーションが最後に変更されたときの UNIX タイムスタンプです。 |
1590978265 |
| id |
string |
アプリケーション ID です。 |
100302881 |
| chargeType |
string |
課金方法。有効な値:
|
POSTPAY |
| hasPendingQuotaReviewTask |
integer |
クォータの承認ステータス。有効な値:
|
0 |
| name |
string |
アプリケーションの名前です。 |
lsh_test_1 |
| instanceId |
string |
インスタンス ID です。 |
10030288 |
| chargingWay |
integer |
課金項目。有効な値:
|
1 |
| type |
string |
アプリケーションのタイプ。有効な値:
|
enhanced |
| status |
string |
アプリケーションのステータス。有効な値:
|
normal |
| projectId |
string |
A/B テストプロジェクトの名前です。 |
1 |
| switchedTime |
integer |
現在のオンラインバージョンが公開されたときの UNIX タイムスタンプです。 |
1590486386 |
| commodityCode |
string |
商品コードです。 |
opensearch |
| expireOn |
string |
有効期限です。 |
1 |
| domain |
string |
業界。有効な値:
|
GENERAL |
| description |
string |
アプリケーションの説明です。 |
1 |
| produced |
integer |
アプリケーションが作成されたかどうかを示します。有効な値:
|
1 |
| quota |
object |
アプリケーションのクォータ情報です。 |
{} |
| spec |
string |
仕様。有効な値:
|
opensearch.share.common |
| docSize |
integer |
ストレージ容量 (GB)。 |
1 |
| computeResource |
integer |
論理計算ユニット (LCU) 単位の計算リソース。 |
20 |
| engineType |
string |
エンジンタイプです。 |
ha3 |
| resourceGroupId |
string |
インスタンスが属するリソースグループの ID です。 |
rg-acfmoiyerh6nzly |
例
成功レスポンス
JSONJSON
{
"requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
"result": {
"created": 159013954,
"currentVersion": "100302903",
"lockMode": "Unlock",
"updated": 1590978265,
"id": "100302881",
"chargeType": "POSTPAY",
"hasPendingQuotaReviewTask": 0,
"name": "lsh_test_1",
"instanceId": "10030288",
"chargingWay": 1,
"type": "enhanced",
"status": "normal",
"projectId": "1",
"switchedTime": 1590486386,
"commodityCode": "opensearch",
"expireOn": "1",
"domain": "GENERAL",
"description": "1",
"produced": 1,
"quota": {
"spec": "opensearch.share.common",
"docSize": 1,
"computeResource": 20
},
"engineType": "ha3",
"resourceGroupId": "rg-acfmoiyerh6nzly"
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。