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

SyncCluster - 同步集群

同步集群內實例數據。

接口說明

  • 只有中國內地密碼機實例支持此接口。

  • 同步集群預計需要 5 分鐘,請在業務空閑期進行同步,以免影響業務運行。

調試

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

授權信息

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

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

請求參數

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

集群 ID。

cluster-BqxX63Bsgytet****

返回參數

名稱類型描述示例值
object

PlainResult

Jobobject

任務詳情。

Completedboolean

任務是否完成。

  • true:是

  • false:否

true
CreateTimestring

任務創建時間,精確到毫秒。時間戳格式。

1711764127000
Errorstring

任務失敗時的錯誤信息。

OperationTimeout
JobIdstring

任務 ID。

job-000bu7m5vjmyz9s7qz85
Progressinteger

任務執行進度。單位為百分比。

90
Responsestring

任務成功后返回的響應信息。

success
Statusstring

任務狀態。

  • success:任務成功

  • running:任務執行中

  • cancel:任務取消

  • fail:任務失敗

success
Typestring

操作類型。

  • create:創建任務

  • cancel:取消任務

create
RequestIdstring

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

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

示例

正常返回示例

JSON格式

{
  "Job": {
    "Completed": true,
    "CreateTime": "1711764127000",
    "Error": "OperationTimeout",
    "JobId": "job-000bu7m5vjmyz9s7qz85",
    "Progress": 90,
    "Response": "success",
    "Status": "success",
    "Type": "create"
  },
  "RequestId": "4C467B38-3910-447D-87BC-AC049166F216"
}

錯誤碼

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-
500InternalErrorThe request processing has failed due to some unknown error.未知錯誤導致請求處理失敗。

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