All Products
Search
Document Center

PolarDB:ModifyOpenSearchClass

Last Updated:Sep 10, 2026

Changes the specifications of a PolarDB-X Search instance.

Operation description


Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-hangzhou

DBInstanceName

string

Yes

The name of the instance.

pxc-spsil01pww4hfz

SearchClassCode

string

No

The node specifications code of the PolarDB-X Search data node. This parameter is required. Active node specifications depend on the region and sales configuration, and must differ from the current node specifications.

opensearch.sn2ne.large.1

DBInstanceDiskSize

integer

No

The target disk size per node, in GB. If not specified, the current disk size is retained.

500

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

A501A191-BD70-5E50-98A9-C2A486A82****

Data

object

The returned result.

OrderId

string

The order ID.

265325896860727

AccessDeniedDetail

object

The details of the access denial.

AuthAction

string

The authentication action.

xxx

AuthPrincipalType

string

The identity type used for authentication in the request. Valid values:

  • SubUser: RAM user.

  • AssumedRoleUser: RAM role.

  • Federated: SSO federated identity.

222

AuthPrincipalOwnerId

string

The owner ID of the authentication principal.

111

AuthPrincipalDisplayName

string

The display name of the authentication principal.

xxx

PolicyType

string

The policy type.

System

NoPermissionType

string

The type of permission denial.

ImplicitDeny

EncodedDiagnosticMessage

string

The encrypted complete diagnostic message.

AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg==

Examples

Success response

JSON format

{
  "RequestId": "A501A191-BD70-5E50-98A9-C2A486A82****",
  "Data": {
    "OrderId": "265325896860727"
  },
  "AccessDeniedDetail": {
    "AuthAction": "xxx",
    "AuthPrincipalType": "222",
    "AuthPrincipalOwnerId": "111",
    "AuthPrincipalDisplayName": "xxx",
    "PolicyType": "System",
    "NoPermissionType": "ImplicitDeny",
    "EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg=="
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.