Modifies a namespace.
Operation description
This topic provides an example on how to change the data retention period of the aliyun
namespace to cms.s1.2xlarge
. The response shows that the namespace is modified.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Namespace | string | Yes | The name of the namespace. The name can contain letters, digits, and hyphens (-). For information about how to obtain the name of a namespace, see DescribeHybridMonitorNamespaceList . | aliyun |
Description | string | No | The description of the namespace. | |
Spec | string | No | The data retention period. Valid values:
For information about the pricing for different retention periods, see the Pricing section in Billing of the dashboard feature. | cms.s1.2xlarge |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "Success",
"Message": "%s",
"RequestId": "E190AB2E-7BF9-59B7-9DDC-7CB1782C5ECD",
"Success": "true"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | %s | %s |
500 | InternalError | %s |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-04-24 | Add Operation | see changesets |