GetCluster_加密服务_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
yundun-hsm:GetCluster
Get
全部资源
*

请求参数

字段名称字段详情
ClusterIdstring

集群 ID。

示例值:cluster-p94y1dud9ts****参考取值来源:
    ListClusters
    CreateCluster

返回参数

字段名称字段详情
RequestIdstring

本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。

示例值:4C467B38-3910-447D-87BC-AC049166F216
Clusterobject

集群信息。

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
SwitchMaster.InstanceInvalid
Instance not in the cluster.诊断
400
LeaveCluster.MasterLast
Master instance can not leave a cluster until all other instances are left.诊断
400
Certificate.ChainInvalid
Certificate chain invalid. Please make sure issuer certificate is the trust anchor and cluster certificate is signed by issuer certificate.诊断
400
Certificate.FormatInvalid
Certificate format invalid. Cluster/Issuer certificate must be in PEM format.诊断
400
ConfigClusterSubnet.DuplicateZone
VSwitches should not contain duplicate zones.诊断
400
InvalidApiParam.Error
api param is invalid诊断
400
InvalidClusterName
Invalid parameter clusterName.诊断
400
InvalidPageSize
Invalid parameter pageSize.诊断
400
InvalidCurrentPage
Invalid parameter currentPage.诊断
400
InvalidRegionId
Invalid parameter regionId.诊断
400
InvalidVSwitch
Invalid parameter vSwitch.诊断
400
InvalidVpc
Invalid parameter vpcId.诊断
400
InvalidIp
Invalid parameter IP.诊断
400
InvalidAliuid
Invalid parameter aliuid.诊断
400
InvalidClusterId
Invalid parameter clusterId.诊断
400
InvalidInstanceId
Invalid parameter instanceId.诊断
400
InvalidBackupId
Invalid parameter backupId.诊断
400
InvalidImageId
Invalid parameter imageId.诊断
400
HsmInstanceNotExist.Error
hsm instance not exist诊断
400
HSMIntanceNotActived.Error
hsm intance is not actived诊断
400
WhiteListMaxCount.Error
whilte list is more than max count诊断
400
ClusterIdIsNotExists.Error
cluster ID non-exists诊断
400
InstanceListIsEmpty.Error
instance list is empty诊断
400
InstanceIdIsEmpty.Error
instance id is empty诊断
400
InstanceIsNotExistsInCluster.Error
cluster has no such instance诊断
400
InstanceIsExistsInCluster.Error
instance already in the cluster诊断
400
RegionNoEmpty.Error
region no. is empty诊断
400
ClusterNameEmpty.Error
empty cluster name not allowed诊断
400
ClusterNameIsExists.Error
the cluster name is already taken诊断
400
IpNotValid.Error
ip not valid诊断
400
ClusterIsEmpty.Error
cluster is empty诊断
400
NoMasterFoundInCluster.Error
cluster has no master instance诊断
400
HsmInstanceIdNotFound.Error
no such instance诊断
400
NoInstanceFoundInCluster.Error
cluster is empty诊断
400
Whitelist.Invalid
Whitelist blocks not in CIDR format.诊断
400
Whitelist.TooLong
Whitelist too long, exceeds 10 CIDR blocks.诊断
403
NoPermission
Caller has no permission on the resource.诊断
403
InstanceNotPaused
Please pause the instance before reset.诊断
403
InstanceNotActive
Instance is not active.诊断
403
ConfigIp.IncorrectState
Instance not in pending or active state, can not config IP address.诊断
403
SwitchMaster.IncorrectState
Cluster not initialized, please initialize the cluster first.诊断
403
SyncCluster.IncorrectState
Cluster not initialized, please initialize the cluster first.诊断
403
LeaveCluster.InstanceInvalid
The instance is not in the cluster.诊断
403
DeleteCluster.IncorrectState
Cluster not empty, please remove all instances first.诊断
403
JoinCluster.InstanceVSwitchNotInCluster
Instance's vSwitch is not in cluster config, please change instance's vSwitch first.诊断
403
JoinCluster.InstanceInitialized
Initialized instance can not join a cluster.诊断
403
JoinCluster.IncorrectState
Cluster not initialized, please initialize the cluster first.诊断
403
InitializeCluster.InstanceNotInitialized
Cluster master instance not initialized, please initialize cluster master instance first.诊断
403
InitializeCluster.IncorrectConfig
Cluster subnet not configured, please config cluster subnet first.诊断
403
InitializeCluster.IncorrectState
Cluster initialized, do not re-initialize.诊断
403
Cluster.CN.ActionForbidden
This API is forbidden for non-international site cluster.诊断
403
Cluster.INTL.ActionForbidden
This API is forbidden for international site cluster.诊断
403
ConfigClusterCertificate.IncorrectState
Cluster initialized or certificates already configured.诊断
403
ConfigClusterSubnet.InvalidVpcId
VPC Id invalid. Cluster VPC is the same as cluster master's VPC.诊断
403
ConfigClusterSubnet.InvalidVSwitchId
VSwitch Id invalid. VSwitches should contain all current cluster vSwitches.诊断
403
ConfigClusterSubnet.IncorrectState
Cluster not in NEW state, can not config cluster subnet.诊断
403
ClusterName.Exist
Cluster name already exists, please use another name.诊断
403
Whitelist.InstanceInCluster
Whitelist.InstanceInCluster诊断
404
Resource.NotFound
Resource not found.诊断
405
ClusterAPI.NotSupported
ClusterAPI not supported in this region.诊断
409
Conflict
Resource is being updated by a previous request. Current request is redundant.诊断
409
Cluster.Conflict
The cluster is being updated by a previous request. Please try again later.诊断
500
ConfigWhitelistFailed.Error
config white list error诊断
500
ActionFailed.Error
internal error, please try again诊断
500
InternalError
The request processing has failed due to some unknown error.诊断

变更历史

变更时间变更内容概要操作
2025-01-09
变更返回参数

相关示例