日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

CreateCluster - 創建集群

選擇一臺密碼機作為主密碼機創建集群。

接口說明

創建集群選擇的密碼機實例狀態必須為 ACTIVE(已啟用)。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權信息

下表是API對應的授權信息,可以在RAM權限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調用此API的權限。具體說明如下:

  • 操作:是指具體的權限點。
  • 訪問級別:是指每個操作的訪問級別,取值為寫入(Write)、讀取(Read)或列出(List)。
  • 資源類型:是指操作中支持授權的資源類型。具體說明如下:
    • 對于必選的資源類型,用背景高亮的方式表示。
    • 對于不支持資源級授權的操作,用全部資源表示。
  • 條件關鍵字:是指云產品自身定義的條件關鍵字。
  • 關聯操作:是指成功執行操作所需要的其他權限。操作者必須同時具備關聯操作的權限,操作才能成功。
操作訪問級別資源類型條件關鍵字關聯操作
yundun-hsm:CreateClustercreate
  • 全部資源
    *

請求參數

名稱類型必填描述示例值
ClusterNamestring

集群名稱。

cluster_on****
RegionIdstring

地域 ID。

cn-hangzhou
MasterInstanceIdstring

主密碼機實例 ID。

hsm_intl-sg-uz63ixak****

返回參數

名稱類型描述示例值
object

PlainResult

RequestIdstring

本次調用請求的 ID,是由阿里云為該請求生成的唯一標識符,可用于排查和定位問題。

5F58413E-8F57-585B-BE48-64CC1E31133C
ClusterIdstring

集群 ID。

cluster-729dm40FG****

示例

正常返回示例

JSON格式

{
  "RequestId": "5F58413E-8F57-585B-BE48-64CC1E31133C",
  "ClusterId": "cluster-729dm40FG****"
}

錯誤碼

HTTP status code錯誤碼錯誤信息
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.
403InstanceNotActiveInstance is not active.
403ConfigIp.IncorrectStateInstance not in pending or active state, can not config IP address.
403SwitchMaster.IncorrectStateCluster not initialized, please initialize the cluster first.
403SyncCluster.IncorrectStateCluster not initialized, please initialize the cluster first.
403LeaveCluster.InstanceInvalidThe instance is not in the cluster.
403DeleteCluster.IncorrectStateCluster not empty, please remove all instances first.
403JoinCluster.InstanceVSwitchNotInClusterInstance's vSwitch is not in cluster config, please change instance's vSwitch first.
403JoinCluster.InstanceInitializedInitialized instance can not join a cluster.
403JoinCluster.IncorrectStateCluster not initialized, please initialize the cluster first.
403InitializeCluster.InstanceNotInitializedCluster master instance not initialized, please initialize cluster master instance first.
403InitializeCluster.IncorrectConfigCluster subnet not configured, please config cluster subnet first.
403InitializeCluster.IncorrectStateCluster initialized, do not re-initialize.
403Cluster.CN.ActionForbiddenThis API is forbidden for non-international site cluster.
403Cluster.INTL.ActionForbiddenThis API is forbidden for international site cluster.
403ConfigClusterCertificate.IncorrectStateCluster initialized or certificates already configured.
403ConfigClusterSubnet.InvalidVpcIdVPC Id invalid. Cluster VPC is the same as cluster master's VPC.
403ConfigClusterSubnet.InvalidVSwitchIdVSwitch Id invalid. VSwitches should contain all current cluster vSwitches.
403ConfigClusterSubnet.IncorrectStateCluster not in NEW state, can not config cluster subnet.
403ClusterName.ExistCluster name already exists, please use another name.
403Whitelist.InstanceInClusterWhitelist.InstanceInCluster
404Resource.NotFoundResource not found.
405ClusterAPI.NotSupportedClusterAPI not supported in this region.
409ConflictResource is being updated by a previous request. Current request is redundant.
409Cluster.ConflictThe cluster is being updated by a previous request. Please try again later.
500ConfigWhitelistFailed.Errorconfig white list error
500ActionFailed.Errorinternal error, please try again
500ActionFailed.Errorinternal error, please try again
500ActionFailed.Errorinternal error, please try again
500InternalErrorThe request processing has failed due to some unknown error.

訪問錯誤中心查看更多錯誤碼。