All Products
Search
Document Center

Key Management Service:ConfigInstanceRemark

Last Updated:Apr 17, 2025

Modifies the description of a hardware security module (HSM).

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-hsm:ConfigInstanceRemarkupdate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the HSM.

hsm-cn-vj30bil8****
RemarkstringYes

The description of the HSM.

hsmOnline

Response parameters

ParameterTypeDescriptionExample
object

BaseResult

RequestIdstring

The request ID.

4C467B38-3910-447D-87BC-AC049166F216

Examples

Sample success responses

JSONformat

{
  "RequestId": "4C467B38-3910-447D-87BC-AC049166F216"
}

Error codes

HTTP status codeError codeError messageDescription
400SwitchMaster.InstanceInvalidInstance not in the cluster.-
400LeaveCluster.MasterLastMaster instance can not leave a cluster until all other instances are left.-
400Certificate.ChainInvalidCertificate chain invalid. Please make sure issuer certificate is the trust anchor and cluster certificate is signed by issuer certificate.-
400Certificate.FormatInvalidCertificate format invalid. Cluster/Issuer certificate must be in PEM format.-
400ConfigClusterSubnet.DuplicateZoneVSwitches should not contain duplicate zones.-
400InvalidApiParam.Errorapi param is invalid-
400InvalidClusterNameInvalid parameter clusterName.-
400InvalidPageSizeInvalid parameter pageSize.-
400InvalidCurrentPageInvalid parameter currentPage.-
400InvalidRegionIdInvalid parameter regionId.-
400InvalidVSwitchInvalid parameter vSwitch.-
400InvalidVpcInvalid parameter vpcId.-
400InvalidIpInvalid parameter IP.-
400InvalidAliuidInvalid parameter aliuid.-
400InvalidClusterIdInvalid parameter clusterId.-
400InvalidInstanceIdInvalid parameter instanceId.-
400InvalidBackupIdInvalid parameter backupId.-
400InvalidImageIdInvalid parameter imageId.-
400HsmInstanceNotExist.Errorhsm instance not exist-
400HSMIntanceNotActived.Errorhsm intance is not actived-
400WhiteListMaxCount.Errorwhilte list is more than max count-
400ClusterIdIsNotExists.Errorcluster ID non-exists-
400InstanceListIsEmpty.Errorinstance list is empty-
400InstanceIdIsEmpty.Errorinstance id is empty-
400InstanceIsNotExistsInCluster.Errorcluster has no such instance-
400InstanceIsExistsInCluster.Errorinstance already in the cluster-
400RegionNoEmpty.Errorregion no. is empty-
400ClusterNameEmpty.Errorempty cluster name not allowed-
400ClusterNameIsExists.Errorthe cluster name is already taken-
400IpNotValid.Errorip not valid-
400ClusterIsEmpty.Errorcluster is empty-
400NoMasterFoundInCluster.Errorcluster has no master instance-
400HsmInstanceIdNotFound.Errorno such instance-
400NoInstanceFoundInCluster.Errorcluster is empty-
400Whitelist.InvalidWhitelist blocks not in CIDR format.-
400Whitelist.TooLongWhitelist too long, exceeds 10 CIDR blocks.-
403NoPermissionCaller has no permission on the resource.-
403InstanceNotPausedPlease pause the instance before reset.-
404Resource.NotFoundResource not found.-
405ClusterAPI.NotSupportedClusterAPI not supported in this region.-
409SwitchMaster.IncorrectStateCluster not initialized, please initialize the cluster first.-
409Cluster.ConflictThe cluster is being updated by a previous request. Please try again later.-
409SyncCluster.IncorrectStateCluster not initialized, please initialize the cluster first.-
409LeaveCluster.InstanceInvalidThe instance is not in the cluster.-
409DeleteCluster.IncorrectStateCluster not empty, please remove all instances first.-
409JoinCluster.InstanceVSwitchNotInClusterInstance's vSwitch is not in cluster config, please change instance's vSwitch first.-
409JoinCluster.InstanceInitializedInitialized instance can not join a cluster.-
409JoinCluster.IncorrectStateCluster not initialized, please initialize the cluster first.-
409InitializeCluster.InstanceNotInitializedCluster master instance not initialized, please initialize cluster master instance first.-
409InitializeCluster.IncorrectConfigCluster subnet not configured, please config cluster subnet first.-
409InitializeCluster.IncorrectStateCluster initialized, do not re-initialize.-
409Cluster.CN.ActionForbiddenThis API is forbidden for non-international site cluster.-
409Cluster.INTL.ActionForbiddenThis API is forbidden for international site cluster.-
409ConfigClusterCertificate.IncorrectStateCluster initialized or certificates already configured.-
409ConfigClusterSubnet.InvalidVpcIdVPC Id invalid. Cluster VPC is the same as cluster master's VPC.-
409ConfigClusterSubnet.InvalidVSwitchIdVSwitch Id invalid. VSwitches should contain all current cluster vSwitches.-
409ConfigClusterSubnet.IncorrectStateCluster not in NEW state, can not config cluster subnet.-
409ClusterName.ExistCluster name already exists, please use another name.-
409ConflictResource is being updated by a previous request. Current request is redundant.-
409ConfigIp.IncorrectStateInstance not in pending or active state, can not config IP address.-
500ConfigWhitelistFailed.Errorconfig white list error-
500ActionFailed.Errorinternal error, please try again-
500InternalErrorThe request processing has failed due to some unknown error.Unknown error caused request processing to fail.

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