Integration Center ポリシーのストレージ要件をリストします。
操作説明
ポリシーがアクティブな場合、アプリケーショングループで発生したアラートに対してアラート通知は送信されません。
このトピックでは、PauseNotify という名前のポリシーを作成する例を示します。このポリシーは、1622949300000 から 1623208500000 まで (UTC + 08:00 の 2021-06-06 11:15:00 から 2021-06-09 11:15:00 まで)、アプリケーショングループ 7301**** のアラート通知を一時停止します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cms:ListIntegrationPolicyStorageRequirements |
none |
*IntegrationPolicy
|
なし | なし |
リクエスト構文
GET /integration-policies/{policyId}/storage-requirements HTTP/1.1
パスパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| policyId |
string |
必須 |
Integration Center ポリシーの ID。 |
policy-ac38a7cb02d14ff48bc9f97d0a75063e |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| addonName |
string |
任意 |
アドオンリリースの名前。 |
release-1234357 |
| storageType |
string |
任意 |
ストレージタイプ。有効な値: LogStore、Prometheus、TraceStore、EventStore、および EntityStore。 |
LogStore |
| addonReleaseName |
string |
任意 |
AddonRelease の名前。 |
kafka-17201012937917 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスのスキーマ |
||
| requestId |
string |
リクエストの ID |
0CEC5375-C554-562B-A65F-9A629907C1F0 |
| storageRequirements |
array<object> |
ストレージ要件のリスト。 |
|
|
array<object> |
|||
| apiVersion |
string |
バージョン番号。 |
v1 |
| kind |
string |
リソースの種類。 |
Pod |
| metadata |
object |
メタデータ。 |
|
| annotations |
object |
アノテーション。 |
|
|
string |
アノテーション。 |
prometheus.io/path |
|
| labels |
object |
リソースのラベル。 |
|
|
string |
リソースのラベル。 |
key=value |
|
| name |
string |
リソース名。 |
pod-1234567 |
| namespace |
string |
名前空間。 |
arms-prom |
| spec |
object |
リソースの仕様。 |
|
| entityId |
string |
インスタンス ID。インスタンスレベルでデータをクエリするには、このパラメーターを指定します。このパラメーターは EntityStore のデータに依存します。 |
es-xxxxx |
| instance |
string |
Prometheus インスタンスの ID。 |
i-bp122p85gthbniw8rsu9 |
| instanceName |
string |
Prometheus インスタンスの名前。 |
category_predict |
| project |
string |
任意。プロジェクトは、現在の環境タイプに基づいて決定されます。 |
datagrid_cdm |
| region |
string |
リージョン。 |
cn-shenzhen |
| shareScope |
string |
ストレージ共有の範囲。有効な値: Environment、Region、Workspace、および Custom。 |
Region |
| storageType |
string |
インスタンスのストレージタイプ。 |
Prometheus |
| systemTags |
object |
宛先ストレージに追加する必要があるタグ。タグはシステムタグとして挿入されます。 |
|
|
string |
宛先ストレージに追加する必要があるタグ。タグはシステムタグとして挿入されます。 |
system-key=value |
|
| tags |
object |
宛先ストレージに追加する必要があるタグ。タグは共通タグとして挿入されます。 |
|
|
string |
宛先ストレージに追加する必要があるタグ。タグは共通タグとして挿入されます。 |
key=value |
|
| userId |
string |
ユーザー ID。 |
12345678 |
| workspace |
string |
ワークスペース。 |
test-api |
| status |
object |
ストレージ要件のステータス。 |
|
| instanceId |
string |
インスタンス ID。 |
rmq-cn-uqm3ket1t0u |
| interUrl |
string |
内部 URL。 |
http://192.168.xxxxxx |
| intraUrl |
string |
内部 URL。 |
http://100.100.xxxxxx |
| name |
string |
ストレージ要件の名前。 |
sr-xxxx |
| project |
string |
ストレージ要件のプロジェクト。 |
jiuwu_algo |
| promMetricStore |
string |
Prometheus のメトリックストア。 |
xxxx |
| region |
string |
リージョン。 |
cn-hangzhou |
| storageType |
string |
インスタンスのストレージタイプ。 |
Prometheus |
| workspace |
string |
ワークスペース。 |
default |
| addonReleaseNames |
array |
AddonRelease 名のコレクション。 |
|
|
string |
AddonRelease の名前。 |
kafka-17201238912 |
例
成功レスポンス
JSONJSON
{
"requestId": "0CEC5375-C554-562B-A65F-9A629907C1F0",
"storageRequirements": [
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"annotations": {
"key": "prometheus.io/path"
},
"labels": {
"key": "key=value"
},
"name": "pod-1234567",
"namespace": "arms-prom"
},
"spec": {
"entityId": "es-xxxxx",
"instance": "i-bp122p85gthbniw8rsu9",
"instanceName": "category_predict",
"project": "datagrid_cdm",
"region": "cn-shenzhen",
"shareScope": "Region",
"storageType": "Prometheus",
"systemTags": {
"key": "system-key=value"
},
"tags": {
"key": "key=value"
},
"userId": "12345678",
"workspace": "test-api"
},
"status": {
"instanceId": "rmq-cn-uqm3ket1t0u",
"interUrl": "http://192.168.xxxxxx",
"intraUrl": "http://100.100.xxxxxx",
"name": "sr-xxxx",
"project": "jiuwu_algo",
"promMetricStore": "xxxx",
"region": "cn-hangzhou",
"storageType": "Prometheus",
"workspace": "default"
},
"addonReleaseNames": [
"kafka-17201238912"
]
}
]
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。