All Products
Search
Document Center

CloudMonitor:ModifyHybridMonitorNamespace

Last Updated:Mar 01, 2024

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

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NamespacestringYes

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
DescriptionstringNo

The description of the namespace.

SpecstringNo

The data retention period. Valid values:

  • cms.s1.large: Data is stored for 15 days.
  • cms.s1.xlarge: Data is stored for 32 days.
  • cms.s1.2xlarge: Data is stored for 63 days.
  • cms.s1.3xlarge: Data is stored for 93 days.
  • cms.s1.6xlarge: Data is stored for 185 days.
  • cms.s1.12xlarge: Data is stored for 376 days.

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

ParameterTypeDescriptionExample
object

None.

Codestring

The returned message.

Success
Messagestring

The error message.

%s
RequestIdstring

The request ID.

E190AB2E-7BF9-59B7-9DDC-7CB1782C5ECD
Successstring

Indicates whether the request was successful. Valid values:

  • true
  • false
true

Examples

Sample success responses

JSONformat

{
  "Code": "Success",
  "Message": "%s",
  "RequestId": "E190AB2E-7BF9-59B7-9DDC-7CB1782C5ECD",
  "Success": "true"
}

Error codes

HTTP status codeError codeError message
400%s%s
500InternalError%s

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-04-24Add Operationsee changesets