ListIntegrationPolicyStorageRequirements
Retrieves the storage requirement information of the integration center policy.
Operation description
During the effective period of the policy, no notifications are sent for any alerts that occur in the application group. This topic provides an example of creating a pause alert notification policy named PauseNotify for the application group 7301****. The application group will pause alerts from 1622949300000 to 1623208500000 (UTC+8 2021-06-06 11:15:00 to 2021-06-09 11:15:00).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:ListIntegrationPolicyStorageRequirements |
none |
*IntegrationPolicy
|
None | None |
Request syntax
GET /integration-policies/{policyId}/storage-requirements HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| policyId |
string |
Yes |
The ID of the integration center policy. |
policy-ac38a7cb02d14ff48bc9f97d0a75063e |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| addonName |
string |
No |
The name of the add-on release. |
release-1234357 |
| storageType |
string |
No |
The storage type. Valid values: LogStore, Prometheus, TraceStore, EventStore, and EntityStore. |
LogStore |
| addonReleaseName |
string |
No |
The name of the AddonRelease. |
kafka-17201012937917 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
0CEC5375-C554-562B-A65F-9A629907C1F0 |
| storageRequirements |
array<object> |
The list of storage requirements. |
|
|
array<object> |
|||
| addonReleaseNames |
array |
The collection of AddonReleases. |
|
|
string |
The name of the AddonRelease. |
kafka-17201238912 |
|
| apiVersion |
string |
The version number. |
v1 |
| kind |
string |
The resource kind. |
Pod |
| metadata |
object |
The metadata. |
|
| annotations |
object |
The annotations. |
{"prometheus.io/path":"/metrics"} |
|
string |
The annotations. |
prometheus.io/path |
|
| labels |
object |
The resource labels. |
{"environment":"production"} |
|
string |
The resource labels. |
key=value |
|
| name |
string |
The resource name. |
pod-1234567 |
| namespace |
string |
The namespace. |
arms-prom |
| spec |
object |
The specification of the resource. |
|
| entityId |
string |
The instance ID. Specify this parameter to narrow the scope to the instance level. This parameter depends on the data in the EntityStore. |
es-xxxxx |
| instance |
string |
The Prometheus instance ID. |
i-bp122p85gthbniw8rsu9 |
| instanceName |
string |
The Prometheus instance name. |
category_predict |
| project |
string |
The project. This optional parameter is determined based on the current environment type. |
datagrid_cdm |
| region |
string |
The region. |
cn-shenzhen |
| shareScope |
string |
The storage sharing scope. Valid values: Environment, Region, Workspace, and Custom. |
Region |
| storageType |
string |
The instance storage type. |
Prometheus |
| systemTags |
object |
The tags to be added to the target storage, injected as system tags. |
{"system-key":"value"} |
|
string |
The tags to be added to the target storage, injected as system tags. |
system-key=value |
|
| tags |
object |
The tags to be added to the target storage, injected as regular tags. |
{"environment":"production"} |
|
string |
The tags to be added to the target storage, injected as regular tags. |
key=value |
|
| userId |
string |
The user ID. |
12345678 |
| workspace |
string |
The workspace. |
test-api |
| status |
object |
The storage requirement status. |
|
| instanceId |
string |
The instance ID. |
rmq-cn-uqm3ket1t0u |
| interUrl |
string |
The internal URL. |
http://192.168.xxxxxx |
| intraUrl |
string |
The external URL. |
http://100.100.xxxxxx |
| name |
string |
The storage requirement name. |
sr-xxxx |
| project |
string |
The storage requirement project. |
jiuwu_algo |
| promMetricStore |
string |
The Prometheus metric center. |
aliyun-prom-ca9d365990bf |
| region |
string |
The region. |
cn-hangzhou |
| storageType |
string |
The instance storage type. |
Prometheus |
| workspace |
string |
The workspace. |
default |
Examples
Success response
JSON format
{
"requestId": "0CEC5375-C554-562B-A65F-9A629907C1F0",
"storageRequirements": [
{
"addonReleaseNames": [
"kafka-17201238912"
],
"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"
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.